/* =========================================================
   変数
========================================================= */

:root {
  --green: #4f9d45;
  --green-dark: #34783a;
  --lime: #8fcf48;

  --red: #ef665c;
  --red-dark: #d94d49;

  --yellow: #f6d86a;

  --cream: #fffaf0;
  --brown: #65472f;
  --text: #4b4037;

  --line: #e8dfcc;
  --white: #fff;

  --shadow: 0 10px 30px rgba(84, 65, 37, 0.1);
  --radius: 24px;
  --max: 1180px;
}


/* =========================================================
   基本
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  background: #fff;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   共通
========================================================= */

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
}


/* =========================================================
   ヘッダー
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #f0eadf;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: #6f6257;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand .red {
  color: var(--red-dark);
}

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


/* =========================================================
   ヘッダー電話
========================================================= */

.contact-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tel {
  color: #5b422f;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
}

.tel small {
  display: block;
  margin-top: 3px;
  text-align: right;
  font-size: 10px;
  font-weight: 500;
}


/* =========================================================
   ナビ
========================================================= */

.nav {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #f3eee6;
  background: #fff;
}

.nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul li {
  position: relative;
}

.nav a {
  display: block;
  padding: 11px 30px;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--green-dark);
  border-color: var(--green);
}


/* =========================================================
   ドロップダウン
========================================================= */

.nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  border-radius: 8px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 100;
}

.nav ul li .dropdown li {
  width: 100%;
}

.nav ul li .dropdown a {
  padding: 10px 18px;
  font-size: 13px;
  border-bottom: none;
  white-space: nowrap;
}

.nav ul li .dropdown a:hover {
  background: #f8f6f0;
}

.nav ul li.has-dropdown:hover .dropdown {
  display: block;
}

.menu-toggle {
  display: none;
}


/* =========================================================
   ヒーロー
========================================================= */

.hero {
  width: 100%;
  aspect-ratio: 1536 / 704;
  background-image: url("./images/inde_img_3.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.hero-inner {
  margin-top: 0;
  padding-top: 0;
}

.kicker {
  color: var(--green);
  font-weight: 800;
  letter-spacing: .12em;
}


/* =========================================================
   入口カード
========================================================= */

.entrances {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 2;
}

.entrance {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: #fff;
  border: 2px solid #f3d2ce;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.entrance.green-card {
  background: #fbfff3;
  border-color: #d1e89d;
}

.entrance h2 {
  margin: 0;
  color: var(--red-dark);
  font-size: 27px;
}

.entrance.green-card h2 {
  color: var(--green-dark);
}

.entrance p {
  margin: 0;
  font-size: 13px;
}

.entrance .arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.entrance.green-card .arrow {
  background: var(--green);
}


/* =========================================================
   セクション
========================================================= */

.section {
  padding: 65px 0;
}

.section.cream {
  background: var(--cream);
}

.section-title {
  margin: 0 0 34px;
  color: #5b422f;
  text-align: center;
  font-size: 30px;
}


/* =========================================================
   お知らせ
========================================================= */

.news {
  max-width: 960px;
  margin: auto;
  padding: 22px 30px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.news-row {
  display: grid;
  grid-template-columns: 100px 80px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed #ddd;
}

.news-row:last-child {
  border-bottom: 0;
}

.tag {
  color: var(--green-dark);
  background: #e8f5d4;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
}


/* =========================================================
   下層ページ
========================================================= */

.page-hero {
  position: relative;
  padding: 55px 0 45px;
  background: linear-gradient(120deg,#fff8e9,#f2f9e8);
  text-align: center;
}

.page-hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  color: #5d422b;
  font-size: 30px;
  line-height: 1.3;
}

.page-hero p {
  margin: 8px 0 0;
}


/* =========================================================
   カード
========================================================= */

.cards4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.info-card {
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(80,60,30,.05);
  text-align: center;
}

.icon {
  margin-bottom: 10px;
  font-size: 48px;
}

.info-card h3 {
  margin: 0 0 8px;
  color: #5d422b;
  font-size: 16px;
}

.info-card p {
  margin: 0;
  font-size: 13px;
}


/* =========================================================
   コンテンツ
========================================================= */

.content-box {
  padding: 35px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}


/* =========================================================
   フロー
========================================================= */

.flow {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

.step {
  position: relative;
  padding: 22px 12px;
  background: #f8f6ee;
  border-radius: 18px;
  text-align: center;
}

.step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
}


/* =========================================================
   タイムライン
========================================================= */

.timeline {
  margin: 0;
  padding-left: 22px;
  border-left: 4px solid #d5eaa4;
}

.time {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.time strong {
  min-width: 55px;
  color: var(--green-dark);
}


/* =========================================================
   FAQ
========================================================= */

.faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
}


/* =========================================================
   資料
========================================================= */

.documents {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.doc {
  display: grid;
  grid-template-columns: 55px 1fr 110px;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
}

.doc:last-child {
  border: 0;
}

.pdf {
  color: #e75d52;
  font-size: 25px;
}


/* =========================================================
   固定お問い合わせ
   PC
========================================================= */

.fixed-contact {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding: 18px 0;
  background: #fff6dc;
  border-top: 1px solid #ead9b0;
  border-bottom: 1px solid #ead9b0;
}

.fixed-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fixed-contact strong {
  display: block;
  font-size: 18px;
}

.footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}


/* =========================================================
   フッター
========================================================= */

.footer {
  padding: 50px 0 100px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.footer h3 {
  margin-top: 0;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 2;
}


/* =========================================================
   フッターお問い合わせ
========================================================= */

.footer-contact-area {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.footer-contact {
  flex: 1;
  min-width: 0;
}

.footer-contact p {
  margin: 0 0 18px;
}


/* =========================================================
   SNS
========================================================= */

.footer-sns {
  display: flex;
  gap: 25px;
  flex-shrink: 0;
}

.sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sns-item span {
  color: #5d422b;
  font-size: 13px;
  font-weight: 700;
}

.sns-item img {
  width: 150px;
  height: 150px;
  padding: 2px;
  background: #fff;
  border: 1px solid #e8dfcc;
  object-fit: contain;
}


/* =========================================================
   フッター下層メニュー
========================================================= */

.footer .footer-sub-menu {
  display: block !important;
  margin: 6px 0 10px 1.2em !important;
  padding: 0 !important;
  list-style: none !important;
}

.footer .footer-sub-menu li {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  margin: 2px 0 !important;
}

.footer .footer-sub-menu a {
  display: inline-block !important;
  padding: 0 !important;
  color: #65472f !important;
}

.footer .footer-sub-menu a::before {
  content: "└ " !important;
  color: #a9a18f !important;
  font-weight: bold;
}


/* =========================================================
   コピーライト
========================================================= */

.copyright {
  margin-top: 30px;
  color: #8c8278;
  text-align: center;
  font-size: 12px;
}


/* =========================================================
   タブレット
========================================================= */

@media (max-width: 900px) {

  .contact-head .tel {
    display: none;
  }

  .nav a {
    padding: 10px 13px;
    font-size: 12px;
  }

  .cards4 {
    grid-template-columns: repeat(2,1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 35px;
  }

  .footer-contact-area {
    gap: 25px;
  }

  .footer-sns {
    gap: 15px;
  }

  .sns-item img {
    width: 120px;
    height: 120px;
  }
}


/* =========================================================
   タブレット・スマホ
   768px以下
========================================================= */

@media (max-width: 768px) {

  /* -------------------------------------------------------
     ヘッダー
  ------------------------------------------------------- */

  .header-top {
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 3px;
    background: #65472f;
    border-radius: 3px;
  }


  /* -------------------------------------------------------
     ナビ
  ------------------------------------------------------- */

  .nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    border-top: none;
  }

  .nav.is-open {
    max-height: 400px;
    border-top: 1px solid #f3eee6;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav ul li {
    width: 100%;
    border-bottom: 1px solid #f8f6f0;
  }

  .nav a {
    padding: 12px 16px;
  }


  /* -------------------------------------------------------
     ドロップダウン
  ------------------------------------------------------- */

  .nav ul li .dropdown {
    position: static;
    display: block;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    background: #faf8f5;
    padding: 0;
    border-radius: 0;
    transition: max-height .3s ease;
  }

  .has-dropdown.is-open .dropdown {
    max-height: 150px;
    padding: 6px 0;
  }

  .nav ul li .dropdown a {
    padding: 10px 28px;
  }


  /* -------------------------------------------------------
     ヒーロー
  ------------------------------------------------------- */

  .hero {
    aspect-ratio: auto;
    min-height: 500px;
    background-size: 100% auto;
    background-position: center top;
  }

  .entrances {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 15px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .entrance {
    padding: 15px;
  }

  .entrance h2 {
    font-size: 21px;
  }


  /* =======================================================
     固定お問い合わせバー
     
     2段構成
     
     見学・ご相談はお気軽にどうぞ
     [☎電話] [✉お問合せ]
  ======================================================= */

  .fixed-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 7px 0 8px;
  }

  .fixed-contact-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .fixed-contact strong {
    display: block !important;
    width: 100%;
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .footer-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 7px;
  }

  .footer-actions .btn {
    padding: 9px 16px;
    font-size: 12px;
  }


  /* -------------------------------------------------------
     フッター
  ------------------------------------------------------- */

  .footer {
    padding: 35px 0 110px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-contact-area {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }


  /* -------------------------------------------------------
     QRコード
     スマホ・タブレットは横並び
  ------------------------------------------------------- */

  .footer-sns {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    padding-top: 18px;
    border-top: 1px solid #eee8dc;
  }

  .sns-item {
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .sns-item span {
    font-size: 13px;
  }

  .sns-item img {
    width: 120px;
    height: 120px;
    padding: 4px;
  }

  .copyright {
    margin-top: 22px;
    font-size: 10px;
  }
}


/* =========================================================
   スマートフォン
   640px以下
========================================================= */

@media (max-width: 640px) {

  .container {
    width: calc(100% - 24px);
  }


  /* -------------------------------------------------------
     ヘッダー
  ------------------------------------------------------- */

  .header-top {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 0;
  }

  .brand {
    gap: 5px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
  }

  .brand .header-logo:first-of-type {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .brand > div {
    min-width: 0;
    flex: 1;
  }

  .brand small {
    font-size: 6.5px;
    line-height: 1.1;
  }

  .brand strong {
    font-size: 14px;
    line-height: 1.2;
  }

  .brand .header-logo:last-of-type {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .contact-head {
    display: none;
  }


  /* -------------------------------------------------------
     ハンバーガー
  ------------------------------------------------------- */

  .menu-toggle {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    gap: 5px;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle span {
    width: 23px;
    height: 2px;
  }


  /* -------------------------------------------------------
     ヒーロー
  ------------------------------------------------------- */

  .hero {
    min-height: 470px;
    background-size: 100% auto;
  }

  .entrances {
    left: 12px;
    right: 12px;
    bottom: 10px;
  }


  /* -------------------------------------------------------
     セクション
  ------------------------------------------------------- */

  .section {
    padding: 45px 0;
  }

  .section-title {
    font-size: 24px;
  }


  /* -------------------------------------------------------
     固定お問い合わせ
  ------------------------------------------------------- */

  .fixed-contact {
    padding: 6px 0 7px;
  }

  .fixed-contact-inner {
    gap: 4px;
  }

  .fixed-contact strong {
    font-size: 11px;
    line-height: 1.3;
  }

  .footer-actions {
    gap: 5px;
  }

  .footer-actions .btn {
    padding: 8px 12px;
    font-size: 11px;
  }


  /* -------------------------------------------------------
     フッター
  ------------------------------------------------------- */

  .footer {
    padding: 30px 0 105px;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-contact-area {
    gap: 12px;
  }

  .footer-contact p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.7;
  }


  /* -------------------------------------------------------
     SNS
  ------------------------------------------------------- */

  .footer-sns {
    gap: 18px;
    padding-top: 15px;
  }

  .sns-item {
    width: 110px;
  }

  .sns-item span {
    font-size: 12px;
  }

  .sns-item img {
    width: 120px;
    height: 120px;
  }


  /* -------------------------------------------------------
     コピーライト
  ------------------------------------------------------- */

  .copyright {
    margin-top: 18px;
    font-size: 9px;
    line-height: 1.4;
    white-space: nowrap;
  }
}


/* =========================================================
   ページタイトル用ロゴ
========================================================= */

.top-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
}

.page-title-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}


/* =========================================================
   ページタイトル用ロゴ
   スマホ
========================================================= */

@media (max-width: 640px) {

  .page-title-logo {
    width: 60px;
    height: 60px;
    margin-right: -10px;
  }
	@media (max-width: 640px) {
  .brand .header-logo:last-child {
    margin-left: -3px;
  }
}
	/* =========================================================
   スマホ・タブレット：ヘッダーロゴ位置調整
========================================================= */

@media (max-width: 900px) {

  .brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .brand .header-logo {
    width: 48px;
    height: auto;
    flex-shrink: 0;
  }

  .brand > div {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand > div small {
    display: block;
    font-size: 10px;
    white-space: nowrap;
  }

  .brand > div strong {
    display: block;
    font-size: 16px;
    white-space: nowrap;
  }

  /* 右側のポムポムの樹ロゴ */
  .brand .header-logo:last-child {
    margin-left: 0;
  }
}


/* スマートフォン */
@media (max-width: 640px) {

  .brand {
    gap: 5px;
  }

  .brand .header-logo {
    width: 38px;
  }

  .brand > div small {
    font-size: 8px;
  }

  .brand > div strong {
    font-size: 13px;
  }

  .brand .header-logo:last-child {
    margin-left: 0;
  }
}
}