/* ========================================
   スクロールフェードイン用スタイル (追加)
   ======================================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px); /* 少し下から表示されるアニメーション */
  
  /* アニメーション時間（前回と同じ1s） */
  transition-property: opacity, transform;
  transition-duration: 1s;
  transition-timing-function: ease-out;

  /* ★ここを追加：アニメーション開始を0.2秒遅らせる */
  transition-delay: 0.3s;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:root {
  /* ヘッダーの高さ: padding(20px * 2) + logo(59px) = 99px */
  --header-height: 99px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #444444;
  color: white;
  line-height: 1.8;
  overflow-x: hidden;
}
/* ======================================= */
/* オリジナルCSS + デスクトップ用レイアウト */
/* ======================================= */
.header {
  background-color: #444444;
  padding: 20px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  padding-right: 24px;
}
.logo-image {
  width: 171px;
  height: 59px;
  flex-shrink: 0;
}
.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* デスクトップナビゲーション */
.nav {
  /* ▼変更点①: nav自体はflexコンテナではなくなります */
  font-family: 'Sometype Mono', monospace;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: white;
  transform: translateX(0);
  transition: none;
}

/* ▼追加: ulタグにflexboxのスタイルを適用します */
.nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none; /* 箇条書きの点を削除 */
  padding: 0;
  margin: 0;
}

/* ▼変更点②: セレクタを .nav p から .nav li に変更 */
.nav li {
  white-space: nowrap;
  cursor: pointer;
}

.nav a {
  color: white;
  text-decoration: none;
  display: block;
  transition: opacity 0.5s ease;
}
.nav a:hover {
  opacity: 0.7;
}

/* CSSメニュー操作用要素 */
.hidden-checkbox {
  display: none;
}
.menu-icon {
  display: none;
}
.menu-icon .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.5s ease-in-out;
}

/* ======================================= */
/* モバイル用スタイル (max-width: 768px) */
/* ======================================= */
@media (max-width: 768px) {
  .menu-icon {
    cursor: pointer;
    padding: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 200;
  }
  
  /* ナビゲーションのモバイル用設定 */
  .nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    height: 100%;
    width: 70%;
    max-width: 300px;
    background-color: #333333;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
    padding-top: 80px;
    z-index: 100;
    transition: transform 0.5s ease-in-out;
  }
  
  /* ▼追加: モバイル表示でもulのデフォルトスタイルをリセット */
  .nav ul {
    flex-direction: column; /* 縦並びに変更 */
    gap: 0; /* gapは不要なのでリセット */
    width: 100%;
  }

  /* ▼変更点③: セレクタを .nav p から .nav li に変更 */
  .nav li {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* ▼変更点④: aタグにpaddingを移動させ、クリック範囲を確保 */
  .nav a {
    padding: 16px 24px;
    font-size: 20px;
  }

  /* ▼変更点⑤: セレクタを .nav p:last-child から .nav li:last-child に変更 */
  .nav li:last-child {
    border-bottom: none;
  }

  /* CSS-Only Toggle Logic */
  #menu-toggle:checked ~ .nav {
    transform: translateX(0);
  }

  /* ハンバーガーアイコンを「×」に変換するロジック */
  #menu-toggle:checked + .menu-icon .bar-top {
    transform: translateY(11px) rotate(45deg);
  }
  #menu-toggle:checked + .menu-icon .bar-middle {
    opacity: 0;
  }
  #menu-toggle:checked + .menu-icon .bar-bottom {
    transform: translateY(-11px) rotate(-45deg);
  }
}
/* Wrapper */
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
/* FV Section */
/* === 修正: .fv-section のスタイル === */
.fv-section {
  height: calc(100vh - var(--header-height));
  width: 100%;
  overflow: hidden;
  /* background-imageプロパティを削除し、position: relativeを追加 */
  position: relative; 
  background-color: #444444; /* 背景画像が表示されるまでの間の背景色 */
}

/* === 追記: .fv-section::before 擬似要素で背景画像を作成 === */
.fv-section::before {
  content: ''; /* 擬似要素には必須 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* こちらに背景画像の設定を移動 */
  background-image: url(../images/fv.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  /* アニメーションの設定 */
  opacity: 0; /* 初期状態は透明 */
  animation: fv-background-fade-in 1.5s ease-out forwards;
}
.main-copy {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
	padding: 0 30px;
}
.main-title {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.4;
  text-align: center;
  color: white;
  
  opacity: 0;
  /* 背景アニメーション(1.5s)が終わった後に開始するように遅延を調整 */
  animation: fv-title-animation 1.2s ease-out 1.5s forwards; 
}
.main-title p {
  margin: 0;
}
.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);

  opacity: 0;
  /* タイトル表示後 (1.5s + 1.2s = 2.7s) に開始するように遅延を調整 */
  animation: fv-scroll-animation 1s ease-out 2.7s forwards; 
}
/* === 追記: 背景画像フェードイン用のキーフレーム === */
@keyframes fv-background-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* タイトル用：下からフェードイン */
@keyframes fv-title-animation {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールインジケーター用：シンプルにフェードイン */
@keyframes fv-scroll-animation {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* === 追記ここまで === */

.arrow-container {
  width: 100px;
  height: 30px;
  transform: rotate(180deg);
  position: relative;
}
.arrow-svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Main Content */
.main-content {
    width: 100%;
}

/* About Section */
.about-section {
    padding: 96px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1184px;
    width: 100%;
    padding: 0 32px;
}

.container-wide {
    max-width: 1184px;
    width: 100%;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section-title {
    font-family: 'Ysabeau SC', sans-serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 1.4;
    text-align: center;
    color: #ffd670;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
}

.about-subtitle {
    font-family: 'Ysabeau SC', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    text-align: center;
    color: white;
}

.about-text {
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: white;
}

.about-text p {
    margin: 0;
}

.more-button {
  width: 276px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  cursor: pointer;

  /* アニメーションのための設定を追加 */
  position: relative; /* 擬似要素を配置する基準 */
  overflow: hidden;   /* はみ出した擬似要素を隠す */
  transition: color 0.4s ease-out; /* 文字色の変化を滑らかに */
}

/* 文字色のためのpタグに z-index を設定 */
.more-button p {
  position: relative;
  z-index: 2; /* 背景レイヤーより手前に表示 */
  font-size: 20px;
  color: white;
  margin: 0; /* デフォルトマージンをリセット */
}
.more-button p a {
  color: white;
	text-decoration: none;
}

/* ホバー時に表示される背景レイヤー（擬似要素） */
.more-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; /* ホバー時の背景色 */
  z-index: 1; /* 文字より背面に表示 */

  /* 初期状態では左側に隠しておく */
  transform: translateX(-100%);
  transition: transform 0.4s ease-out; /* スライドアニメーション */
}

/* ホバー時の変化 */
.more-button:hover {
  /* 文字色を黒に変更 */
  color: #444444; 
}

.more-button:hover p {
  color: #444444; /* pタグの文字色も変更 */
}
.more-button:hover p a {
  color: #444444;
}
.more-button:hover::before {
  /* 背景レイヤーをスライドインさせる */
  transform: translateX(0);
}

/* Projects Section */
.projects-section {
    background-color: #575757;
    padding: 96px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.projects-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.4;
    text-align: center;
    color: #ffd670;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.project-row {
    display: flex;
    width: 100%;
    position: relative;
	flex-wrap: wrap;
}

.project-item {
	width: 20%;
    aspect-ratio: 256/257;
    position: relative;
    border: 1px solid white;
    cursor: pointer;
    overflow: hidden;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* ★変更点5: ホバー時の画像拡大をゆっくりに */
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-hover-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    /* ★変更点6: ホバー時のオーバーレイ表示をゆっくりに */
    transition: opacity 0.5s ease;
    padding: 20px;
}

.project-item:hover .project-hover-overlay {
    opacity: 1;
}



.project-hover-text {
    text-align: center;
    color: white;
}

.project-hover-text h3 {
    font-family: 'Ysabeau SC', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.project-hover-text p {
    font-size: 12px;
    line-height: 1.6;
    max-height: 100px;
    overflow: hidden;
}

.projects-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Pillars Section */
.pillars-section {
    padding: 96px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pillars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    justify-content: center;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

.pillar-icon {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pillar-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    color: #f5f5f5;
}

.pillar-content h3 {
    font-family: 'Ysabeau SC', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
}

.pillar-content p {
    font-size: 16px;
    line-height: 1.8;
}

/* Divider Image */
.divider-image {
    width: 100%;
    height: 400px; 
    overflow: hidden;
    position: relative;
}

.divider-image::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0,0,0,0.2);
}

/* ★ここから追記・修正 */

/* simple-parallaxが生成するラッパー要素のスタイル */
.simpleParallax {
    width: 100%;
    height: auto;
}

/* 画像自体のスタイル */
.parallax-image {
    position: absolute;
    left: 0;
    
    /* ★ここからが変更点 */
    width: 100%; /* 横幅はコンテナにフィットさせる */
    min-height: 150%; /* ★縦の長さをコンテナの1.5倍にする */
    
    /* 
      画像の中心がコンテナの中心に来るように top と transform で調整 
      (min-height - 100%) / 2 = (150% - 100%) / 2 = 25%
      なので、-25%ずらす
    */
    top:-50%;
    transform: translateY(-50%);
    
    object-fit: cover;
    object-position: center;
}
/* Team Section */
.team-section {
    padding: 96px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-grid {
display: flex;
flex-wrap: wrap;
gap: 32px;
justify-content: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
	width: calc(25% - 24px);
    /*max-width: 256px;
    min-width: 199px;*/
 
}

.member-photo {
    width: 100%;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-photo.placeholder {
    background-color: white;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    color: #f5f5f5;
}

.member-info h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

.member-info p {
    font-size: 16px;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background-color: #575757;
    padding: 92px 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 93px;
    align-items: center;
}

.contact-content {
    display: flex;
    gap: 64px;
    padding: 0 32px;
    max-width: 1184px;
    width: 100%;
}

.contact-intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-intro h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.4;
    color: #ffd670;
}

.contact-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.4;
    color: white;
}

.contact-text p {
    margin: 0;
}

.contact-form-set {
    flex: 1;
    max-width: 916px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.wpcf7-spinner{
  display: none;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.form-label {
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 200px;
}

.form-label span:first-child {
    font-size: 16px;
    line-height: 1.8;
    color: white;
}

.required-badge {
    background-color: #fe8d3f;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1;
    color: white;
}

.form-input {
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid white;
    border-radius: 5px;
    height: 42px;
    width: 100%;
    padding: 0 12px;
    color: white;
    font-size: 16px;
}

.form-textarea {
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid white;
    border-radius: 5px;
    height: 157px;
    width: 100%;
    padding: 12px;
    color: white;
    font-size: 16px;
    resize: none;
}

.form-divider {
    height: 1px;
    background-color: #d9d9d9;
    width: 100%;
}

.send-button {
    border: 1px solid white;
    border-radius: 100px;
    background-color: transparent;
    padding: 5px 40px;
    color: white;
    font-size: 16px;
    line-height: 1.8;
    cursor: pointer;
    align-self: flex-start;
	margin: 0 auto;
}

.contact-footer-image {
    width: 100%;
    height: 378px;
    position: relative;
}
.contact-footer-image::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0,0,0,.2);
}
.contact-footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.footer {
    background-color: #444444;
    width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-content {
    padding: 64px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 1184px;
    width: 100%;
}

.footer-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-family: 'Sometype Mono', monospace;
    font-size: 20px;
    text-align: center;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-nav p {
    white-space: nowrap;
    cursor: pointer;
}
.footer-nav p a {
    color: #fff;
	text-decoration: none;
}
.footer-nav p a:hover {
    opacity: 0.7;
}
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 0 32px;
}

.footer-logo {
    width: 171px;
    height: 59px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.address-text {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    color: white;
}

.address-text p {
    margin: 0;
}

.address-text p a {
    color: #fff;
	text-decoration: none;
}
@media (min-width: 768px) {
  .address-text p a {
    pointer-events: none;  /* クリックイベントを無効化する */
    cursor: default;       /* マウスカーソルを標準にする（指マークにならない） */
  }
}
.footer-copyright {
    padding: 16px 32px;
    width: 100%;
}

.footer-copyright p {
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    color: white;
}

/* About Expanded Section */
/* ★変更点7: アコーディオンをスムーズに開閉させるための修正 */
.about-expanded {
    max-height: 0;
    overflow: hidden; /* ★閉じた状態ではhidden */
    opacity: 0;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    gap: 96px;

    transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.7s ease-in-out;
    /* overflowのtransitionは不要（瞬時に切り替えるため） */
}

.about-expanded.show {
    max-height: 3000px;
    opacity: 1;
    margin-top: 20px;
    overflow: visible; /* ★開く瞬間にvisibleに切り替わる */
}

.about-detail-row {
    display: flex;
    gap: 32px;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.about-detail-row.reverse {
    flex-direction: row-reverse;
}

.about-detail-image {
    flex: 1;
    /*min-width: 353px;*/
	
}
.about-detail-image figure {
	margin-left: calc((50vw - 100%) * -1);
	margin-right: 0;
}
.about-detail-row.reverse .about-detail-image figure {
	margin-left: 0;
	margin-right: calc((50vw - 100%) * -1);
}

.about-detail-image img {
    width: 100%;
    height: 384px;
    object-fit: cover;
    display: block;
}


.about-detail-text {
    flex: 1;
    /*min-width: 353px;*/
    max-width: 544px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-detail-text h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.4;
    color: white;
    padding-bottom: 20px;
    border-bottom: 1px solid white;
    margin: 0;
}

.about-detail-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: white;
    margin: 0;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* ★変更点8: モーダルのフェードインをゆっくりに */
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 変更箇所: .video-modal-content */
.video-modal-content {
    position: absolute; /* 変更: absoluteで親要素を基準に配置 */
    top: 50%;           /* 追加: 親要素の上から50%の位置に */
    left: 50%;          /* 追加: 親要素の左から50%の位置に */
    transform: translate(-50%, -50%); /* 追加: 自身のサイズの半分を戻して中央揃え */
    margin: 0;          /* 変更: 不要なmarginを削除 */
    width: 90%;
    max-width: 1200px;
    animation: slideIn 0.5s ease;
}

/* 変更箇所: @keyframes slideIn */
@keyframes slideIn {
    from {
        /* 中央配置を維持しつつ、Y軸を少し上から開始 */
        transform: translate(-50%, -50%) translateY(-50px); /* 変更 */
        opacity: 0;
    }
    to {
        /* 本来の中央位置に戻る */
        transform: translate(-50%, -50%) translateY(0); /* 変更 */
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -80px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    /* ★変更点10: 閉じるボタンのホバーをゆっくりに */
    transition: color 0.5s ease;
    z-index: 10000;
}

.video-modal-close:hover {
    color: #ff0000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   PROJECT PAGE SPECIFIC STYLES
   ======================================== */

/* Project FV Section */
.project-fv-section {
    height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.project-fv-background {
    position: absolute;
    inset: 0;
    background-image: url(../images/use_bg.jpg);
    background-size: cover;
    background-position: 50% 50%;
}

.project-fv-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 99.519%);
    mix-blend-mode: multiply;
}

.project-fv-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
	max-width: 1440px;
	margin: 0 auto;
	padding: 60px 30px;
}

.project-fv-content h1 {
    font-family: 'Sansation Light', sans-serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.4;
    color: white;
    margin: 0;
    white-space: nowrap;
}

/* Project Main Content */
.project-main {
    width: 100%;
    padding: 96px 0;
    display: flex;
    justify-content: center;
}

.project-container {
    max-width: 1184px;
    width: 100%;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.project-grid-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.4;
    color: #444444;
    text-align: center;
    width: 100%;
    max-width: 1110px;
}

.project-grid {
    display: flex;
    gap: 32px;
    width: 100%;
	flex-wrap: wrap;
}

/* Project Card */
.project-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    width: calc(25% - 24px);

    /* ▼▼▼ 追加: アニメーションの初期状態 ▼▼▼ */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* ▼▼▼ 追加: アニメーション実行用のクラス ▼▼▼ */
.project-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.project-thumbnail {
    aspect-ratio: 680/480;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-play-icon {
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-play-icon {
    transform: scale(1.1);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: white;
}

.project-info h3 {
    font-family: 'Ysabeau SC', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
}

.project-info p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}
/* ========================================
   PAGINATION STYLES (WordPress風)
   ======================================== */
.pagination {
    margin-top: 40px;
    width: 100%;
}

.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-left: 0; /* ulのデフォルトpaddingをリセット */
    list-style: none; /* liのデフォルトスタイルをリセット */
    margin: 0;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 5px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    /* ★変更点11: ページネーションのホバーをゆっくりに */
    transition: background-color 0.5s, color 0.5s;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
}

.page-numbers a:hover {
    background-color: white;
    color: #444444;
}

.page-numbers .current {
    background-color: #ffd670;
    color: #444444;
    border-color: #ffd670;
    cursor: default;
}
/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1440px) {
    .header,
    .footer {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .project-grid {
    }
}

@media (max-width: 900px) {
    .project-grid {
    }
	.divider-image {
  height: 300px;
}
	.contact-footer-image {
  height: 300px;
}
	.about-expanded {
  gap: 60px;
}
	.project-info h3 {
  font-size: 18px;
}
}

@media (max-width: 768px) {
    .project-hover-text h3 {
        font-size: 16px;
    }
    
    .project-hover-text p {
        font-size: 11px;
    }
    
    .project-play-icon svg {
        width: 50px;
        height: 35px;
    }
	.divider-image {
  height: 250px;
}
	.team-member {
  width: calc(33.333% - 24px);
}
	.contact-text {
  font-size: 24px;
}
	.contact-footer-image {
  height: 250px;
}
}

@media (max-width: 600px) {
	.container {
  padding: 0 20px;
}
	.main-title h2 img{
		max-width: 100%;
		height: auto;
	}
	.arrow-container {
  width: 80px;
  height: 20px;
  transform: rotate(180deg);
  position: relative;
}
	.about-expanded {
  gap: 40px;
}
	.section-title {
  font-size: 8vw;
}
	.about-subtitle {
  font-size: 20px;
}
	.more-button p {
  font-size: 16px;
}
	.section-content {
  gap: 20px;
}
	.about-detail-row,.about-detail-row.reverse {
  flex-direction: column;
}
	.about-detail-image figure,.about-detail-row.reverse .about-detail-image figure {
  margin-left: -20px;
  margin-right: -20px;
}
	.about-detail-image img {
  width: 100%;
  height: auto;
}
	.about-section {
  padding: 60px 0;
}
	.projects-section {
  padding: 60px 0;
  gap: 40px;
}
	.projects-title {
  font-size: 8vw;
}
	.project-item {
	width: 50%;
    aspect-ratio: 256/257;
}
    .project-grid {
		flex-direction: column;
    }
	.project-card {
  width: 100%;
}
    .pillars-grid {
  gap: 40px;
}
	.pillars-section {
  padding: 60px 0;
}
	.team-section {
  padding: 60px 0;
}
	.team-grid {
  flex-direction: column;
  gap: 32px;
		align-items: center;
}
	.project-main {
  padding: 60px 0;
}
	  .team-member {
    width: 80%;
  gap: 10px;
}
	.member-info {
  gap: 0px;
}
	  .divider-image {
    height: 200px;
  }
    .project-card {
        max-width: 100%;
    }
    .contact-content {
  gap: 30px;
  padding: 0 20px;
		flex-direction: column;
}
	.form-row {
  gap: 10px;
}
	.contact-section {
  padding: 60px 0 0 0;
  gap: 60px;
}
    .project-fv-content h1 {
        font-size: 36px;
    }
	 .contact-text {
    font-size: 18px;
  }
	.contact-intro h2 {
  font-size: 8vw;
}
	.contact-intro {
  gap: 10px;
}
	  .contact-footer-image {
    height: 200px;
  }
}

.page-main {
  background-color: #444444; /* サイト全体の背景色に合わせる */
  color: white; /* 基本の文字色を白に */
  width: 100%;
  padding: 120px 20px; /* 他のセクションと余白感を合わせる */
  text-align: center;
  
}

.page-container {
  max-width: 800px; /* テキストが読みやすい幅に設定 */
  margin: 0 auto;
}

.page-container h1 {
  font-family: 'Ysabeau SC', sans-serif; /* .section-title と同じフォント */
  font-weight: 600;
  font-size: 3rem; /* 見出しとして十分なサイズ */
  line-height: 1.4;
  color: #ffd670; /* サイトのアクセントカラーを使用 */
  margin-bottom: 32px;
}

.page-container p {
  font-family: 'Noto Sans JP', sans-serif; /* 基本の本文フォント */
  font-size: 1rem;
  line-height: 1.8; /* サイト全体の行間に合わせる */
  margin-bottom: 24px;
  color: white;
}

.page-container p:last-of-type {
    margin-bottom: 0;
}

/* サイトの .more-button のスタイルを再現したボタン */
.page-btn {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  margin-top: 40px;
  position: relative; /* 擬似要素を配置する基準 */
  overflow: hidden;   /* はみ出した擬似要素を隠す */
  z-index: 1;
  transition: color 0.4s ease-out; /* 文字色の変化を滑らかに */
}

/* ホバー時に表示される背景レイヤー（擬似要素） */
.page-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; /* ホバー時の背景色 */
  z-index: -1; /* 文字より背面に表示 */
  transform: translateX(-101%); /* 初期状態では左側に隠しておく */
  transition: transform 0.4s ease-out; /* スライドアニメーション */
}

/* ホバー時の変化 */
.page-btn:hover {
  color: #444444; /* 背景色と同じ色にして文字を見せる */
}

.page-btn:hover::before {
  transform: translateX(0); /* 背景レイヤーをスライドインさせる */
}


/* スマートフォン用の調整 */
@media (max-width: 600px) {
    .page-main {
        padding: 80px 20px;
    }
    .page-container h1 {
        font-size: 2.2rem;
    }
    .page-container p {
        font-size: 0.9rem;
    }
    .page-btn {
        padding: 10px 30px;
        font-size: 16px;
    }
}


