/*初期設定*/
*{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;
    }
  }
/* ===== 全体 フッター ===== */

.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;
  }







.entry-page {
    position: relative;
    min-height: 100vh;
    padding: 120px 20px;
    overflow: hidden;
    background:
      linear-gradient(135deg, #eef7ff 0%, #ffffff 45%, #dff1ff 100%);
  }
  
  .entry-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 15% 20%, rgba(0, 136, 255, 0.18), transparent 30%),
      radial-gradient(circle at 85% 10%, rgba(0, 190, 255, 0.16), transparent 28%),
      radial-gradient(circle at 70% 90%, rgba(0, 100, 220, 0.14), transparent 35%);
    pointer-events: none;
  }
  
  .entry-inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
  }
  
  .entry-head {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .entry-label {
    color: #0077d9;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }
  
  .entry-head h1 {
    font-size: clamp(34px, 5vw, 56px);
    color: #0b1b35;
    margin-bottom: 20px;
  }
  
  .entry-head p {
    color: #334155;
    line-height: 2;
    font-size: 16px;
  }
  
  .entry-form {
    width: 100%;
  }
  
  .form-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(0, 80, 160, 0.14);
    padding: 50px;
  }
  
  .form-card h2 {
    font-size: 26px;
    color: #0b1b35;
    margin-bottom: 35px;
    padding-left: 18px;
    border-left: 5px solid #0077d9;
  }
  
  .form-group {
    margin-bottom: 26px;
  }
  
  .form-group label {
    display: block;
    font-weight: 700;
    color: #0b1b35;
    margin-bottom: 10px;
  }
  
  .form-group label span {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    font-size: 12px;
    color: #fff;
    background: #0077d9;
    border-radius: 999px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d7e4ef;
    border-radius: 14px;
    background: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: #0077d9;
    box-shadow: 0 0 0 4px rgba(0, 119, 217, 0.12);
  }
  
  .form-group textarea {
    min-height: 160px;
    resize: vertical;
  }
  
  .privacy {
    margin: 35px 0;
    color: #334155;
  }
  
  .privacy input {
    margin-right: 8px;
  }
  
  button {
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0077d9, #00a3ff);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 119, 217, 0.28);
    transition: 0.3s;
  }
  
  button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 119, 217, 0.35);
  }
  
  @media (max-width: 768px) {
    .entry-page {
      padding: 80px 16px;
    }
  
    .form-card {
      padding: 32px 22px;
      border-radius: 22px;
    }
  
    .form-card h2 {
      font-size: 22px;
    }
  }














/* ===== 全体 フッター ===== */

.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 {
    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;
  }
