@charset "UTF-8";
/* リセット & 共通設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "YuGothic", sans-serif;
  line-height: 1.6;
  color: #333;
}
/* フォントサイズ */
html {
  font-size: max(100%, 14px);
}
@media (max-width: 400px) {
  html {
    font-size: max(3.333vw, 12px);
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: max(1.1713030747vw, 14px);
  }
}
@media (min-width: 1366px) {
  html {
    font-size: max(100%, 14px);
  }
}

@media screen and (min-width: 768px) {
  a,
  button {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  a:hover,
  button:hover {
    opacity: 0.7;
    cursor: pointer;
  }
}
/* 余白の調整 */

.l-inner {
  width: 100%;
  padding-right: 1.875rem;
  padding-left: 1.875rem;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 102.5rem;
    padding-right: 6.25rem;
    padding-left: 6.25rem;
  }
}

.l-main {
  padding: 3.75rem 0;
  /* margin-top: 3.75rem; */
}
@media screen and (min-width: 768px) {
  .l-main {
    padding: 5rem 0;
    /* margin-top: 4.625rem; */
  }
}

h1,
h2,
h3,
h4 {
  color: #111;
}
a {
  text-decoration: none;
  color: inherit;
}
:root {
  --color-main: #154fa4;
  --color-accent: linear-gradient(180deg, #980404 0%, #660000 100%);
  --color-gradient: linear-gradient(180deg, #61b8ff 0%, #9ed4ff 100%);
}
.display_flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ゆっくり遷移する */
html {
  scroll-behavior: smooth;
}

/* //--------------------------- 
/*  ヘッダー
/* ---------------------------// */
header h1 {
  width: 20rem;
}
.header_inner {
  width: 96%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}
header h1 img {
  display: block;
}
header {
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
/* --- デフォルト（＝他ページ）: 白背景 + 影 --- */
#site-header {
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* --- トップページ(.home)だけ：初期は透明＆影ナシ --- */
.home #site-header {
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
}
/* --- トップページでヒーローを過ぎたら白背景へ --- */
.home #site-header.is-solid {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ロゴのフェード（切替時に自然に） */
.site-logo {
  transition: opacity 0.2s ease;
}
.header_entry_btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  background: linear-gradient(180deg, #ca3333 0%, #660000 100%);
  color: #fff;
  font-weight: bold;
  transition: background 0.3s ease;
  position: relative;
}
.header_entry_btn span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 48%;
  right: 8%;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s ease;
}
@media (max-width: 480px) {
  #site-header {
    padding: 12px 6px;
  }
  .header_inner {
    width: 100%;
  }
  header h1 {
    width: 14rem;
  }
  .header_entry_btn {
    font-size: 0.75rem;
    padding: 0.75rem 1.75rem;
  }
  .header_entry_btn span::after {
    right: 5%;
  }
}
/* //--------------------------- 
/*  パンくずリスト */
/* ---------------------------// */
.bread-crumbs {
  position: relative;
  padding: 6px;
  z-index: 1;
}

.breadcrumb {
  overflow: visible;
  max-width: 1200px;
  width: 100%;
  padding: 0.625rem;
  margin: 2.5rem auto 0;
  white-space: normal;
}

.breadcrumb li {
  display: inline;
  list-style: none;
  font-size: 12px;
}

.breadcrumb li:last-child span {
  font-weight: bold;
  color: #7b8083;
}

.breadcrumb li:after {
  content: ">";
  padding: 0 8px;
  color: rgb(151, 151, 151);
}

.breadcrumb li:last-child:after {
  content: "";
}

.breadcrumb li a {
  text-decoration: none;
  color: rgb(168, 168, 168);
}

.breadcrumb li:last-child a {
  pointer-events: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.fas .fa-home {
  font-weight: normal;
  font-size: 1em;
  color: #2e7fea;
}

@media (max-width: 1176px) {
  .breadcrumb {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    margin: 2.5rem auto 0;
  }
  .breadcrumb li {
    font-size: 11px;
  }
}
/* //--------------------------- 
/*  フッター */
/* ---------------------------// */
footer {
  background-color: #0f1524;
  padding: 2.5rem 0;
}
.copyright {
  color: #ffffff;
  font-size: 79%;
  text-align: center;
}
@media (max-width: 480px) {
  .footer_logo_wrap p {
    display: none;
  }
  #f_navi {
    padding: 24px 0 40px;
  }
  #f_navi ul {
    grid-template-areas:
      "fNav1 fNav2"
      "fNav3 fNav4"
      "fNav5 fNav6"
      "fNav7 fNav8";
    column-gap: 1em;
    row-gap: 1em;
    padding: 0;
    justify-content: center;
  }
}
