/* ============================
   共通１（CSSリセット）
============================ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
html { margin: 0 !important; }
li { list-style: none; }
#page { margin: 0; }
.phonebr { display: none; }

@media(width <= 750px) {
  :root{
    --f14: clamp(12px,0.875rem,14px);
    --f18: clamp(16px,1.125rem,18px);
    --f20: clamp(17px,1.25rem,20px);
    --f22: clamp(17px,1.375rem,22px);
    --f24: clamp(17px,1.5rem,24px);
    --f26: clamp(18px,1.625rem,26px);
    --f28: clamp(18px,1.75rem,28px);
    --f30: clamp(20px,1.875rem,30px);
    --f32: clamp(20px,2rem,32px);
    --f34: clamp(20px,2.125rem,34px);
    --f36: clamp(20px,2.25rem,36px);
  }
  body,html{
    font-size: 2.13vw;
  }
}


/* ============================
   共通２
============================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
@font-face {
  font-family: 'Noto Sans JP';
  src: url('./font/NotoSansJP-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


body {
  font-family: 'Noto Sans', sans-serif;
}
header, header * {
  font-family: inherit;
}

/* メニューオープン時のスクロール防止 */
body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* html要素制御（モバイル対応） */
html:has(body.menu-open) {
  overflow: hidden !important;
}

/* iOS Safari対策 */
@supports (-webkit-touch-callout: none) {
  body.menu-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden !important;
  }
}

.br_sp,.br_tb,.br_400{
  display: none;
}

.pc_br{
  display: block;
}

@media(750px < width <= 1100px){
  .br_tb{
  display: block;
}
.br_sp,.br_pc,.br_400{
  display: none;
}
}

@media(width <= 750px){
  .br_sp{
    display: block;
  }
  .pc_br,.br_tb,.br_400{
  display: none;
}
}
@media(width <= 420px){
   .br_400{
    display: block;
  }
  .pc_br,.br_tb{
  display: none;
}
}

/* ===============================
   ヘッダー
=============================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-family: 'Noto Sans JP', sans-serif;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.header-logo {
  margin-right: auto;
}
.header-logo img {
  width: 200px;
  height: 38px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  height: 20px;
  margin-right: 30px;
  width: auto;
}
.header-nav ul {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}
.header-nav li {
  display: flex;
  align-items: center;
  height: 100%;
}
.header-nav li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  background-color: #000;
  margin: 0 12px;
}
.header-nav li:last-child::after {
  content: none;
  margin: 0;
}
.header-nav a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.header-cta {
  width: 140px;
  height: 80px;
  background: linear-gradient(to right, #0a65a6, #034b80);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.header-cta a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  box-sizing: border-box;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-header__hamburger {
  z-index: 100;
  position: absolute;
  top: 0;
  right: 0;
  width: 95px;
  height: 100%;
}
.c-hamburger {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  border: transparent;
  background-color: transparent;
  cursor: pointer;
}
.c-hamburger span {
  display: block;
  position: relative;
  left: 50%;
  width: 24px;
  height: 2px;
  transform: translateX(-50%);
  background: #fff;
  transition: all 0.4s;
}

.c-hamburger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}
.c-hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}
.c-hamburger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}

@media screen and (max-width: 1300px) {
  .header-nav {
    width: 850px;
    margin-right: 0;
    padding-right: 0;
  }
  .header-nav a {
    font-size: 16px;
  }
  .header-nav li:not(:last-child)::after {
    margin: 0 8px;
  }
  .header-inner {
    justify-content: flex-start;
  }
  .header-nav {
    margin-left: 60px;
  }
  .header-cta {
    margin-left: auto;
  }
}

@media screen and (750px < width <= 1210px){
  .header-inner{
    padding: 0;
    width: 99%;
    margin: 0 auto;
  }
  .header-logo{
    width: 16.53vw;
  }
  .header-logo img{
    width: 100%;
    height: auto;
  }
  .header-nav {
    width: auto;
  }
   .header-nav {
    margin-left: auto;
  }
  .header-nav a {
    font-size: 1.32vw;
  }
  .header-cta{
    width: 11.57vw;
  }
  .header-cta a{
    font-size: 1.32vw;
  }
}

.header-nav a:hover {
  opacity: 0.2;
  transition: opacity 0.2s ease;
}
.header-cta a:hover {
  opacity: 0.2;
  background: linear-gradient(to right, #06528d, #023b67);
  transition: background 0.2s ease, opacity 0.2s ease;
}

@media screen and (max-width: 750px) {
  .header-inner{
    padding: 0;
    padding-left: 20px;
  }
  .site-header {
    height: 100px;
  }
  .header-logo img {
    width: 287.6074px;
    height: auto;
    margin: 0;
  }
  .header-nav {
    display: none !important;
  }
  .header-cta {
    width: 100px;
    height: 100px;
    margin: 0;
  }
  .header-cta a {
    font-size: 18px;
    padding: 0;
  }
  .p-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #000;
    margin: 0;
    z-index: 1001;
  }
  .c-hamburger {
    width: 52px;
    height: 30px;
    margin: 0 auto;
    position: relative;
  }
  .c-hamburger span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 51.9089px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
  }
  .c-hamburger span:nth-of-type(1) { top: 0; }
  .c-hamburger span:nth-of-type(2) { top: 50%; transform: translate(-50%, -50%); }
  .c-hamburger span:nth-of-type(3) { bottom:0; }

  .c-hamburger.is-active span:nth-of-type(1) {
    top: 10px;
    transform: translateX(-50%) rotate(45deg);
  }
  .c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
  }
  .c-hamburger.is-active span:nth-of-type(3) {
    top: 10px;
    transform: translateX(-50%) rotate(-45deg);
  }
}

@media screen and (max-width: 560px){
  .site-header {
    height: 17.86vw;
  }
  .header-logo img{
    width: 51.25vw;
  }
  .header-cta,
  .p-header__hamburger{
    width: 17.86vw;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .header-cta a {
    font-size: 3.21vw;
  }
  .site-header .c-hamburger{
    width: 9.29vw;
    height: auto;
    aspect-ratio: 52 / 41;
  }
  .site-header .c-hamburger span {
    width: 9.29vw;
    aspect-ratio: 52 / 3;
  }
}

.sp-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.sp-nav.is-active {
  display: flex;
}

.sp-nav__list li {
  margin: 50px 0;
}
.sp-nav__list a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
}

@media screen and (max-width: 560px){
  .sp-nav__list li {
    margin: 3.12rem 0;
  }
  .sp-nav__list a {
    font-size: var(--f20);
  }
}

html {
  scroll-behavior: smooth;
}

@media screen and (min-width: 751px) {
  .p-header__hamburger {
    display: none;
  }
}



@media screen and (max-width: 750px) {
  /* ハンバーガー三本線全体 */
  .c-hamburger {
    position: relative;
    width: 52px;
    height: 41px; /* 3px × 3本 + 19px × 2 = 41px */
    margin: 0 auto;
  }

  .c-hamburger span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 51.9089px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  /* 三本線の位置調整（スキマ19px・上方向に微調整） */

.c-hamburger.is-active span:nth-of-type(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}
.c-hamburger.is-active span:nth-of-type(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}



  /* ハンバーガークリック時の変形 */
  .c-hamburger.is-active span:nth-of-type(1) {
    top: 11px;
    transform: translateX(-50%) rotate(45deg);
  }

  .c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
  }

  .c-hamburger.is-active span:nth-of-type(3) {
    top: 11px;
    transform: translateX(-50%) rotate(-45deg);
  }

  /* ヘッダー内配置 */
  .header-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
  }

  /* 資料請求ボタンの位置調整（ハンバーガー分だけ左にずらす） */
  .header-cta {
    order: 1;
    margin-right: 100px;
    z-index: 2;
  }

  .p-header__hamburger {
    order: 2;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media screen and (max-width: 560px){
  .header-cta {
    margin-right: 17.86vw;
  }
}
