/*初期設定*/
*{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;
    }
  }



  .contact-section {
    position: relative;
    padding: 100px 5%;
    overflow: hidden;
    background:
      radial-gradient(circle at top left, rgba(255,255,255,0.8), transparent 35%),
      linear-gradient(135deg, #eaf0ff 0%, #d7e2ff 45%, #c6d7ff 100%);
  }
  
  .contact-inner {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
  }
  
  .contact-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    color: #3157c9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }
  
  .contact-text h2 {
    font-size: clamp(32px, 5vw, 56px);
    color: #10204a;
    margin-bottom: 20px;
  }
  
  .contact-text > p {
    font-size: 17px;
    line-height: 1.9;
    color: #34446c;
    margin-bottom: 34px;
  }
  
  .contact-info {
    display: grid;
    gap: 16px;
  }
  
  .contact-info div {
    padding: 18px 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(72, 98, 180, 0.12);
  }
  
  .contact-info strong {
    display: block;
    color: #3157c9;
    margin-bottom: 6px;
  }
  
  .contact-info p {
    color: #1f2d55;
  }
  
  .contact-form {
    padding: 38px;
    border-radius: 30px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(70, 92, 160, 0.18);
  }
  
  .form-group {
    margin-bottom: 22px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1b2d5a;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    outline: none;
    border-radius: 14px;
    padding: 16px 18px;
    background: rgba(245, 248, 255, 0.95);
    font-size:1.0rem;
    color: #1b2d5a;
  }
  
  .form-group textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  .contact-form button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 18px;
    background: linear-gradient(135deg, #3157c9, #6c8cff);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(49, 87, 201, 0.3);
    transition: 0.3s;
  }
  
  .contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(49, 87, 201, 0.38);
  }
  
  @media (max-width: 900px) {
    .contact-section {
      padding: 70px 5%;
    }
  
    .contact-inner {
      grid-template-columns: 1fr;
      gap: 36px;
    }
  
    .contact-form {
      padding: 28px 22px;
      border-radius: 24px;
    }
  }











   /* ===== 全体 フッター ===== */

   .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;
  }