@charset "UTF-8";
/* CSS Document */
body {
  font-family: "iroha-26tubaki-stdn", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #0068B7;
  background-color: #000; /* fallback */
  position: relative;
  z-index: 0;
}

/* 擬似要素で背景を固定化 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/backimg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: -1;
  transform: translateZ(0); /* iOSレンダリング安定化 */
}

.text-white {
    color: #FFFFFF;
}
.bg-white {
    background-color: #FFFFFF;
}
.bg-blue {
    background-color: #004D87;
}
.line-b {
    border-bottom: 1px solid #0068B7;
}
.h-100vh {
    height: 100vh;   /* 旧ブラウザ用フォールバック */
   height: 100lvh;
}
.logo,.banner {
    max-width: 500px;
    width: 100%;
}
.waku {
    background-color: #E6F0F8;
}
.safe {
    font-size: clamp(0.9em, 2.5vw, 1.35em);
}
a img.banner:hover {
    transform: scale(1.1);
    transition: 0.3s;
    opacity: 0.7;
}
h1 {
  font-size: clamp(1.75em, 7vw, 4.75em);
     line-height: 1.5em;
}
h2 {
  font-size: clamp(1.75em, 7vw, 3.25em);
     line-height: 1.5em;
}
h3 {
  font-size: clamp(1.25em, 5vw, 2.7em);
     line-height: 1.5em;
}
h4 {
  font-size: clamp(1.25em, 5vw, 2.5em);
    line-height: 1.5em;
}
p {
  font-size: clamp(0.9em, 2.5vw, 1.4em);
  line-height: 2em;
  letter-spacing: 3px;
}
ul.streach {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
ul.streach li {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    list-style-type: none;
    width: 20%;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}
ul.streach li p {
    font-size: clamp(0.7em, 2.5vw, 1.2em);
    line-height: 2em;
    letter-spacing: 0px;
    margin-top: 5px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
     line-height: 1.25em;
}
.btn-box {
    position: relative;
    font-size: clamp(1em, 2.5vw, 1.2em);
    background-color: #034C83;
    color: #FFFFFF;
    border-radius: 0px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    width: 100%;
    max-width: 500px;
    transition: .4s cubic-bezier(0.37, 0, 0.63, 1);
}
.btn-box:after {
    transition: .4s cubic-bezier(0.37, 0, 0.63, 1);
    content: '';
    position: absolute;
    border-top: 1px solid #FFFFFF;
    top: 50%;
    right: 0px;
    width: 50px;
}
.btn-box:hover {
    background-color: #0065B1;
    color: #FFFFFF;
    letter-spacing: 0.15em;
}
.btn-box:hover:after {
    width: 70px;
}

.slick-center {
  opacity: 1;
  transform: scale(1.10);
    transition: .4s cubic-bezier(0.37, 0, 0.63, 1);
}
.slick01  {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.slick01 li {
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}
.slick01 li img {
    border: 1px solid #AEAEAE;
    transition: .4s cubic-bezier(0.37, 0, 0.63, 1);
}
.slick-prev, .slick-next {
position: absolute;
display: block;
height: 50px;
width: 50px;
line-height: 0px;
font-size: 0px;
cursor: pointer;
background: transparent;
color: transparent;
top: 50%;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
padding: 0;
border: none;
outline: none;
z-index: 2;
}
.slick-prev:before, .slick-next:before {
    font-family: "slick";
    font-size: 50px;
    line-height: 1;
    color: #707070;
    opacity: 0.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-prev {
left: 25px;
}
.slick-next {
right: 25px;
}
.gprev,
.gnext {
  display: none !important;
}
.sotowaku {
    border: 15px solid #FDFDFD;
    position: fixed;
    width: 100vw;
    height: 100vh;   /* 旧ブラウザ用フォールバック */
  height: 100lvh;
    pointer-events: none;
}
address {
    color: #000000;
    line-height: 2em;
}
address strong {
    color: #0068B7;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.75em, 5vw, 2.5em);
    line-height: 0em;
    padding-bottom: 0px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}
span.tel {
    color: #0068B7;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(0.7em, 5vw, 0.7em);
    border: 1px solid #0068B7;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    line-height: 1em;
    margin-right: 10px;
}
address span.add {
    border: 1px solid #000000;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}
.cr {
    font-size: clamp(0.7em, 5vw, 1em);
    color: #000000;
    letter-spacing: 0px;
    line-height: 1.25em;    
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.fade-stagger > * {
  opacity: 0;
  /* 600ms → 1200ms に、delay 600ms → 900ms に */
  animation-duration: 1200ms;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-name: none;                 /* 初期は再生しない */
  animation-delay: calc(var(--i) * 900ms);
}
.is-inview .fade-stagger > * {
  animation-name: fadeIn;
}
/* アクセシビリティ（動きを減らす設定の人にはアニメ無効） */
@media (prefers-reduced-motion: reduce) {
  .fade-stagger > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width:767.98px) {
.container,.container-fluid {
    padding-left: 25px;
    padding-right: 25px;
}
    ul.streach li {
    width: 33%;
}
    .slick01 li {
    padding: 10px;

}
    .logo {
    max-width: 230px;
    width: 100%;
}
    .sotowaku {
    display: none;
}
.waku-sp {
    border: 15px solid #FDFDFD;
    width: 100vw;
    height: 100%;   /* 旧ブラウザ用フォールバック */
}
}


/* -----------------------------------
   共通構造
----------------------------------- */
.cp_fullscreenmenu {
  position: fixed;
  z-index: 100;
  top: 25px;
  right: 30px;
}

/* ハンバーガーボタン */
.cp_fullscreenmenu .hamburger {
  position: relative;
  z-index: 120;
  width: 50px;
  height: 50px;
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 50%;
  background: #0068B7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease;
}
.cp_fullscreenmenu .hamburger > span {
  position: absolute;
  width: 18px;
  height: 3px;
  background: #fff;
  transition: all .4s ease;
  left: 16px;
}
.cp_fullscreenmenu .hamburger > span::before,
.cp_fullscreenmenu .hamburger > span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 3px;
  background: #fff;
  transition: all .4s ease;
  left: 0;
}
.cp_fullscreenmenu .hamburger > span::before { top: -8px; }
.cp_fullscreenmenu .hamburger > span::after { top: 8px; }

/* 開いた時のバー変形 */
html.menu-open .cp_fullscreenmenu .hamburger > span {
  transform: rotate(135deg);
}
html.menu-open .cp_fullscreenmenu .hamburger:hover > span {
  transform: rotate(225deg);
}
html.menu-open .cp_fullscreenmenu .hamburger > span::before {
  top: 0;
  transform: rotate(90deg);
}
html.menu-open .cp_fullscreenmenu .hamburger > span::after {
  top: 0;
  opacity: 0;
}
.cp_fullscreenmenu .hamburger:hover {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

/* -----------------------------------
   メニュー本体
----------------------------------- */
.cp_fullscreenmenu .menu {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  z-index: 110;
  transition: visibility 0s linear .8s; /* ← 閉じる時に少し遅延をつける */
}

/* 開いた状態 */
html.menu-open .cp_fullscreenmenu .menu {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

html.menu-open .cp_fullscreenmenu .menu::before {
  transform: translate(-50%, -50%) scale(1);
}

html.menu-open .cp_fullscreenmenu .menu ul {
  opacity: 1;
}

/* ズームで拡大する青い円 */
.cp_fullscreenmenu .menu::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200vw;
  height: 200vw;
  background: #0068B7;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

/* メニューリスト */
.cp_fullscreenmenu .menu ul {
  list-style: none;
  text-align: center;
 opacity: 0;
  position: relative;
  z-index: 2;
transition: opacity .4s ease .3s;
}

.cp_fullscreenmenu .menu li {
  font-size: 24px;
  margin: 1em;
}
.cp_fullscreenmenu .menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}
.cp_fullscreenmenu .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width .4s ease;
}
.cp_fullscreenmenu .menu a:hover::after {
  width: 100%;
}

/* -----------------------------------
   開いた状態
----------------------------------- */
html.menu-open .cp_fullscreenmenu .menu {
  visibility: visible;
  pointer-events: auto;
}

html.menu-open .cp_fullscreenmenu .menu::before {
  transform: translate(-50%, -50%) scale(1);
}

html.menu-open .cp_fullscreenmenu .menu ul {
  opacity: 1;
}



/* -----------------------------------
   スクロールロック
----------------------------------- */
html.menu-open {
  overflow: hidden;
}

/* -----------------------------------
   メディア調整
----------------------------------- */
@media (max-width: 991.98px) {
  .cp_fullscreenmenu {
    right: 40px;
  }
  .cp_fullscreenmenu .menu > div {
    width: 300vw;
    height: 300vw;
  }
}
@media (max-width: 575.98px) {
  .cp_fullscreenmenu {
    right: 25px;
  }
}
/* 開いた時：通常のバッテン（135°） */
html.menu-open .cp_fullscreenmenu .hamburger > span {
  transform: rotate(135deg);
}

/* 開いた状態で hover した時：さらに90°（225°）に回転 */
html.menu-open .cp_fullscreenmenu .hamburger:hover > span {
  transform: rotate(225deg);
}

/* バーの上下もそのまま維持 */
html.menu-open .cp_fullscreenmenu .hamburger > span::before,
html.menu-open .cp_fullscreenmenu .hamburger > span::after {
  top: 0;
  transform: rotate(90deg);
}
html.menu-open .cp_fullscreenmenu .hamburger > span::after {
  opacity: 0;
}
/* 初期状態：非表示・下方向へずらしておく */
.cp_fullscreenmenu .menu ul li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}

/* 開いたとき：順番にフェードイン */
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(1) { transition-delay: 0.2s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(2) { transition-delay: 0.3s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(3) { transition-delay: 0.4s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(4) { transition-delay: 0.5s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(5) { transition-delay: 0.6s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(6) { transition-delay: 0.7s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(7) { transition-delay: 0.8s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(8) { transition-delay: 0.9s; }
html.menu-open .cp_fullscreenmenu .menu ul li:nth-of-type(9) { transition-delay: 1.0s; }

html.menu-open .cp_fullscreenmenu .menu ul li {
  opacity: 1;
  transform: translateY(0);
}

html.menu-open .cp_fullscreenmenu .menu ul li.top {
background-color: #fff;
border-radius: 20px;
width: 120px;
margin-left: auto;
margin-right: auto;
font-family: Arial, Helvetica, sans-serif;
font-size: 120%;
margin-top: 0px;
padding-top: 5px;
padding-bottom: 5px;
color: #0068B7;
font-weight: bold;
}

/* -----------------------------------
   キーボード操作での見やすさ
----------------------------------- */
.cp_fullscreenmenu .hamburger:focus-visible,
.cp_fullscreenmenu .menu a:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 3px;
  border-radius: 6px;
}



.bg-blue a { 
  display: block;       /* or inline-block */
  line-height: 0;       /* 余白の原因になるベースラインを消す */
}
/* メニュー開時に背面スクロールを止める（:has()対応ブラウザならCSSだけでOK） */
html:has(#menu-toggle:checked) {
  overflow: hidden;
}

/* :has() 非対応ブラウザのためにJS側で html.menu-open を付与 */
html.menu-open { overflow: hidden; }

/* 低モーション環境でアニメ弱めに */
@media (prefers-reduced-motion: reduce) {
  .cp_fullscreenmenu .menu > div,
  .cp_fullscreenmenu .menu > div > ul {
    transition: none !important;
  }
}