@charset "utf-8";

/* ============================================================
   CSS Variables
============================================================ */
:root {
  --color-navy:      #03407a;
  --color-white:     #ffffff;
  --color-black:     #000000;
  --color-gray:      #f5f5f5;
  --color-gray-mid:  #cccccc;
  --color-text:      #333333;
  --side-nav-width:  150px;
  --font-sans:       "Noto Sans JP", sans-serif;
  --font-serif:      "Zen Old Mincho", serif;
  --transition:      0.2s ease;
  --bp-sp:           1024px;
}

/* ============================================================
   Clearfix
============================================================ */
.clearfix:after {
	content				: "" ;
	display				: block ;
	clear				: both ;
}

.clearfix	{
	display				: block ;
}

/* Hides from IE-mac \*/
* html .clearfix { height : 1% ; }
/* End hide from IE-mac */

/* ============================================================
   Base
============================================================ */
html	{
	background		: none ;
	position		: relative ;
	width			: 100% ;
	height			: 100% ;
	margin: 0;
	padding: 0;
}

body {
  width: calc(100% - var(--side-nav-width));
  padding: 0;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  -webkit-text-size-adjust: 100%;
  position: relative;
  overflow-x: hidden;
  background-color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================================
   Layout
============================================================ */
#main {
  width: 100%;
}

/* ============================================================
   Side Nav
============================================================ */
#side-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--side-nav-width);
  height: 100vh;
  background-color: var(--color-navy);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

/* ナビリスト：6項目＋電話エリアで7等分 */
.side-nav__nav {
  flex: 6;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.side-nav__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.side-nav__item {
  flex: 1;
  display: flex;        /* ← 追加：子のaタグを100%幅に */
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.side-nav__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); /* 電話エリアとの境界線 */
}

.side-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;          /* ← 親がflexなので確実に100%が効く */
  height: 100%;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background-color var(--transition), opacity var(--transition);
}

.side-nav__link:hover,
.side-nav__link.is-active {
  background-color: rgba(255, 255, 255, 0.12);
}

.side-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.side-nav__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-nav__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* 電話エリア：7分の1 */
.side-nav__tel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--color-white);
  font-weight: 500;
  text-align: center;
  padding: 8px 6px;
  min-height: 0;
}

.side-nav__tel .side-nav__icon {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

.side-nav__tel-label {
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.side-nav__tel-hours {
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.side-nav__tel-closed {
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.side-nav__tel-number {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--color-white);
  white-space: nowrap;
  transition: opacity var(--transition);
}

.side-nav__tel-number:hover {
  opacity: 0.8;
}



/* ============================================================
   CTA：お問い合わせ（全ページ共通）
============================================================ */
#cta {
  padding: 60px 40px;
}
 
.cta__inner {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;  /* center → stretch */
  border: 1px solid #03407a;
  border-radius: 16px;
  background: #fff;
  padding: 32px 40px;
}

.cta__text {
  flex: 1;
  padding-right: 32px;
  border-right: 1px solid #03407a;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* 追加：縦中央揃え */
}
 
.cta__catch {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 24px;
  color: #03407a;
  line-height: 1.5;
  margin: 0 0 12px;
}
 
.cta__desc {
  font-size: 16px;
  font-weight: 400;
  color: #03407a;
  margin: 0;
}
 
/* 中央：アイコン3つ */
.cta__icons {
  display: flex;
  align-items: stretch;
  padding: 0;
  border-right: 1px solid #03407a;
  overflow: hidden;  /* 追加 */
}

.cta__icon-item {
  width: 172px;
  flex-shrink: 1;  /* 0→1に変更 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.cta__icon-item + .cta__icon-item {
  border-left: 1px solid #03407a;
}
 
.cta__icon-item img {
  width: 70px;
  object-fit: contain;
  margin-bottom: 8px;
}
 
.cta__icon-label {
  font-size: 18px;
  font-weight: 400;
  color: #03407a;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
 
/* 右：ボタン＋電話 */
.cta__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 32px;
  flex-shrink: 0;
}
 
.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  height: 48px;
  background-color: #f39800;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity var(--transition);
}
 
.cta__btn:hover {
  opacity: 0.85;
}
 
.cta__btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
 
.cta__tel-wrap {
  text-align: center;
}
 
.cta__tel-label {
  font-size: 12px;
  font-weight: 400;
  color: #333;
  margin: 0 0 4px;
}
 
.cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 28px;
  font-weight: 700;
  color: #03407a;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 4px;
  transition: opacity var(--transition);
}
 
.cta__tel:hover {
  opacity: 0.8;
}
 
.cta__tel img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
 
.cta__tel-hours {
  font-size: 12px;
  font-weight: 400;
  color: #333;
  margin: 0;
  white-space: nowrap;
}


/* ============================================================
   Footer（全ページ共通）
============================================================ */
#footer {
  background-color: #f3f7fa;
}
 
/* イラスト */
.footer__illu {
  background-color: #fff;
  display: flex;
  justify-content: flex-end;
  padding: 0 40px;
}
 
.footer__illu img {
  width: 280px;
  height: auto;
}
 
/* フッター本体 */
.footer__body {
  padding: 24px 40px;
}
 
.footer__inner {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
 
.footer__logo {
  flex-shrink: 0;
  margin-right: 48px;
}
 
.footer__logo img {
  width: 120px;
  height: auto;
}
 
.footer__nav {
  display: flex;
  align-items: center;
  flex: 1;
}
 
.footer__nav-link {
  font-size: 15px;
  font-weight: 400;
  color: #03407a;
  text-decoration: none;
  transition: opacity var(--transition);
}
 
.footer__nav-link:hover {
  opacity: 0.7;
}
 
.footer__nav-sep {
  font-size: 15px;
  color: #03407a;
  margin: 0 16px;
}
 
.footer__copy {
  font-size: 14px;
  font-weight: 400;
  color: #03407a;
  margin: 0;
  flex-shrink: 0;
}
/* SNSアイコン */
.footer__sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}

.footer__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: #fff;
  font-size: 18px;
  transition: opacity var(--transition);
}

.footer__sns-link:hover {
  opacity: 0.75;
}



/* ============================================================
   SP Header（SPのみ表示）
============================================================ */
#sp-header {
  display: none; /* PCでは非表示 */
}


/* ============================================================
   SP Overlay Menu
============================================================ */
.sp-overlay {
  display: none; /* PCでは非表示 */
}


/* ============================================================
   @media SP（1024px以下）
============================================================ */
@media (max-width: 1024px) {

  /* ---- Body ---- */
  body {
    width: 100%;
    padding-right: 0;
  }

  /* ---- Side Nav：非表示 ---- */
  #side-nav {
    display: none;
  }

  /* ---- SP Header ---- */
  #sp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: static; /* fixedを解除 */
    width: 100%;
    height: 60px;
    background-color: #fff;
    padding: 0 16px;
    box-sizing: border-box;
    z-index: 1100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .sp-header__logo img {
    width: 100px;
    height: auto;
    display: block;
  }

  /* ---- ハンバーガーボタン ---- */
  .sp-hamburger {
    position: fixed;
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.85); /* 透過白背景 */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 4px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .sp-hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  /* 開いた状態：×に変形 */
  .sp-hamburger.is-open .sp-hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .sp-hamburger.is-open .sp-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .sp-hamburger.is-open .sp-hamburger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* ---- SPオーバーレイメニュー ---- */
  .sp-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 64, 122, 0.92); /* 透過ネイビー */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
    padding: 80px 32px 48px;
    box-sizing: border-box;
  }

  .sp-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* 閉じるボタン */
  .sp-overlay__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .sp-overlay__close-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
  }

  .sp-overlay__close-line:nth-child(1) {
    transform: translateY(1px) rotate(45deg);
  }

  .sp-overlay__close-line:nth-child(2) {
    transform: translateY(-1px) rotate(-45deg);
  }

  .sp-overlay__nav {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .sp-overlay__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .sp-overlay__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sp-overlay__item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sp-overlay__link {
    display: flex;
    align-items: center;
    padding: 18px 0;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .sp-overlay__link:hover {
    opacity: 0.7;
  }

  .sp-overlay__label {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.05em;
  }

  /* 子メニュー */
  .sp-overlay__child {
    padding: 0 0 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .sp-overlay__child-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sp-overlay__child-link {
    display: block;
    padding: 12px 0 12px 12px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    position: relative;
    transition: opacity 0.2s ease;
  }

  .sp-overlay__child-link::before {
    content: "－";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
  }

  .sp-overlay__child-link:hover {
    opacity: 0.7;
  }

  .sp-overlay__tel {
    margin-top: 40px;
    text-align: center;
  }

  .sp-overlay__tel-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px;
  }

  .sp-overlay__tel-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .sp-overlay__tel-number:hover {
    opacity: 0.8;
  }

  /* ---- CTA ---- */
  #cta {
    padding: 40px 20px;
  }

  .cta__inner {
    flex-direction: column;
    padding: 24px 20px;
    gap: 24px;
  }

  .cta__text {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #03407a;
    padding-bottom: 24px;
  }

  .cta__catch {
    font-size: 20px;
  }

  .cta__icons {
    border-right: none;
    border-bottom: 1px solid #03407a;
    padding-bottom: 24px;
    justify-content: center;
    width: 100%;
  }

  .cta__icon-item {
    width: auto;
    flex: 1;
    padding: 0 12px;
  }

  .cta__contact {
    padding-left: 0;
    width: 100%;
    align-items: center;
  }

  .cta__btn {
    width: 100%;
    max-width: 280px;
  }

  /* ---- Footer ---- */
  .footer__illu {
    padding: 0 20px;
  }

  .footer__illu img {
    width: 180px;
  }

  .footer__body {
    padding: 20px 20px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__logo {
    margin-right: 0;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .footer__copy {
    margin-top: 4px;
  }
  .footer__nav {
    flex-wrap: wrap;
    gap: 4px 0;
    align-items: center;
  }

  .footer__sns {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }



} /* end @media 1024px */


@media screen and (min-width: 1025px) {
/*　画面サイズが769pxからはここを読み込む　*/
.spbr{
	display: none;
}
}