@charset "utf-8";

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* Noto Sans JP（ローカル読み込み）
---------------------------------------------------------------------------*/
@font-face {
  font-family: 'Noto Sans JP';
  src: url('/fonts/NotoSansJP-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('/fonts/NotoSansJP-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/*CSSカスタムプロパティ
---------------------------------------------------------------------------*/
:root {
	--text-color: #333;
	--header-height: 100px;
	--primary-color: #59d5e0;
	--primary-inverse-color: #fff;
	--global-space: 5vw;
}

@media (max-width:768px){
  :root {
    --header-height: 90px;
  }
}

/*全体の設定
---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  font-size: 13px;
}

body {
  margin: 0;
  height: 100%;
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  body {
    line-height: 1.7;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}

/*メイン設定
---------------------------------------------------------------------------*/
body {
	margin: 0;
	padding: 0;


  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    sans-serif;

	font-optical-sizing: auto;
	-webkit-text-size_adjust: none;

	background: #ffffff;
	color: var(--text-color);
	line-height: 2;

	font-synthesis: none;
        overflow-x: hidden;
}

/*main設定
---------------------------------------------------------------------------*/
.main_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    padding: 40px 32px 0;
    box-sizing: border-box;
}

/* スマホ */
@media (max-width: 767px) {
    .main_container {
        padding: 24px 8px 0;
    }
}

/*要素被らないようにヘッダー分下げる
---------------------------------------------------------------------------*/
@media (max-width: 1100px) {

  main {
    padding-top: 50px;
  }

}

/*共通本文（p）
---------------------------------------------------------------------------*/
p {
    font-family: "Noto Sans JP", sans-serif;
    color: #000;
    line-height: 2;
}

/* PC */
@media (min-width: 769px) {
    p {
        font-size: 15px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    p {
        font-size: 14px;
        line-height: 1.9;
    }
}

/*リセット
---------------------------------------------------------------------------*/
figure {
	margin: 0;
  }

dd {
	margin: 0;
  }

nav,ul,li,ol {
	margin: 0;padding: 0;
  }

nav ul {
	list-style: none;
  }

section li {
	margin-left: 1rem;
  }

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: var(--text-color);
	transition: 0.3s;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
body:not(.home) #container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container_common {
  max-width: 1400px;
  padding: 0 3vw;
  margin: 0 auto;
  box-sizing: border-box;
}

/*スクロールリンク(ヘッダー分降下)
---------------------------------------------------------------------------*/
/* PC */
[id] {
  scroll-margin-top: 160px;
}

/* スマホ */
@media (max-width: 768px) {
  [id] {
    scroll-margin-top: 80px;
  }
}


/*外部リンク
---------------------------------------------------------------------------*/
a[target="_blank"]::after {
  font-family: "Font Awesome 6 Free";
  content: "\f08e";
  font-weight: 900;
  margin: 0 0.25rem;
}

/*ヘッダー
---------------------------------------------------------------------------*/
/* ==================================================
RESET
================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

img{
    display:block;
    width:100%;
    height:auto;
}

a{
    color:inherit;
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ==================================================
HEADER WRAP（基本）
================================================== */

.headerWrap{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;

    background:#fff;

    transition:
    background-color .35s ease,
    box-shadow .35s ease;
}

/* ==================================================
TOP PAGEのみ透明
================================================== */

@media (min-width:1025px){

    body.home .headerWrap{
        background:transparent;
    }

}

/* =========================================
PC 下層ページ
========================================= */

@media (min-width:1025px){

    body:not(.home) .headerWrap{
        background:#fff;
        box-shadow:0 2px 10px rgba(0,0,0,.05);
    }

}

/* =========================================
SP・タブレット
========================================= */

@media (max-width:1024px){

    .headerWrap{
        background:#fff !important;
        box-shadow:0 2px 10px rgba(0,0,0,.05);
    }

}

/* ==================================================
スクロール時
================================================== */

.headerWrap.scrolled{
    background:#fff !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* ==================================================
メガメニュー時（最重要：完全白固定）
================================================== */

.headerWrap.megaActive{
    background:#fff !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* ==================================================
TOP BAR（SNSバー）
================================================== */

.topBar{
    width:100%;
    height:30px;
}

.topBar__inner{
    width:min(1400px,94%);
    height:100%;
    margin:auto;
}

.topBar__right{
    height:100%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:28px;
}

/* ==================================================
SNS
================================================== */

.topBar__sns{
    display:flex;
    align-items:center;
    gap:18px;
}

.topBar__sns img{
    width:18px;
    height:18px;
    filter:brightness(0) invert(1); /* 白 */
    transition:.3s;
}

/* 下層・スクロール・メガ時は黒 */
body:not(.home) .topBar__sns img,
.headerWrap.scrolled .topBar__sns img,
.headerWrap.megaActive .topBar__sns img{
    filter:none;
}

/* ==================================================
CONTACTボタン
================================================== */
        .topBar__contact {
        --button-color: #fff;
        --button-background: #3223b3;
        --button-background-hover: #281c8f;
        --button-icon-color: #3223b3;
        --button-icon-background: #fff;

        display: flex;
        box-sizing: border-box;
        gap: 8px;
        align-items: center;
        width: 100%;
        max-width: 180px;
        height: 40px;
        padding: 8px 40px 8px 8px;
        font-size: 0.9rem;
        color: var(--button-color);
        text-align: center;
        text-decoration: none;
        background-color: var(--button-background);
        font-family:"Noto Sans JP", sans-serif;

        .icon-box {
          display: flex;
          box-sizing: border-box;
          flex-shrink: 0;
          align-items: center;
          justify-content: center;
          width: 30px;
          aspect-ratio: 1;
          padding: 4px 0 2px 0;
          overflow: hidden;
          color: #fff;

          svg {
            display: block;
            width: 2rem;
            aspect-ratio: 1;

            & * {
              fill: none;
              stroke: currentcolor;
              stroke-width: 1.5;
              stroke-linecap: round;
              stroke-linejoin: round;
            }
          }
        }

        .label {
          flex-shrink: 1;
          width: 100%;
          transform: translateX(2px);
        }

        @media (any-hover: hover) {
          transition: background-color 0.2s;

          &:hover {
            background-color: var(--button-background-hover);
          }
        }
      }

/* ==================================================
HEADER
================================================== */

.header{
    height:70px;
    width:100%;
}

.header__inner{
    width:min(1400px,94%);
    height:100%;
    margin:auto;

    display:flex;
    align-items:center;
    font-family:"Noto Sans JP", sans-serif;
}

/* ==================================================
LOGO
================================================== */

.header__logo{
    width:340px;
    flex-shrink:0;
}

/* ==================================================
PC NAV
================================================== */

.headerNav{
    margin-left:auto;
    height:100%;
}

.headerNav__list{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:45px;
}

.headerNav__item{
    height:100%;
    display:flex;
    align-items:center;
}

/* ==================================================
リンク
================================================== */

.headerNav__item > a{
    position:relative;
    height:100%;
    display:flex;
    align-items:center;

    font-size:14px;
    font-weight:700;
    letter-spacing:.08em;

    color:#fff; /* TOPは白 */
    transition:.3s;
}

/* 黒化条件 */
body:not(.home) .headerNav__item > a,
.headerWrap.scrolled .headerNav__item > a,
.headerWrap.megaActive .headerNav__item > a{
    color:#111;
}

/* 下線アニメーション */
.headerNav__item > a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0px;
    width:0;
    height:2px;
    background:currentColor;
    transition:.35s;
}

.headerNav__item:hover > a::after{
    width:100%;
}

/* ==================================================
MEGA MENU
================================================== */

.hasMega{
    position:static;
}

/* --------------------
表示エリア
-------------------- */

.megaMenu{
    position:fixed;

    top:100px;
    left:0;

    width:100vw;

    background:#fff;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
    opacity .35s ease,
    visibility .35s ease;

    box-shadow:0 30px 80px rgba(0,0,0,.08);

    border-top:1px solid #e5e5e5;

    z-index:999;
}

.hasMega:hover .megaMenu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

/* ==================================================
INNER
================================================== */

.megaMenu__container{

    width:min(1400px,94%);

    margin:0 auto;

    display:flex;
    align-items:stretch;

    min-height:380px;

    gap:80px;
}

/* ==================================================
LEFT
================================================== */

.megaMenu__left{

    width:360px;

    flex-shrink:0;

    padding:50px 0;
}

.megaMenu__left img{

    width:100%;

    height:220px;

    object-fit:cover;

    margin-top:28px;
}

/* タイトル */

.megaMenu__title{

    display:flex;
    flex-direction:column;

    gap:8px;
}

.megaMenu__en{

    font-size:36px;

    font-weight:700;

    letter-spacing:.08em;

    line-height:1;
}

.megaMenu__jp{

    font-size:13px;

    letter-spacing:.15em;

    color:#666;
}

/* ==================================================
RIGHT
================================================== */

.megaMenu__right{

    flex:1;

    display:grid;

    grid-template-columns:
    repeat(2,minmax(260px,1fr));

    gap:0 70px;

    padding:50px 0;
}

/* ==================================================
COLUMN
================================================== */

.megaMenu__column{

    display:flex;
    flex-direction:column;
}

/* ==================================================
LINK
================================================== */

.megaMenu__column a{

    position:relative;

    display:flex;
    align-items:center;

    min-height:78px;

    padding:0 24px 0 0;

    border-bottom:1px solid #ededed;

    color:#111;

    font-size:15px;

    font-weight:700;

    letter-spacing:.04em;

    transition:.3s;
}

/* 矢印 */

.megaMenu__column a::after{

    content:"";

    position:absolute;

    right:0;
    top:50%;

    width:8px;
    height:8px;

    border-top:2px solid #0b4ea2;
    border-right:2px solid #0b4ea2;

    transform:
    translateY(-50%)
    rotate(45deg);

    transition:.3s;
}

/* hover */

.megaMenu__column a:hover{

    color:#0b4ea2;

    padding-left:12px;
}

.megaMenu__column a:hover::after{

    right:-6px;
}

/* ==================================================
メニュー下余白
================================================== */

.megaMenu__column a:last-child{

    border-bottom:1px solid #ededed;
}

/* ==================================================
企業情報など項目数が少ない場合の高さ維持
================================================== */

.megaMenu__column{

    justify-content:flex-start;
}

/* ==================================================
ワイドPC
================================================== */

@media (min-width:1600px){

    .megaMenu__container{

        width:1400px;
    }

}

/* ==================================================
1100以下は非表示
================================================== */

@media (max-width:1100px){

    .megaMenu{

        display:none;
    }

}

/* ==================================================
PCではハンバーガー非表示
================================================== */

.btn-trigger{
    display:none;
}

/* ==================================================
OVERLAY
================================================== */

.menuOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:.35s ease;
    z-index:9997;
}

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

/* ==================================================
SP MENU
================================================== */

.spMenu{
    position:fixed;
    top:0;
    right:0;

    width:min(420px,100%);
    height:100vh;

    background:#fff;

    transform:translateX(100%);
    transition:.4s ease;

    z-index:9998;
    overflow-y:auto;
}

.spMenu.active{
    transform:translateX(0);
}

/* ==================================================
SP INNER
================================================== */

.spMenu__inner{
    min-height:100%;
    display:flex;
    flex-direction:column;

    padding:100px 32px 40px;
}

/* ==================================================
SP NAV
================================================== */

.spMenu__nav > li{
    border-bottom:1px solid #eee;
}

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

.menuToggle{
    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:72px;
}

.menuToggle a{
    font-weight:700;
    font-size:15px;
    flex:1;
}

/* ==================================================
ACCORDION BUTTON
================================================== */

.accordionBtn{
    width:44px;
    height:44px;

    border:none;
    background:none;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;
}

.accordionBtn span{
    font-size:26px;
    transition:.3s;
}

/* ==================================================
SUB MENU
================================================== */

.subMenu{
    max-height:0;
    overflow:hidden;

    transition:max-height .35s ease;

    padding-left:16px;
}

.subMenu li{
    margin:10px 0;
}

.subMenu a{
    font-size:14px;
    color:#666;
    position:relative;
    padding-left:14px;
}

.subMenu a::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:6px;
    height:1px;
    background:#111;
    transform:translateY(-50%);
}

/* ==================================================
SP NORMAL LINK
================================================== */

.spMenu__nav > li > a{
    display:block;
    padding:22px 0;
    font-weight:700;
}

/* ==================================================
SP SNS
================================================== */

.spMenu__sns{
    margin-top:auto;
    display:flex;
    justify-content:center;
    gap:24px;
    padding-top:40px;
}

.spMenu__sns img{
    width:26px;
    height:26px;
}

/* ==================================================
SP CONTACT BUTTON
================================================== */

.spMenu__contact{
    margin-top:28px;

    display:flex;
    justify-content:center;
    align-items:center;

    height:60px;

    background:#111;
    color:#fff;

    font-weight:700;
    letter-spacing:.15em;

    clip-path:polygon(
        12px 0,
        100% 0,
        100% calc(100% - 12px),
        calc(100% - 12px) 100%,
        0 100%,
        0 12px
    );
}

/* ==================================================
BODY LOCK
================================================== */

body.menuOpen{
    overflow:hidden;
}

/* ==================================================
HAMBURGER（SPのみ表示）
================================================== */

@media (max-width:1100px){

    .topBar{
        display:none !important;
        height:0 !important;
        overflow:hidden;
    }

    .header{
        height:70px;
    }

    .headerWrap{
        top:0;
    }

    .headerNav{
        display:none;
    }

    .btn-trigger{
        display:block;

        width:34px;
        height:24px;

        position:relative;
        cursor:pointer;

        margin-left:auto;
        z-index:10000;
    }

    .btn-trigger span{
        position:absolute;
        left:0;
        width:100%;
        height:2px;
        background:#111;
        transition:.35s;
    }

    .btn-trigger span:nth-child(1){top:0;}
    .btn-trigger span:nth-child(2){top:11px;}
    .btn-trigger span:nth-child(3){bottom:0;}

    .btn-trigger.active span:nth-child(1){
        transform:translateY(11px) rotate(-45deg);
    }

    .btn-trigger.active span:nth-child(2){
        opacity:0;
    }

    .btn-trigger.active span:nth-child(3){
        transform:translateY(-11px) rotate(45deg);
    }

    .header__logo{
        width:280px;
    }

}

/* ==================================================
RESPONSIVE SMALL
================================================== */

@media (max-width:768px){

    .header__logo{
        width:220px;
    }

    .spMenu__inner{
        padding:90px 24px 30px;
    }
}

@media (max-width:480px){

    .header__logo{
        width:220px;
    }

    .spMenu{
        width:100%;
    }

    .spMenu__inner{
        padding:84px 20px 24px;
    }
}

/* ==================================================
MEGA MENU 2カラム化（最小構成）
================================================== */

.megaMenu__container{
    width:min(1400px,94%);
    margin:auto;

    display:flex;
    align-items:stretch;

    gap:60px; /* ←2カラムの間隔 */
}

/* 左カラム */
.megaMenu__left{
    width:360px;
    flex-shrink:0;
}

/* 右カラム */
.megaMenu__right{
    flex:1;
}


/*パンくず（外側：全幅背景）
---------------------------------------------------------------------------*/
/* =========================
   パンくず全体
========================= */
.breadcrumb {
  width: 100%;
  background: #f3f3f3;
  padding: 100px 0 10px;
  box-sizing: border-box;

  /* フォント改善 */
  font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Noto Sans JP", sans-serif;

  font-size: 13px;
  color: #555;
}

/* =========================
   内側コンテナ
========================= */
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   リスト（左寄せ + 左余白）
========================= */
.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 0;
  padding: 8px 0 0 50px;

  justify-content: flex-start;

  align-items: center; /* ←縦中央の基本 */
}

/* =========================
   区切り（> に変更）
========================= */
.breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  color: #bbb; /* 通常は薄め */
}

/* 最後は区切りなし */
.breadcrumb li:last-child::after {
  content: "";
}

/* =========================
   リンク
========================= */
.breadcrumb a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ホバーで変化 */
.breadcrumb a:hover {
  color: #111;
}

/* =========================
   スマホ非表示
========================= */
@media (max-width: 1100px) {
  .breadcrumb {
    display: none;
  }
}

/*フッター
---------------------------------------------------------------------------*/

/* =========================
   ROOT（全体統一）
========================= */
:root {
  --container-width: 1400px;
  --footer-gap: 140px;
}

/* =========================
   FOOTER BASE
========================= */
.footer {
  background: #ffffff;

  margin-top: var(--footer-gap);
  padding-top: 80px;

  position: relative;
  z-index: 10;
}

/* 上ライン（100vw事故防止） */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background: #e5dede;
}

/* =========================
   INNER
========================= */
.footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================
   SITE MAP
========================= */
.footer__sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-content: center;

  gap: 56px 72px;

  padding-bottom: 72px;
  border-bottom: 1px solid #ece3e3;
}

.footer__group {
  min-width: 180px;
  position: relative;
}

/* =========================
   TITLE
========================= */
.footer__ttl {
  display: flex;
  align-items: center;

  padding-bottom: 14px;
  margin-bottom: 24px;

  border-bottom: 1px solid #ddd2d2;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;

  color: #5f5f5f;
  text-decoration: none;
  transition: .3s;
}

.footer__ttl:hover {
  color: #a9a9a9;
}

.footer__ttl::before {
  content: "";
  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: #1e90ff;

  margin-right: 12px;
}

/* =========================
   LINKS
========================= */
.footer__links {
  display: grid;
  gap: 14px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  font-size: 14px;
  color: #757575;

  text-decoration: none;
  position: relative;

  transition: .3s;
}

.footer__links a:hover {
  color: #444;
}

.footer__links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0;
  height: 1px;

  background: #c9b1b1;
  transition: .3s;
}

.footer__links a:hover::before {
  width: 100%;
}

/* =========================
   BRAND
========================= */
.footer__brand {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 48px 0;
}

.footer__brandLeft {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__logo img {
  height: 42px;
}

/* ISO */
.footer__isoBlock {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__isoBlock img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer__isoText {
  font-size: 12px;
  color: #7d7d7d;
  margin: 0;
  white-space: nowrap;
}

/* =========================
   SNS
========================= */
.footer__sns {
  display: flex;
  gap: 18px;
}

.footer__sns a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #f3ebeb;

  transition: .25s ease;
  overflow: hidden;
}

.footer__sns a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer__sns a:hover {
  background: #e7dede;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

.footer__sns a:hover img {
  transform: scale(1.1);
  transition: .25s ease;
}

/* =========================
   COPYRIGHT
========================= */
.footer__copy {
  width: 100%;
  background: #ececec;

  text-align: center;

  padding: 22px 20px;

  font-size: 12px;
  letter-spacing: .08em;
  color: #7d7d7d;
}

/* =========================
   SP
========================= */
@media (max-width: 768px) {

  .footer__inner {
    padding: 0 20px;
  }

  .footer__sitemap {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 32px;
  }

  .footer__group {
    border-bottom: 1px solid #eee3e3;
    padding: 10px 0;
  }

  .footer__ttl {
    margin-bottom: 0;
    border-bottom: none;
    padding: 10px 0;
  }

  .footer__group::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 18px;

    font-size: 14px;
    color: #999;
    pointer-events: none;
  }

  .footer__group.is-open::after {
    content: "−";
  }

  .footer__group:not(:has(.footer__links))::after {
    display: none;
  }

  .footer__links {
    display: none;
    padding-top: 10px;
  }

  .footer__group.is-open .footer__links {
    display: grid;
    gap: 10px;
  }

  .footer__brand {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__brandLeft {
    flex-direction: column;
    gap: 14px;
  }

  .footer__logo {
    display: flex;
    justify-content: center;
  }

  .footer__logo img {
    max-width: 220px;
    height: auto;
  }

  .footer__sns {
    justify-content: center;
  }

  .footer__copy {
    padding: 14px 16px;
    font-size: 10px;
    line-height: 1.6;
  }
}

/*見出し表示用のメイン画像設定
---------------------------------------------------------------------------*/
:root {
  --header-height: 98px; /* PC */
}

@media (max-width: 1100px) {
  :root {
    --header-height: 5px; /* スマホ */
  }
}

.main_banner {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 400px;
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
  z-index: 200;
}

/* 画像 */
.main_banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 200;

  /* 少し映画風補正 */
  filter:
    brightness(0.75)
    contrast(1.08)
    saturate(0.95);
}

/* ===== 濃い青グラデーションフィルター ===== */
.main_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(0, 18, 55, 0.92) 0%,
      rgba(0, 45, 120, 0.82) 45%,
      rgba(0, 95, 210, 0.68) 100%
    );
  z-index: 1;
}

/* ===== テキスト中央配置 ===== */
.banner_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

/* 見出し */
.banner_text h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* サブテキスト */
.banner_text p {
  font-size: 18px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  color: #fff;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .main_banner {
    height: 300px;
  }

  .banner_text h1 {
    font-size: 24px;
  }

  .banner_text p {
    font-size: 14px;
  }
}

/*全体見出し
---------------------------------------------------------------------------*/
/* =================================
   H1
================================= */
.overall_headline {
  position: relative;
  margin: 0 0 34px;
  padding-bottom: 14px;
}

.overall_headline span {
  font-size: 32px; /* ★UP */
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  display: inline-block;
}

/* 灰色ライン */
.overall_headline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 12px;
  background: #e2e6ea;
}

/* 青ライン（統一角度） */
.overall_headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 420px; /* 少し拡張 */
  height: 12px;

  background: linear-gradient(90deg, #002a6f, #0057ff);

  /* ★統一した緩い斜め（重要） */
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 100%,
    0 100%
  );
}

/* =================================
   H2
================================= */
.sub_headline {
  position: relative;
  margin: 30px 0 18px;
  padding-left: 24px;
  padding-bottom: 10px;
}

.sub_headline span {
  font-size: 24px; /* ★UP */
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  display: inline-block;
  position: relative;
}

/* 左アクセント */
.sub_headline span::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);

  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #002a6f, #0057ff);
  border-radius: 2px;
}

/* 灰色ライン */
.sub_headline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #e2e6ea;
}

/* 青ライン（H1と完全同角度に統一） */
.sub_headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 280px;
  height: 4px;

  background: linear-gradient(90deg, #002a6f, #0057ff);

  /* ★H1と完全一致の角度 */
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 100%,
    0 100%
  );
}

/* =================================
   RESPONSIVE
================================= */
@media (max-width: 768px) {

  .overall_headline span {
    font-size: 24px;
  }

  .sub_headline span {
    font-size: 20px;
  }

  .overall_headline::after {
    width: 90px;
    height: 10px;
  }

  .sub_headline::after {
    width: 80px;
  }
}

/*サイトマップ用
---------------------------------------------------------------------------*/
.card_grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  max-width: 1000px;
  margin: 80px auto 0; /* 上 右左 下 */
}

/* タブレット */
@media screen and (max-width: 1024px){
  .card_grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* スマホ */
@media screen and (max-width: 767px){

  .card_grid{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px; /* 左右余白追加 */
  }

}

/* =========================
   カード
========================= */

.card_link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.card{
  background: #fff;
  overflow: hidden;
  border: 1px solid #ddd;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================
   画像
========================= */

.card_image{
  overflow: hidden;
}

.card_image img{
  width: 100%;
  display: block;
  transition: transform .8s ease;
}

/* hoverで画像だけズーム */

.card_link:hover .card_image img{
  transform: scale(1.08);
}

/* =========================
   テキスト
========================= */

.card_body{
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* スマホ余白調整 */

@media screen and (max-width: 767px){

  .card_body{
    padding: 22px;
  }

}

.card_text{
  font-size: 15px;
  line-height: 2;
  margin-bottom: 32px;
}

/* スマホ文字サイズ */

@media screen and (max-width: 767px){

  .card_text{
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px;
  }

}

/* =========================
   ボタン
========================= */

.btn{
  color: #000;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: center;
  line-height: 48px;
  width: 210px;
  height: 48px;
  background: #FFF;
  border:1px solid #000;
  position: relative;
  overflow: hidden;
  transition: .5s;
  margin-top: auto;
}

/* スマホボタン */

@media screen and (max-width: 767px){

  .btn{
    width: 190px;
    height: 46px;
    line-height: 46px;
    font-size: 12px;
  }

}

/* =========================
   矢印
========================= */

.btn .icon{
  transition: all .45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.btn .icon.arrow{
  left: 1.2rem;
  width: 1.125rem;
  height: 0.1rem;
  background: none;
}

.btn .icon.arrow::before{
  position: absolute;
  content: "";
  top: -0.3rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #000;
  border-right: 0.125rem solid #000;
  transform: rotate(45deg);
}

/* =========================
   Hover Animation
========================= */

.card_link:hover .btn{
  background: #f7f7f7;
}

.card_link:hover .btn .icon.arrow{
  background: #000;
  transform: translate(1rem, 0);
}

/*ボタン
---------------------------------------------------------------------------*/
.select_button{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin:10px 0;

  width:auto;
  height:28px;
  padding:0 12px;

  background:#0b4ea2;
  border:1px solid #0b4ea2;
  border-radius:0;

  color:#fff;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.02em;
  white-space:nowrap;

  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease;
}

/* 矢印 */
.select_button::after{
  content:"→";
  margin-left:5px;
  font-size:11px;
}

/* hover：色反転 */
.select_button:hover{
  background:#fff;
  color:#0b4ea2;
  border-color:#0b4ea2;
}