/* トップページ専用。共通テンプレートのCSSへ影響させないため分離。 */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: #2f2925;
  background: #fff;
  overflow-x: hidden;
}

.home-main-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible {
  outline: 3px solid #137f73;
  outline-offset: 3px;
}

#topbox,
#top-slide {
  background: #fff;
}

/* ヘッダー：ロゴ／月桂樹／編集可能な受賞文言／フリーダイヤル */
#top {
  width: 75%;
}

.home-header {
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 32fr) minmax(0, 32fr);
  align-items: center;
  min-height: 10.8em;
  background: #fff;
}

#top .home-header img {
  width: auto;
  padding: 0;
}

.home-header__brand {
  display: block;
}

#top .home-header__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.home-header__award {
  display: grid;
  grid-template-columns: 3.7em minmax(0, 1fr) 3.7em;
  align-items: center;
  gap: .55em;
  color: #ef554d;
}

#top .home-header__laurel {
  display: block;
  width: 100%;
  height: 9.3em;
  object-fit: contain;
}

.home-header__award p {
	margin: 0;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 2vw;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

.home-header__award span,
.home-header__award strong {
  display: block;
  font-weight: 600;
}

.home-header__contact {
  min-width: 0;
  padding-left: .6em;
  color: #111;
}

.home-header__contact p {
  margin: 0;
  line-height: 1.5;
}

.home-header__guide {
  font-size: 1vw;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.home-header__hours {
  font-size: 1.08em;
}

.home-header__tel,
.home-header__tel:link,
.home-header__tel:visited,
.home-header__tel:hover,
.home-header__tel:active {
  display: flex;
  align-items: center;
  gap: .32em;
  width: fit-content;
  color: #000;
  line-height: 1.1;
  text-decoration: none !important;
}

#top .home-header__tel img {
  width: 2.8em;
  height: 2.8em;
}

.home-header__tel strong {
  font-size: 2.6vw;
  font-weight: 700;
  letter-spacing: .015em;
  white-space: nowrap;
}

#top-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.home-intro {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 72px auto 66px;
  padding: 0 48px;
}

.home-intro__inner {
  display: grid;
  grid-template-columns: 42% 58%;
  border-top: 1px solid #c9d1cf;
  border-bottom: 1px solid #c9d1cf;
  background: #fff;
}

.home-intro__heading {
  padding: 48px 52px 47px 8px;
  border-right: 1px solid #d9dfdd;
}

.home-intro__eyebrow {
  margin: 0 0 19px;
  color: #078e82;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: .2em;
}

.home-intro h2 {
  margin: 0;
  color: #263230;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 37px;
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: .07em;
}

.home-intro__body {
  padding: 47px 8px 43px 54px;
}

.home-intro__lead {
  margin: 0;
  color: #263230;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 25px;
  line-height: 1.75;
  letter-spacing: .08em;
}

.home-intro__text {
  max-width: 620px;
  margin: 18px 0 0;
  color: #4c5856;
  font-size: 17px;
  line-height: 1.95;
}

.home-intro__actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 25px;
}

.home-action {
  box-sizing: border-box;
  min-width: 154px;
  padding: 14px 19px;
  border: 1px solid #078e82;
  border-radius: 0;
  color: #087c72;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.home-action span {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
}

.home-action--primary {
  color: #fff;
  background: #078e82;
}

.home-action--secondary {
  border-color: #d5a621;
  color: #8a690f;
}

.home-action--text {
  min-width: 140px;
  border-color: #516b78;
  color: #405a66;
}

.home-action:hover {
  color: #fff;
  background: #06766c;
  text-decoration: none;
  transform: translateY(-2px);
}

.home-action:focus,
.home-action:active {
  text-decoration: none;
}

.home-action--secondary:hover {
  background: #c89a1c;
}

.home-action--text:hover {
  background: #405a66;
}

#box {
  background: #fff;
}

#cont > .nbmn,
#cont > .nbmn2,
#cont > .rmd2,
#cont > .rco2,
#cont > .gjt-wrap,
#cont > .feedbox,
#cont > .pc,
#cont > .sp {
  margin-top: 34px;
}

#cont img {
  height: auto;
}

.mn4 a,
.rebx01 a,
.gjt-item a,
.rmd2 a,
.rco2 a {
  display: block;
  transition: opacity .2s ease, transform .2s ease;
}

.mn4 a:hover,
.rebx01 a:hover,
.gjt-item a:hover,
.rmd2 a:hover,
.rco2 a:hover {
  opacity: .88;
  transform: translateY(-2px);
}

iframe {
  border: 0;
}

@media screen and (max-width: 767px) {
  #top {
    width: 100%;
  }

  .home-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    padding: .35em .2em;
    box-sizing: border-box;
  }

  .home-header__brand {
    width: 100%;
    margin: 0;
  }

  .home-header__award {
    display: none;
  }

  .home-header__contact {
    width: auto;
    min-width: 0;
    margin: 0;
    padding-left: .8em;
  }

  .home-header__guide,
  .home-header__hours {
    font-size: 1.65vw;
    white-space: nowrap;
  }

  .home-header__tel,
  .home-header__tel:link,
  .home-header__tel:visited,
  .home-header__tel:hover,
  .home-header__tel:active {
    gap: .15em;
    max-width: 100%;
  }

  #top .home-header__tel img {
    width: 1.85em;
    height: 1.85em;
  }

  .home-header__tel strong {
    font-size: 4.8vw;
  }

  .tab_panel iframe {
    height: 720px;
  }

  .feed-item iframe {
    height: 245px;
  }

  .home-intro {
    margin: 44px auto 42px;
    padding: 0 20px;
  }

  .home-intro__inner {
    display: block;
  }

  .home-intro__heading {
    padding: 30px 4px 26px;
    border-right: 0;
    border-bottom: 1px solid #d9dfdd;
  }

  .home-intro__eyebrow {
    margin-bottom: 13px;
    font-size: 14px;
    letter-spacing: .16em;
  }

  .home-intro h2 {
    font-size: 28px;
    line-height: 1.6;
    letter-spacing: .05em;
  }

  .home-intro__body {
    padding: 25px 4px 29px;
  }

  .home-intro__lead {
    font-size: 20px;
    line-height: 1.7;
    letter-spacing: .05em;
  }

  .home-intro__text {
    margin-top: 13px;
    font-size: 15px;
    line-height: 1.9;
  }

  .home-intro__actions {
    display: block;
    margin-top: 20px;
  }

  .home-action {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    padding: 13px 14px;
  }

  #cont > .nbmn,
  #cont > .nbmn2,
  #cont > .rmd2,
  #cont > .rco2,
  #cont > .gjt-wrap,
  #cont > .feedbox,
  #cont > .pc,
  #cont > .sp {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-action,
  .mn4 a,
  .rebx01 a,
  .gjt-item a,
  .rmd2 a,
  .rco2 a {
    transition: none;
  }
}
