/*初期設定*/
*{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 HERO
========================= */

.page-hero {
  position: relative;
  width: 100%;
  overflow: hidden;

  padding: 8rem 5vw 5rem;

  background:
    linear-gradient(
      135deg,
      #f8fbff 0%,
      #eef6ff 52%,
      #ffffff 100%
    );
}

/* 背景装飾 */
.page-hero-bg::before {
  content: "";

  position: absolute;

  top: -14rem;
  right: -10rem;

  width: 36rem;
  height: 36rem;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0,117,201,0.16),
      transparent 70%
    );
}

.page-hero-bg::after {
  content: "";

  position: absolute;

  left: -10rem;
  bottom: -12rem;

  width: 28rem;
  height: 28rem;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(120,180,235,0.10),
      transparent 72%
    );
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

/* ラベル */
.page-hero-label {
  color: #0075c9;

  font-size: 1rem;

  letter-spacing: 0.32em;

  font-weight: 800;

  margin-bottom: 1.4rem;
}

/* タイトル */
.page-hero h1 {
  font-size: clamp(4rem, 7vw, 7rem);

  line-height: 1.1;

  color: #001b3f;

  font-weight: 900;

  margin: 0 0 3rem;
}

/* =========================
   breadcrumb
========================= */

.page-hero-breadcrumb {
  width:100%;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;

  padding: 1.2rem 1.8rem;

  border-radius: 999px;

  background: rgba(255,255,255,0.52);

  border: 1px solid rgba(0,117,201,0.10);

  backdrop-filter: blur(18px);

  box-shadow:
    0 1rem 2rem rgba(0,35,80,0.06);
}

.page-hero-breadcrumb a,
.page-hero-breadcrumb p {
  position: relative;

  margin: 0;

  font-size: 1rem;

  font-weight: 700;

  color: #00244d;

  text-decoration: none;
}

/* 矢印 */
.page-hero-breadcrumb span {
  position: relative;

  width: 1.6rem;
  height: 1.6rem;
}

.page-hero-breadcrumb span::before {
  content: "";

  position: absolute;

  inset: 0;

  border-top: 2px solid #7bbfff;
  border-right: 2px solid #7bbfff;

  transform:
    rotate(45deg)
    scale(0.7);
}

/* hover */
.page-hero-breadcrumb a:hover {
  color: #0075c9;
}

/* =========================
   tablet
========================= */

@media (max-width: 900px) {

  .page-hero {
    padding: 6rem 5vw 4rem;
  }

  .page-hero h1 {
    font-size: 4.5rem;
  }

}

/* =========================
   smartphone
========================= */

@media (max-width: 600px) {

  .page-hero {
    padding: 5rem 1.4rem 3rem;
  }

  .page-hero-label {
    font-size: 0.82rem;
  }

  .page-hero h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .page-hero-breadcrumb {


    padding: 1rem 1.2rem;

    border-radius: 1.2rem;

    gap: 0.7rem;
  }

  .page-hero-breadcrumb a,
  .page-hero-breadcrumb p {
    font-size: 0.82rem;
  }

  .page-hero-breadcrumb span {
    width: 1rem;
    height: 1rem;
  }

}

.section-service {
    background: #fff;
    color: #1d1d1d;
    font-family: "Noto Sans JP", sans-serif;
    overflow: hidden;
  }
  
  /* concept */
  .service-concept {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .service-concept__image {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  
  .service-concept__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.08);
    transition: transform 1.6s ease;
  }
  
  .service-concept.is-show .service-concept__image img {
    transform: scale(1);
  }
  
  .service-concept__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.82) 45%, rgba(255,255,255,.18)),
      linear-gradient(180deg, rgba(255,255,255,0) 65%, #fff 100%);
  }
  
  .service-concept__content {
    position: relative;
    z-index: 3;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding:0% 4%;
  }
  
  .service-en {
    color: #9a7c4d;
    letter-spacing: .18em;
    font-weight: 700;
    margin: 0 0 12px;
    font-size:1.4rem;
    border-bottom: 1px solid #9a7c4d;
  }
  
  .service-concept h2,
  .service-head h2 {
    font-size: clamp(38px, 5vw, 64px);
    font-family: serif;
    letter-spacing: .1em;
    margin: 0;
  }
  
  .concept-list {
    max-width: 760px;
    margin: 42px 0 0;
    padding-left: 1.4em;
  }
  
  .concept-list li {
    line-height: 2.1;
    margin-bottom: 12px;
    font-weight: 500;
  }
  
  /* service */
  .service-area {
    padding: 90px 0 110px;
    background: linear-gradient(180deg, #fff 0%, #faf7f1 100%);
  }
  
  .service-head {
    width: min(1120px, calc(100% - 40px));
    padding:0% 6% 3%;
  }
  
  .service-slider {
    display: flex;
    gap: 36px;
    overflow-x: auto;
    padding: 0 max(20px, calc((100vw - 1120px) / 2)) 20px;
    scroll-snap-type: x mandatory;
    margin:0% 4%;
  }
  
  .service-slider::-webkit-scrollbar {
    height: 6px;
  }
  
  .service-slider::-webkit-scrollbar-thumb {
    background: #d7c6a8;
    border-radius: 999px;
  }
  
  .service-panel {
    flex: 0 0 min(760px, 82vw);
    scroll-snap-align: start;
  
    background: rgba(255,255,255,.9);
    border: 1px solid #eee6da;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(68,52,31,.08);
  
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
  }
  
  .service-panel.is-show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .service-panel__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  
  .service-panel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
  }
  
  .service-panel:hover .service-panel__image img {
    transform: scale(1.06);
  }
  
  .service-panel__text {
    padding: 5%;
  }
  
  .service-panel__text span {
    display: inline-block;

    font-size: 2.3rem;
    letter-spacing: .22em;
    text-transform: uppercase;
  
    color: #a88a5b;
    font-weight: 700;
  
    margin-bottom: 22px;
  }
  
  .service-panel__text h3 {
    font-size: clamp(28px, 2.6vw, 42px);
    line-height: 1.45;
    letter-spacing: .02em;
  
    font-weight: 700;
    color: #111;
  
    margin: 0 0 28px;
  
    max-width: 90%;
  }
  
  .service-panel__text p {
    font-size: 15px;
  line-height: 2.2;

  color: #666;
  font-weight: 400;

  max-width: 720px;

  margin: 0;
  }
  
  @media (max-width: 600px) {
    .service-concept {
      min-height: 560px;
      align-items: flex-start;
      padding-top: 90px;
    }
  
    .service-concept__overlay {
      background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.85) 48%, rgba(255,255,255,.4));
    }
  
    .service-area {
      padding: 64px 0 80px;
    }
  
    .service-panel {
      flex-basis: 88vw;
      border-radius: 24px;
    }
  
    .service-panel__text {
      padding: 24px;
    }
  }

/* =========================
   COMPANY NAV
========================= */

.company-nav-section {
    width: 100%;
    padding: 5rem 5vw;
    background:
      radial-gradient(circle at top left, rgba(0,117,201,0.08), transparent 30rem),
      linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
    overflow: hidden;
  }
  
  .company-nav-inner {
    width: 100%;
  }
  
  .company-nav-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
  }
  
  .company-nav-head span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #0075c9;
  }
  
  .company-nav-head p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
    color: #001b3f;
  }
  
  .company-nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
  }
  
  .company-nav-card {
    position: relative;
    min-height: 13rem;
    padding: 2rem;
    border-radius: 1.5rem;
    text-decoration: none;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(0,117,201,0.12);
    box-shadow: 0 1rem 2.5rem rgba(0,35,80,0.06);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: 0.35s ease;
  }
  
  .company-nav-card::before {
    content: "";
    position: absolute;
    right: -3rem;
    top: -3rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: rgba(0,117,201,0.08);
    transition: 0.35s ease;
  }
  
  .company-nav-card .en {
    position: relative;
    z-index: 1;
    margin: 0 0 1rem;
    color: #0075c9;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    font-weight: 800;
  }
  
  .company-nav-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #001b3f;
    font-size: clamp(1.6rem, 2.4vw, 2.8rem);
    line-height: 1.35;
    font-weight: 900;
  }
  
  .company-nav-card .arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #0075c9;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.35s ease;
  }
  
  .company-nav-card:hover {
    transform: translateY(-0.4rem);
    border-color: rgba(0,117,201,0.28);
    box-shadow: 0 1.5rem 3.5rem rgba(0,35,80,0.12);
  }
  
  .company-nav-card:hover::before {
    transform: scale(1.25);
    background: rgba(0,117,201,0.13);
  }
  
  .company-nav-card:hover .arrow {
    transform: translateX(0.4rem);
  }
  
  /* animation */
  .reveal-nav {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal-nav.is-show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* tablet */
  @media (max-width: 1000px) {
    .company-nav-list {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* smartphone */
  @media (max-width: 600px) {
    .company-nav-section {
      padding: 4rem 1.4rem;
    }
  
    .company-nav-head {
      margin-bottom: 2rem;
    }
  
    .company-nav-list {
      display: flex;
      overflow-x: auto;
      gap: 1rem;
      padding-bottom: 1rem;
      scroll-snap-type: x mandatory;
    }
  
    .company-nav-list::-webkit-scrollbar {
      height: 0.35rem;
    }
  
    .company-nav-list::-webkit-scrollbar-thumb {
      background: rgba(0,117,201,0.25);
      border-radius: 999px;
    }
  
    .company-nav-card {
      flex: 0 0 78%;
      min-height: 12rem;
      padding: 1.5rem;
      border-radius: 1.2rem;
      scroll-snap-align: start;
    }
  
    .company-nav-card h3 {
      font-size: 1.9rem;
    }
  
    .company-nav-card .arrow {
      width: 2.6rem;
      height: 2.6rem;
    }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /*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;
    }
  }