/* ===== 基本設定 ===== */
:root {
  --color-primary: #2A5DB0;  /* 信頼感のブルー */
  --color-accent: #FFA726;   /* コントラスト用オレンジ */
  --color-hero-overlay: rgba(42, 93, 176, 0.8); /* ヒーローセクションのオーバーレイカラー - 青色に変更 */
  --color-background: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #EEEEEE;
  --font-base: 'Noto Sans JP', sans-serif;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
  --radius: 8px;
}

/* リセットとベーススタイル */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10pxベース */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 10rem 0;
}

.section__title {
  font-size: 3.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 2rem auto 0;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background-color: #1f4e9d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn--contact {
  background-color: var(--color-accent);
  color: white;
  font-size: 1.4rem;
  padding: 0.8rem 1.6rem;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.header__logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.header__menu {
  display: flex;
  align-items: center;
}

.header__menu li {
  margin-left: 3rem;
}

.header__menu a {
  color: var(--color-text);
  font-weight: 500;
}

.header__menu a:hover {
  color: var(--color-primary);
}

.header__menu-btn {
  display: none;
  background: transparent;
  border: none;
  width: 3rem;
  height: 2.4rem;
  cursor: pointer;
  position: relative;
  z-index: 200;
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  transition: var(--transition);
}

.header__menu-btn span:nth-child(1) {
  top: 0;
}

.header__menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__menu-btn span:nth-child(3) {
  bottom: 0;
}

/* ===== ヒーローセクション ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: url('img/main01.png') no-repeat center center/cover;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: var(--color-hero-overlay);
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* 確実に前面に出るように */
  color: white;
  padding: 0 5%;
  max-width: 600px;
  margin-left: 5%;
}

.hero__catch {
  font-size: 5.5rem;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 2.5rem;
  color: white;
  position: relative;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
  font-family: 'Noto Sans JP', sans-serif;
  display: inline-block;
}

.hero__catch::after {
  content: '';
  position: absolute;
  bottom: -0.5em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: white;
  opacity: 0.9;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.hero__subcopy {
  font-size: 2rem;
  margin-bottom: 3.5rem;
  line-height: 1.6;
  color: white;
  position: relative;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
  font-weight: 500;
  border-left: 4px solid white;
  padding-left: 1rem;
}

.hero .btn--primary {
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: var(--color-accent);
  border: 2px solid white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1.5rem 3.5rem;
  font-size: 1.8rem;
}

.hero .btn--primary:hover {
  background-color: #e69008;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.hero__image {
  display: none;
}

.hero__bg {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  transform: scale(1.2);
  transition: transform 0.2s linear;
}

.hero.scrolled .hero__bg {
  transform: scale(1);
}

/* ===== NCSの強み ===== */
.strengths-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 5%;
  background-color: #f5f7fa;
}

.strengths-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1160px;
  width: 100%;
}

/* 添付のデザインコードベースの強みセクション */
.p-index_first {
  -webkit-tap-highlight-color: transparent;
  --vh: 8.57px;
  -webkit-text-size-adjust: 100%;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0;
  line-height: 180%;
  text-indent: 0;
  font-size: calc(.4898vw + 1.21633rem);
  font-weight: 500;
  border-style: solid;
  border-width: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  padding: calc(11.42857vw + 17.14286px) 0 calc(6.53061vw + 50.5102px);
  background-color: #f5faff;
}

.p-index_first__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: calc(7.5vw + 30px);
  padding: 0 calc(6.1vw + 30px);
}

.p-index_first__head__pic {
  width: 40%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.p-index_first__head__pic img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.c-img_zoom.is-act img {
  transform: scale(1.1);
}

.p-index_first__head__textarea {
  width: 55%;
  padding-top: 30px;
}

.c-heading01 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.c-heading01.-blue {
  color: #2A5DB0;
}

.c-heading01__mark {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.c-heading01__mark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5em;
  background-color: rgba(42, 93, 176, 0.2);
  z-index: -1;
}

.p-index_first__head__textarea .text {
  font-size: 1.6rem;
  line-height: 1.8;
}

.c-text01 {
  margin-bottom: 1.5rem;
}

.p-index_first__pic {
  position: relative;
  padding: 0 calc(6.1vw + 30px);
  margin-bottom: 50px;
  height: 55vw;
  max-height: 700px;
}

.p-index_first__pic .clip {
  position: absolute;
  width: 25%;
  top: 0;
  left: calc(6.1vw + 30px);
  z-index: 3;
}

.p-index_first__pic .sub01 {
  position: absolute;
  width: 30%;
  top: 20%;
  left: 32%;
  z-index: 2;
  overflow: hidden;
  border-radius: 10px;
}

.p-index_first__pic .sub02 {
  position: absolute;
  width: 25%;
  top: 50%;
  left: 20%;
  z-index: 1;
  overflow: hidden;
  border-radius: 10px;
}

.p-index_first__pic .main {
  position: absolute;
  width: 50%;
  top: 10%;
  right: calc(6.1vw + 30px);
  z-index: 2;
  overflow: hidden;
  border-radius: 10px;
}

.c-img_frame {
  padding: 20px;
  border-radius: 0;
}

.c-img_frame.-white {
  background-color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.c-img_frame.-black {
  background-color: rgba(0, 0, 0, 0.05);
}

.c-img_frame.-off {
  padding: 0;
}

.p-index_first__en {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: -1;
  opacity: 0.15;
}

.p-index_first__en span {
  font-size: 15rem;
  font-weight: 900;
  color: #2A5DB0;
  line-height: 0.8;
}

/* レスポンシブ対応 */
@media screen and (max-width: 960px) {
  .p-index_first__head {
    flex-direction: column;
  }
  
  .p-index_first__head__pic,
  .p-index_first__head__textarea {
    width: 100%;
  }
  
  .p-index_first__head__pic {
    margin-bottom: 30px;
  }
  
  .c-heading01 {
    font-size: 2.4rem;
  }
  
  .p-index_first__pic {
    height: 90vw;
  }
}

@media screen and (max-width: 767px) {
  .p-index_first {
    padding: calc(8vw + 20px) 0 calc(5vw + 40px);
  }
  
  .p-index_first__head {
    padding: 0 5%;
  }
  
  .p-index_first__pic {
    padding: 0 5%;
    margin-bottom: 30px;
    height: 120vw;
  }
  
  .p-index_first__pic .clip {
    left: 5%;
    width: 30%;
  }
  
  .p-index_first__pic .main {
    right: 5%;
    width: 65%;
  }
  
  .c-heading01 {
    font-size: 2rem;
  }
  
  .p-index_first__en span {
    font-size: 8rem;
  }
}

/* ===== サービス内容と利用シーン ===== */
.services-cases {
  background-color: #fff;
}

.service-section {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(to bottom left, #f0f4fa 50%, #ffffff 50%);
  padding: 60px 0;
  margin-bottom: 30px;
  border-radius: var(--radius);
}

.service-section:last-child {
  margin-bottom: 0;
}

.service-section .image-area {
  flex: 1 1 40%;
  padding-right: 3%;
}

.service-section .image-area img {
  width: 100%;
  border-radius: var(--radius);
  height: 300px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-section .content-area {
  flex: 1 1 60%;
  position: relative;
}

.service-section h3 {
  font-size: 2.2rem;
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.service-section h3 span {
  font-size: 3rem;
  color: #ccc;
  font-weight: lighter;
  margin-right: 10px;
}

.service-section p.lead {
  font-size: 1.6rem;
  margin-top: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* 新しいFeatureスタイル - 添付のデザインコードベース */
.p-index_feature {
  -webkit-tap-highlight-color: transparent;
  --vh: 8.57px;
  -webkit-text-size-adjust: 100%;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0;
  line-height: 180%;
  text-indent: 0;
  font-size: calc(.4898vw + 1.21633rem);
  font-weight: 500;
  border-style: solid;
  border-width: 0;
  box-sizing: border-box;
  margin-bottom: 50px !important;
  padding-top: 20px !important;
}

.c-heading02 {
  position: relative;
  text-align: center;
  margin-bottom: calc(6vw + 0px);
}

.c-heading02__en {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2A5DB0;
}

.c-heading02.-blue .c-heading02__en {
  color: #2A5DB0;
}

.c-heading02__main {
  font-size: 3.2rem;
  font-weight: 700;
  color: #2A5DB0;
  position: relative;
  display: inline-block;
}

.c-heading02__main::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 12px;
  background: rgba(42, 93, 176, 0.1);
  bottom: 0;
  left: -10%;
  z-index: -1;
}

.p-index_feature__sec {
  position: relative;
  padding-top: 40px !important;
  padding-bottom: 20px !important;
  margin-bottom: 0 !important;
}

.p-index_feature__sec.-reverse {
  margin-top: -30px !important;
}

.p-index_feature__sec:last-child {
  margin-top: -20px !important;
}

.p-index_feature__sec__num {
  position: absolute;
  font-size: 16rem;
  font-weight: 900;
  color: rgba(42, 93, 176, 0.07);
  top: 0;
  line-height: 1;
  z-index: -1;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

/* デフォルトは左側 */
.p-index_feature__sec__num {
  left: 0;
  right: auto;
}

/* 画像が左側にあるセクションは数字を右側に配置 */
.p-index_feature__sec.-img-left .p-index_feature__sec__num {
  left: auto;
  right: 0;
}

/* 画像が右側にあるセクションは数字を左側に配置 */
.p-index_feature__sec.-img-right .p-index_feature__sec__num {
  left: 0;
  right: auto;
}

.p-index_feature__sec__num.is-act {
  opacity: 1;
  transform: translateY(0);
}

.-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.-fadein.is-act {
  opacity: 1;
  transform: translateY(0);
}

.c-container.-wide {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.c-catch01 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin-bottom: calc(2.12245vw + 15px);
  color: #2A5DB0;
}

.c-catch01 em {
  position: relative;
  display: inline-block;
}

.c-catch01 em::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0.6em;
  background: rgba(42, 93, 176, 0.1);
  bottom: 0;
  left: 0;
  z-index: -1;
}

.c-catch01 .js-split {
  display: inline-block;
  transform: none;
}

.c-catch01 .js-split span {
  display: inline-block;
  transform: none !important;
}

.c-catch01 .n1,
.c-catch01 .n2 {
  transform: none !important;
  font-style: normal;
}

.p-index_feature__sec__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: calc(2.06122vw + 20.81633px);
  align-items: center;
}

.p-index_feature__sec__row .pic {
  width: 45%;
  position: relative;
}

.p-index_feature__sec__row .pic img {
  max-height: 300px;
  object-fit: cover;
}

.c-img_frame {
  padding: 20px;
  border-radius: 0;
}

.c-img_frame.-white {
  background-color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.c-img_frame.-black {
  background-color: rgba(0, 0, 0, 0.05);
}

.c-img_frame.-off_left {
  padding: 0 0 0 20px;
}

.c-img_zoom {
  overflow: hidden;
  border-radius: 10px !important;
}

/* 画像自体も丸くする（二重のc-img_zoomクラスがある場合も対応） */
.pic img {
  border-radius: 6px;
}

.c-img_zoom img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
  border-radius: 6px; /* 画像自体も丸くする */
}

.c-img_zoom.is-act img {
  transform: scale(1.1);
}

.p-index_feature__sec__row .textarea {
  width: 50%;
  padding-top: 0;
}

.c-heading01 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.c-heading01.-blue {
  color: #2A5DB0;
}

.c-heading01__mark {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.c-heading01__mark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5em;
  background-color: rgba(42, 93, 176, 0.2);
  z-index: -1;
}

.c-text01 {
  font-size: 1.5rem !important;
  line-height: 1.7 !important;
  margin-bottom: 15px !important;
}

.other_pic {
  position: relative;
  height: 140px;
  margin-top: 20px;
}

.other_pic .pic_item {
  position: absolute;
  width: 65%;
  top: 0;
  right: 0;
  z-index: 2;
}

.other_pic .clip {
  position: absolute;
  width: 35%;
  z-index: 1;
}

.other_pic .clip.-no01,
.other_pic .clip.-no03,
.other_pic .clip.-no05 {
  top: -20px;
  left: 0;
}

.other_pic .clip.-no02,
.other_pic .clip.-no04,
.other_pic .clip.-no06 {
  bottom: -20px;
  right: 20%;
}

.c-kakukaku {
  transform: rotate(6deg);
}

.c-kakukaku.-reverse {
  transform: rotate(-6deg);
}

.u-visible-sp {
  display: none;
}

.u-hidden-sp {
  display: block;
}

.p-index_feature__sec__timetable,
.p-index_feature__sec__course {
  background-color: #f7f9fc;
  border-radius: 10px;
  padding: 30px 30px 25px !important;
  margin-top: 30px !important;
  position: relative;
}

.c-fukidashi_title {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2A5DB0;
  color: white;
  padding: 8px 25px;
  font-size: 1.7rem;
  font-weight: 700;
  border-radius: 30px;
  text-align: center;
  min-width: 200px;
}

.u-center {
  text-align: center;
}

.u-mb20 {
  margin-bottom: 20px;
}

.sub-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px !important;
}

.sub-card {
  flex: 1 1 calc(33.333% - 20px);
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sub-card strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2A5DB0;
  line-height: 1.4;
}

.sub-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #555;
}

@media screen and (max-width: 960px) {
  .p-index_feature {
    margin-bottom: 30px !important;
  }
  
  .p-index_feature__sec.-reverse,
  .p-index_feature__sec:last-child {
    margin-top: 0 !important;
  }
  
  .c-heading02 {
    margin-bottom: calc(5vw + 0px);
  }
  
  .c-heading02__main {
    font-size: 2.8rem;
  }
  
  .p-index_feature__sec {
    padding-top: 30px !important;
    padding-bottom: 15px !important;
  }
  
  .p-index_feature__sec__num {
    font-size: 14rem;
  }
  
  .c-catch01 {
    font-size: 2.8rem;
  }
  
  .p-index_feature__sec__timetable,
  .p-index_feature__sec__course {
    padding: 25px 20px 20px !important;
    margin-top: 20px !important;
  }
  
  .p-index_feature__sec__row {
    flex-direction: column;
  }
  
  .p-index_feature__sec__row .pic,
  .p-index_feature__sec__row .textarea {
    width: 100%;
  }
  
  .p-index_feature__sec__row .textarea {
    margin-top: 30px;
  }
  
  .other_pic {
    margin-top: 30px !important;
    height: 180px;
  }
  
  .u-hidden-sp {
    display: none;
  }
  
  .u-visible-sp {
    display: block;
  }
  
  .sub-card {
    flex: 1 1 calc(50% - 15px);
  }
}

@media screen and (max-width: 767px) {
  .c-heading02__main {
    font-size: 2.4rem;
  }
  
  .c-heading02__main::after {
    height: 8px;
  }
  
  .c-catch01 {
    font-size: 2.4rem;
  }
  
  .c-heading01 {
    font-size: 2rem;
  }
  
  .p-index_feature__sec__timetable,
  .p-index_feature__sec__course {
    padding: 30px 20px;
  }
  
  .c-fukidashi_title {
    font-size: 1.6rem;
    padding: 8px 20px;
    min-width: 180px;
  }
  
  .sub-card {
    flex: 1 1 100%;
  }
  
  .sub-card strong {
    font-size: 1.6rem;
  }
  
  .p-index_feature__sec__num {
    font-size: 12rem;
  }
  
  .p-index_feature__sec__row .pic img {
    max-height: 250px;
  }
  
  .other_pic {
    height: 180px;
  }
  
  .sub-card {
    flex: 1 1 100%;
    padding: 15px;
  }
}

/* ===== サムネイルスクロール ===== */
.thumb-row {
  overflow: hidden;
  white-space: nowrap;
  padding: 3rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.thumb-row ul {
  display: inline-flex;
  gap: 2rem;
  animation: 30s linear infinite scroll-l;
}

.thumb-row.right ul {
  animation-name: scroll-r;
}

.thumb-row li {
  width: 240px;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.thumb-row li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll-l {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-r {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.thumb-row:hover ul {
  animation-play-state: paused;
}

/* ===== 導入事例 ===== */
.cases {
  background-color: #f5f7fa;
}

.cases__grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.cases__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.split__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 300px;
}

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

.cases__name {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.cases__desc {
  color: var(--color-text-light);
}

/* ===== 会社概要 ===== */
.company__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.company__dl {
  display: grid;
  grid-template-columns: 30% 70%;
  row-gap: 2rem;
  column-gap: 2rem;
}

.company__dl dt {
  font-weight: 700;
}

.layered-img {
  position: relative;
  max-width: 100%;
  margin-inline: auto;
}

.layered-img .bg {
  width: 100%;
  border-radius: var(--radius);
  filter: blur(2px) brightness(0.9);
}

.layered-img .fg {
  position: absolute;
  inset: 10% 8% auto;
  width: 84%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
}

/* ===== FAQ ===== */
.faq__description {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-text-light);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__question {
  padding: 2rem;
  background-color: #f5f7fa;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  color: var(--color-primary);
}

.faq__answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.active .faq__question::after {
  content: '-';
}

.faq__item.active .faq__answer {
  padding: 2rem;
  max-height: 500px;
}

/* ===== お問い合わせ ===== */
.contact {
  background-color: #f5f7fa;
}

.contact-section {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1 1 400px;
}

.contact-left h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
}

.contact-left h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--color-primary);
  margin-top: 10px;
}

.contact-left p {
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: 1.7;
}

.suggest-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  background: #f6f9fd;
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 1.6rem;
}

.contact-phone {
  font-size: 1.6rem;
  margin-top: 20px;
}

.contact-phone span {
  display: block;
  font-size: 2.8rem;
  color: var(--color-primary);
  font-weight: bold;
  margin-top: 10px;
}

.contact-form {
  flex: 1 1 400px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.contact-form button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}

.contact-form button:hover {
  background-color: #1f4e9d;
}

.form-note {
  font-size: 0.8rem;
  color: #444;
  margin: 5px 0 15px 0;
}

.zip-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.zip-group input {
  flex: 1;
  margin-bottom: 0;
}

.zip-group button {
  flex-shrink: 0;
  padding: 10px 15px;
  background: #ccc;
  color: #333;
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
  
  .contact-left, 
  .contact-form {
    width: 100%;
  }
}

/* ===== フッター ===== */
.footer {
  background-color: #263238;
  color: white;
  padding: 5rem 0 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__logo {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.footer__address,
.footer__phone {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer__menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.footer__menu a {
  color: white;
  opacity: 0.8;
}

.footer__menu a:hover {
  opacity: 1;
}

.footer__copyright {
  text-align: center;
  font-size: 1.4rem;
  opacity: 0.8;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== アニメーション効果 ===== */
.zoom-in img {
  width: 100%;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.zoom-in.in-view img {
  transform: scale(1);
  opacity: 1;
}

.reveal-center img {
  width: 100%;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1s ease;
}

.reveal-center.in-view img {
  clip-path: circle(75% at 50% 50%);
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 1024px) {
  html {
    font-size: 60%;
  }
  
  .hero__catch {
    font-size: 3.8rem;
  }
  
  .section {
    padding: 8rem 0;
  }
  
  .service-section {
    padding: 40px 0;
  }
  
  .service-section h3 {
    font-size: 2rem;
  }
  
  .service-section h3 span {
    font-size: 2.4rem;
  }
  
  .center-column h2 {
    font-size: 2rem;
  }
  
  .center-column p {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  
  .header__menu-btn {
    display: block;
  }
  
  .hero__inner {
    grid-template-columns: 1fr;
  }
  
  .hero__image {
    order: -1;
  }
  
  .hero-content {
    transform: perspective(300px) rotateY(-3deg);
  }
  
  .hero__catch {
    font-size: 3.2rem;
    transform: skew(-3deg);
  }
  
  .hero__subcopy {
    font-size: 1.6rem;
    transform: skew(-2deg);
  }
  
  .section__title {
    font-size: 2.8rem;
    margin-bottom: 4rem;
  }
  
  .service-section {
    flex-direction: column;
  }
  
  .service-section .image-area {
    margin-bottom: 30px;
    padding-right: 0;
  }
  
  .sub-card {
    flex: 1 1 100%;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .buttons a {
    text-align: center;
  }
  
  .cases__item,
  .company__content,
  .contact__content {
    grid-template-columns: 1fr;
  }
  
  .contact__info {
    order: -1;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .strengths-container {
    flex-direction: column;
    align-items: center;
  }
  
  .left-column {
    flex-direction: row;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .left-column img {
    max-width: 30%;
  }
  
  .center-column {
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .center-column br {
    display: none;
  }
  
  .right-column {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .right-column img.sub {
    margin-top: 0;
  }
  
  .form__row {
    flex-direction: column;
    gap: 0;
  }
  
  .hero::before {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0% 100%);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 55%;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-content {
    transform: none;
    margin-left: 0;
    padding: 0 10%;
  }
  
  .hero__catch {
    font-size: 2.8rem;
    transform: skew(-2deg);
  }
  
  .hero__subcopy {
    font-size: 1.4rem;
    transform: none;
  }
  
  .strengths__grid {
    grid-template-columns: 1fr;
  }
  
  .company__dl {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
  }
  
  .company__dl dt {
    margin-top: 1.5rem;
  }
  
  .footer__menu {
    grid-template-columns: 1fr;
  }
  
  .left-column {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .left-column img {
    max-width: 45%;
  }
  
  .center-column h2 {
    font-size: 1.8rem;
  }
  
  .center-column p {
    font-size: 1.3rem;
  }
  
  .right-column {
    flex-direction: column;
  }
  
  .right-column img.main {
    width: 150px;
    height: 150px;
  }
  
  .right-column img.sub {
    width: 100px;
    margin-top: 20px;
  }
  
  .service-section h3 {
    font-size: 1.8rem;
  }
  
  .service-section h3 span {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
  }
}

/* ===== アクセシビリティ ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

/* アニメーション効果 */
/* NCSの強みセクションのアニメーション */
#strengths {
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-out;
  transform: translateY(30px);
}

#strengths.animate-section {
  opacity: 1;
  transform: translateY(0);
}

.p-index_first__head__textarea,
.p-index_first__pic,
.p-index_first__en {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(40px);
}

.p-index_first__head__textarea.animate-element,
.p-index_first__pic.animate-element,
.p-index_first__en.animate-element {
  opacity: 1;
  transform: translateY(0);
}

/* NCSの強みセクションの文字アニメーション */
.p-index_first__en .n,
.p-index_first__en .c,
.p-index_first__en .s {
  display: inline-block;
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: scale(0.5);
}

.p-index_first__en .n.js-anim_elm.is-act,
.p-index_first__en .c.js-anim_elm.is-act,
.p-index_first__en .s.js-anim_elm.is-act {
  opacity: 1;
  transform: scale(1);
}

/* サービスセクションの左右からのアニメーション */
.p-index_feature__sec {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.p-index_feature__sec.animate-from-left {
  animation: slideFromLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.p-index_feature__sec.animate-from-right {
  animation: slideFromRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* サービスセクション内の要素アニメーション */
.p-index_feature__sec__num,
.p-index_feature__sec .c-catch01,
.p-index_feature__sec .textarea,
.p-index_feature__sec .pic {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(30px);
}

.p-index_feature__sec__num.animate-service-element,
.p-index_feature__sec .c-catch01.animate-service-element,
.p-index_feature__sec .textarea.animate-service-element,
.p-index_feature__sec .pic.animate-service-element {
  opacity: 1;
  transform: translateY(0);
}

/* サービスカードのアニメーション */
.sub-card {
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(20px);
}

.sub-card.animate-card {
  opacity: 1;
  transform: translateY(0);
}

/* port01.pngの写真を確実に丸くする */
[src*="port01.png"] {
  border-radius: 10px !important;
}

/* すべての画像の角を丸くする強制的なルール */
.p-index_feature__sec img {
  border-radius: 8px !important;
}

/* 既存のスタイルを明示的に上書き */
.c-img_zoom {
  overflow: hidden;
  border-radius: 10px !important;
}

.pic .c-img_zoom img {
  border-radius: 8px !important; 
} 