
/* ===== 基本設定 ===== */
body.home-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}



html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family:'Montserrat', sans-serif;
  background: #f5f5f5;  /* グレー背景 */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#footer-frame {
  flex-shrink: 0; /* フッターは縮まない */
}

/* フェードインアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Montserrat',sans-serif; }

/* ===== ヘッダー ===== */
#header-frame {
  width: 100%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:30px 30px;
  height:auto;         /* 固定せずコンテンツに合わせる */
  position: relative;
  z-index:1000;
  border-bottom:1px solid #eee;
}

/* ロゴ */
/* ロゴの外側 */
#header-logo a {
  display: block;           /* flex をやめて揃えを固定 */
  text-decoration: none;
  color: inherit;
  border-bottom: none;
}

/* 内側コンテナ（縦並び） */
.logo-bold-container {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* 1行目：Misato Starks + Web Portfolio を横並びに */
.logo-bold {
  font-weight: 700;
  font-size: 28px;
  color: #009baf;
  white-space: nowrap;   /* ← 改行させない */
}

/* 1行目内の Web Portfolio部分 */
.logo-light {
  font-weight: 300;
  font-size: 28px;
  color: #009baf;
  margin-left: 10px;     /* 名前と少し間をあける */
  white-space: nowrap;   /* ← 改行禁止 */
}

/* 2行目：肩書き（幅に合わせて折り返してOK） */
.logo-sub {
  font-weight: 400;
  font-size: 14px;
  color: #009baf;
}


/* ナビ */
#header-nav {
  text-decoration: none;   /* 下線を消す */
  display: flex;  /* PCでは常時表示 */
  gap:25px;
  font-weight:500;
  border-bottom: none;
}
#header-nav a {
  text-decoration:none;
  color:#009baf;
  font-size:16px;
  transition:color 0.2s ease;
  border-bottom: none;
}
#header-nav a:hover { 
  text-decoration:none;
  color:#00e1ff; }


/* ハンバーガー */
.hamburger {
  display:none;
  flex-direction:column;
  justify-content:space-between;
  width:25px;
  height:18px;
  cursor:pointer;
  z-index:1001;
}
.hamburger span {
  display:block;
  height:3px;
  background:#009baf;
  border-radius:2px;
  transition:0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background:#00e1ff; }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background:#00e1ff; }

/* モバイルレスポンシブ */
@media (max-width:768px) {
  #header-frame {
    flex-direction: row;
    justify-content: space-between;
    height:auto;
    padding:15px 20px;
  }

  #header-logo a { flex-direction: column; align-items:flex-start; gap:5px; }
  .logo-bold { font-size:22px; }
  .logo-sub { font-size:11px; }
  .logo-light { font-size:18px; }

  #header-nav {
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    flex-direction:column;
    background:#fff;
    border-top:1px solid #e9e9e9;
    display:none;  /* 初期非表示 */
  }
  #header-nav.show { display:flex; }  /* ハンバーガーで展開 */
  #header-nav a {
    padding:10px 20px;
    text-align:left;
    font-size:16px;
    width:100%;
  }

  .hamburger { display:flex; }
}

/* ===== メニュー ===== */

/* PC: 常時表示 */
@media (min-width:769px) {
  #header-nav {
    display: flex;
    gap: 25px;
    font-weight: 500;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
  }
}

/* スマホ: 開閉アニメーション */
@media (max-width:768px) {
  #header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #e9e9e9;

    /* 初期状態: 閉じてる */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-10px);
    transition:
      max-height 0.4s ease,
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  #header-nav.show {
    max-height: 500px; /* ←大きめにしておく */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ===== オーバーレイ ===== */
#overlay {
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(63, 63, 63, 0.4);
  display:none;
  z-index:900;
}
#overlay.show { display:block; }

/* ===== トップページ専用 ===== */

#main-container {
  position: relative;
  overflow: hidden;
  min-height: 705px;
}

/* ===== ヒーロー ===== */
/* spline-viewer がはみ出すのを防止 */
#spline {
  overflow: hidden;
}
spline {
  position: absolute;
  inset: 0;
  border: 0;
}

/* ===== ヒーロー キャッチコピー ===== */
#spline-caption {
  position: absolute;
  top: 45%;   /* PC */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: 56px;
  font-weight: 600;
  text-shadow: 0 0 40px rgba(0,0,0,0.8);
  white-space: nowrap; /* PCでは一行 */
  z-index: 5;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

#spline-subcaption {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 0 20px rgba(0,0,0,0.6);
  pointer-events: none;
  z-index: 5;
  max-width: 80%;
  opacity: 0;
  animation: fadeIn 2s ease 0.5s forwards;
}

/* Solid Creations は常に改行させない */
.nowrap { white-space: nowrap; }

/* ===== レスポンシブ ===== */
/* PC: 705px 固定 */
@media (min-width: 769px) {
  #main-container {
    height: 705px;        /* 固定高さ */
    min-height: 0;        /* 既存の min-height は無効化 */
  }
  spline-viewer#spline {
    height: 100%;         /* 親コンテナに合わせる */
  }
}

/* タブレット (1024px以下) */
@media (max-width:1024px) {
  #spline-caption { font-size: 48px; top: 39%; }
  #spline-subcaption { font-size: 20px; top: 50%; }
}

/* スマホ (768px以下) 高さ固定 600px */
@media (max-width:768px) {
  #main-container { 
    height: 600px;        /* 固定高さ */
    min-height: 0;        /* 念のため */
  }
  spline-viewer#spline {
    height: 100%;         /* 親に合わせる */
  }
  
  #spline-caption {
    top: 23% !important;
    font-size: 45px !important;
    line-height: 1.3;
    white-space: normal; 
  }
  #spline-caption .line-break {
    display: block;
    font-size: 50px;
    font-weight: 700;
    margin-top: 0px;
  }
  #spline-subcaption {
    top: 45% !important;
    font-size: 20px !important;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .btn { display: none; }
  .scroll-gallery img { height:160px; }
  .media { grid-template-columns: 1fr; }
}

/* ===== アニメーション ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes float {
  0%{ transform:translateX(-50%) translateY(0); }
  25%{ transform:translateX(-50%) translateY(-8px); }
  50%{ transform:translateX(-50%) translateY(0); }
  75%{ transform:translateX(-50%) translateY(6px); }
  100%{ transform:translateX(-50%) translateY(0); }
}

/* ===== ボタン ===== */
.btn {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(158,158,158,0.7), rgba(255,255,255,0.7));
  border:1px solid #e0e0e0;
  color:#fff;
  font-size:16pt;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
  transform: translateX(-50%) translateY(0);
  text-decoration: none; /* 下線なし */
}
.btn:hover {
  color:#4edce0;
  transform: translateX(-50%) scale(1.05);
  background: linear-gradient(135deg, rgb(226,226,226), rgba(255,255,255,0.4));
}
#btn1 { top:140px; left: calc(50% - 340px); animation-delay: 0.4s; }
#btn2 { top:40px;  left: 50%;               animation-delay: 2.1s; }
#btn3 { top:140px; left: calc(50% + 340px); animation-delay: 1s; }
#btn4 { top:500px; left: calc(50% - 200px); animation-delay: 2.8s; }
#btn5 { top:500px; left: calc(50% + 200px); animation-delay: 0.7s; }

/* ===== イントロ ===== */

/* Intro セクション PC用（デフォルト） */
#intro {
  background: #fff;
  width: 100%;
  margin: 0;
  padding: 58px 10%;
  text-align: center;       /* PCでは中央揃え */
}

#intro h2 {
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #424242;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideIn 1s ease forwards;
  display: inline-block;    /* 中央揃えで余白が自然に */
}

#intro p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.5s forwards;
}

/* スマホ（768px以下）で左揃え */
@media (max-width: 768px) {
  #intro {
    text-align: left;
    padding: 40px 5%; /* スマホは左右余白少なめ */
  }

  #intro h2,
  #intro p {
    display: block;    /* 中央揃え解除 */
    margin: 0 0 16px 0; /* 上下余白のみ */
  }
}

/* アニメーション */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== ギャラリー ===== */

#video-modal {
  display: none; /* 初期非表示 */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#video-modal .close {
  position: absolute;  /* 絶対位置にする */
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 2100;       /* 動画より上に表示 */
}

#video-modal video {
  max-width: 90%;
  max-height: 80%;
  display: block;
}

#featured {
  padding: 60px 20px;
  background: #f5f5f5;       /* セクション背景 */
  text-align: center; /* セクション全体を左揃え */
}

/* ギャラリー見出し */
#featured h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #009baf;
  text-align: center;
}

/* 各作品ブロック */
.work-block {
  display: block;             /* 横並び解除、縦に並べる */
  text-align: left; 
  margin: 0 auto 60px;        /* 上下余白＋中央寄せ */
  max-width: 900px;           /* 横幅制限 */
  align-items: flex-start; /* サムネイルと説明を上端揃え */
}

/* サムネイル画像 */
.thumbnail {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;        /* 画像と説明の間隔 */
}

.work-block img {
  width: 100%;
  border-radius: 12px;
}

/* 再生ボタン */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.play-btn:hover {
  background: rgba(0,155,175,0.8);
}

/* 説明テキスト */
.desc {
  text-align: left;
  margin-top: 12px;
}

.desc h3 {
  font-size: 20px;
  font-weight: 600;
  color: #009baf;
  margin-bottom: 8px;
}

.desc p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}

/* 詳細ボタン */
.detail-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #009baf;
  text-decoration: none;
  border: 2px solid #009baf;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.detail-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #009baf;
  transition: all 0.3s ease;
  z-index: -1;
}

.detail-btn:hover {
  color: #fff;
}

.detail-btn:hover::before {
  left: 0;
}

/* レスポンシブ: スマホは幅100% */
@media(max-width:768px){
  .work-block {
    max-width: 100%;
    margin: 0 auto 40px;
  }
}



/* ===== レスポンシブ ===== */

@media (max-width:768px) {
  #main-container { min-height: 600px; } /* ← px抜け修正 */
  #spline-caption { font-size: 36px; top: 10vh; white-space: normal; line-height:1.2; }
  #spline-subcaption { font-size: 18px; top: 24vh; }
  .btn { display: none; }
  .scroll-gallery img { height:160px; }
  .media { grid-template-columns: 1fr; }
}

/* Solid Creations は常に改行させない */
.nowrap {
  white-space: nowrap;
}

/* デフォルト (PC): 一行で表示 */
#spline-caption {
  white-space: nowrap;
}

/* スマホ (768px以下): カンマの後で改行する */
@media (max-width: 768px) {
  #spline-caption {
    white-space: normal;
  }
  .line-break {
    display: block; /* 改行を強制 */
  }
  .nowrap {
    white-space: nowrap; /* Solid Creationsはまとめて保持 */
  }
}


/* ===== フッター ===== */
#footer-frame {
  background:#fff;
  border-top:1px solid #e0e0e0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;
  font-size:12pt;
  line-height:normal;
  padding:20px 0;
}
.footer-explore{ font-size:11pt; color:#009baf; }
.footer-links{ display:flex; justify-content:center; gap:40px; font-size:14pt; }
.footer-links a{ color:#009baf; text-decoration:none; font-weight:600; }
.footer-copy{ font-size:9pt; color:#7ac7d1; text-align:center; }


/* ===== About Page 専用 ===== */

.divider {
  margin: 0 6px;
}

.about-page section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* 内側コンテナ */
.about-page .inner {
  max-width: 900px;
  margin: 0 auto;
}

/* セクション背景・文字色 */
.about-page .about-section { background:#f5f5f5; color:#333; }
.about-page .skills-section { background:#fff; color:#333; }
.about-page .career-section { background:#009baf; color:#fff; }
.about-page .strengths-section { background:#fff; color:#333; }

/* セクションタイトル */
.about-page .section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px; /* 少し余白広げる */
}

/* Aboutページ h1 */
.about-page .about-section h1 {
  font-size: 28px;
  margin-bottom: 24px;
}

/* 段落 */
.about-page p {
  line-height: 1.8;      /* 行間を広めに */
  margin-bottom: 20px;    /* 段落間の余白 */
  font-size: 16px;
}

/* リスト */
.about-page ul {
  padding-left: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 小見出し h3 */
.about-page h3 {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
  color: #009baf;
}

/* Careerセクション内 h3 は白に */
.about-page .career-section h3 {
  color: #fff;
}
/* Aboutページ内リンク */
.about-page a {
  color: #009baf;           /* メインカラー */
  text-decoration: none;     /* 下線なし */
  border-bottom: 2px solid transparent; /* ホバー用ボーダー */
  transition: color 0.3s ease, border-bottom 0.3s ease;
  font-weight: 500;
}

/* ホバー時 */
.about-page a:hover {
  color: #00778a;            /* 少し濃いめに */
  border-bottom: 2px solid #009baf; /* 下線がスライド出現 */
}

/* リンクをグループで表示している場合 */
.about-page p a + a {
  margin-left: 15px;         /* リンク同士の間隔 */
}



/* ===== Projects Page ===== */

.project-block .media img,
.project-block .media video {
  border-radius: 12px;  /* 角丸 */
  margin: 0;             /* 余白なし */
  display: block;
  width: 100%;           /* 親幅いっぱい */
  height: auto;
  object-fit: cover;     /* 縦横比を保つ */
}

.projects-page section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

.projects-page .inner {
  max-width: 900px;
  margin: 0 auto;
}

.projects-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  text-align: left;
}

.projects-section.white-bg p.lead {
  font-size: 16px;
  line-height: 1.8;     /* 行間を広めに */
  margin-bottom: 20px;  /* 段落間の余白 */
  color: #444;
}

.projects-section.white-bg p.note {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  color: #666;
  font-style: italic;
}

.projects-page .section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #009baf;
  text-align: left;
}

.projects-page .category {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px !important; /* ← 強制 */
  display: block;
}


/* 背景切替 */
.projects-page .white-bg { background:#f5f5f5; color:#333; }  /* 元はグレーだった色 */
.projects-page .gray-bg  { background:#fff; color:#333; }      /* 元は白だった色 */

/* メディア配置 */
.projects-page .media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.projects-page .media img,
.projects-page .media video {
  width: 100%;
  height: auto;
  display: block;
}

/* 説明テキスト */
.projects-page .desc {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* スマホ対応 */
@media (max-width:768px) {
  .projects-page .media {
    grid-template-columns: 1fr;
  }
}

/* ===== Timeline Style ===== */
.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 40px;
  border-left: 3px solid #009baf;
}

.timeline-step {
  position: relative;
  margin-bottom: 40px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step .circle {
  position: absolute;
  left: -27px;
  top: 0;
  width: 40px;
  height: 40px;
  background: #009baf;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.timeline-step .content {
  margin-left: 20px;
}

.timeline-step h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #009baf;
}

.timeline-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Responsive */
@media(max-width:768px){
  .timeline {
    padding-left: 28px; /* ← 線を少し右へ寄せる */
  }
  .timeline-step .circle {
    width: 32px;
    height: 32px;
    font-size: 14px;
    left: -20px; /* ← 丸をもう少し左にずらす */
  }
}


/* ===== Services Page 専用 ===== */
.services-page section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

.services-page .inner {
  max-width: 900px; /* 他ページと統一 */
  margin: 0 auto;
}

.services-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  text-align: left;
}


.services-section.white-bg p.lead {
  font-size: 16px;
  line-height: 1.8;     /* 行間を広めに */
  margin-bottom: 0;     /* 下余白は不要 */
  color: #444;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;  /* 角丸 */
  padding: 24px;
  color: #333;
  text-align: left;

  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左端に揃える */

  transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバーアニメーション */
}


.service h2.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #009baf;
  margin-bottom: 12px;

  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 34px; /* アイコン幅を確保 */
  position: relative;
}

.service h2.section-title svg {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  stroke: #009baf;
}

.service p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
  padding-left: 34px; /* アイコンと同じだけオフセット */
}

.services-section.white-bg { background:#f5f5f5; color:#333; }  /* 元は白 */
.services-section.gray-bg  { background:#fff; color:#333; }      /* 元はグレー */

/* スマホ対応 */
@media(max-width:768px){
  .service-list { grid-template-columns: 1fr; }
}



/* ===== Industries Page 専用 ===== */

.industry-block .media img {
  border-radius: 12px;  /* 角丸 */
  margin: 0;             /* 余白なし */
  display: block;
  width: 100%;           /* 親幅いっぱい */
  height: auto;
  object-fit: cover;     /* 縦横比を保つ */
}

.industries-page section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

.industries-page .inner {
  max-width: 900px; /* Projects と同じ */
  margin: 0 auto;
}

.industries-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  text-align: left;
}

.industries-page .section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #009baf;
  text-align: left;
}



.industries-section.white-bg p.lead {
  font-size: 16px;
  line-height: 1.8;     /* 行間を広めに */
  margin-bottom: 0;     /* 下余白は不要 */
  color: #444;
}

/* 背景切り替え（About/Projectsと同じ） */
.industries-page .gray-bg  { background: #fff; color:#333; }      /* 元グレー → 白 */
.industries-page .white-bg { background: #f5f5f5; color:#333; }  /* 元白 → グレー */



/* ===== Industries: 右カラムを同位置に揃える ===== */
.industries-page .media{
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr; /* 左=画像幅を固定めに、右=テキスト */
  gap: 30px;
  align-items: start;
}

/* Projectsなどの共通 .desc の影響を無効化（Industries内のみ） */
.industries-page .media .desc{
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}

/* タイトルとリストの余白を統一 */
.industries-page .media .desc .section-title{
  margin: 0 0 12px;
}
.industries-page .media .desc ul{
  margin: 0;
  padding-left: 1.25rem;   /* 箇条書きのインデントを一定に */
  list-style: disc;
}

.industries-page .media .desc li {
  line-height: 1.0;     /* ← 行間の広さ（調整可能） */
  margin-bottom: 8px;   /* ← 箇条書き同士の距離 */
}

.industries-page .media img{
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px){
  .industries-page .media{
    grid-template-columns: 1fr; /* 縦並び */
  }
  .industries-page .media .desc{
    padding-top: 12px !important;
  }
}

/* ===== Contact Page 専用 ===== */
.contact-section.white-bg {
  background: #f5f5f5; /* 元白 → 薄グレー */
  color: #333;
  padding: 60px 20px;
}
.contact-section .inner {
  max-width: 900px;
  margin: 0 auto;
}

.contact-section h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: left;
}

.contact-section.white-bg p.lead {
  font-size: 16px;
  line-height: 1.8;     /* 行間を広めに */
  margin-bottom: 0;     /* 下余白は不要 */
  color: #444;
}

/* Contact gray section */
.contact-section.gray-bg {
  background: #fff;     /* 元グレー → 白 */
  color: #333;
  padding: 60px 20px;
}

.contact-section .section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #009baf;
  text-align: left;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-links a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #009baf;
}

.contact-section.gray-bg p.lead {
  font-size: 16px;
  line-height: 1.8;     /* 行間を広めに */
  margin-bottom: 0;
  color: #444;
}