/*初期設定*/
*{padding:0; margin:0%;}
/*font-size:16PX*/
html{font-size:100%; overflow: auto;}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  padding-top: 80px;
  font-family: 'Noto Serif JP', serif;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open main,
body.menu-open section,
body.menu-open footer {
  pointer-events: none;
}
body.menu-open .header,
body.menu-open .mobile-menu {
  pointer-events: auto;
}
body.menu-open::before {
  content: "";
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 80px);
  background: transparent;
  z-index: 2400;
  pointer-events: auto;
}
/*各種font設定*/
li{
    list-style: none;}
a{
    text-decoration:none;}



/*header-layout*/

  /* ヘッダー */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    z-index: 3000;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
  }
  
  /* スクロール時の影 */
  .header.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .header-inner {
    width:100%;
    padding:0 2%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  /* ロゴ */
  .logo img {
    height:70px;
    width:100%;
  }
  
  /* ナビ */

  .nav-menu{
    padding-right:3%;
  }
  .nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
  }
  
  .nav a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
  }
  



  /* 右 */
  .header-icons {
    display: flex;
    gap: 20px;
    font-size: 18px;
  }
  
  /* ハンバーガー */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .hamburger span {
    width: 25px;
    height: 2px;
    background: #000;
    display: block;
    transition: 0.3s;
  }
  
  /* モバイルメニュー */
  .mobile-menu {
    position: fixed;
  top: 80px;
  right: -100%;
  width: 75%;
  height: calc(100dvh - 80px);
  background: #fff;
  transition: right 0.35s ease;
  padding: 30px;
  z-index: 2500;

  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  }
  
  .mobile-menu ul {
    list-style: none;
  }
  
  .mobile-menu li {
    margin-bottom: 20px;
  }
  
  .mobile-menu a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
  }
  
  /* 開いた状態 */
  .mobile-menu.active {
    right: 0;
  }
  
  /* ハンバーガー変形 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px);
  }


 /* mobile-menuを縦レイアウトにする */
.mobile-menu {
  display:none;
  flex-direction: column;
  height:95%;
  overflow-y: auto;
}

/* ===== 下エリア ===== */
.mobile-footer {
  border-top: 1px solid #ddd; /* ←区切り線 */
  padding: 20px 0;
}

/* SNS */
.sns {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.sns img{
  width:100%;
  max-height:48PX;
}

/* ロゴ */
.footer-logo img {
  width:60%;
  height:60%;
}

  /* レスポンシブ */
  @media (max-width: 768px) {
    .nav {
      display: none;
    }
  
    .header-icons {
      display: none;
    }
  
    .hamburger {
      display: flex;
    }
    .mobile-menu{
      display:flex;
    }
  }

  /* ===== メニューリンク共通 ===== */
.mobile-menu a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color:#000;
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  /* ===== 下線（初期状態） ===== */
  .mobile-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: #000;
  
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  
  /* ===== PC：ホバー ===== */
  .mobile-menu a:hover::after {
    transform: scaleX(1);
  }
  
  .mobile-menu a:hover {
    transform: translateX(5px);
    letter-spacing: 1px;
  }
  
  /* ===== スマホ：タップ時 ===== */
  .mobile-menu a:active::after {
    transform: scaleX(1);
  }
  
  .mobile-menu a:active {
    transform: translateX(5px);
    letter-spacing: 1px;
  }
  
  /* ===== タップ時の背景（押した感） ===== */
  body.menu-open {
    overflow: hidden;
  }
  
  .header {
    z-index: 3000;
  }
  
  .hamburger {
    position: relative;
    z-index: 4000;
  }
  
  .mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 75%;
    height: calc(100vh - 80px);
    background: #fff;
    transition: right 0.35s ease;
    padding: 30px;
    z-index: 2500;
    overflow-y: auto;
  }
  
  .mobile-menu.active {
    right: 0;
  }

/* =========================
   Page Hero
========================= */

.page-hero {
    position: relative;
    padding: 3% 4%;
    background: #fff;
    overflow: hidden;
  }
  
  .page-hero-inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
  }
  
  .page-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
  }
  
  .page-label span {
    width: 14px;
    height: 14px;
    background: #1264d8;
    border-radius: 50%;
  }
  
  .page-label p {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
    color: #111;
  }
  
  .page-hero h1 {
    font-size: clamp(44px, 6vw, 64px);
    line-height: 1.2;
    font-weight: 900;
    margin: 0 0 22px;
    color: #111;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #8b93a1;
    font-size: 18px;
    font-weight: 700;
  }
  
  .breadcrumb a {
    color: #8b93a1;
    text-decoration: none;
  }
  
  .breadcrumb a:hover {
    color: #1264d8;
  }
  
  .page-bg-title {
    position: absolute;
    right: 0;
    top: 8px;
    font-size: clamp(72px, 14vw, 150px);
    line-height: 1;
    font-weight: 900;
    color: rgba(0, 27, 63, 0.045);
    letter-spacing: -0.06em;
    pointer-events: none;
    z-index: -1;
  }
  
  /* スマホ */
  @media (max-width: 700px) {
  
    .page-label p {
      font-size: 18px;
    }
  
    .page-label span {
      width: 11px;
      height: 11px;
    }
  
    .breadcrumb {
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
    }
  
    .page-bg-title {
      right: -20px;
      top: 20px;
      font-size: 72px;
    }
  }


/* =========================
   History Section
========================= */

.history-section {
    position: relative;
    padding: 130px 5vw;
    overflow: hidden;
  
    background:
      radial-gradient(
        circle at top left,
        rgba(194, 223, 255, 0.35) 0%,
        rgba(194, 223, 255, 0.12) 28%,
        transparent 58%
      ),
      linear-gradient(
        135deg,
        #f8fbff 0%,
        #eef6ff 55%,
        #ffffff 100%
      );
  }
  
  .history-section::after {
    content: "";
    position: absolute;
    width: 1000px;
    height: 1000px;
    right: -560px;
    bottom: -560px;
    border-radius: 50%;
    background:
      radial-gradient(
        circle,
        rgba(120, 180, 255, 0.18) 0%,
        rgba(120, 180, 255, 0.06) 48%,
        transparent 74%
      );
    pointer-events: none;
  }
  
  .history-inner {
    position: relative;
    z-index: 2;
    width:100%;
    margin: 0 auto;
  }
  
  /* タイトル */
  .history-heading {
    margin-bottom: 70px;
  }
  
  .history-title {
    display: flex;
    align-items: flex-end;
    gap: 24px;
  }
  
  .history-title h2 {
    font-size: clamp(56px, 8vw, 100px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #001b3f;
    margin: 0;
  }
  
  .history-title p {
    position: relative;
    display: inline-block;
    font-size: clamp(15px, 1.6vw, 24px);
    font-weight: 800;
    color: #001b3f;
    padding-bottom: 10px;
    margin: 0;
    white-space: nowrap;
  }
  
  .history-title p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #1264d8;
  }
  
  /* タイムライン */
  .history-timeline {
    position: relative;
    width: 80%;
    margin: 0 auto;
  }
  
  /* 縦線 */
  .history-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 12px;
    width: 2px;
    height: calc(100% - 24px);
    background: linear-gradient(
      to bottom,
      #001b3f,
      rgba(0, 27, 63, 0.15)
    );
  }
  
  .history-item {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 34px;
    padding: 0 0 42px 46px;
  }
  
  .history-item:last-child {
    padding-bottom: 0;
  }
  
  /* ドット */
  .history-dot {
    position: absolute;
    left: 1px;
    top: 10px;
    width: 16px;
    height: 16px;
    background: #001b3f;
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(18, 100, 216, 0.1);
  }
  
  .history-year {
    font-size: 20px;
    font-weight: 900;
    color: #1264d8;
    line-height: 1.5;
  }
  
  .history-content {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 27, 63, 0.14);
  }
  
  .history-content h3 {
    font-size: clamp(18px, 2vw, 24px);
    color: #001b3f;
    margin: 0 0 10px;
    font-weight: 800;
  }
  
  .history-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #475569;
    margin: 0;
  }
  
  /* 表示アニメーション */
  .reveal-history {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal-history.is-show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* スマホ */
  @media (max-width: 700px) {
    .history-section {
      padding: 90px 20px;
    }
  
    .history-heading {
      margin-bottom: 50px;
    }
  
    .history-title {
      display: block;
      text-align: center;
    }
  
    .history-title h2 {
      font-size: 58px;
    }
  
    .history-title p {
      margin-top: 14px;
      font-size: 16px;
    }
  
    .history-timeline {
      max-width: 100%;
    }
  
    .history-item {
      grid-template-columns: 1fr;
      gap: 8px;
      padding-left: 38px;
      padding-bottom: 38px;
    }
  
    .history-year {
      font-size: 19px;
    }
  
    .history-content h3 {
      font-size: 18px;
    }
  
    .history-content p {
      font-size: 13px;
    }
  }
/* =========================
   Related Section
========================= */

.related-section {
    padding: 80px 5vw 90px;
    background: #fff;
  }
  
  .related-inner {
    width:100%;
    margin: 0 auto;
  }
  
  .related-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 52px;
  }
  
  .related-label span {
    width: 14px;
    height: 14px;
    background: #1264d8;
    border-radius: 50%;
  }
  
  .related-label p {
    font-size: 26px;
    font-weight: 900;
    margin: 0;
  }
  
  /* PC */
  .related-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
  
  .related-card {
    position: relative;
    display: block;
    color: #111;
    text-decoration: none;
  }
  
  .related-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 18px;
  }
  
  .related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .related-content .en {
    color: #1264d8;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 4px;
  }
  
  .related-content h3 {
    font-size: 23px;
    line-height: 1.4;
    font-weight: 900;
  }
  
  .related-arrow {
    position: absolute;
    right: 0;
    bottom: 4px;
  
    width: 38px;
    height: 38px;
  
    display: grid;
    place-items: center;
  
    border-radius: 50%;
    background: #1264d8;
    color: #fff;
  
    font-size: 24px;
  }
  
  /* タブレット */
  @media (max-width: 1000px) {
    .related-list {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* スマホ */
  @media (max-width: 600px) {
  
    .related-list {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }
  
    .related-card {
      display: grid;
      grid-template-columns: 120px 1fr 42px;
      align-items: center;
      gap: 16px;
    }
  
    .related-img {
      aspect-ratio: 1 / 1;
      margin-bottom: 0;
    }
  
    .related-content .en {
      font-size: 15px;
      margin-bottom: 2px;
    }
  
    .related-content h3 {
      font-size: 18px;
      line-height: 1.5;
    }
  
    .related-arrow {
      position: static;
      width: 36px;
      height: 36px;
      font-size: 20px;
    }
  }
















































/* ===== 全体 フッター ===== */

.footer {
    background: #f7f7f7;
    padding: 60px 0 30px;
  }
  
  .footer-container {
    width:100%;
    margin: 0 auto;
    padding: 0 5%;
  }
  
  /* PCでもグリッド維持 */
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  
  /* タイトル */
  .footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
  }
  
  /* ＋ */
  .footer-title::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s ease;
  }
  
  /* 開いたら回転 */
  .footer-col.active .footer-title::after {
    transform: translateY(-50%) rotate(45deg);
  }
  
  /* ===== アコーディオン ===== */
  /* アコーディオン本体 */
  .footer-col ul {
    max-height: 0;          
    overflow: hidden;
  
    opacity: 0;
    transform: translateY(-10px);
  
    margin-top: 0;
  
    transition:
      max-height 0.7s ease,
      transform 0.6s ease,
      opacity 0.55s ease;
  
    pointer-events: none;
    will-change: max-height, transform, opacity;
  }
  
  /* 開いた時 */
  .footer-col.active ul {
    max-height: 300px;  /* ←中身より大きければOK */
  
    opacity: 1;
    transform: translateY(0);
  
    margin-top: 10px;
  
    pointer-events: auto;
  }
  
  
  
  /* ===== リンク ===== */
  .footer-col li {
    margin-bottom: 10px;
  }
  
  .footer-col a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
  }
  
  .footer-col a:hover {
    opacity: 0.6;
  }
  /* 各ブロックの高さを詰める */
  .footer-col {
    padding: 0;
    border-bottom: 1px solid #ddd;
  }
  .footer-title {
    padding: 15px 0;
    margin: 0;
  }
  /* ===== SNS ===== */
  .footer-sns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
  }
  .footer-sns img{
    width:100%;
    mAx-height:48PX;
  }
  /* PC左寄せ / スマホ中央 */
  @media (max-width: 768px) {
    .footer-grid {
      display: block;
    }
  
    .footer-col {
      border-bottom: 1px solid #ddd;
    }
  
    .footer-sns {
      justify-content: center;
    }
  
    .copy {
      text-align: center;
    }
  }
  
  /* コピー */
  .copy {
    margin-top: 20px;
    font-size: 12px;
    color: #777;
  }