@charset "utf-8";

/* CSS Document */
:root {
  --color-green: #11763a;
  --color-beige: #f3eddb;
}

* {
  font-size: 16px;
}

body {
  text-align: justify;
  font-feature-settings: "palt";
  -webkit-font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  caret-color: transparent;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  word-break: break-all
}

.green {
  color: var(--color-green);
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
}

@media screen and (min-width: 500px) {
  .sp-2 {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .inner {
    padding: 0 20px;
  }

}

.no-wrap {
  white-space: nowrap;
}

main {
  margin: 100px 0 70px;
}

#index main {
  margin-top: 70px;
}

section {
  margin-bottom: 100px;
}

main h2,
section h2 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;

}


a {
  transition: all .4s ease;
  cursor: pointer;
}

@media (hover: hover) {
  a:hover {
    color: var(--color-green);
  }
}

a.disabled {
  pointer-events: none;
}

a[tabindex] {
  pointer-events: none;
}

.internal-link {
  position: relative;
}

.internal-link::after {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font: var(--fa-font-solid);
  content: '\f054';
  padding-left: 10px;
  color: var(--color-green);
}

.external-link {
  text-underline-offset: 5px;
}

.external-link:hover {
  color: var(--color-green);
}

.external-link::after {
  font: var(--fa-font-solid);
  font-size: 16px;
  content: "\f08e";
  margin-left: 7px;
  color: var(--color-green);
  display: inline-block;
}

.t-r {
  text-align: right;
}

.t-l {
  text-align: left;
}

.t-c {
  text-align: center;
}

.v-m {
  vertical-align: middle;
}

p {
  margin: 20px 0;

}

.indent-1 {
  padding-left: 1em;
  text-indent: -1em;
}

.indent-2 {
  padding-left: 2em;
  text-indent: -2em;
}

.indent-3 {
  padding-left: 3em;
  text-indent: -3em;
}

.color-theme {
  color: var(--color-green);
}

/* font */

.noto-serif-jp {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: after auto;
  font-weight: 600;
  font-style: normal;
}

.meddon-regular {
  font-family: "Meddon", cursive;
  font-weight: 400;
  font-style: normal;
}

.parisienne-regular {
  font-family: "Parisienne", cursive;
  font-weight: 400;
  font-style: normal;
}

.shippori-mincho-b1-regular {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
}

.waterfall-regular {
  font-family: "Waterfall", cursive;
  font-weight: 400;
  font-style: normal;
}

.whisper-regular {
  font-family: "Whisper", cursive;
  font-weight: 400;
  font-style: normal;
}

.corinthia-regular {
  font-family: "Corinthia", cursive;
  font-weight: 400;
  font-style: normal;
}

.corinthia-bold {
  font-family: "Corinthia", cursive;
  font-weight: 700;
  font-style: normal;
}

.mrs-saint-delafield-regular {
  font-family: "Mrs Saint Delafield", cursive;
  font-weight: 400;
  font-style: normal;
}

.tangerine-regular {
  font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;
}

.tangerine-bold {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
}

.current {
  color: var(--color-green);
}

@media screen and (max-width: 768px) {

  main h2,
  section h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  section {
    margin-bottom: 70px;
  }
}

/*========================== 
<a href="tel:">のリンクをPC表示時に無効　
==========================*/
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/*========================== 
印刷設定
==========================*/
@media print {
  #header-nav-box {
    display: none;
  }

  /* 最初のページのみヘッダーを表示する場合は、以下のように追加 */
  @page: first {
    #header-nav-box {
      display: block;
    }
  }
}

/*==================================================
ナビゲーション
===================================*/
#header-nav-box {
  display: flex;
  justify-content: space-between;
  padding: 10px 33px;

  align-items: center;
}

#header-nav-box h1 {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-weight: 600;
  font-size: 18px;
}

#header-nav-box h1 img {
  width: 50px;
}

#header-nav-box h1 a {
  display: inline-block;
  height: 100%;
  background: red;
}

#header-nav-box ul {
  display: flex;
  justify-content: space-between;
  column-gap: 15px;
}

#header-nav-box li a {
  display: inline-block;
  padding: 5px;
  font-size: 16px;
}

@media screen and (max-width: 1100px) {
  .nav-pc {
    display: none;
  }

  #header-nav-box li a {
    font-size: 20px;
  }

}

@media screen and (min-width: 1100px) {
  .nav-sp {
    display: none;
  }

  .slide-br {
    display: none;
  }


}

@media screen and (max-width: 768px) {
  #header-nav-box {
    padding: 10px 20px;
  }
}

/*=========================================
#hamburger
=========================================*/
.hamburger {
  position: absolute;
  top: 17px;
  right: 20px;
  z-index: 150;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.hamburger.is-active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hamburger span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2px;
  background-color: #333333;
  transition: transform .5s;
  border-radius: 5px;
}

.hamburger.is-active span {
  background-color: #ffffff;
}

.hamburger span:nth-child(1) {
  top: 30%;
}

.hamburger span:nth-child(2) {
  top: 60%;
}

.hamburger span:nth-child(3) {
  top: 90%;
}

/*=========================================
#drawer
=========================================*/
.drawer {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 100vh;
  background-color: #333333;
  transition: opacity .3s, visibility .3s;
}

.drawer.is-active {
  visibility: visible;
  opacity: 1;
}

.drawer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.drawer__link {
  color: #ffffff;
}

/*==================================================
スライド
===================================*/
#slide-box {
  position: relative;
  width: calc(100% - 50px);
  margin: 0 auto;
}

#slide-box h2 {
  position: absolute;
  top: 30%;
  left: 70px;
  color: white;
  font-size: 40px;
  text-shadow: 1px 1px 1px #7a7a7a;
  line-height: 1.1;
  line-height: 1.3;
  letter-spacing: 10px;
}

#slide-box .h2-en {
  transform: rotate(-11deg);
  letter-spacing: normal;
  position: absolute;
  top: calc(30% - 23px);
  left: 30px;
  color: #FFF;
  text-shadow: 1px 1px 1px #7a7a7a;

}

#slide-box span {
  font-size: 26px;
}


.slider {
  margin-inline: auto;
  overflow: hidden;
  width: 100%;
  max-height: 700px;
  border-radius: 20px;
}

.slick-img img {
  width: 100%;
  aspect-ratio: 1500 / 650;
  height: 100%;
  object-fit: cover;
}

@keyframes zoomUp {
  0% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

.add-animation {
  animation: zoomUp 12s linear 0s normal both;
}

@media screen and (max-width: 1100px) {
  #slide-box {
    width: calc(100% - 40px);
  }
}

@media screen and (max-width: 768px) {
  #slide-box h2 {
    font-size: 30px;
    line-height: 1.2;
    top: 45%;
    transform: translateY(-45%);
  }

  #slide-box .h2-en {
    font-size: 20px;
    top: calc(45% - 50px);
    left: 40px;
  }
}

@media screen and (max-width: 500px) {
  #slide-box h2 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }

  #slide-box .h2-en {
    top: calc(50% - 50px);
    left: calc(50% - 130px);
  }
}



/*==================================================
slick調整
===================================*/

.slick-dots li button:before {
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .slick-img img {
    aspect-ratio: 1250 / 1000;
  }

  .slick-img:nth-of-type(2) img {
    object-position: right;
  }
}

/*==================================================
はじめて保証を受ける皆さまへ
===================================*/
#guidance__steps {
  display: flex;
  justify-content: center;
  background-image: url("../img/index/step-background.png");
  background-repeat: no-repeat;
  background-position: bottom 60px center;
  background-size: 100%;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.step {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__link-box {
  margin-top: 10px;
  padding: 15px;
  border-radius: 10px;
}

.step a {
  background: var(--color-green);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  margin-top: 15px;
}

.step a::after {
  color: #ffffff;
}

/*step画像動き=*/
.step-img {
  position: relative;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.step-img:after {
  content: "";
  display: block;
  padding-top: 100%;
  /*高さを確保*/
}

.step-img:before {
  content: '';
  animation: step-img_anime 1s steps(8) infinite;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 800% auto;
}

#step-img01:before {
  background-image: url("../img/index/step-img01.svg");
}

#step-img02:before {
  background-image: url("../img/index/step-img02.svg");
  animation: step-img_anime 1.4s steps(8) infinite;
}

#step-img03:before {
  background-image: url("../img/index/step-img03.svg");
  animation: step-img_anime 2s steps(8) infinite;
}

@keyframes step-img_anime {
  from {
    background-position: 0;
  }

  to {
    background-position: 114.2857%;
  }
}




#guidance__buttons-wrapper {
  background: var(--color-beige);
  padding: 50px 0;
  margin-top: 50px;
}

#guidance__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

#guidance__buttons a {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: solid 3px var(--color-green);
  border-radius: 5px;
  padding: 20px 10px;
}

#guidance__buttons a img {
  width: 50px;
}

#guidance__buttons a span {
  margin-top: 15px;
  color: var(--color-green);
  font-weight: 600;
}

@media screen and (max-width: 955px) {
  .step {
    width: 255px;
  }
}

@media screen and (max-width: 820px) {
  .step {
    width: 240px;
  }
}

@media screen and (max-width: 780px) {
  .step {
    width: 235px;
  }
}

@media screen and (max-width: 768px) {
  .inner:has(#guidance__steps) {
    position: relative;
    overflow: hidden;
  }

  #guidance__steps {
    height: 500px;
    /* コンテナの固定高さを設定 */
    flex-direction: column;
    /* 縦並びに変更 */
    overflow-x: auto;
    background-image: none;
    margin-bottom: 0;
    /* display: block; */
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* scroll-snap-type: y mandatory; */
  }

  .step {
    width: 70%;
    height: 500px;
    /* コンテナと同じ高さに設定 */
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    justify-content: center;
  }

  .step-img {
    max-width: 420px;
  }

  #guidance__steps::-webkit-scrollbar {
    display: none;
  }

  .step img {
    max-height: 400px;
  }

  #guidance__buttons a {
    width: 100%;
    padding: 10px 10px;
  }

  .landscape-sp-box {
    position: absolute;
    bottom: 50px;
    z-index: -10;
    left: 0;
  }

  .landscape-sp {
    margin-bottom: 50px;
    transform: scale(1.5);
  }

}

@media screen and (max-width: 520px) {
  #guidance__steps {
    height: 400px;
  }

  .step {
    height: 400px;
  }

  #guidance__buttons-wrapper {
    margin-top: 20px;
  }
}

@media screen and (max-width: 400px) {
  #guidance__steps {
    height: 330px;
  }

  .step {
    height: 330px;
  }

}




/*==================================================
トップページ新着情報
===================================*/

#news {
  margin-bottom: 0;
}

#news .news__list {
  margin-bottom: 30px;
}

#news .news__list a {
  display: block;
  margin-bottom: 10px;

}

#news .news__list a dl {
  display: flex;
  align-items: center;
}

.news__date {
  width: 6em;
}

#news .news__list a dd {
  width: calc(100% - 6em);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.for-list {
  text-align: right;
}

.fade-img-wrapper {
  overflow: hidden;
}

.fade-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 200;
  background: #ffffff;
  background-image: url("../img/index/wave.svg");
  background-repeat: no-repeat;
  background-position: bottom -1px center;
}

.fade-img img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

@media screen and (max-width: 768px) {
  .fade-img {
    width: 180%;
  }

  .fade-img img {
    left: 0;
    transform: translateX(-44%);
  }
}



/*==================================================
フッター
===================================*/
footer {
  margin-top: auto;
  background: var(--color-beige);
}

#footer__links-1 {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 30px;
  margin-bottom: 40px;
  margin-top: 40px;
}

#footer__links-1 a {
  width: calc(100% / 6);
  text-align: center;
  height: 70px;
  /* background: #e3e3e3; */
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer__links-2 {
  display: flex;
  justify-content: center;
  column-gap: 30px;
  margin: 30px 30px 10px;
  padding: 5px;
  border-bottom: solid 1px;
  color: var(--color-green);
  font-weight: 600;
  padding-bottom: 10px;
}

#sitemap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 20px;
}

.sitemap__column li {
  margin-bottom: 10px;
  font-size: 18px;
}

.sitemap__category {
  color: var(--color-green);
  font-weight: 600;
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
}

#footer__logo-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  margin-bottom: 50px;
  border-top: solid 1px var(--color-green);
  margin: 20px 30px 50px;
  padding-top: 35px;
}

#footer__logo {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 15px;
}

#footer__logo img {
  width: 50px;
}

#footer__logo span {
  font-size: 25px;
}

#footer__info {
  font-size: 14px;
}

.link-email,
.link-email i {
  /* text-decoration: underline solid 1px var(--color-green)!important; */
  text-underline-offset: 5px;
  font-size: 14px;
  text-decoration-line: underline;
  text-decoration-color: var(--color-green);
}

@media screen and (max-width: 1100px) {

  #footer__links-2,
  #footer__logo-info {
    margin-right: 20px;
    margin-left: 20px;
  }
}

@media screen and (max-width: 860px) {
  .sitemap__column {
    min-width: 48%;
  }
}

@media screen and (max-width: 768px) {
  #footer__links-1 {
    flex-wrap: wrap;
  }

  #footer__links-1 a {
    width: 100%;
  }

  #footer__logo span {
    font-size: 23px;
  }
}