body {
  background-color: #000000;
  color: #ffffff;
}

/* =============================
   Opening Video
   ============================= */
.opening-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.opening-video.hidden {
  opacity: 0;
  visibility: hidden;
}

.opening-video__element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.8s ease-out;
}

.opening-video.fade-out .opening-video__element {
  transform: translateY(-20px);
}

/* SP版の動画移動量を調整 */
@media (max-width: 768px) {
  .opening-video.fade-out .opening-video__element {
    transform: translateY(-3px);
    transition: transform 0.2s ease-out;
  }
}

/* オープニング動画表示中はメインコンテンツを非表示 */
body.opening-active .snap-root {
  opacity: 0;
  visibility: hidden;
}

body.opening-active .snap-root.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

/* =============================
   Staggered Animation
   ============================= */
.snap-section {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.snap-section.active {
  opacity: 1;
  transform: translateY(0);
}

.snap-section .section-title,
.snap-section .hero__title,
.snap-section .hero__scroll,
.snap-section .mission__heading,
.snap-section .mission__lead,
.snap-section .strategy__lead,
.snap-section .news-list,
.snap-section .news__more {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.snap-section.active .section-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.snap-section.active .hero__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* オープニング動画中はhero__titleを非表示 */
body.opening-active .hero__title {
  opacity: 0;
  visibility: hidden;
}

/* オープニング動画終了後のhero__titleアニメーション */
body.opening-complete .hero__title {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

/* オープニング中はヘッダーとスクロールボタンを非表示 */
body.opening-active .site-header,
body.opening-active .hero__scroll {
  opacity: 0;
  visibility: hidden;
}

/* オープニング動画終了後にヘッダーとスクロールボタンをふわっと表示 */
body.opening-complete .site-header,
body.opening-complete .hero__scroll {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-out 0.3s, visibility 0.8s ease-out 0.3s;
}

.snap-section.active .hero__scroll {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.snap-section.active .mission__heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.snap-section.active .mission__lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.snap-section.active .strategy__lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.snap-section.active .news-list {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
  width: 100%;
}

.snap-section.active .news__more {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.news-item__text a {
  text-decoration: underline;
}

html {
  margin-top: -32px !important;
}

/* =============================
   Fixed Header
   ============================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 1000;
  background-color: #000000;
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 100%;
  padding-inline: 40px;
  align-items: center;
}
.site-header__logo img {
  height: 20px;
  width: auto;
  display: block;
}
.site-header__center {
  display: grid;
  place-items: center;
  pointer-events: none;
}
.site-header__center img {
  height: 21px;
  width: auto;
}
.site-header__right {
  display: grid;
  place-items: end;
}
.site-header__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 4px;
}
.site-header__menu:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ハンバーガーメニュー */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
  height: 16px;
}

.hamburger__line {
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.site-header__menu.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-header__menu.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.site-header__menu.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.menu-text {
  width: 100px;
  height: 20px;
}

/* メニューオーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  pointer-events: none;
}
li.menu-nav__item {
  display: flex;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 80px 80px;
}

.menu-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-nav__item:last-child {
  margin-bottom: 0;
}

.menu-nav__link {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
}

.menu-nav__link:hover {
  color: #008080;
  transform: translateY(-2px);
}

.menu-nav__link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #008080;
  transition: width 0.3s ease;
}

.menu-nav__link:hover::after {
  width: 100%;
}

.site-header__bg {
  position: absolute;
  inset: 0;
}
.site-header__gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.site-header--with-center .site-header__center {
  opacity: 1;
}

/* bodyの先頭余白（固定ヘッダー分） */
body {
  padding-top: 72px;
}

/* =============================
   Layout helpers
   ============================= */
.l-container {
  width: min(1090px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding-inline: 24px;
}

/* =============================
   HERO
   ============================= */
.page-top {
  overflow: hidden;
}
.snap-root {
  position: relative;
}
.snap-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  margin-top: 3.5vh;
}

/* NEWS以降のセクションは通常の高さに戻す */
#news.snap-section,
#company.snap-section,
#contact.snap-section {
  min-height: auto;
  display: block;
  margin-top: 0;
  opacity: 1 !important;
  transform: translateY(0) !important;
  padding-top: 80px;
}

#news .section-title,
#company .section-title,
#contact .section-title,
#news .news-list,
#news .news__more,
#company .company__content,
#contact .contact__content {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero {
  position: relative;
  padding: 24px 0 56px;
}
.hero__inner {
  width: 100%;
}
.hero__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
}
.hero__menu {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.hero__main {
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 8vh;
}
.hero__subtitle {
  margin-top: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: clamp(16px, 2vw, 22px);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
}
.hero__title-img {
  width: min(680px, 78vw);
  height: auto;
}

/* =============================
   Section title (reusable)
   ============================= */
.section-title img {
  width: auto;
  height: 22px;
}

/* =============================
   MISSION
   ============================= */
.mission {
  position: relative;
}
.mission__inner {
  position: relative;
}
.mission__heading {
  display: grid;
  place-items: center;
}
.mission__heading img {
  width: min(760px, 88vw);
  height: auto;
}
.mission__lead {
  margin-top: 16px;
  display: grid;
  place-items: center;
  text-align: center;
}
.mission__lead img {
  width: min(820px, 92vw);
  height: auto;
}
.mission__bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -110px; /* セクション下端に固定 */
  top: auto;
  display: grid;
  place-items: center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.mission__bg img {
  width: 100vw;
  height: auto;
}
/* 背景の上にコンテンツを重ねる */
.mission__inner > *:not(.mission__bg) {
  position: relative;
  z-index: 1;
}

/* =============================
   SERVICES
   ============================= */
.services {
  padding: 80px 0;
}
.services-cards-container {
  position: relative;
  overflow: hidden;
  height: 43vh;
  width: 100%;
}
.services-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease-in-out;
}
.services-card.active {
  opacity: 1;
  transform: translateY(0);
}
.services-card.prev {
  transform: translateY(-100%);
}
.services-card__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 8px;
}
.services-card__title {
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 8px;
}
.services-shafu__title-logo {
  width: auto;
  height: 140px;
}
.services-shafupara__title-logo {
  width: auto;
  height: auto;
}
.services-shafu__title-logo-container {
  margin-bottom: 32px;
}
.services-card__desc {
  opacity: 0.9;
  line-height: 1.9;
  font-size: 16px;
}
.services-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* サービスカード画像スタック */
.services-card__image-stack {
  position: relative;
  width: 100%;
  height: auto;
}

.services-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.6s ease-out;
}

.services-card__image--01 {
  z-index: 3;
  transition-delay: 0.1s;
  width: 100%;
  height: auto;
}

.services-card__image--02 {
  z-index: 2;
  transition-delay: 0.05s;
  width: 95%;
  height: auto;
  transform: translateY(100%) scale(0.95) translateX(10px);
  transform-origin: center bottom;
}

.services-card__image--03 {
  z-index: 1;
  transition-delay: 0s;
  width: 90%;
  height: auto;
  transform: translateY(100%) scale(0.9) translateX(20px);
  transform-origin: center bottom;
}

/* アニメーション開始 */
.services-card.active .services-card__image {
  opacity: 1;
  transform: translateY(0);
}

.services-card.active .services-card__image--02 {
  transform: translateY(0) scale(0.95) translateX(0px);
  margin-top: 20px;
}

.services-card.active .services-card__image--03 {
  transform: translateY(0) scale(0.9) translateX(0px);
  margin-top: 30px;
}

/* =============================
   STRATEGY
   ============================= */
.strategy {
  padding: 20vh 0;
  min-height: calc(100vh - 72px);
}
.strategy__lead {
  width: auto;
  height: 20px;
  margin-bottom: 40px;
  font-size: 24px;
}

.font-rog {
  font-family: vdl-logog, sans-serif;
  font-weight: bold;
  text-shadow: 0.15px 0.15px 0 #fff, -0.15px -0.15px 0 #fff, 0.15px -0.15px 0 #fff, -0.15px 0.15px 0 #fff;
  letter-spacing: 2px;
}

.strategy__lead img {
  width: 100%;
  height: 100%;
}
.strategy__inner.l-container {
  gap: 46px;
}
.strategy__head {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.strategy-cards-container {
  position: relative;
  overflow: hidden;
  height: 53vh;
  width: 100vh;
}
.strategy-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease-in-out;
}
.strategy-card.active {
  opacity: 1;
  transform: translateY(0);
}
.strategy-card.prev {
  transform: translateY(-100%);
}
.strategy__graph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strategy__reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.strategy-reason {
  background: #121216;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.strategy-reason__title {
  font-weight: 700;
  margin-bottom: 8px;
}
.strategy-reason__list {
  padding-left: 18px;
}
.strategy__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: auto;
  align-items: stretch; /* 各カラムを同じ行高にストレッチ */
}
.strategy__cards img {
  width: 100%;
  height: auto;
}

/* テキスト化したSTRATEGYカード */
.strategy-text-card {
  border: 1px solid #008080;
  padding: 20px;
  position: relative;
}
.strategy-text__title {
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 22px);
  margin: -20px -20px 16px -20px; /* 見出し帯をボックスいっぱいに */
  background: #008080; /* ティール帯 */
  color: #ffffff;
  text-align: center;
  padding: 6px 0px;
  font-size: 20px;
}
.strategy-text__list {
  padding-left: 1.2em;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.strategy-text__list li {
  list-style: disc;
  line-height: 1.6;
  font-size: 16px;
}
.strategy-text__note {
  opacity: 0.95;
  text-align: center; /* 下部の強調文を中央配置 */
  font-weight: 700;
  padding: 42px 16px;
  font-size: 16px;
}

/* STRATEGY 矢印 */
.strategy-arrow {
  display: grid;
  place-items: center;
  padding: 0;
}
.strategy-arrow img {
  width: 54px;
  height: auto;
  opacity: 0.9;
}

/* STRATEGY 強調文 背景 */
.strategy-text__note-container {
  background-image: url("../img/main/stra-bg.png");
  background-size: cover; /* cover指定 */
  background-position: center;
  background-repeat: no-repeat;
  place-items: center;
  margin-top: -20px;
}

/* PC時の2カラム高さ揃え */
@media (min-width: 769px) {
  .strategy-text-cards-container {
    display: flex;
    flex-direction: column;
  }
  .strategy-text-card {
    flex: 1 1 auto; /* 高い方に合わせて伸縮 */
    display: flex;
    flex-direction: column;
  }
}

/* =============================
   COMPANY
   ============================= */
.company {
  padding: 80px 0;
  margin-top: 0; /* snap-sectionで調整済み */
}
.company__inner {
  max-width: 1200px;
  width: 100%;
}
.company__content {
  margin-top: 40px;
  width: 100%;
}
.company__info {
  padding: 0;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.company__row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.company__row:last-child {
  border-bottom: none;
}
.company__label {
  width: 260px;
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
}
.company__value {
  flex: 1;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
  padding: 20px 24px;
}
.company__business-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.company__business-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.company__business-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}
.company__business-list li:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .company__row {
    flex-direction: column;
  }
  .company__label {
    width: auto;
    font-size: 14px;
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .company__value {
    font-size: 14px;
    padding: 16px 20px;
  }
}

/* =============================
   CONTACT
   ============================= */
.contact {
  padding: 80px 0;
  margin-top: 0; /* snap-sectionで調整済み */
}
.contact__inner {
  max-width: 1200px;
  width: 100%;
}
.contact__content {
  margin-top: 40px;
}
.contact__form {
  max-width: 1090px;
  margin: 0 auto;
}
.contact__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__form .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact__form label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form textarea {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #333333;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.contact__form input[type="text"]:focus,
.contact__form input[type="email"]:focus,
.contact__form input[type="tel"]:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: #007bff;
}
.contact__form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact__form input[type="submit"] {
  width: 100%;
  padding: 8px 16px;
  background: #008080;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
}
.contact__form input[type="submit"]:hover {
  background: #ffffff;
  color: #008080;
  border: 2px solid #008080;
}
.contact__form .name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__form .checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.contact__form .checkbox-field input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.contact__form .checkbox-field label {
  font-size: 14px;
  line-height: 1.4;
}
.contact__form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 4px;
}
.contact__form .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
}
.contact__form .wpcf7-mail-sent-ok {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
}
.contact__form .wpcf7-validation-errors {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

/* =============================
   FOOTER
   ============================= */
.site-footer {
  background: #000000;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding: 40px 40px 12px;
}
.footer-left {
  flex: 1;
}
.footer-services-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.8;
}
.footer-services-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.footer-legal-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.footer-link {
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer-link:hover {
  opacity: 0.7;
}
.footer-bottom {
  padding: 16px 0;
  text-align: center;
}
.footer-copyright {
  font-size: 14px;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 0 20px;
  }
  .site-footer::before {
    left: 20px;
  }
  .site-footer::after {
    right: 20px;
  }
  .footer-content {
    flex-direction: column;
    gap: 32px;
    padding: 32px 0;
  }
  .footer-services-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .footer-legal-links {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
}

/* =============================
   NEWS
   ============================= */
.news-list {
    width: 100%;
}
.news {
  padding: 80px 0;
  margin-top: 0; /* snap-sectionで調整済み */
}
.news__inner {
  max-width: 1200px;
  width: 100%;
}
.news-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}
.news-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 1000px;
}
.news-item--hidden {
  max-height: 0;
  border-bottom: none;
  opacity: 0;
}
.news-item__header {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  transition: background-color 0.3s ease;
}
.news-item--expandable .news-item__header {
  cursor: pointer;
}
.news-item--no-expand .news-item__header {
  grid-template-columns: 140px 1fr;
}
.news-item__header:hover {
  background-color: rgba(255, 255, 255, 0.02);
}
.news-item__date {
  font-size: 14px;
  color: rgba(255, 255, 255, 1);
}
.news-item__title-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-item__title {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.news-item__file {
  display: flex;
  align-items: center;
}
.news-item__file-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.news-item__file-link:hover {
  color: #ffffff;
}
.news-item__file-link i {
  font-size: 12px;
}
.news-item__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.news-item__arrow i {
  font-size: 14px;
}
.news-item.expanded .news-item__arrow {
  transform: rotate(180deg);
  color: #ffffff;
}
.news-item__content {
  padding: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  margin-top: -1px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-left: 156px;
}
.news-item__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 0 16px 0;
}
.news-item__file-info {
  padding: 16px 0 0 0;
}
.news-item__file-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.news-item__file-info a {
  color: #ffffff;
  text-decoration: underline;
}
.news-item__file-info a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.news__more {
  text-align: center;
  margin-top: 32px;
}
.news-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-toggle-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}
.news-toggle-btn__icon {
  transition: transform 0.3s ease;
}
.news-toggle-btn.expanded .news-toggle-btn__icon {
  transform: rotate(90deg);
}

.wpcf7-form-row {
  display: flex;
  gap: 40px;
  width: 100%;
  justify-content: center;
}

/* 確認モーダル */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
}

.confirmation-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.confirmation-modal__content {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.confirmation-modal__title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 16px;
}

.confirmation-modal__data {
  background: #f8f9fa;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
  max-height: 200px;
  overflow-y: auto;
}

.confirmation-modal__field {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
}

.confirmation-modal__field:last-child {
  margin-bottom: 0;
}

.confirmation-modal__field strong {
  color: #333333;
  display: inline-block;
  min-width: 120px;
}

.confirmation-modal__message {
  font-size: 16px;
  color: #666666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.confirmation-modal__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirmation-modal__btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.confirmation-modal__btn--cancel {
  background: #f5f5f5;
  color: #666666;
}

.confirmation-modal__btn--cancel:hover {
  background: #e0e0e0;
}

.confirmation-modal__btn--confirm {
  background: #20b2aa;
  color: #ffffff;
}

.confirmation-modal__btn--confirm:hover {
  background: #1a9b94;
}

/* =============================
   SP RESPONSIVE
   ============================= */
@media (max-width: 768px) {
  .site-header__inner {
    padding-inline: 16px;
  }
  .site-header__logo img {
    height: 16px;
  }
  .l-container {
    width: min(1090px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-inline: 0px;
  }
  /* スナップスクロールを無効化 */
  .snap-section {
    min-height: auto !important;
    display: block !important;
    margin-top: 0 !important;
    padding: 60px 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .hero.snap-section {
    min-height: calc(100vh - 72px) !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .hero__main {
    padding-top: 0vh;
  }

  /* 子要素のアニメーションも無効化 */
  .snap-section .section-title,
  .snap-section .hero__title,
  .snap-section .hero__scroll,
  .snap-section .mission__heading,
  .snap-section .mission__lead,
  .snap-section .strategy__lead,
  .snap-section .news-list,
  .snap-section .news__more,
  .snap-section .services-card,
  .snap-section .strategy-card {
    opacity: 1 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
  }

  .snap-section .hero__title {
    margin-bottom: 10px;
  }

  /* ヘッダーを追従型に変更 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* セクションタイトル */
  .section-title {
    margin-bottom: 40px;
  }

  .section-title img {
    max-width: 200px;
    height: auto;
  }

  /* HEROセクション */
  .hero {
    padding: 80px 0 60px;
    text-align: center;
  }

  .hero__title-img {
    max-width: 280px;
    height: auto;
  }

  .hero__scroll {
    bottom: 20px;
    display: flex;
    left: auto;
  }

  /* MISSIONセクション */
  .mission {
    padding: 60px 0;
  }

  .mission__heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .mission__lead {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .mission__lead img {
    width: min(375px, 66vw);
    height: auto;
  }

  .mission__bg {
    display: none;
  }

  /* SERVICESセクション */
  .services {
    padding: 60px 0;
  }
  .services__inner.l-container {
    margin-top: 120px;
  }

  .services-cards-container {
    height: auto !important;
    position: static;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 120px;
  }

  .services-card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 0;
  }

  .services-card__content {
    text-align: left;
  }

  .services-card__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .services-card__title {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
  }

  .services-shafu__title-logo {
    width: 200px !important;
  }

  .services-shafu__title-logo-container {
    display: flex;
    justify-content: center;
  }

  .services-card__desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .services-card__media {
    margin-top: 0;
  }

  .services-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* SP版でも画像スタックアニメーションを有効化 */
  .services-card__image-stack {
    position: relative;
    width: 100%;
    height: auto;
  }

  .services-card__image {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease-out;
  }

  .services-card__image--01 {
    z-index: 3;
    transition-delay: 0.1s;
    width: 100%;
    height: auto;
  }

  .services-card__image--02 {
    display: none;
  }

  .services-card__image--03 {
    display: none;
  }

  /* SP版アニメーション開始 */
  .services-card .services-card__image {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .services-card .services-card__image--02 {
    display: none;
  }

  .services-card .services-card__image--03 {
    display: none;
  }

  /* STRATEGYセクション */
  .strategy {
    padding: 60px 0;
  }
	.strategy__lead {
  height: auto;
}

  .strategy-cards-container {
    height: auto !important;
    position: static;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  .strategy-card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 0;
  }

  .strategy__graph img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .strategy__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    height: auto;
  }

  .strategy__cards img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* NEWSセクション */
  .news {
    padding: 60px 0;
  }

  .news-item__header {
    grid-template-columns: 100px 1fr auto !important;
    gap: 12px;
    padding: 12px 0;
  }

  .news-item__date {
    font-size: 12px;
  }

  .news-item__title {
    font-size: 14px;
  }

  .news-item__content {
    margin-left: 0;
    padding: 0 0 12px 0;
  }

  .news-item__text {
    font-size: 13px;
    padding: 12px 0;
  }

  /* COMPANYセクション */
  .company {
    padding: 60px 0;
  }

  .company__info {
    padding: 0;
  }

  .company__row {
    flex-direction: column;
    padding: 0;
    border-bottom: none;
  }

  .company__label {
    width: auto;
    font-size: 14px;
    padding: 16px 16px;
    border-right: none;
    border-top: 2px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
  }

  .company__value {
    font-size: 14px;
    padding: 16px 16px;
  }
  .company__content {
    margin-top: 0px;
  }

  /* CONTACTセクション */
  .contact {
    padding: 60px 0;
  }

  .contact__form {
    max-width: 100%;
  }

  .contact__form input[type="text"],
  .contact__form input[type="email"],
  .contact__form input[type="tel"],
  .contact__form textarea {
    font-size: 16px; /* iOS zoom防止 */
  }

  /* フッター */
  .site-footer {
    margin-top: 60px;
  }

  .footer-content {
    padding: 32px 0px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .footer-logo img {
    height: 18px;
  }

  .footer-copyright {
    font-size: 12px;
  }
  .wpcf7-form-row {
    gap: 20px;
  }

  .footer-services-title {
    font-size: 18px;
    margin: 0;
  }

  /* メニューオーバーレイ SP */
  .menu-overlay__inner {
    padding: 60px 20px;
  }

  .menu-nav__item {
    margin-bottom: 30px;
  }

  .menu-nav__link {
    font-size: clamp(20px, 6vw, 32px);
  }

  /* 確認モーダル（SP） */
  .confirmation-modal__content {
    padding: 24px;
    margin: 0 20px;
  }

  .confirmation-modal__title {
    font-size: 18px;
  }

  .confirmation-modal__data {
    padding: 12px;
    max-height: 150px;
  }

  .confirmation-modal__field {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .confirmation-modal__field strong {
    min-width: 100px;
    font-size: 12px;
  }

  .confirmation-modal__message {
    font-size: 14px;
  }

  .confirmation-modal__buttons {
    flex-direction: column;
    gap: 8px;
  }

  .confirmation-modal__btn {
    width: 100%;
    padding: 14px;
  }
}

/* =============================
   THANKS PAGE
   ============================= */
.thanks-page {
  min-height: 100vh;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0 0 0;
}

.thanks {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.thanks__inner {
  padding: 0 20px;
}

.thanks__title {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.4;
}

.thanks__message {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 40px;
}

.thanks__button {
  margin-top: 40px;
}

.thanks__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thanks__link:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

/* SP RESPONSIVE */
@media (max-width: 768px) {
  .thanks-page {
    padding: 60px 0 0 0;
  }

  .thanks__content {
    padding: 40px 20px;
  }

  .thanks__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .thanks__message {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .thanks__link {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* checkbox */
.wpcf7-list-item {
  display: block;
  line-height: 1;
}
.wpcf7-list-item + .wpcf7-list-item {
  margin-top: 8px;
}
input[type="checkbox"] {
  display: none;
}
.wpcf7-list-item-label {
  position: relative;
  height: 20px;
  line-height: 20px;
  padding-left: 25px;
  display: inline-block;
}
.wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid;
  background: #fff;
  position: absolute;
  left: 0;
  top: 2px;
  box-sizing: border-box;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 13px;
  height: 7px;
  border-top: 3px solid #3d8582;
  border-right: 3px solid #3d8582;
  transform: rotate(135deg);
  position: absolute;
  left: 2px;
  top: 4px;
}

.wpcf7-list-item-label a {
  text-decoration: underline;
}
