/*初期設定*/
*{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:2% 3%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  /* ロゴ */
  .logo img {
    height: 60px;
    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-home-img */
.key {
    position: relative;
    width: 100%;
    height: min(600PX, 60vh); 
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f5fbff;
  }
  
  /* 背景画像 */
  .key-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  
  .key-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
    transform: scale(1.04);
    animation: keyZoom 9s ease forwards;
  }
  
  /* 白いグラデーション */
  .key::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.88) 28%,
      rgba(255,255,255,0.45) 52%,
      rgba(255,255,255,0.05) 100%
    );
  }
  
  /* 水色の丸い装飾 */
  .key::after {
    content: "";
    position: absolute;
    left: -18%;
    bottom: -35%;
    width: 62vw;
    height: 50vh;
    border-radius: 50%;
    background: rgba(0, 132, 214, 0.12);
    z-index: 1;
  }
  
  /* 文字エリア */
  .key-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2% 3% 0;
    color: #102033;
  
    opacity: 0;
    transform: translateY(1.7rem);
    transition: 1s ease;
  }
  
  .key-content.is-show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .key-label {
    font-size: clamp(0.75rem, 1vw, 0.92rem);
    letter-spacing: 0.22em;
    color: #0075c9;
    font-weight: 700;
    margin-bottom: 1.4rem;
  }
  
  .key-content h1 {
    font-size: clamp(2rem, 4.2vw, 4.4rem);
    line-height: 1.35;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin: 0 0 1.8rem;
  }
  
  .key-content h1 span {
    display: block;
  }
  
  .key-content h1 span:first-child {
    color: #0075c9;
  }
  
  .key-text {
    font-size: clamp(1rem, 1.35vw, 1.35rem);
    line-height: 1.9;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 1.8rem;
  }
  
  .key-line {
    width: 4.1rem;
    height: 0.21rem;
    background: #0075c9;
    margin-bottom: 1.5rem;
  }
  
  .key-en {
    font-size: clamp(0.78rem, 0.95vw, 1rem);
    line-height: 1.8;
    letter-spacing: 0.14em;
    color: #0075c9;
    font-weight: 600;
  }
  
  /* スクロール表示 */
  .key-scroll {
    position: absolute;
    right: 2.4rem;
    bottom: 2.4rem;
    z-index: 2;
    color: #0075c9;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
  }
  
  .key-scroll::after {
    content: "";
    display: block;
    width: 0.07rem;
    height: 4rem;
    background: #0075c9;
    margin: 0.85rem auto 0;
    animation: scrollLine 1.7s ease-in-out infinite;
  }
  
  /* アニメーション */
  @keyframes keyZoom {
    from {
      transform: scale(1.08);
    }
    to {
      transform: scale(1);
    }
  }
  
  @keyframes scrollLine {
    0% {
      transform: scaleY(0);
      transform-origin: top;
    }
    50% {
      transform: scaleY(1);
      transform-origin: top;
    }
    51% {
      transform-origin: bottom;
    }
    100% {
      transform: scaleY(0);
      transform-origin: bottom;
    }
  }
  
  /* タブレット */
  @media (max-width: 900px) {
    .key {
      align-items: flex-start;
    }
    .key::before {
      background: linear-gradient(
        180deg,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.78) 42%,
        rgba(255,255,255,0.2) 100%
      );
    }
  
    .key-img {
      object-position: center bottom;
    }
  
    .key-content h1 {
      font-size: clamp(1.7rem, 5.5vw, 2.4rem);
      margin-bottom: 1.4rem;
    }
  
    .key-text {
      font-size: clamp(1.1.rem, 2vw, 1.25rem);
      line-height: 1.8;
      margin-bottom: 1.4rem;
    }
  
    .key-en {
      font-size: 1.2rem;
    }
  }
  
  /* スマホ */
  @media (max-width: 600px) {
  
    .key-label {
      font-size: 0.72rem;
      margin-bottom: 1rem;
    }
  
    .key-content h1 {
      font-size: clamp(1.4rem, 10vw, 1.8rem);
      line-height: 1.45;
      letter-spacing: 0.04em;
      margin-bottom: 1.4rem;
    }
  
    .key-text {
      font-size: 1.0rem;
      line-height: 1.8;
      letter-spacing: 0.06em;
      margin-bottom: 1.3rem;
    }
  
    .key-line {
      width: 3.5rem;
      height: 0.18rem;
      margin-bottom: 1.2rem;
    }
  
    .key-en {
      font-size: 0.85rem;
      letter-spacing: 0.08em;
    }
  
    .key-scroll {
      display: none;
    }
  
    .key::after {
      width: 95vw;
      height: 95vw;
      left: -45%;
      bottom: -28%;
    }
  }
  
  /* さらに小さいスマホ */
  @media (max-width: 420px) {
    .key{
        height:350PX;
    }
    .key-content h1 {
      font-size: 1.25rem;
    }
  
    .key-text {
      font-size: 0.8rem;
    }
  
    .key-en {
      font-size: 0.72rem;
    }
  }



/* =========================
   VISION
========================= */

.vision-section {
    position: relative;
    display: grid;
    grid-template-columns: 46% 54%;
    grid-template-areas: "cards text";
    gap: 70px;
    padding:5% 4%;
    color: #111;
    overflow: hidden;
  }
  
  .vision-left {
    grid-area: text;
    position: relative;
    z-index: 2;
  }
  
  .vision-right {
    grid-area: cards;
    position: relative;
    z-index: 2;
  
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 58px 64px;
  }
  
  /* 背景 */
  .about-section {
    background:
      radial-gradient(
        circle at top left,
        rgba(194, 223, 255, 0.45) 0%,
        rgba(194, 223, 255, 0.12) 25%,
        transparent 55%
      ),
      radial-gradient(
        circle at bottom right,
        rgba(125, 180, 255, 0.28) 0%,
        rgba(125, 180, 255, 0.10) 28%,
        transparent 58%
      ),
      linear-gradient(
        135deg,
        #f8fbff 0%,
        #eef5fc 50%,
        #f8fbff 100%
      );
  }
  
  .about-section::before,
  .about-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
  }
  
  .about-section::before {
    width: 900px;
    height: 900px;
    left: -450px;
    top: -450px;
    background:
      radial-gradient(
        circle,
        rgba(140, 190, 255, 0.18) 0%,
        rgba(140, 190, 255, 0.08) 40%,
        transparent 72%
      );
  }
  
  .about-section::after {
    width: 1000px;
    height: 1000px;
    right: -500px;
    bottom: -500px;
    background:
      radial-gradient(
        circle,
        rgba(120, 180, 255, 0.22) 0%,
        rgba(120, 180, 255, 0.08) 45%,
        transparent 75%
      );
  }
  
  /* タイトル */
  .section-title {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 50px;
  }
  
  .section-title h2 {
    font-size: clamp(2.8rem, 8vw,4.8rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #001b3f;
    margin: 0;
  }
  
  .section-title p {
    position: relative;
    font-size:1.0rem;
    font-weight: 800;
    padding-bottom: 12px;
    margin: 0;
    white-space: nowrap;
    color: #001b3f;
  }
  
  .section-title p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #1264d8;
  }
  
  .vision-left h3 {
    font-size: clamp(1.3rem, 3vw, 1.80rem);
    line-height: 1.8;
    font-weight: 900;
    margin: 0 0 44px;
  }
  
  .vision-btn {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    background: #1b1b1b;
    color: #fff;
    text-decoration: none;
    font-size: clamp(18px, 1.6vw, 24px);
    font-weight: 800;
    padding: 32px 38px;
    transition: 0.3s;
  }
  
  .vision-btn span,
  .arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: 0.3s;
  }
  
  .vision-btn:hover {
    background: #1264d8;
  }
  
  .vision-btn:hover span {
    transform: translateX(8px);
  }
  
  /* カード */
  .vision-card {
    position: relative;
    display: block;
    color: #111;
    text-decoration: none;
  }
  
  .img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 28px;
  }
  
  .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
  }
  
  .vision-card:hover img {
    transform: scale(1.08);
  }
  
  .vision-card .en {
    color: #1264d8;
    font-size: clamp(16px, 1.2vw, 21px);
    font-weight: 900;
    margin: 0 0 6px;
  }
  
  .vision-card h4 {
    font-size: clamp(21px, 1.8vw, 30px);
    line-height: 1.35;
    font-weight: 900;
    padding-right: 60px;
    margin: 0;
  }
  
  .vision-card .arrow {
    position: absolute;
    right: 0;
    bottom: 18px;
    background: #1264d8;
    color: #fff;
    border: none;
    font-size: 24px;
  }
  
  .vision-card:hover .arrow {
    transform: translateX(8px);
  }
  
  /* スクロール表示アニメーション */
  .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.is-show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* タブレット */
  @media (max-width: 1100px) {
    .vision-section {
      grid-template-columns: 1fr;
      grid-template-areas:
        "text"
        "cards";
        gap: 70px;
    }
}
  /* スマホ */
  @media (max-width: 700px) {
    .vision-section {
      grid-template-columns: 1fr;
      grid-template-areas:
        "text"
        "cards";
      gap: 48px;
      padding: 5% 8%;
    }
  
    .section-title {
      display: block;
      text-align: center;
      margin-bottom: 42px;
    }
  
    .section-title h2 {
      font-size: 58px;
    }
  
    .section-title p {
      display: inline-block;
      margin-top: 14px;
      font-size: 15px;
    }
  
    .vision-left h3 {
      font-size: 1.2rem;
      line-height: 1.75;
      text-align: center;
    }
  
    .vision-btn {
      width: 100%;
      justify-content: space-between;
      padding: 24px;
      font-size: 16px;
    }
  
    .vision-right {
      grid-template-columns: 1fr;
      gap: 42px;
    }
  }
  
/* =========================
   BRAND
========================= */

.brand-section {
  width: 100%;
  padding: 6rem 5vw;
  background:
    radial-gradient(circle at top left, rgba(0,117,201,0.08), transparent 32rem),
    linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
  overflow: hidden;
}

.brand-head {
  text-align: center;
  margin-bottom: 4rem;
}

.brand-label {
  color: #0075c9;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  font-weight: 800;
  margin-bottom: 1rem;
}

.brand-head h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  color: #001b3f;
  margin: 0 0 1.6rem;
  font-weight: 900;
}

.brand-head p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #40566d;
  margin: 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.brand-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 13rem;
  padding: 1.5rem;
  text-decoration: none;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,117,201,0.12);
  border-radius: 1.6rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 1rem 2.5rem rgba(0,35,80,0.06);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.brand-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,117,201,0.08), transparent);
  opacity: 1;
  pointer-events: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,117,201,0.1);
}

.brand-logo img {
  max-width: 72%;
  max-height: 100%;
  object-fit: contain;
}

.brand-info {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 1rem;
}

.brand-info h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 900;
  color: #001b3f;
  margin: 0 0 0.45rem;
}

.brand-info p {
  font-size: 0.82rem;
  line-height: 1.7;
  font-weight: 600;
  color: #5c6f82;
  margin: 0;
}

.brand-item:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(0,117,201,0.25);
  box-shadow: 0 1.4rem 3rem rgba(0,35,80,0.11);
}
/* Scienceだけ黒背景 */
.science-item .brand-logo {
  background: #111;
  border-radius: 0.8rem;
  padding: 0.8rem;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06);

}

.science-item .brand-logo img {
  max-width: 68%;
}
/* タブレット */
@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ */
@media (max-width: 600px) {
  .brand-section {
    padding: 4.5rem 1.4rem;
  }

  .brand-head {
    margin-bottom: 3rem;
  }

  .brand-head h2 {
    font-size: 3rem;
  }

  .brand-head p {
    font-size: 0.95rem;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .brand-item {
    min-height: 11.5rem;
    padding: 1.1rem;
    border-radius: 1.1rem;
  }

  .brand-logo {
    height: 3.8rem;
  }

  .brand-logo img {
    max-width: 78%;
  }

  .brand-info h3 {
    font-size: 0.95rem;
  }

  .brand-info p {
    font-size: 0.72rem;
  }
}

/* 小さいスマホ */
@media (max-width: 420px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-item {
    min-height: 10.5rem;
  }
}

/*min-contact*/

.contact-section {
    width: 100%;
    padding: 4rem 5vw;
    background:
      radial-gradient(circle at top left, rgba(0, 117, 201, 0.14), transparent 34rem),
      linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
  }
  
  .contact-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 4rem;
    align-items: center;
  }
  
  .contact-label {
    color: #0075c9;
    font-size: 1rem;
    letter-spacing: 0.22em;
    font-weight: 800;
    margin: 0 0 0.8rem;
  }
  
  .contact-heading h2 {
    font-size: clamp(2.6rem, 3.5vw, 5rem);
    line-height: 1;
    color: #001b3f;
    margin: 0 0 1.6rem;
  }
  
  .contact-heading p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #203247;
    margin: 0;
  }
  
  .contact-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
  
  .contact-card,
  .contact-btn {
    position: relative;
    min-height: 10rem;
    border-radius: 1.6rem;
    padding: 1.8rem;
    text-decoration: none;
    overflow: hidden;
  }
  
  .contact-card {
    background: rgba(255,255,255,0.86);
    box-shadow: 0 1.4rem 3.5rem rgba(0, 35, 80, 0.10);
    border: 1px solid rgba(0,117,201,0.14);
    backdrop-filter: blur(10px);
  }
  
  /* TELカードだけ少し目立たせる */
  .tel-card {
    background:
      linear-gradient(135deg, rgba(0,117,201,0.10), rgba(255,255,255,0.88));
    border: 2px solid rgba(0,117,201,0.22);
  }
  
  .tel-card::before {
    content: "タップで電話";
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #0075c9;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
  }
  
  .contact-card-label {
    display: block;
    color: #0075c9;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    font-weight: 800;
    margin-bottom: 0.7rem;
  }
  
  .contact-card strong {
    display: block;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
    color: #005eb8;
    letter-spacing: 0.03em;
  }
  
  .tel-card strong {
    color: #004fc4;
    font-size: clamp(2rem, 3.4vw, 3.3rem);
  }
  
  .contact-card small {
    display: inline-flex;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #526577;
  }
  
  /* TELの説明文をバッジ風に */
  .tel-card small {
    background: rgba(0,117,201,0.10);
    color: #005eb8;
    font-weight: 800;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
  }
  
  /* お問い合わせフォームボタン */
  .contact-btn {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0075c9;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    transition: 0.3s;
  }
  
  .contact-btn span {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    transition: 0.3s;
  }
  
  .contact-btn:hover {
    background: #005eb8;
    transform: translateY(-0.3rem);
  }
  
  .contact-btn:hover span {
    transform: translateX(0.4rem);
  }
  
  /* タブレット */
  @media (max-width: 900px) {
    .contact-inner {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
  }
  
  /* スマホ */
  @media (max-width: 600px) {
    .contact-section {
      padding: 4rem 1.4rem;
    }
  
    .contact-heading h2 {
      font-size: 3.2rem;
    }
  
    .contact-heading p {
      font-size: 1rem;
    }
  
    .contact-actions {
      grid-template-columns: 1fr;
    }
  
    .contact-card,
    .contact-btn {
      min-height: auto;
      padding: 1.5rem;
      border-radius: 1.2rem;
    }
  
    .contact-card strong {
      font-size: 2.2rem;
    }
  
    .tel-card {
      padding-top: 3.4rem;
    }
  
    .tel-card::before {
      left: 1.5rem;
      right: auto;
      top: 1.2rem;
    }
  
    .tel-card small {
      font-size: 0.82rem;
    }
  
    .contact-btn {
      grid-column: auto;
      font-size: 1.1rem;
    }
  }

/*footer*/
  .site-footer {
    width: 100%;
    background:
    linear-gradient(
      180deg,
      #0f2742 0%,
      #12365a 45%,
      #1a4974 100%
    );
    color: #fff;
    padding: 5rem 5vw 1.5rem;
    overflow: hidden;
  }

  .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 120px;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.08),
      transparent
    );

  pointer-events: none;
}

  .footer-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1.6fr;
    gap: 4rem;
  }
  
  .footer-brand h2 {
    font-size: 2rem;
    margin: 0 0 1.2rem;
    letter-spacing: 0.08em;
  }
  
  
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .footer-title {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    padding: 0 0 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    cursor: default;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col li {
    margin-bottom: 0.9rem;
  }
  
  .footer-col a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
  }
  
  .footer-col a:hover {
    color: #fff;
    padding-left: 0.4rem;
  }
  
  .footer-info {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.85;
  }
  .footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.65;
  }
  
  /* スマホ */
  @media (max-width: 700px) {
    .site-footer {
      padding: 4rem 1.4rem 1.5rem;
    }
  
    .footer-inner {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
  
    .footer-brand h2 {
      font-size: 1.6rem;
    }
  
    .footer-nav {
      grid-template-columns: 1fr;
      gap: 0;
    }
  
    .footer-title {
      position: relative;
      cursor: pointer;
      margin-bottom: 0;
      padding: 1.2rem 0;
    }
  
    .footer-title::after {
      content: "+";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.4rem;
    }
  
    .footer-col.active .footer-title::after {
      content: "−";
    }
  
    .footer-col ul {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: 0.4s ease;
    }
  
    .footer-col.active ul {
      max-height: 20rem;
      opacity: 1;
      padding: 0.8rem 0 1.2rem;
    }
  
    .footer-info {
      margin-top: 1rem;
      font-size: 0.85rem;
    }
  }