/* stylelint-disable prettier/prettier */
@charset "UTF-8";
/* CSS Document */

:root {
  --green-light: #d5ebd7;
  --green: #49765f;
  --green-dark: #2c5f5d;
  --cream-light: #fff8ed;
  --orange-bright: #ffb33d;
  --orange: #FFA700;
  --brown-beige: #b8956d;
  --mint-light: #edf2ee;
  --black: #000000;
  --white: #ffffff;
  --gray: #707070;

  --gradient-mint-cream-diagonal: linear-gradient(225deg, #a7d8ac 0%, #fff8ed 80%);
  --gradient-mint-cream-vertical: linear-gradient(180deg, #d5ebd7 0%, #fff8ed 100%);
  --shadow-main: 0px 3px 6px #00000029;

  --ff-mincho: "Zen Old Mincho", serif;
  --ff-note: "Noto Sans JP", sans-serif;

  --radius-large: 40px;
  --radius-medium: 18px;
  --radius-normal: 14px;
  --radius-small: 10px;
  --radius-mini: 7px;

  --base-font-size: 12px;
  /* html の font-size */

  /* 基準 rem を使ったフォント */
  --font-big1: 2.8rem;
  --font-big2: 2.4rem;
  --font-big3: 2.2rem;

  --font-large: 1.8rem;
  --font-medium: 1.6rem;

  --text-large: 1.38rem;
  --text-medium: 1.3rem;
  --text-normal: 1.15rem;
  --text-small: 1rem;

  --font-small: 0.75rem;

  --section-padding--small: 1.5rem;
  --section-padding--normal: 2.7rem;
  --section-padding--medium: 4.7rem;
  --section-padding--large: 7rem;

  --header-height: 55px;
  --content-block-cell-height: 3em;
}

@media screen and (min-width: 767px) {
  :root {

    --base-font-size: 14px;
    --content-block-cell-height: 70px;
  }
}

@media screen and (min-width: 1200px) {
  :root {
    --base-font-size: 16px;
    /* html の font-size */

    /* 基準 rem を使ったフォント */
    --font-big1: 4.6875rem;
    /* 75px */
    --font-big2: 4.25rem;
    /* 68px */
    --font-big3: 3.621rem;
    /* 55px */

    --font-large: 2.5rem;
    /* 40px */
    --font-medium: 2rem;
    /* 32px */

    --text-large: 1.75rem;
    /* 28px */
    --text-medium: 1.375rem;
    /* 22px */
    --text-normal: 1.125rem;
    /* 18px */
    --text-small: 1rem;
    /* 16px */

    --font-small: 0.75rem;
    /* 12px */

    --section-padding--small: 3rem;
    --section-padding--normal: 4.7rem;
    --section-padding--large: 7rem;

    --header-height: 120px;
    --content-block-cell-height: 90px;
  }
}

/*************************************

 common

**************************************/
html {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: var(--base-font-size);
  font-weight: bold;
}

.br-sp {
  display: inline;
}

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

main {
  container-type: inline-size;
  container-name: page;
  margin: 0;
}

.width-set {
  width: 90%;
  max-width: 1400px !important;
  margin-left: auto;
  margin-right: auto;
}

.width-set-large {
  width: 95%;
  max-width: 1600px !important;
  margin-left: auto;
  margin-right: auto;
}

.notes {
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.6;
}

.title1 {
  display: block;
  font-size: var(--font-big1);
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: var(--green);
  margin-top: var(--section-padding--small);
  margin-bottom: var(--section-padding--normal);
}

.title1--medium {
  font-size: var(--font-big2);
}

.title1--small {
  font-size: var(--font-big3);
  margin-top: 0;
}

.title1--mincho {
  font-family: var(--ff-mincho);
  font-size: var(--font-big2);
}

.btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 650px;
  margin: 0 auto;
}

.btn1 {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 1.2em 3em;
  border-radius: var(--radius-small);
  font-size: var(--font-medium);
  color: var(--white);
  background-color: var(--orange-bright);
  white-space: nowrap;
  box-shadow: var(--shadow-main);
  text-decoration: none;
}

.btn1:hover {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: -5px -5px 10px 0px rgba(255, 255, 255, 0.5), 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.btn1:active {
  box-shadow: inset -5px -5px 10px 0px rgba(255, 255, 255, 0.5), inset 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

.btn-animation:hover {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: -5px -5px 10px 0px rgba(255, 255, 255, 0.5), 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.btn-animation:active {
  box-shadow: inset -5px -5px 10px 0px rgba(255, 255, 255, 0.5), inset 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

@container page (min-width: 1200px) {

}

/* #region nav */

/* ==========================================================================
   nav base (container settings)
   ========================================================================== */

/* ヘッダー（モバイル基準） */
header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  margin: 0;
  padding: 0;
  background: var(--green-light);
  overflow: hidden;

  /* コンテナクエリ用 */
  container-type: inline-size;
  container-name: header;
}

/* ロゴ（共通：モバイル基準） */
.header_logo {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(0, -60%);
  width: 120px;
  padding-top: 15px;
  opacity: 1;
  visibility: visible;
}

.header_logo img {
  display: block;
  width: 100%;
  height: auto;
}

body.nav-faded .header_logo {
  opacity: 0;
  visibility: hidden;
}

/* ドロワーナビ本体（モバイル） */
.global-nav {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 2000;
  width: 90%;
  height: 100vh;
  max-width: 500px;
  background-color: var(--green);
  transition: all 0.6s;
  overflow-y: auto;
}

.global-nav__list {
  margin: 0;
  padding: 5em 0.5em 2em;
  list-style: none;
  overflow-y: auto;
}

.global-nav__item {
  width: 100%;
  padding: 1em;
  border-bottom: 1px solid #ccc;
  font-size: 1em;
}

.global-nav__item>a {
  display: block;
  line-height: 1.3em;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
  outline: none;
}

.global-nav__item a:hover {
  opacity: 0.8;
}

/* ハンバーガー（モバイル） */
.hamburger {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 55px;
  height: 100%;
  background: var(--green-light);
  box-shadow: 0 0 0 0 transparent;
  cursor: pointer;
  transform: translate(0, -50%);
}

.hamburger__line {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 25px;
  height: 2px;
  background-color: var(--black);
  transition: all 0.6s;
}

.hamburger__line--1 {
  top: calc(50% - 10px);
}

.hamburger__line--2 {
  top: 50%;
}

.hamburger__line--3 {
  top: calc(50% + 10px);
}

/* 背景の黒幕（モバイル） */
.black-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100vh;
  background-color: var(--green);
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s;
  cursor: pointer;
}

/* nav-open 時の共通状態 */
.nav-open .global-nav {
  right: 0;
}

.nav-open .black-bg {
  opacity: 0.8;
  visibility: visible;
}

.nav-open .hamburger {
  right: 0.5em;
  z-index: 3000;
  background: none;
  box-shadow: none;
}

.nav-open .hamburger__line {
  top: 50%;
  z-index: 4000;
  height: 3px;
  background: var(--green-dark);
}

.nav-open .hamburger__line--1 {
  transform: translate(-50%, 0) rotate(-45deg);
}

.nav-open .hamburger__line--2 {
  left: 50%;
  width: 0;
}

.nav-open .hamburger__line--3 {
  transform: translate(-50%, 0) rotate(45deg);
}

/* spnav クラスなど SP 専用要素 */

/* ==========================================================================
   container query: wide header (PC 表示)
   ========================================================================== */

@media (min-width: 1200px) {
  header {
    height: var(--header-height);
    background-color: var(--green-light);
  }
}

@container header (min-width: 1200px) {
  header>.wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: var(--header-height);
    margin: 0 auto;
  }

  /* ロゴ位置をPC用に変更：絶対配置 → 通常フロー */
  .header_logo {
    position: static;
    display: flex;
    align-items: center;
    /*width: fit-content;*/
	  width:230px;
    height: fit-content;
    min-height: var(--header-height);
    margin: 0;
    transform: none;
    padding-top: 0;
	  padding-left: 1em;
  }

  .header_logo img {
    width: 100%;
    height: 55px;
    object-fit: contain;
    /*margin-left: 30px;*/
  }

  /* グローバルナビを横並びメニューに */
  .global-nav {
    position: relative;
    top: auto;
    right: auto;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    height: var(--header-height);
    max-width: none;
    margin: 0 0 auto auto;
    padding: 0;
    background-color: var(--green-light);
    overflow: visible;
    flex-wrap: wrap;
    transition: none;
  }

  .global-nav__list {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0;
    overflow: visible;
  }

  .global-nav__item {
    display: flex;
    align-items: center;
    width: fit-content;
    height: var(--header-height);
    margin: 0;
    padding: 0;
    font-size: inherit;
    background-color: var(--green-light);
    border-bottom: none;
  }

  .global-nav__item>a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 100%;
   /* padding: 0 0.5em;*/
    font-size: var(--text-normal);
    font-weight: bold;
    text-align: center;
    color: var(--black);
    letter-spacing: 0.4px;
    text-decoration: none;
    outline: none;
    transition: all 0.3s ease;
    margin-right: 0.6em;
  }

  .global-nav__item>a:hover {
    color: var(--green-dark);
    opacity: 1;
  }

  /* ★ TEL/申込みだけボタン風＆小さめにして中央配置 */
  .global-nav__item>a.nav-tel {
    height: auto;
    padding: 0.3em 1.4em;
    border-radius: 50px;
    color: var(--green);
    background-color: var(--white);
  }

  .global-nav__item>a.nav-application {
    height: auto;
    padding: 1em;
    border-radius: var(--radius-mini);
    font-size: var(--text-normal);
    color: var(--white);
    background-color: var(--orange-bright);
    margin-right: 1em;
  }

  /* PC ではハンバーガー & 黒幕を非表示 */
  .hamburger,
  .black-bg,
  .spnav {
    display: none !important;
  }
}


@container header (min-width: 1550px) {
  .header_logo {
	  width: fit-content;
	}
  .header_logo img {
    height: 70px;
    margin-left: 50px;
  }

  .global-nav__item>a {
    padding: 0 0.8em;
    /*font-size: var(--text-medium);*/
    margin-right: 0.5em;
  }

  .global-nav__item>a:hover {
    color: var(--green-dark);
    opacity: 1;
  }

  /* ★ TEL/申込みだけボタン風＆小さめにして中央配置 */

  .global-nav__item>a.nav-application {
    padding: 1.2em 3em;
  }

}
/* #endregion nav */

/* #region accordion */

/* dl 直下の div に対して */
.dd-accordion>div {
  margin-bottom: 8px;
}

.dd-accordion dt {
  position: relative;
  padding: 8px;
  cursor: pointer;
  user-select: none;
}

.dd-accordion dt::before {
  content: "Q, ";
}

.dd-accordion dt::after {
  content: "+";
  position: absolute;
  top: 8px;
  right: 20px;
  transition: transform 0.3s;
}

/* 開いているときの + 回転 */
.dd-accordion>div.appear dt::after {
  /* transform: rotate(45deg); */
  content: "－";
}

/* 回答部分（デフォルト非表示） */
.dd-accordion dd {
  display: none;
  margin: 0;
  padding: 8px;
}

/* .appear が付いた div の中の dd を表示 */
.dd-accordion>div.appear dd {
  display: block;
  animation: 0.3s fadeIn;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}


/* #endregion accordion */

/* #region footer */
footer {
  background-color: var(--mint-light);
  container-type: inline-size;
  container-name: footer;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  row-gap: var(--section-padding--small);
  padding: var(--section-padding--normal);
}

.footer__logo img {
  max-width: 100%;
}

.footer__address {
  font-size: var(--text-normal);
  font-weight: 500;
  line-height: 2;
  color: var(--black);
}

footer .copyright {
  font-size: var(--font-small);
  font-weight: 500;
  line-height: 4em;
  text-align: center;
}

@container footer (min-width: 767px) {
  .footer__inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: var(--section-padding--large);
    gap: var(--section-padding--normal);
    padding-bottom: var(--section-padding--medium);
  }

  .footer__logo {
    justify-self: center;
    max-width: 400px;
  }

  .footer__logo img {
    width: 100%;
    height: auto;
  }
}

/* #endregion footer */