@charset "UTF-8";
/* CSS Document */

html {
  font-size: 62.5%;
  height: -webkit-fill-available;

  scroll-behavior: smooth;
}
body {
  color: #252525;

  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  line-height: 2;
  -webkit-text-size-adjust: 100%;
}

/* RESET */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
}
button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}
input[type="radio"] {
  display: none;
}
input[type="radio"]:checked + label {
  background: #ff0000;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}
img,
figure,
figcaption {
  border: 0;
  vertical-align: top;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #141414;
  text-decoration: none;
  display: inline-block;
}
p {
}
ul,
ol,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
table {
  width: 100%;
  border: none;
}
tbody {
  border-top: 0px;
}
th,
tbody th {
  padding-right: 0em;
  border-bottom: none;
}
input {
  -webkit-appearance: none;
}
.pc {
  display: inline;
}
.sp {
  display: none;
}

/* CONTENT */
.inner {
  padding: 0 5.33%;
}
main section:not(.Head):not(.full) {
  padding: 56px 0;
}
main section:not(.Head):not(.full).bottom {
  padding-bottom: 24px;
}

/*SP
-------------------------------------------------------*/
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: inline;
  }
}

/*PC
-------------------------------------------------------*/
@media print, screen and (min-width: 768px) {
  a,
  a:hover,
  a *,
  a:hover *,
  a::before,
  a:hover::before,
  a::after,
  a:hover::after,
  .slick-arrow {
    transition:
      border 0.3s ease-out,
      background 0.3s ease-out,
      color 0.3s ease-out,
      opacity 0.3s ease-out;
  }
  a:hover {
    color: rgba(0, 71, 157, 0.7);
  }
  a:hover img {
    opacity: 0.6;
  }

  /* CONTENT */
  main section:not(.Head):not(.full) {
    padding: 136px 0;
  }
  main section:not(.Head):not(.full).bottom {
    padding-bottom: 40px;
  }
  .inner {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
  }
}

/* ==========================================================================
   共通・基本設定
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   PCベース（961px以上）のヘッダースタイル
   ========================================================================== */
.siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(
    0deg,
    rgba(1, 39, 84, 0) 0%,
    rgba(1, 39, 84, 0.9) 100%
  );
  background-blend-mode: multiply;
  height: 157px;
  transition:
    background 0.4s ease,
    height 0.4s ease,
    box-shadow 0.4s ease;
}

/* ★スクロール時のスタイル（PC） */
.siteHeader.is-scrolled {
  background: #ffffff;
  background-blend-mode: normal;
  height: 66px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* コンテナ調整 */
.headerContainer {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴのサイズ・滑らかな切り替え制御 */
.siteHeader .Logo a {
  display: block;
  position: relative;
}
.siteHeader .Logo img {
  display: block;
  width: 243px; /* スクロール前 */
  height: auto;
  transition:
    width 0.4s ease,
    opacity 0.4s ease,
    visibility 0.4s ease;
}
/* 2枚のロゴを重ねて滑らかに切り替える設定 */
.siteHeader .Logo .logo-default {
  opacity: 1;
  visibility: visible;
}
.siteHeader .Logo .logo-scrolled {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
}

/* ★スクロール時のロゴ切り替え */
.siteHeader.is-scrolled .Logo img {
  width: 125px; /* スクロール後 */
}
.siteHeader.is-scrolled .Logo .logo-default {
  opacity: 0;
  visibility: hidden;
}
.siteHeader.is-scrolled .Logo .logo-scrolled {
  opacity: 1;
  visibility: visible;
}

/* ナビゲーションレイアウト */
#NavWrap {
  display: flex;
  align-items: center;
}
.flexNav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.Nav ul {
  display: flex;
  align-items: center;
  gap: 2em;
}
.Nav a {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

@media print, screen and (min-width: 768px) {
  .Nav a:hover {
    opacity: 0.7;
  }
}

/* ★スクロール時のナビ文字色 */
.siteHeader.is-scrolled .Nav a {
  color: #00479d;
}

@media print, screen and (min-width: 768px) {
  .siteHeader.is-scrolled .Nav a:hover {
    color: rgba(0, 71, 157, 0.7);
    opacity: 1;
  }
}

/* ボタンエリア（EE通信 / お問合せ） */
.headerAction {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btnContact {
  display: block;
}
.btnContact a {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ★テキストを左寄せに */
  position: relative;
  width: 140px;
  height: 35px;
  border-radius: 100vh;
  font-size: 14px;
  font-weight: 700;
  padding-left: 20px; /* 左寄せ時の文字位置微調整 */
  padding-right: 35px; /* 右側矢印のためのスペース */
  transition: all 0.3s ease;
}

/* ★矢印アイコンを画像に変更 */
.btnContact a .arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition:
    transform 0.3s ease,
    background-image 0.3s ease;
}

@media print, screen and (min-width: 768px) {
  .btnContact a:hover .arrow {
    transform: translate(3px, -50%); /* ホバー時に少し右に動く */
  }
}

/* --- ボタン出し分け（スクロール前） --- */
/* EE通信：白背景×青文字 */
.type-communication a {
  background: #ffffff;
  color: #00479d;
  border: 1px solid #ffffff;
}
.type-communication a .arrow {
  background-image: url("/images/common/arrow_blue.svg"); /* 青い矢印画像 */
}

@media print, screen and (min-width: 768px) {
  /* EE通信ホバー */
  .type-communication a:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
  }
  .type-communication a:hover .arrow {
    background-image: url("/images/common/arrow_white.svg"); /* 白い矢印画像に変える */
  }
}

/* お問合せ：青背景×白文字 */
.type-inquiry a {
  background: #00479d;
  color: #ffffff;
  border: 1px solid #00479d;
}
.type-inquiry a .arrow {
  background-image: url("/images/common/arrow_white.svg"); /* 白い矢印画像 */
}

@media print, screen and (min-width: 768px) {
  /* お問合せホバー */
  .type-inquiry a:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
  }
  .type-inquiry a:hover .arrow {
    background-image: url("/images/common/arrow_white.svg");
  }
}

/* --- ボタン出し分け（スクロール後） --- */
/* EE通信 */
.siteHeader.is-scrolled .type-communication a {
  background: transparent;
  color: #00479d;
  border: 1px solid #00479d;
}
.siteHeader.is-scrolled .type-communication a .arrow {
  background-image: url("/images/common/arrow_blue.svg");
}

@media print, screen and (min-width: 768px) {
  .siteHeader.is-scrolled .type-communication a:hover {
    background: #00479d;
    color: #ffffff;
  }
  .siteHeader.is-scrolled .type-communication a:hover .arrow {
    background-image: url("/images/common/arrow_white.svg");
  }
}

/* お問合せ */
.siteHeader.is-scrolled .type-inquiry a {
  background: #00479d;
  color: #ffffff;
  border: 1px solid #00479d;
}
.siteHeader.is-scrolled .type-inquiry a .arrow {
  background-image: url("/images/common/arrow_white.svg");
}

@media print, screen and (min-width: 768px) {
  .siteHeader.is-scrolled .type-inquiry a:hover {
    background: #0067ce;
    border-color: #0067ce;
  }
}

/* PCではハンバーガーを非表示 */
.Toggle {
  display: none;
}

/* ==========================================================================
   SP・タブレット向けレスポンシブ（960px以下）
   ========================================================================== */
@media screen and (max-width: 960px) {
  .siteHeader {
    height: 70px;
    background: linear-gradient(
      0deg,
      rgba(1, 39, 84, 0) 0%,
      rgba(1, 39, 84, 0.8) 100%
    );
  }
  .siteHeader.is-scrolled {
    height: 60px;
  }

  /* ★左右の余白を他のコンテンツの .inner (5.33%) に合わせる */
  .headerContainer {
    padding: 0 5.33%;
  }

  /* ★SPは最初から最後までロゴサイズを 120px に固定 */
  .siteHeader .Logo img {
    width: 120px;
  }
  .siteHeader.is-scrolled .Logo img {
    width: 120px;
  }
  .siteHeader .Logo .logo-scrolled {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  /* ハンバーガーボタン */
  .Toggle {
    display: block;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
    z-index: 1100;
    margin-right: -10px; /* ボタンの反応領域の余白を相殺して右端にピッタリ合わせる */
  }
  .Toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      background-color 0.3s ease;
  }
  .Toggle span:nth-child(1) {
    top: 14px;
  }
  .Toggle span:nth-child(2) {
    top: 21px;
  }
  .Toggle span:nth-child(3) {
    top: 28px;
  }

  .siteHeader.is-scrolled .Toggle span {
    background-color: #00479d;
  }
  .Toggle.isActive span {
    background-color: #ffffff !important;
  }
  .Toggle.isActive span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .Toggle.isActive span:nth-child(2) {
    opacity: 0;
  }
  .Toggle.isActive span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ドロワーメニュー */
  .flexNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh;
    background: linear-gradient(262.99deg, #004292 0%, #000a17 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 40px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.4s ease,
      right 0.4s ease,
      visibility 0.4s ease;
  }
  .flexNav.isActive {
    right: 0;
    opacity: 1;
    visibility: visible;
  }

  .Nav ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .Nav a {
    font-size: 20px;
    letter-spacing: 0.1em;
    color: #ffffff !important;
  }

  /* ★ドロワー内のボタン潰れ・レイアウト修正 */
  .headerAction {
    flex-direction: column;
    width: 100%;
    max-width: 240px;
    gap: 20px;
  }
  .btnContact {
    width: 100%;
  }
  .btnContact a {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* SPでもテキスト左寄せを維持 */
    width: 100%;
    height: 48px; /* 潰れないように高さをしっかり確保 */
    font-size: 15px;
    padding-left: 32px;
    padding-right: 32px;
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
  }
  /* ドロワー内通常時の矢印（白） */
  .btnContact a .arrow {
    background-image: url("/images/common/arrow_white.svg") !important;
    transform: translateY(-50%) !important;
    right: 32px;
  }

  /* ドロワー内ホバー時 */
  .btnContact a:hover {
    background: #ffffff !important;
    color: #00479d !important;
  }
  .btnContact a:hover .arrow {
    background-image: url("/images/common/arrow_blue.svg") !important;
    transform: translate(3px, -50%) !important;
  }
}

/* ==========================================================================
   ページ内ジャンプの位置ズレ補正（scroll-margin）
   ========================================================================== */

/* 961px未満（スマホ・タブレット）：ヘッダー高さ70px分を考慮して手前で止める */
[id] {
  scroll-margin-top: 60px;
}

/* 961px以上（PC）：ヘッダー高さ66px分を考慮して手前で止める */
@media screen and (min-width: 961px) {
  [id] {
    scroll-margin-top: 66px;
  }
}

/* ==========================================
   FOOTER (共通・ベーススタイル)
========================================== */
#Footer {
  background: linear-gradient(262.99deg, #004292 0%, #000a17 100%);
  color: #ffffff;
  font-family: sans-serif;
}

#Footer .fWrap {
  padding: 56px 0 24px 0;
  overflow: hidden;
}

#Footer .Logo a {
  display: block;
  max-width: 200px;
}

#Footer .Logo img {
  width: 100%;
  height: auto;
}

#Footer .fAddress {
}

#Footer .fAddress a {
  color: #ffffff;
  text-decoration: none;
}

#Footer .fMenu ul a {
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

/* --- ボタンエリア共通設定 --- */
#Footer .fBtns {
  display: flex;
  gap: 12px;
  width: 100%; /* SPではみ出さないためのベース設定 */
  box-sizing: border-box;
}

#Footer .fBtns a {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ★テキストを左寄せ */
  position: relative;
  height: 56px; /* ★高さを56pxに変更 */
  border-radius: 100vh; /* カプセル型に */
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  padding-left: 40px; /* Figmaデザインに基づいた左余白 */
  padding-right: 40px; /* 矢印と被らないための右余白 */
  transition:
    opacity 0.3s,
    background-color 0.3s,
    color 0.3s;
}

/* ★矢印アイコンの画像化共通設定 */
#Footer .fBtns a::after {
  content: "";
  position: absolute;
  right: 40px; /* 右余白を40pxに設定して、テキストと矢印の間隔を確保 */
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

@media print, screen and (min-width: 768px) {
  #Footer .fBtns a:hover::after {
    transform: translate(3px, -50%); /* ホバー時に矢印を少し右に動かす */
  }
}

/* EE通信ボタン（透過・白枠） */
#Footer .fBtns .btn-ee {
  border: 1px solid #ffffff;
  color: #ffffff;
}
#Footer .fBtns .btn-ee::after {
  background-image: url("/images/common/arrow_white.svg"); /* 白い矢印画像 */
}

/* お問合せボタン（白背景・青文字） */
#Footer .fBtns .btn-contact {
  background: #ffffff;
  color: #004292;
}
#Footer .fBtns .btn-contact::after {
  background-image: url("/images/common/arrow_blue.svg"); /* 青い矢印画像 */
}

#Footer .Copy {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ==========================================
   SP用レイアウト (767px以下)
========================================== */
@media screen and (max-width: 767px) {
  #Footer .inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  #Footer .logoWrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  #Footer .fMenu {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 32px 0;
  }

  #Footer .fMenu ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  #Footer .fRightContent {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  /* ★SPでボタンがはみ出さないように調整 */
  #Footer .fBtns {
    justify-content: space-between;
    width: 100%;
  }
  #Footer .fBtns a {
    width: 240px; /* 320pxから240pxに絞る */
    max-width: 100%;
    margin: 0 auto; /* 中央寄せ */
    height: 50px;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex; /* テキストと矢印の配置用 */
    justify-content: space-between;
    align-items: center;
  }
  #Footer .fBtns a::after {
    right: 24px;
  }

  #Footer .Copy {
    text-align: center;
  }
}

/* ==========================================
   PC用レイアウト (768px以上)
========================================== */
@media screen and (min-width: 768px) {
  #Footer .fWrap {
    padding: 101px 0 88px 0;
  }

  #Footer .inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 30px;
  }

  /* 左側：ロゴと住所の間隔 */
  #Footer .logoWrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* 右側全体の縦並びと、要素ごとの間隔 */
  #Footer .fRightContent {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
  }

  /* メニューの横並び */
  #Footer .fMenu ul {
    display: flex;
    gap: 3em;
    /* gap: 32px; */
  }

  /* ★PCサイズでのボタン幅・高さを適用 */
  #Footer .fBtns {
    width: auto;
  }
  #Footer .fBtns .btn-ee {
    width: 178px;
  }
  #Footer .fBtns .btn-contact {
    width: 190px;
  }

  #Footer .fBtns .btn-ee:hover {
    background: #ffffff;
    color: #00479d;
  }
  /* ホバー時は「青い矢印」に切り替え */
  #Footer .fBtns .btn-ee:hover::after {
    background-image: url("/images/common/arrow_blue.svg");
  }

  #Footer .fBtns .btn-contact:hover {
    background: #0067ce;
    color: #ffffff;
  }
  /* ホバー時は「白い矢印」に切り替え */
  #Footer .fBtns .btn-contact:hover::after {
    background-image: url("/images/common/arrow_white.svg");
  }

  /* コピーライト */
  #Footer .Copy {
    text-align: right;
    margin-top: 25px;
  }
}

/* --- Modal Styles --- */
.galleryImageModal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s;
  pointer-events: none;
}

.galleryImageModal.modalVisible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modalContent {
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modalClose {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
}

@media print, screen and (min-width: 768px) {
  .modalClose:hover {
    opacity: 1;
  }
}

img.modalTrigger {
  cursor: pointer;
}
