@charset "utf-8";
/* CSS Document */
/* ==========================================
   Header & Fixed Layout
========================================== */
header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: auto;
  z-index: var(--z-header);
  background-color: transparent;
  transition:
    background-color 0.4s ease,
    height 0.4s ease,
    box-shadow 0.4s ease;
}

/* スクロール後 */
header.is-scrolled {
  height: 80px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

/* ヘッダーの配置 */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  height: 100%;
  box-sizing: border-box;
  transition: padding 0.4s ease;
}

header.is-scrolled .header-inner {
  padding: 0 30px;
}

.header-logo {
  padding: 0;
}

.header-logo img {
  display: block;
  width: 480px;
  max-width: 100%;
  height: auto;
  margin: 0;
  transition: var(--transition-default);
}

/* スクロール時のロゴサイズ縮小 */
header.is-scrolled .header-logo img {
  width: 320px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-sns-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* 各SNSアイコンのサイズ調整 */
.header-sns img {
  width: 30px;
  height: auto;
  display: block;
}

/*　=================================
   Header メニューナビゲーション
===================================　*/
#g-nav {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  right: -120%;
  width: 400px;
  height: 100vh;
  background: #828282;
  transition: var(--transition-default);
  overflow: scroll;
}

#g-nav.panelactive {
  right: 0;
}

/* ナビゲーション */
#g-nav ul {
  position: absolute;
  z-index: var(--z-header);
  top: 400px;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: var(--radius-md);
  width: 330px;
  padding: 15px 25px;
}

/* リストのレイアウト設定 */
#g-nav li {
  text-align: left;
}

#g-nav li a {
  color: var(--color-main);
  padding: 5% 0;
  display: block;
  text-transform: uppercase;
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}

#g-nav li a:hover {
  opacity: 0.7;
}

/* メニュータイトル */
.nav-title {
  width: 22%;
  margin: 19% auto 0 auto;
  text-align: center;
  line-height: 1.4;
  color: var(--color-white);
}

.nav-en25 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.nav-en20 {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 5% 0 0;
}

.nav-jp {
  font-size: 14px;
}

/* 下線 */
.nav-item {
  border-bottom: solid 1px rgba(24, 183, 205, 0.3);
}

.nav-item:last-child {
  border-bottom: none;
}

/*========= メニュー開閉ボタン ===============*/
.openbtn {
  position: relative;
  z-index: var(--z-menubtn);
  top: auto;
  right: auto;
  cursor: pointer;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-main);
  flex-shrink: 0;
  transition: var(--transition-default);
}

/* ×に変化 */
.openbtn span {
  display: inline-block;
  transition: var(--transition-fast);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background-color: #fff;
  width: 50%;
  border-radius: var(--radius-md);
}

.openbtn span:nth-of-type(1) {
  top: 18px;
}

.openbtn span:nth-of-type(2) {
  top: 26px;
}

.openbtn span:nth-of-type(3) {
  top: 34px;
}

.openbtn.active span:nth-of-type(1) {
  top: 26px;
  left: 50%;
  transform: translate(-50%, 0) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 26px;
  left: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

/* PC表示ではメニュー内のSNSアイコンを隠す */
.nav-sns-list {
  display: none;
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .header-inner {
    padding: 15px 20px;
  }
  #g-nav li a {
    padding: 4% 0;
  }
  .nav-en25 {
    display: block;
  }
  header.is-scrolled .header-inner {
    padding: 0 15px;
  }
  .header-logo img {
    width: 300px;
  }
  header.is-scrolled .header-logo img {
    width: 300px;
  }
  .header-sns-list {
    display: none;
  }
  #g-nav {
    width: 100%;
  }
  .nav-title {
    margin-top: 10%;
  }
  #g-nav ul {
    position: static;
    transform: none;
    margin: 5% auto 0;
    width: 85%;
    box-sizing: border-box;
  }
  .nav-sns-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15%;
    margin: 10px auto 0 auto;
    padding: 0;
  }
  .nav-sns-list img {
    width: 50px;
    height: auto;
  }
}

/*===============Media Query (画面幅: 600px以下) ===============*/
@media (max-width: 600px) {
  .header-inner {
    padding: 10px 15px;
  }
  .header.is-scrolled.header-inner {
    padding: 0 15px;
  }
  .header-logo img {
    width: 230px;
  }
  header.is-scrolled .header-logo img {
    width: 230px;
  }
  .nav-sns-list img {
    width: 90%;
    height: auto;
  }
}

/* ==========================================
   MainVisual Layout
========================================== */
.mv-section {
  margin: 130px 0 100px 0;
  position: relative;
}

.mv-inner {
  position: relative;
  width: 100%;
  margin: 0;
}

/* 青帯 */
.mv-inner::before {
  content: "";
  position: absolute;
  top: 60%;
  right: 0;
  width: 78.333333%;
  height: 520px;
  background: linear-gradient(90deg, rgb(24, 183, 205), rgb(30, 150, 230));
  border-radius: 0 0 0 70vw;
  z-index: 1;
}

/* ====================================
   SliderPC用設定 (769px 以上)
   ==================================== */
@media screen and (min-width: 769px) {
  #slider {
    position: relative;
    width: 89.166667%;
    height: 560px;
    margin: 0;
    border-radius: 0 60vw 60vw 0 !important;
    overflow: hidden;
    z-index: 2;
  }
}

/* ====================================
   Sliderスマホ用設定 (768px 以下)
   ==================================== */
@media screen and (max-width: 768px) {
  #slider {
    position: relative;
    width: 100% !important;
    height: 450px !important;
    min-height: 450px !important;
    margin: 0;
    border-radius: 0 !important;
    overflow: hidden;
    z-index: 2;
    display: block !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* ====================================
   Vegas内部要素の共通指定
   ==================================== */
#slider .vegas-container,
#slider .vegas-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

#slider .vegas-slide-inner {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mv-bg-logo {
  position: absolute;
  bottom: -128%;
  left: 50%;
  width: 930px;
  height: 801px;
  transform: translateX(-50%);
  background: url("../images/logo-bg.svg") no-repeat center top / contain;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.mv-heading {
  position: absolute;
  bottom: -200px;
  right: 7%;
  z-index: 5;
  color: var(--color-white);
  text-align: right;
}

.heading-mv-lg {
  display: block;
  padding-bottom: 10px;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.heading-mv-sm {
  display: block;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.2em;
}

/*===============Media Query (画面幅: 1201px以上) ===============*/
@media screen and (min-width: 1201px) {
  .mv-inner::before {
    width: 70%;
  }
  .mv-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 400px;
    z-index: 0;
    pointer-events: none;
  }
  .mv-bg-logo {
    bottom: -760px;
  }
}

/*===============Media Query (画面幅: 2001px以上) ===============*/
@media screen and (min-width: 2001px) {
  .mv-inner::before {
    width: 60%;
  }
}
/*===============Media Query (画面幅: 1085px以下) ===============*/
@media (max-width: 1085px) {
  .mv-heading {
    right: 3%;
  }
}
/*===============Media Query (画面幅: 970px以下) ===============*/
@media (max-width: 970px) {
  .sp-only {
    display: block;
  }
}
/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .mv-section {
    margin: 100px 0 150px 0;
  }
  .mv-inner::before {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    margin-top: -20px;
  }
  .mv-bg-logo {
    width: 180%;
    height: 100%;
    bottom: -80%;
    left: 70%;
  }
  .mv-heading {
    position: static;
    transform: none;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(90deg, rgb(24, 183, 205), rgb(30, 150, 230));
  }
  .heading-mv-lg {
    font-size: 28px;
    line-height: 1.6;
    display: block;
  }
  .heading-mv-sm {
    display: block;
    font-size: 18px;
    line-height: 1.6;
  }
}

/* ==========================================
   News Section Layout
   ========================================== */
.news-section {
  position: relative;
  margin-top: 220px;
}

.news-list {
  border-top: 1px solid #a0a0a0;
  margin: 0 50px;
}

.news-item {
  border-bottom: 1px solid #a0a0a0;
  padding: 15px 0;
}

.news-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 98%;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.news-link:hover .icon-arrow::after {
  transform: translateY(-50%) translateX(3px);
}

.news-link:hover {
  opacity: 0.7;
}

.news-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}

/* 日付 */
.news-date {
  font-size: 17px;
  font-weight: 900;
  flex-shrink: 0;
}

/* 見出し */
.news-title {
  font-size: 20px;
  font-family: var(--font-mincho);
  font-weight: 400;
}

/*-- NEWS詳細 モーダル内 --*/
/* 日付 */
.news-modal-date {
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

/* 見出し */
.news-modal-title {
  font-size: 22px;
  font-family: var(--font-mincho);
  font-weight: 500;
}

/* 本文 */
.news-modal-text {
  font-size: 18px;
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}

.news-modal-text a {
  color: var(--color-main);
  margin-top: 10px;
  display: block;
}

.news-modal-text a:hover {
  opacity: 0.7;
}

/* =========================
   モーダル共通 CSS
========================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

/* 背景オーバーレイ */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* モーダル本体 */
.modal-content {
  position: relative;
  z-index: var(--z-modal);
  width: 100%;
  max-width: 900px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 50px 32px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.modal.is-open .modal-content {
  transform: translateY(0);
}

/* モーダル内の文章・URLのはみ出し防止 */
.modal-content p,
.modal-content a,
.news-modal-text {
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* 完了画面・その他 */
.complete-content {
  text-align: center;
}

.complete-content .box {
  margin: 24px 0;
  padding: 12px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background: #fafafa;
  font-size: 14px;
}

.hidden-iframe {
  display: none;
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .news-section {
    margin-top: 20%;
  }
  .news-title {
    font-size: 16px;
  }
  .news-date {
    font-size: 14px;
  }
  /* 日付 */
  .news-modal-date {
    font-size: 14px;
  }
  /* 見出し */
  .news-modal-title {
    font-size: 18px;
    line-height: 1.6;
  }
  /* 本文 */
  .news-modal-text {
    font-size: 16px;
    line-height: 2;
  }
}

/*===============Media Query (画面幅: 600px以下) ===============*/
@media (max-width: 600px) {
  .modal {
    padding: 12px;
  }
  .modal-content {
    padding: 36px 20px 28px;
  }
  .news-list {
    margin: 0;
  }
}

/* ==========================================
   MEDIA Section Layout
   ========================================== */
/* 動画埋め込み用アスペクト比コンテナ (16:9) */
.media-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
}

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

/* メイン動画 */
.media-main {
  margin-bottom: 50px;
}

/* テキストスタイル */
.media-description {
  text-align: center;
}

.media-title {
  font-size: 20px;
  font-family: var(--font-gothic);
  font-weight: 600;
  margin: 15px 0 20px 0;
}

.media-text {
  font-size: 18px;
  margin-top: 20px;
}

.media-title-sm {
  font-size: 16px;
  font-family: var(--font-gothic);
  font-weight: 600;
  margin: 10px 0 15px 0;
}

.media-text-sm {
  font-size: 16px;
  margin-top: 15px;
}

/* 追加動画リスト (2列レイアウト) */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

/* JS制御用の基本設定 */
.media-card.js-media-item {
  display: none;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transform: translateY(20px);
}

/* 表示状態 */
.media-card.js-media-item.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* アニメーション定義 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* もっと見るボタン */
.media-more-btn-wrapper {
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
  text-align: center;
  margin-top: 20px;
}

.media-more-btn-wrapper.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.btn-more {
  display: inline-block;
  padding: 5px 100px;
  background-color: var(--color-white);
  border: 1px solid var(--color-main);
  color: var(--color-main);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-family: var(--font-gothic);
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}

.btn-more:hover {
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
  color: var(--color-white);
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .media-title {
    font-size: 18px;
    line-height: 1.6;
  }
  .media-text {
    font-size: 16px;
    line-height: 2;
  }
  .media-title-sm {
    font-size: 16px;
    line-height: 1.6;
  }

  .media-text-sm {
    font-size: 16px;
    line-height: 2;
  }
  .btn-more {
    width: 100%;
    padding: 3% 10%;
    font-size: 16px;
  }
}

/* ==========================================
   ABOUT US Section Layout
   ========================================== */
.about-content {
  width: 100%;
}

.about-title-en {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.about-title-jp {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  display: block;
  margin-bottom: 30px;
}

.about-text {
  font-size: 20px;
  font-family: var(--font-mincho);
  font-weight: 300;
}

.about-btn-wrapper {
  margin-top: auto;
  padding-top: 50px;
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}

/* ボタンデザイン */
.philosophy-toggle-btn {
  display: inline-block;
  padding: 5px 100px;
  background: linear-gradient(90deg, rgb(24, 183, 205), rgb(30, 150, 230));
  color: var(--color-white);
  border: 1px solid var(--color-main);
  border-radius: var(--radius-sm);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.philosophy-toggle-btn:hover {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background-image:
    linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #18b7cd, #1e96e6); /* 枠線グラデーション */
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--color-main);
  opacity: 0.8;
}

.btn-text {
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* ボタン本体 */
.philosophy-toggle-btn.icon-arrow.about-arrow {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* 1. 矢印アイコンの初期状態（閉じる時・下向き） */
.philosophy-toggle-btn.icon-arrow.about-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  width: 11px;
  height: 13px;
  /* ★上下中央寄せ(-50%) ＋ 下向き回転(90deg) */
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.4s ease;
  background-color: var(--color-white); /* 白色の矢印 */
}

/* 2. アコーディオンが開いた状態（.is-active 時：上向き回転） */
.philosophy-toggle-btn.is-active.icon-arrow.about-arrow::after {
  /* ★上下中央寄せ(-50%) を維持したまま上向き(-90degまたは270deg)へ回転 */
  transform: translateY(-50%) rotate(-90deg);
}

/* 3. ホバー時の動き：閉じている時（少し下へ移動） */
.philosophy-toggle-btn:not(.is-active):hover::after {
  transform: translateY(calc(-50% + 3px)) rotate(90deg);
  background-color: var(--color-main);
}

/* 4. ホバー時の動き：開いている時（少し上へ移動） */
.philosophy-toggle-btn.is-active:hover::after {
  transform: translateY(calc(-50% - 3px)) rotate(-90deg);
  background-color: var(--color-main);
}

/* ------------------------------------
   企業理念・会社概要
------------------------------------ */
.philosophy-detail {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.philosophy-detail.is-open {
  grid-template-rows: 1fr;
  margin-top: 40px;
}

/* 中身を囲む要素 */
.philosophy-detail-inner {
  overflow: hidden;
  background-color: #fff;
  padding: 0;
  border-radius: 8px;
  transition: padding 0.4s ease;
}

.philosophy-detail.is-open .philosophy-detail-inner {
  padding: 40px 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.philosophy-title {
  flex-basis: calc(40% - 10px);
  font-size: 30px;
  font-weight: 400;
  color: var(--color-main);
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.philosophy-text {
  flex-basis: calc(60% - 10px);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.company-overview {
  flex-basis: 100%;
  background-color: #d1f1f5;
  padding: 70px 100px;
  margin: 30px 0 0 0;
  border-radius: var(--radius-md);
}

/* 1カラム内に収める会社概要 */
.overview-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  font-size: 18px;
}

.overview-item {
  display: flex;
  border-bottom: 1px solid #a0a0a0;
  padding-bottom: 16px;
  font-family: var(--font-gothic);
}

.overview-item:last-child {
  border-bottom: none;
}

/* 項目名（左側） */
.overview-item dt {
  flex-basis: 250px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-main);
}

/* 内容（右側） */
.overview-item dd {
  flex-grow: 1;
  margin: 0;
  font-weight: 400;
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .about-title-en {
    font-size: 24px;
    line-height: 1.6;
  }
  .about-title-jp {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  .about-text {
    font-size: 16px;
    line-height: 2;
  }
  .about-text-box {
    flex-basis: auto;
    width: 100%;
  }
  .about-btn-wrapper {
    text-align: center;
    margin-top: 20px;
  }
  .philosophy-toggle-btn {
    width: 100%;
    padding: 3% 10%;
    font-size: 16px;
  }
  .philosophy-toggle-btn.icon-arrow.about-arrow {
    display: inline-block;
  }
  .philosophy-detail.is-open .philosophy-detail-inner {
    padding: 0;
  }
  .company-overview {
    flex-basis: 100%;
    padding: 10%;
    margin: 5% 0 0 0;
  }
  .philosophy-title {
    flex-basis: 100%;
    font-size: 24px;
    line-height: 1.6;
  }
  .philosophy-text {
    flex-basis: 100%;
    font-size: 16px;
    line-height: 2;
  }
  .overview-item {
    flex-direction: column;
    gap: 6px;
  }
  .overview-item dt {
    flex-basis: auto;
    font-size: 18px;
    line-height: 1.6;
  }
  .overview-item dd {
    font-size: 16px;
    line-height: 2;
  }
}

/* ==========================================
   SERVICE Section Layout
   ========================================== */
.service-subheading {
  color: var(--color-main);
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 60px;
}

.service-section {
  padding: 0;
}

/* 2カラムの親要素 */
.service-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 60px;
  padding: 0 0 100px 0;
}

/* 左側：画像エリア */
.service-image {
  flex-basis: 35%;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右側：テキスト・コンテンツエリア */
.service-description {
  flex-basis: calc(65% - 60px);
  display: flex;
  flex-direction: column;
}

/* ------------------------------------
   見出しエリア（丸数字 ＋ タイトル）
------------------------------------ */
.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
}

/* 丸数字アイコン */
.service-number {
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border: 2px solid var(--color-main);
  border-radius: 50%;
  box-shadow: 2px 2px 0px 0px var(--color-main);
  color: var(--color-main);
  font-size: 40px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* タイトルテキスト ＋ 下線 */
.service-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  width: 100%;
  padding: 0 0 20px 30px;
  border-bottom: 4px dotted var(--color-main);
}

/* 本文テキスト */
.service-text {
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.5;
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .service-section {
    padding: 0;
  }
  .service-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .service-image {
    flex-basis: auto;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }
  .service-description {
    flex-basis: auto;
    width: 95%;
  }
  .service-subheading {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 10%;
    text-align: center;
    display: block;
  }
  .service-header {
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .service-number {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
  .service-title {
    font-size: 22px;
    line-height: 1.6;
    padding: 0 0 10px 10px;
  }
  .service-text {
    font-size: 16px;
    line-height: 2;
  }
}

/* ==========================================
   VALUE Section Layout
   ========================================== */
.value-section {
  background-color: var(--color-main);
  color: var(--color-white);
  position: relative;
  overflow: visible;
  margin: 80px 0;
  width: 100%;
  padding: 95px 0 0 0;
}

/* 2. 左側コンテンツ領域 */
.value-content {
  width: 55%;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

/* 3. 右側：固定サイズの半円画像 */
.value-image-bg {
  position: absolute;
  top: 50%;
  right: -500px;
  width: 1000px;
  height: 1000px;
  transform: translateY(-50%);
  background-image: url("../images/value-bg.webp");
  background-repeat: no-repeat;
  background-size: 170%;
  background-position: bottom right;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/* 3.メイン見出し */
.value-heading {
  font-size: 42px;
  font-weight: 400;
  padding: 0 0 0 50px;
  margin: 0;
  line-height: 1.3;
  position: relative;
  letter-spacing: 0.1em;
}

/* 4. 上端（top: 0）に吸着する縦線 */
.value-heading::before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 200px;
  background-color: #fff;
  opacity: 0.6;
  left: 0;
  top: -95px;
}

/* 各バリュー項目 */
.value-item {
  margin-bottom: 70px;
  position: relative;
}

.value-item-header {
  display: flex;
  align-items: flex-end;
  gap: 70px;
  margin: 0 0 20px 0;
}

/* 大きな数字 */
.value-number {
  display: inline-block;
  width: 50px;
  text-align: center;
  flex-shrink: 0;
  font-size: 100px;
  line-height: 1;
  font-weight: 500;
}

/* 各タイトルの見出し */
.value-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

/* ------------------------------------
   アコーディオン展開エリア ＆ ボタン
------------------------------------ */
/* 隠す本文エリア */
.value-detail-content {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.4s ease,
    padding 0.4s ease;
  overflow: hidden;
  padding-left: 120px;
}

.value-text {
  min-height: 0;
  font-size: 20px;
  font-family: var(--font-mincho);
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

/* 開いた（.is-open）状態 */
.value-item.is-open .value-detail-content {
  grid-template-rows: 1fr;
  padding-top: 15px;
  padding-bottom: 15px;
}

.value-item.is-open .value-text {
  opacity: 1;
}

/* 詳しくボタンの配置 */
.value-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-left: 120px;
  margin-top: 30px;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

/* ボタン横の白ライン */
.value-btn-wrapper::before {
  content: "";
  display: block;
  width: 155px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.7);
}

/* ボタン本体（カプセル型） */
.value-detail-btn {
  background: transparent;
  border: 1px solid var(--color-white);
  padding: 5px 50px;
  border-radius: 30px;
  font-size: 18px;
  font-family: var(--font-gothic);
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

.value-detail-btn:hover {
  background-color: var(--color-white);
  color: var(--color-main);
}

/* 1. 矢印アイコンの初期状態（閉じる時・下向き） */
.value-detail-btn.icon-arrow.is-down::after {
  background-color: var(--color-white); /* 白色の矢印 */
}

/* 3. ホバー時の動き：閉じている時（少し下へ移動） */
.value-detail-btn.icon-arrow.is-down:hover::after {
  transform: translateY(calc(-50% + 3px)) rotate(90deg);
  background-color: var(--color-main);
}

/* ★ボタンが開いた（.is-open）時：ボタンは消さず、矢印を上向きに反転させる */
.value-item.is-open .value-detail-btn.icon-arrow.is-down::after {
  transform: translateY(calc(-50% - 2px)) rotate(-90deg); /* 矢印を上向きに */
}

/*===============Media Query (画面幅: 1201px以上) ===============*/
@media screen and (min-width: 1201px) {
  .value-image-bg {
    right: calc((100vw - 1200px) / 2 - 500px);
  }
}

/*===============Media Query (画面幅: 1010px以下) ===============*/
@media (max-width: 1010px) {
  .value-section {
    overflow: hidden;
    margin: 0 0 150px 0;
  }
  .value-section .inner {
    margin-bottom: 0;
  }
  .value-content {
    width: 100%;
    padding: 50px;
  }
  .value-detail-content {
    padding-left: 100px;
  }
  .value-item-header {
    justify-content: flex-start;
    gap: 50px;
  }
  .value-btn-wrapper {
    gap: 30px;
    justify-content: flex-end;
  }
  .value-image-bg {
    position: relative;
    background-position: bottom center;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    background-size: 170%;
    width: 100%;
    height: 400px;
    border-radius: 100% 100% 0 0;
  }
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .value-section {
    padding: 50px 0 0 0;
  }
  .value-heading {
    font-size: 30px;
    padding: 0 0 50px 30px;
    line-height: 1.6;
  }
  .value-heading::before {
    height: 135px;
  }
  .value-content {
    padding: 0;
    width: 100%;
  }
  .value-number {
    font-size: 80px;
  }
  .value-item-header {
    gap: 20px;
    padding: 0;
  }
  .value-detail-content {
    padding: 0px 0 0 0;
  }
  .value-item.is-open .value-detail-content {
    padding: 20px 10px;
  }
  .value-item {
    margin-bottom: 50px;
  }
  .value-btn-wrapper {
    gap: 30px;
    padding: 0;
    margin: 30px 0 0 0;
  }
  .value-detail-btn {
    padding: 10px 40px;
    max-width: 240px;
    width: 80%;
    font-size: 16px;
  }
  .value-btn-wrapper::before {
    width: 100px;
  }
  .value-title {
    font-size: 24px;
    line-height: 1.6;
  }
  .value-text {
    font-size: 16px;
    line-height: 2;
  }
  .value-image-bg {
    background-size: 270%;
    margin: 100px 0 0 0;
  }
}

/*===============Media Query (画面幅: 583px以下) ===============*/
@media (max-width: 583px) {
  .value-heading::before {
    height: 180px;
  }
}

/*===============Media Query (画面幅: 356px以下) ===============*/
@media (max-width: 356px) {
  .value-heading::before {
    height: 230px;
  }
}

/* ==========================================
   GREETING Section Layout
   ========================================== */
.greeting-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 125px;
}

.greeting-description {
  flex-basis: calc(65% - 60px);
  display: block;
}

.greeting-image {
  flex-basis: 35%;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.greeting-image img {
  width: 100%;
  height: auto;
  display: block;
}

.greeting-title {
  font-size: 33px;
  color: var(--color-main);
  line-height: 1.6;
  letter-spacing: 0.13em;
  margin-bottom: 30px;
  font-weight: 400;
}

/* 1. 初期状態：本文エリアを隠す */
.greeting-detail-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  overflow: hidden;
}

.greeting-text {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

/* 2. ボタンを配置する親要素のトランジション */
.greeting-btn-wrapper {
  margin-top: 0px;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    height 0.4s ease,
    margin 0.4s ease;
}

/* 3. ボタンクリック後のアニメーション */
/* 本文を開く */
.js-detail-wrapper.is-open .greeting-detail-content {
  grid-template-rows: 1fr;
  padding-bottom: 45px;
}

.js-detail-wrapper.is-open .greeting-text {
  opacity: 1;
}

/* ★ボタンが開いた（.is-open）時：ボタンは消さず、矢印を上向きに反転させる */
.js-detail-wrapper.is-open .greeting-detail-btn.icon-arrow.is-down::after {
  transform: translateY(calc(-50% - 2px)) rotate(-90deg); /* 矢印を上向きに */
}

.greeting-data {
  margin-top: 40px;
}

.greeting-data .job {
  font-size: 16px;
  font-weight: 300;
  font-family: var(--font-mincho);
}

.greeting-data .name-jp {
  display: block;
  font-size: 32px;
  font-feature-settings: "palt";
  font-weight: 400;
}

.greeting-data .name-en {
  display: block;
  font-size: 13px;
  font-weight: 300;
}

/* 詳しくボタン */
.greeting-detail-btn {
  background: transparent;
  border: 1px solid var(--color-main);
  padding: 5px 50px;
  border-radius: 30px;
  color: var(--color-main);
  font-size: 18px;
  font-family: var(--font-gothic);
  font-weight: 600;
  letter-spacing: 0.1em;
  align-items: center;
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}

/* ホバー時 */
.greeting-detail-btn:hover {
  background-color: var(--color-main);
  color: var(--color-white);
}

/* ホバー時：矢印白 */
.greeting-detail-btn.icon-arrow.is-down:hover::after {
  background-color: var(--color-white);
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .greeting-section {
    margin-top: 100px;
  }
  .greeting-content {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
  }
  .greeting-content:last-child {
    margin-bottom: 0;
  }
  .greeting-description,
  .greeting-image {
    flex-basis: 100%;
    width: 100%;
  }
  .greeting-image {
    order: -1;
    justify-content: center;
  }
  .greeting-image img {
    max-width: 320px;
    margin: 0 auto;
    border-radius: var(--radius-sm, 8px);
  }
  .greeting-title {
    font-size: 24px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
  }
  .greeting-text {
    font-size: 16px;
    line-height: 2;
  }
  .greeting-btn-wrapper {
    text-align: center;
    margin-top: 0px;
  }
  .greeting-detail-btn {
    padding: 10px 40px;
    font-size: 16px;
    width: 80%;
    max-width: 240px;
  }
  .greeting-data {
    margin-top: 24px;
    text-align: left;
  }
  .greeting-data .job {
    font-size: 14px;
  }
  .greeting-data .name-jp {
    font-size: 24px;
  }
  .greeting-data .name-en {
    font-size: 13px;
  }
}

/* ==========================================
   CONTACT Section Layout
   ========================================== */
.contact-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 50px 0;
}

.contact-form {
  padding: 0 40px;
}

/* お問い合わせフォーム */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px;
  font-family: var(--font-mincho);
  line-height: 1.7;
}

.field {
  display: flex;
  padding: 20px 0;
  align-items: center;
  border-bottom: 1px solid #d9d9d9;
}

.field-message {
  align-items: flex-start;
  border-bottom: none;
}

label {
  display: block;
  font-size: 18px;
  font-weight: 400;
  flex-basis: 40%;
}

input,
textarea {
  flex-basis: 60%;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-main);
  border-radius: var(--radius-sm);
  font-size: 16px;
}

.form-required {
  margin-left: 2em;
  color: var(--color-white);
  background-color: var(--color-main);
  font-family: var(--font-gothic);
  font-weight: 300;
  padding: 2px 10px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

textarea {
  resize: vertical;
}

.btn {
  display: block;
  padding: 5px 100px;
  border: 1px solid #000;
  border-radius: var(--radius-sm);
  background: #111;
  color: var(--color-white);
  font-weight: 600;
  font-family: var(--font-gothic);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.1em;
  margin: 50px auto 0 auto;
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}

.btn:hover {
  background: #fff;
  color: var(--color-text);
  border: 1px solid #000;
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn.is-sub {
  background: var(--color-white);
  border: 1px solid var(--color-main);
  color: var(--color-main);
  letter-spacing: 0.3em;
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}
.btn.is-sub:hover {
  background: var(--color-main);
  border: 1px solid var(--color-main);
  color: var(--color-white);
}

.contact-note {
  margin-top: 50px;
  font-size: 14px;
  text-align: center;
}

.contact-note a {
  color: var(--color-main);
}

/* ボタン */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

/* =========================
   Honeypot
========================= */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* =========================
   プライバシーポリシー
========================= */
.privacy-content {
  padding-bottom: 100px;
  padding-top: 80px;
}

.privacy-content h2 {
  margin-bottom: 0px;
  font-size: 32px;
  font-weight: 400;
  color: var(--color-main);
}

.privacy-content h3 {
  margin-top: 50px;
  margin-bottom: 0px;
  font-size: 24px;
  font-weight: 400;
}

.privacy-content p,
.privacy-content li {
  font-size: 18px;
  font-weight: 300;
  line-height: 2;
  font-family: var(--font-gothic);
}

.privacy-content li {
  position: relative;
  padding-left: 1em;
}

.privacy-content li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.privacy-content ul {
  margin: 10px 0 0 20px;
}

.privacy-link {
  color: var(--color-main);
}

/* =========================
   確認内容
========================= */
#confirmTitle {
  font-weight: 400;
}

.confirm dt {
  font-weight: 400;
  margin-top: 12px;
}

.confirm dd {
  margin: 10px 0 0;
  padding: 10px;
  border: 1px solid var(--color-main);
  border-radius: var(--radius-sm);
  background: #fafafa;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* =========================
   完了画面
========================= */
#completeTitle {
  font-weight: 400;
  margin-bottom: 10px;
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .contact-text {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
  }
  .contact-note {
    text-align: left;
    margin-top: 30px;
  }
  .contact-form {
    padding: 0 10px;
  }
  .field {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
  label {
    flex-basis: auto;
    width: 100%;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .form-required {
    margin-left: 2em;
    font-size: 12px;
    padding: 2px 8px;
  }
  input,
  textarea {
    flex-basis: auto;
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }
  .btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 16px;
    margin: 32px auto 0 auto;
  }
  .actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================
   FOOTER Section Layout
   ========================================== */
.footer-section {
  position: relative;
  background:
    url("../images/fotter-bg.svg") no-repeat right -50px center / auto 110%,
    linear-gradient(90deg, #18b7cd, #1e96e6);
  color: var(--color-white);
  overflow: hidden;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 75px 75px 75px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 95px;
}

/* ------------------------------------
   左エリア（ロゴ・コピー）
------------------------------------ */
.footer-info {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 480px;
}

.footer-logo img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-bottom: 80px;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-mincho);
  margin-left: 50px;
}

/* ::before 縦線 */
.footer-copy::before {
  content: "";
  display: block;
  width: 1px;
  height: 4.5em;
  background-color: var(--color-white);
  flex-shrink: 0;
}

/* ------------------------------------
   右エリア（サイトマップ）
------------------------------------ */
.footer-nav {
  flex: 1;
  display: grid;
  grid-template-columns: max-content auto;
  grid-template-rows: auto auto;
  gap: 50px 90px;
  align-items: start;
  justify-content: start;
}

.footer-nav-content {
  white-space: nowrap;
}

/* 1. 会社概要 */
.footer-nav-content:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

/* 2. お問い合わせ */
.footer-nav-content:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}

/* 3. サービス */
.footer-nav-content:nth-child(2) {
  grid-column: 1 / -1;
  grid-row: 2;
}

/* 見出し */
.footer-title {
  display: inline-block;
  font-size: 20px;
  font-family: var(--font-gothic);
  font-weight: 600;
  margin-bottom: 10px;
  white-space: nowrap;
}

.footer-title a {
  transition:
    background-color 0.4s ease,
    opacity 0.4s ease;
}

.footer-title a:hover {
  opacity: 0.7;
}

/* リスト部分 */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-family: var(--font-gothic);
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

.footer-list li a::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 0;
  border-bottom: 4px dotted var(--color-white);
  opacity: 0.8;
  flex-shrink: 0;
}

.footer-list li a:hover {
  opacity: 0.7;
}

/* ------------------------------------
   最下部コピーライト
------------------------------------ */
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  position: relative;
  z-index: 2;
}

/*===============Media Query (画面幅: 1201px以上) ===============*/
@media screen and (min-width: 1201px) {
  .footer-section {
    background-position:
      calc(100% - (100vw - 1200px) / 2) center,
      center;
  }
}

/* ==========================================
   1段階目：タブレット表示 (1024px以下)
========================================== */
@media (max-width: 1090px) {
  .footer-inner {
    flex-direction: column;
    gap: 60px;
    padding: 80px 100px;
  }
  .footer-info {
    flex-basis: auto;
    width: 100%;
  }
  .footer-logo img {
    max-width: 360px;
    margin-bottom: 40px;
  }
  .footer-copy {
    margin-left: 0;
  }
  .footer-nav {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px 30px;
  }
  .footer-nav-content {
    white-space: normal;
  }
  /* 会社概要（1行目・左） */
  .footer-nav-content:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  /* お問い合わせ（1行目・右） */
  .footer-nav-content:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
  /* サービス（2行目・左右を跨ぐ全幅） */
  .footer-nav-content:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/*===============Media Query (画面幅: 768px以下) ===============*/
@media (max-width: 768px) {
  .footer-section {
    background:
      url("../images/fotter-bg.svg") no-repeat right -100px bottom -50px / auto
        80%,
      linear-gradient(90deg, #18b7cd, #1e96e6);
  }
  .footer-inner {
    flex-direction: column;
    gap: 50px;
    padding: 60px 40px;
  }
  .footer-info {
    flex-basis: auto;
    width: 100%;
  }
  .footer-logo img {
    max-width: 280px;
    margin-bottom: 30px;
  }
  .footer-copy {
    margin-left: 0;
    font-size: 16px;
    line-height: 1.6;
    gap: 16px;
  }
  .footer-copy::before {
    height: 3.8em;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }
  .footer-nav-content {
    white-space: normal;
  }
  .footer-nav-content:nth-child(1),
  .footer-nav-content:nth-child(2),
  .footer-nav-content:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .footer-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-list li a {
    font-size: 14px;
    white-space: normal;
    line-height: 1.6;
  }
  .footer-list li a::before {
    margin-top: 2px;
  }
  .footer-bottom {
    padding: 20px 16px;
    font-size: 11px;
  }
}
