@charset "UTF-8";
/* ===========================================================
   common.css  -  Aero Breath コーポレートLP
   - reset.css の後に読み込む
   - 共通の変数・レイアウト・共通パーツを定義
   =========================================================== */

/* -----------------------------------------------------------
   Google Fonts(Inter)読み込み
   ※ HTML側で <link> 読み込みする場合は @import を削除してください
   ----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ===========================================================
   1. CSS 変数(:root)
   =========================================================== */
:root {
  /* ----- カラー:メイン(Aero Breath ティール) ----- */
  --color-main:        #009CA2;   /* メインアクセント */
  --color-main-dark:   #007a80;   /* ホバー濃色 */
  --color-main-light:  #4DBFC4;   /* サブアクセント */

  /* ----- カラー:サブ(黒) ----- */
  --color-black:       #000000;   /* サブカラー(指定) */

  /* ----- カラー:背景 ----- */
  --color-bg-gray:     #EFEFEF;   /* 社長挨拶セクション背景 */
  --color-bg-teal:     #E0F0F1;   /* 企業理念セクション背景(淡ティール) */
  --color-bg-news:     #F5F5F5;   /* お知らせ背景 */
  --color-white:       #FFFFFF;   /* 基本地・会社概要背景 */

  /* ----- カラー:テキスト・線 ----- */
  --color-text:        #221815;   /* 本文(reset.css 準拠) */
  --color-text-sub:    #5A7682;   /* 補助テキスト・日付 */
  --color-border:      #D9D9D9;   /* 罫線 */
  --color-border-light: #E8E8E8;  /* 淡罫線 */
  --color-line-gray:   #9F9FA0;   /* お知らせ罫線等(PDFイラレ抽出) */


  /* ----- フォント ----- */
--font-jp:  "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "ヒラギノ角ゴ ProN", "Yu Gothic", "メイリオ", sans-serif;
--font-en:  "Noto Sans", "Helvetica Neue", Arial, sans-serif;

  /* ----- レイアウト ----- */
  --container-width:    1080px;   /* 中身の最大幅 */
  --container-pad:      40px;     /* 左右余白(PC) */
  --container-pad-sp:   20px;     /* 左右余白(SP) */

  /* ----- パーツ ----- */
  --radius:             4px;
  --radius-lg:          8px;
  --transition:         0.3s ease;

  /* ----- フェードイン演出 ----- */
  --fade-distance:      24px;
  --fade-duration:      0.8s;
  --fade-easing:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===========================================================
   2. ベース調整(reset.css への補強)
   =========================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;

}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-white);
}

a:hover {
  opacity: 0.7;
}

/* ===========================================================
   3. レイアウト(コンテナ)
   =========================================================== */
.l-container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--container-pad) * 2);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* セクション上下余白(共通) */
.l-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* ===========================================================
   4. 共通パーツ:セクション英字ラベル(中央配置・下に短いライン)
   =========================================================== */
.c-section-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 36px;
}

.c-section-label__en {
  font-family: var(--font-en);
  font-size: 30px;              /* 15px → 24px */
  font-weight: 700;             /* 600 → 700 (サイズ上げに合わせて少し強める / 不要なら 600 に戻し) */
  letter-spacing: 0.08em;       /* 文字大きくなるので少し詰める */
  color: var(--color-black);
  padding-bottom: 10px;
  position: relative;
}

.c-section-label__en::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;                  /* テキストと同じ長さ */
  height: 5px;
  background: linear-gradient(
    to right,
    var(--color-main) 0%,
    var(--color-main) 50%,
    var(--color-black) 50%,
    var(--color-black) 100%
  );
}

/* ===========================================================
   5. 共通パーツ:ボタン(将来必要になった場合用に温存)
   =========================================================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 50px;
  padding: 0 32px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.c-btn--primary {
  background: var(--color-main);
  color: var(--color-white);
  border: 1px solid var(--color-main);
}
.c-btn--primary:hover {
  background: var(--color-main-dark);
  border-color: var(--color-main-dark);
  opacity: 1;
}

.c-btn--outline {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-black);
}
.c-btn--outline:hover {
  background: var(--color-black);
  color: var(--color-white);
  opacity: 1;
}

/* ===========================================================
   6. 共通パーツ:dl(会社概要を dl 切り替えする場合用に温存)
   =========================================================== */
.c-deflist {
  display: flex;
  flex-direction: column;
}
.c-deflist__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.c-deflist__item:first-child {
  border-top: 1px solid var(--color-border-light);
}
.c-deflist__term {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black);
}
.c-deflist__desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}

/* ===========================================================
   6-b. 共通パーツ:table(会社概要等)
   =========================================================== */
.c-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.c-table th,
.c-table td {
  padding: 20px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line-gray);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.c-table th {
  width: 200px;
  font-weight: 500;
  color: var(--color-black);
  white-space: nowrap;
}

.c-table td {
  color: var(--color-text);
}

/* 一番上の行にも罫線(上) */
.c-table tr:first-child th,
.c-table tr:first-child td {
  border-top: 1px solid var(--color-line-gray);
}

/* tableの上に置く題(キャプション) */
.c-table-title {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.06em;
}

/* 題の直後にある .c-table は上余白をリセット */
.c-table-title + .c-table {
  margin-top: 0;
}

/* ===========================================================
   7. ヘッダー
   =========================================================== */
.l-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 100;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;

  /* ↓ 追加 ↓ インナー幅まで広げる */
  width: calc(100% - 80px);
  max-width: 1280px;
  margin: 0 auto;
}

/* ロゴ */
.l-header__logo {
  display: inline-flex;
  align-items: center;
}
.l-header__logo img {
  height: 56px;       /* 表示高さ。実機見て要調整 */
  width: auto;
  display: block;
}

/* グローバルナビ */
.l-gnav__list {
  display: flex;
  align-items: center;
  gap: 42px;
}
.l-gnav__item a {
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 300;
  color: var(--color-black);
  padding: 8px 0;
}
.l-gnav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-main);
  transition: width var(--transition);
}
.l-gnav__item a:hover {
  opacity: 1;
}
.l-gnav__item a:hover::after,
.l-gnav__item a.is-current::after {
  width: 100%;
}

/* SPメニュー開閉ボタン(ハンバーガー) */
.l-header__toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.l-header__toggle span {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}
.l-header__toggle span:nth-child(1) { top: 9px; }
.l-header__toggle span:nth-child(2) { top: 15px; }
.l-header__toggle span:nth-child(3) { top: 21px; }

.l-header__toggle.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.l-header__toggle.is-open span:nth-child(2) { opacity: 0; }
.l-header__toggle.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ===========================================================
   8. フッター
   =========================================================== */
.l-footer {
  background: var(--color-white);
  color: var(--color-text);
  padding: 60px 0 0;
  border-top: 1px solid var(--color-border-light);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* フッター上段:5カラム */
.l-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, auto) 1fr;
  gap: 60px;
  align-items: stretch;  
  margin-bottom: 30px;
}

/* 区切り縦線:利用規約と会社情報の前に */
.l-footer__col:nth-child(4),
.l-footer__col:nth-child(5) {
  padding-left: 48px;
  border-left: 2px solid var(--color-line-gray);
}

.l-footer__col-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

.l-footer__col-title--sub {
  margin-top: 8px;
  margin-bottom: 0;
}

.l-footer__col-title a {
  color: inherit;
}

.l-footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.l-footer__col-list a {
  font-size: 13px;
  color: var(--color-text);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.l-footer__col-note {
  font-size: 13px;
  color: var(--color-text);
}

/* 列5:会社情報 */
.l-footer__col--address {
  justify-self: end;
  text-align: left;
}
.l-footer__company {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.l-footer__address {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

/* コピーライト帯 */
.l-footer__copy {
  background: var(--color-main);
  color: var(--color-white);
  padding: 16px 0;
  text-align: center;
  margin-top: 40px;     /* ← 追加 (元 .l-footer__inner の gap: 40px の代替) */
}


.l-footer__copy p {
  font-family: var(--font-en);
  font-size: 16px;
}

/* topに戻るボタン */
.l-footer__toTop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #ffffff;
    border: solid 2px var(--color-main-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    font-size: 0;
}
.l-footer__toTop div{
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--color-main-light);
    border-right: 3px solid var(--color-main-light);
    transform: translateY(20%) rotate(-45deg);
}
/* ===========================================================
   8-b. メイン背景 + 広めインナー
   - <main> 全体に温かみのあるアイボリー背景
   - KV直下のコンテンツを広めインナー(白)で包む
   =========================================================== */
main {
  background: #F5F2F0;
}

.l-inner-wide {
  width: calc(100% - 80px);     /* 左右の余白 40px ずつ */
  max-width: 1280px;
  margin: 0 auto;
  /* KVと密着させたくなければ margin-top: 40px; などで調整可 */
}

/* SP */
@media screen and (max-width: 768px) {
  .l-inner-wide {
    width: calc(100% - 24px);   /* 左右の余白 12px ずつ */
  }
}

/* ===========================================================
   9. ユーティリティ
   =========================================================== */
.u-text-center { text-align: center; }
.u-text-right  { text-align: right; }

.u-mt-s  { margin-top: 16px; }
.u-mt-m  { margin-top: 32px; }
.u-mt-l  { margin-top: 60px; }
.u-mt-xl { margin-top: 100px; }

.u-pc-only { display: block; }
.u-sp-only { display: none; }

.u-nowrap { display: inline-block; }

/* ===========================================================
   10. スクロール連動フェードイン
   =========================================================== */
.js-fade {
  opacity: 0;
  transform: translateY(var(--fade-distance));
  transition: opacity var(--fade-duration) var(--fade-easing),
              transform var(--fade-duration) var(--fade-easing);
  will-change: opacity, transform;
}

.js-fade.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* stagger(同じ親内の連続要素を順に遅延) */
.js-fade.is-inview:nth-child(1) { transition-delay: 0s; }
.js-fade.is-inview:nth-child(2) { transition-delay: 0.1s; }
.js-fade.is-inview:nth-child(3) { transition-delay: 0.2s; }
.js-fade.is-inview:nth-child(4) { transition-delay: 0.3s; }
.js-fade.is-inview:nth-child(5) { transition-delay: 0.4s; }

/* アクセシビリティ:モーション抑制 */
@media (prefers-reduced-motion: reduce) {
  .js-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   11. レスポンシブ(SP: 〜768px)
   =========================================================== */
@media screen and (max-width: 768px) {

  html {
    scroll-padding-top: 60px;
    font-size: 16px;
  }

  body {
    line-height: 180%;
  }

  /* コンテナ */
  .l-container {
    padding-left: var(--container-pad-sp);
    padding-right: var(--container-pad-sp);
  }

  /* セクション余白 */
  .l-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* セクション英字ラベル */
  .c-section-label {
    margin-bottom: 28px;
  }

  /* dl */
  .c-deflist__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

    /* table(会社概要等) */
  .c-table {
    margin-top: 28px;
  }
  .c-table th,
  .c-table td {
    padding: 14px 8px;
    font-size: 14px;
  }
  .c-table th {
    width: 100px;
  }
  /* ボタン */
  .c-btn {
    min-width: 180px;
    height: 46px;
    font-size: 14px;
  }

  /* ヘッダー */
  .l-header__inner {
    height: 60px;
    width: calc(100% - 24px);   /* インナーのSP余白に合わせる */
  }
 .l-header__logo img {
    height: 44px;     
  }
  .l-header__toggle {
    display: block;
  }

  /* SPナビ(初期は非表示、is-open で展開) */
  .l-gnav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--color-white);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }
  .l-gnav.is-open {
    transform: translateX(0);
  }
  .l-gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
  }
  .l-gnav__item {
    border-bottom: 1px solid var(--color-border-light);
  }
  .l-gnav__item a {
    display: block;
    padding: 20px 0;
    font-size: 16px;
  }
  .l-gnav__item a::after {
    display: none;
  }

  /* フッター */
  .l-footer {
    padding: 40px 0 0;
  }

  /* SPは1カラム積み */
  .l-footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  /* SP用:タイトルの下余白を縮める */
  .l-footer__col-title {
    margin-bottom: 12px;
  }

  /* SP用:利用規約と会社情報の前に上罫線(グループ区切り) */
  .l-footer__col:nth-child(4),
  .l-footer__col:nth-child(5) {
    padding-left: 0;
    border-left: none;
    padding-top: 24px;
    border-top: 1px solid var(--color-line-gray);
    width: 100%;
  }

  /* 会社情報の特殊配置を解除 */
  .l-footer__col--address {
    justify-self: start;
    margin-top: 0;
  }

  /* SP用:会社情報のフォントサイズを少し抑える */
  .l-footer__company,
  .l-footer__address {
    font-size: 14px;
  }

  .l-footer__copy {
    padding: 14px 0;
    margin-top: 24px;
  }
  .l-footer__copy p {
    font-size: 12px;
  }

  /* ユーティリティ */
  .u-pc-only { display: none; }
  .u-sp-only { display: block; }

  .u-mt-l  { margin-top: 40px; }
  .u-mt-xl { margin-top: 60px; }

  .c-table-title {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 15px;
  }
}
