@charset "UTF-8";
/*!
Theme Name: 久幸設計
Description: 久幸設計（愛媛・松山の一級建築士事務所）公式サイト用テーマ
Version: 1.0.0
*/
:root {
  --white: #FFFFFF;
  --surface: #F7F9F4;
  --pale: #EAF4E1;
  --green: #6DBA2E;
  --mikan: #F28300;
  --text: #333330;
  --sub: #727171;
  --line: #D9E3CF;
  --mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: var(--gothic);
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p, dl, dd, figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--mikan);
  outline-offset: 3px;
}

.br_monitor, .br_pc, .br_tab, .br_sp {
  display: none;
}

@media (min-width: 1441px) {
  .br_monitor {
    display: inline;
  }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  .br_pc {
    display: inline;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .br_tab {
    display: inline;
  }
}
@media (max-width: 768px) {
  .br_sp {
    display: inline;
  }
}
a[href^="tel:"] {
  pointer-events: none;
}

@media (max-width: 768px) {
  a[href^="tel:"] {
    pointer-events: auto;
  }
}
.inner {
  width: min(112rem, 100% - 8rem);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .inner {
    width: calc(100% - 4.8rem);
  }
}
main {
  padding-top: 10rem;
}

@media (max-width: 1024px) {
  main {
    padding-top: 7.2rem;
  }
}
.pic {
  position: relative;
  overflow: hidden;
  background: var(--pale);
}

.pic img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.head {
  margin-bottom: 5.6rem;
}

.head__label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.3rem;
  color: var(--sub);
  letter-spacing: 0.14em;
  margin-bottom: 1.6rem;
}

.head__label::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--mikan);
}

.head__poem {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(2.4rem, 2.6vw, 3.6rem);
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.head--center {
  text-align: center;
}

.head--center .head__label {
  justify-content: center;
}

.lead {
  max-width: 60rem;
  font-size: 1.5rem;
  line-height: 2.2;
}

.sec {
  padding-block: 14rem;
}

@media (max-width: 768px) {
  .sec {
    padding-block: 9.6rem;
  }
  .head {
    margin-bottom: 4rem;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  min-width: 24rem;
  padding: 1.8rem 3.2rem;
  background: var(--mikan);
  color: var(--white);
  font-family: var(--mincho);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 2;
  transition: background 0.3s;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.btn::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}

.btn:hover {
  background: #d97500;
}

.btn:hover::after {
  width: 2.8rem;
}

.btn--line {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

.btn--line:hover {
  background: var(--text);
  color: var(--white);
}

.phead {
  padding: 10rem 0 8rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.phead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--phead-bg, none);
  background-size: cover;
  background-position: right center;
  opacity: 0.17;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(270deg, #000 15%, transparent 65%);
  mask-image: linear-gradient(270deg, #000 15%, transparent 65%);
  pointer-events: none;
}

.phead .inner {
  position: relative;
}

.phead__ttl {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(3rem, 3.2vw, 4.4rem);
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.phead__poem {
  margin-top: 2rem;
  font-family: var(--mincho);
  font-size: 1.7rem;
  color: var(--sub);
  letter-spacing: 0.14em;
}

.crumb {
  margin-top: 4.8rem;
  font-size: 1.2rem;
  color: var(--sub);
}

.crumb a {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

@media (max-width: 768px) {
  .phead {
    padding: 6.4rem 0 5.6rem;
  }
  .phead::before {
    opacity: 0.13;
    -webkit-mask-image: linear-gradient(270deg, #000 0, transparent 80%);
    mask-image: linear-gradient(270deg, #000 0, transparent 80%);
  }
}
.deco {
  position: relative;
  overflow: hidden;
}

.deco::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--deco, none);
  background-size: cover;
  background-position: var(--deco-pos, center);
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-mask-image: var(--deco-mask, linear-gradient(90deg, #000 15%, transparent 60%));
  mask-image: var(--deco-mask, linear-gradient(90deg, #000 15%, transparent 60%));
}

.deco > .inner {
  position: relative;
}

.deco--r {
  --deco-pos: right center;
  --deco-mask: linear-gradient(270deg, #000 15%, transparent 60%);
}

@media (max-width: 768px) {
  .deco::before {
    opacity: 0.1;
    --deco-mask: linear-gradient(#000 0, transparent 60%);
  }
}
.more {
  padding-block: 10rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.more__item {
  display: block;
}

.more__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--pale);
}

.more__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 1s var(--ease);
}

.more__item:hover .more__img img {
  transform: scale(1.04);
}

.more__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.8rem 0 1.4rem;
  border-bottom: 1px solid var(--text);
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.14em;
}

.more__label::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--mikan);
  transition: width 0.4s var(--ease);
}

.more__item:hover .more__label::after {
  width: 3.6rem;
}

.more__sub {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: var(--sub);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .more__grid {
    gap: 2rem;
  }
  .more__label {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .more {
    padding-block: 6.4rem;
  }
  .more__grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
  }
}
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.admin-bar .header {
  top: 32px;
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 10rem;
  padding-inline: 4rem;
}

.header__logo img {
  width: 28rem;
  height: auto;
}

.gnav {
  display: flex;
  align-items: center;
  gap: 3.6rem;
}

.gnav__list {
  display: flex;
  gap: 3.2rem;
  font-family: var(--mincho);
  font-size: 1.5rem;
  font-weight: 500;
}

.gnav__list a {
  position: relative;
  padding-block: 0.4rem;
}

.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.gnav__list a:hover::after, .gnav__list a.is-current::after {
  transform: scaleX(1);
}

.gnav__tel {
  font-family: var(--mincho);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: right;
}

.gnav__tel small {
  display: block;
  font-family: var(--gothic);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--sub);
  letter-spacing: 0.06em;
}

.hamburger {
  display: none;
}

@media (max-width: 1024px) {
  .header__in {
    height: 7.2rem;
    padding-inline: 2.4rem;
  }
  .header__logo img {
    width: 20rem;
  }
  .gnav {
    position: fixed;
    inset: 7.2rem 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 3.2rem;
    padding: 4rem 3.2rem;
    background: var(--white);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0.5s;
  }
  .gnav.is-open {
    transform: none;
    visibility: visible;
  }
  .gnav__list {
    flex-direction: column;
    gap: 2.4rem;
    font-size: 1.8rem;
  }
  .gnav__tel {
    text-align: left;
  }
  .hamburger {
    display: block;
    width: 4.4rem;
    height: 4.4rem;
    border: 0;
    background: none;
    position: relative;
    cursor: pointer;
  }
  .hamburger i {
    position: absolute;
    left: 1rem;
    width: 2.4rem;
    height: 1px;
    background: var(--text);
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  .hamburger i:nth-child(1) {
    top: 1.6rem;
  }
  .hamburger i:nth-child(2) {
    top: 2.2rem;
  }
  .hamburger i:nth-child(3) {
    top: 2.8rem;
  }
  .hamburger.is-open i:nth-child(1) {
    transform: translateY(0.6rem) rotate(45deg);
  }
  .hamburger.is-open i:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-open i:nth-child(3) {
    transform: translateY(-0.6rem) rotate(-45deg);
  }
}
@media (max-width: 768px) {
  .header__logo img {
    width: 17rem;
  }
}
@media (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40rem;
  height: calc(100svh - 10rem);
  min-height: 48rem;
  overflow: hidden;
}

.hero__photo {
  position: relative;
  overflow: hidden;
  background: var(--pale);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transform: scale(1.06);
  transition: transform 8s linear;
}

.hero__slide.is-active img {
  transform: scale(1);
}

.hero__dots {
  position: absolute;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 3;
  display: flex;
  gap: 0.8rem;
}

.hero__dots button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  padding: 1rem 0;
  background: none;
  cursor: pointer;
}

.hero__dots button::before {
  content: "";
  display: block;
  width: 3.2rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.4s;
}

.hero__dots button.is-active::before {
  background: var(--white);
}

@media (max-width: 768px) {
  .hero__dots {
    right: auto;
    left: 2.4rem;
    bottom: auto;
    top: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide img {
    transform: none !important;
    transition: none;
  }
}
.hero__side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.6rem 4rem;
}

.hero__poem {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(2.2rem, (100svh - 21rem) / 18.5, 4.2rem);
  line-height: 2.1;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.hero__poem .line {
  display: block;
}

.hero__poem .line:nth-child(2) {
  margin-top: 2em;
}

.hero__meta {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--white);
  padding: 3.2rem 4rem 3.2rem 4rem;
  max-width: 44rem;
}

.hero__desc {
  font-size: 1.4rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.hero__cred {
  font-family: var(--mincho);
  font-size: 1.3rem;
  color: var(--sub);
  line-height: 1.8;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 30rem;
    height: calc(100svh - 7.2rem);
  }
  .hero__poem {
    font-size: clamp(2.2rem, (100svh - 18rem) / 18.5, 3.6rem);
  }
}
@media (max-width: 768px) {
  .hero {
    display: block;
    min-height: 56rem;
  }
  .hero__photo {
    position: absolute;
    inset: 0;
  }
  .hero__side {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background: var(--white);
    padding: 3.2rem 2rem 3.2rem 2.4rem;
  }
  .hero__poem {
    font-size: clamp(1.9rem, (100svh - 7.2rem - 25rem) / 18.5, 3rem);
  }
  .hero__meta {
    left: 0;
    right: 0;
    max-width: none;
    padding: 2.4rem 2.4rem 2.8rem;
  }
  .hero__desc {
    font-size: 1.3rem;
  }
}
.thought__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.thought__body p + p {
  margin-top: 2.4rem;
}

.thought__body {
  font-size: 1.5rem;
  line-height: 2.3;
}

.thought__photo {
  aspect-ratio: 4/5;
}

.thought__sign {
  margin-top: 4rem;
  font-family: var(--mincho);
  font-size: 1.4rem;
  color: var(--sub);
}

.thought__sign strong {
  font-size: 2rem;
  font-weight: 500;
  color: var(--text);
  margin-left: 1.6rem;
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .thought__grid {
    grid-template-columns: 1fr;
    gap: 4.8rem;
  }
  .thought__photo {
    aspect-ratio: 4/3;
  }
}
.band {
  height: 56rem;
  position: relative;
  overflow: hidden;
  background: var(--pale);
}

.band__img {
  position: absolute;
  inset: -10% 0;
}

.band__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 768px) {
  .band {
    height: 32rem;
  }
}
.strength {
  background: var(--surface);
}

.strength__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.strength__item {
  padding: 4.8rem 4rem 0 0;
}

.strength__item + .strength__item {
  padding-left: 4rem;
  border-left: 1px solid var(--line);
}

.strength__num {
  font-family: var(--mincho);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 2.4rem;
}

.strength__ttl {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.7;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.strength__txt {
  font-size: 1.45rem;
  line-height: 2.1;
}

@media (max-width: 1024px) {
  .strength__list {
    grid-template-columns: 1fr;
  }
  .strength__item, .strength__item + .strength__item {
    padding: 4rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}
.area__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 8rem;
  align-items: center;
}

.area__map {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.area__map li {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.45rem;
}

.area__map b {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
}

.area__map li:first-child b {
  color: var(--green);
}

.area__photo {
  aspect-ratio: 3/2;
}

@media (max-width: 768px) {
  .area__grid {
    grid-template-columns: 1fr;
    gap: 4.8rem;
  }
  .area__map li {
    grid-template-columns: 9rem 1fr;
  }
}
.consult {
  background: var(--pale);
  position: relative;
  overflow: hidden;
}

.consult::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--consult-bg, none);
  background-size: cover;
  background-position: left center;
  opacity: 0.16;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 62%);
  mask-image: linear-gradient(90deg, #000 20%, transparent 62%);
  pointer-events: none;
}

.consult .inner {
  position: relative;
}

@media (max-width: 1024px) {
  .consult::before {
    opacity: 0.12;
    -webkit-mask-image: linear-gradient(#000 0, transparent 55%);
    mask-image: linear-gradient(#000 0, transparent 55%);
  }
}
.consult__grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 8rem;
}

.consult__list li {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(109, 186, 46, 0.35);
  font-family: var(--mincho);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}

.consult__list li:first-child {
  border-top: 1px solid rgba(109, 186, 46, 0.35);
}

.consult__list li::before {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--mikan);
  transform: translateY(-0.2rem);
}

.consult__cta {
  margin-top: 4.8rem;
}

@media (max-width: 1024px) {
  .consult__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 768px) {
  .consult__list li {
    font-size: 1.6rem;
  }
}
.links {
  padding-block: 14rem;
}

.links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
}

.links__item {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--pale);
}

.links__img {
  position: absolute;
  inset: 0;
  transition: transform 1.2s var(--ease);
}

.links__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.links__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 48, 0.08);
}

.links__item:hover .links__img {
  transform: scale(1.04);
}

.links__label {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--white);
  padding: 1.8rem 3.2rem 1.6rem 2.4rem;
  font-family: var(--mincho);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.links__label::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--mikan);
  transition: width 0.4s var(--ease);
}

.links__item:hover .links__label::after {
  width: 3.2rem;
}

@media (max-width: 768px) {
  .links__grid {
    grid-template-columns: 1fr;
  }
  .links {
    padding-bottom: 9.6rem;
  }
}
.svc {
  position: relative;
  display: grid;
  grid-template-columns: 26rem 1fr 38rem;
  gap: 5.6rem;
  padding-block: 8rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.svc:first-child {
  padding-top: 0;
}

.svc > * {
  position: relative;
  z-index: 1;
}

.svc::before {
  content: attr(data-char);
  position: absolute;
  left: -2rem;
  top: 2rem;
  z-index: 0;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(14rem, 16vw, 24rem);
  line-height: 1;
  color: rgba(109, 186, 46, 0.09);
  pointer-events: none;
}

.svc:first-child::before {
  top: -5rem;
}

.svc__verb {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(3.6rem, 3.2vw, 4.6rem);
  letter-spacing: 0.16em;
  line-height: 1.2;
  white-space: nowrap;
}

.svc__verb small {
  display: block;
  margin-top: 1.6rem;
  font-size: 1.4rem;
  color: var(--sub);
  letter-spacing: 0.14em;
}

.svc__ttl {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  margin-bottom: 2.4rem;
}

.svc__txt {
  font-size: 1.5rem;
  line-height: 2.2;
}

.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.svc__tags li {
  font-size: 1.3rem;
  padding: 0.4rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.svc__photo {
  aspect-ratio: 4/3;
}

@media (max-width: 1024px) {
  .svc {
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
  }
  .svc__verb {
    grid-column: 1/-1;
  }
}
@media (max-width: 768px) {
  .svc {
    grid-template-columns: 1fr;
    padding-block: 5.6rem;
  }
  .svc::before {
    left: auto;
    right: -1rem;
    top: 1.6rem;
    font-size: 13rem;
  }
  .svc:first-child::before {
    top: -4rem;
  }
}
.flow {
  background: var(--pale);
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.flow__item {
  position: relative;
  padding: 0 2.8rem 0 0;
}

.flow__item + .flow__item {
  padding-left: 2.8rem;
  border-left: 1px solid rgba(109, 186, 46, 0.35);
}

.flow__num {
  font-family: var(--mincho);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: var(--green);
}

.flow__num b {
  display: block;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-top: 0.4rem;
}

.flow__ttl {
  margin-top: 1.6rem;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.flow__txt {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  line-height: 2;
}

.flow__cta {
  margin-top: 5.6rem;
}

@media (max-width: 1024px) {
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4.8rem;
  }
  .flow__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 768px) {
  .flow__list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .flow__item, .flow__item + .flow__item, .flow__item:nth-child(3) {
    padding: 2.8rem 0 2.8rem 2.4rem;
    border-left: 1px solid rgba(109, 186, 46, 0.45);
  }
  .flow__num b {
    font-size: 3.2rem;
  }
}
.wtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 4.8rem;
}

.wtabs button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  padding: 1rem 2.4rem;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  line-height: 2;
  color: var(--text);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wtabs button:hover {
  border-color: var(--green);
}

.wtabs button.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
}

.wtabs button span {
  margin-left: 0.8rem;
  font-size: 1.2rem;
  color: inherit;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .wtabs {
    gap: 0.6rem;
  }
  .wtabs button {
    padding: 0.8rem 1.6rem;
    font-size: 1.35rem;
  }
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5.6rem 3.2rem;
}

.work {
  display: flex;
  flex-direction: column;
}

.work.is-hidden {
  display: none;
}

.work__img {
  aspect-ratio: 4/3;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  overflow: hidden;
  background: var(--pale);
}

.work__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.work__img:hover img {
  transform: scale(1.04);
}

.work__body {
  padding-top: 2rem;
}

.work__ttl {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.work__meta {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  color: var(--sub);
  display: grid;
  grid-template-columns: 5em 1fr;
  row-gap: 0.2rem;
  line-height: 1.8;
}

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

.work__meta dd {
  margin: 0;
}

.work__txt {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  line-height: 2;
}

.work--text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  padding: 3.2rem 2.8rem;
  justify-content: space-between;
  min-height: 100%;
}

.work--text .work__body {
  padding-top: 0;
}

.work--text .work__ttl {
  font-size: 2rem;
  line-height: 1.7;
}

.work--text .work__foot {
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(109, 186, 46, 0.35);
  font-family: var(--mincho);
  font-size: 1.3rem;
  color: #5d7a47;
}

.work--photo .work__body {
  padding-top: 1.2rem;
}

@media (max-width: 1024px) {
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .works__grid {
    grid-template-columns: 1fr;
  }
}
.works__empty {
  display: none;
  padding: 6.4rem 0;
  text-align: center;
  color: var(--sub);
  font-family: var(--mincho);
}

.works__empty.is-show {
  display: block;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(51, 51, 48, 0.86);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.lb.is-open {
  opacity: 1;
  visibility: visible;
}

.lb__fig {
  margin: 0;
  width: min(96rem, 90vw);
  transform: scale(0.92);
  transition: transform 0.7s var(--ease);
}

.lb.is-open .lb__fig {
  transform: scale(1);
}

.lb__img {
  aspect-ratio: 3/2;
  width: 100%;
  max-height: 80vh;
}

.lb__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.lb__cap {
  margin-top: 1.6rem;
  color: var(--white);
  font-family: var(--mincho);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.lb__close {
  position: absolute;
  top: 2.4rem;
  right: 2.4rem;
  width: 5.6rem;
  height: 5.6rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.lb__close::before, .lb__close::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 50%;
  width: 3.2rem;
  height: 1px;
  background: var(--white);
}

.lb__close::before {
  transform: rotate(45deg);
}

.lb__close::after {
  transform: rotate(-45deg);
}

.greet__grid {
  display: grid;
  grid-template-columns: minmax(0, 72rem);
  justify-content: space-between;
  gap: 8rem;
  align-items: start;
}

.greet__body {
  font-size: 1.5rem;
  line-height: 2.3;
}

.greet__body p + p {
  margin-top: 2.4rem;
}

.greet__signwrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 3.2rem;
  margin-top: 5.6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.greet__sign {
  text-align: right;
  font-family: var(--mincho);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--sub);
  letter-spacing: 0.14em;
}

.greet__sign strong {
  display: block;
  margin-top: 0.8rem;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: 0.24em;
  margin-right: -0.24em;
}

.greet__photo {
  flex: none;
  position: relative;
  width: 11.2rem;
  aspect-ratio: 4/5;
  overflow: visible;
  background: none;
}

.greet__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(0.8rem, 0.8rem);
  background: var(--pale);
}

.greet__photo img {
  position: relative;
  -o-object-position: 30% center;
     object-position: 30% center;
}

@media (max-width: 1024px) {
  .greet__grid {
    gap: 4.8rem;
  }
}
@media (max-width: 768px) {
  .greet__signwrap {
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3.2rem;
  }
  .greet__sign strong {
    font-size: 2rem;
  }
  .greet__photo {
    width: 8.8rem;
  }
  .greet__photo::before {
    transform: translate(0.6rem, 0.6rem);
  }
}
.greet__grid--quote {
  grid-template-columns: minmax(0, 72rem) 11rem;
}

.greet__quote {
  writing-mode: vertical-rl;
  justify-self: end;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.8;
  letter-spacing: 0.3em;
  padding-right: 2.4rem;
  border-right: 1px solid var(--green);
  white-space: nowrap;
}

.greet__quote small {
  display: block;
  margin-top: 2.4rem;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: var(--sub);
}

@media (max-width: 1024px) {
  .greet__grid--quote {
    grid-template-columns: minmax(0, 72rem);
  }
  .greet__quote {
    writing-mode: horizontal-tb;
    justify-self: start;
    order: -1;
    white-space: normal;
    padding: 0 0 0 2rem;
    border-right: 0;
    border-left: 1px solid var(--green);
    font-size: 2rem;
    letter-spacing: 0.14em;
  }
  .greet__quote small {
    display: inline;
    margin: 0 0 0 1.2rem;
  }
}
.outline {
  background: var(--surface);
}

.outline__tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
  background: var(--white);
}

.outline__tbl th, .outline__tbl td {
  padding: 2.4rem 3.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}

.outline__tbl th {
  width: 20rem;
  font-family: var(--mincho);
  font-weight: 500;
  letter-spacing: 0.12em;
  background: var(--pale);
}

.outline__tbl tr:first-child th, .outline__tbl tr:first-child td {
  border-top: 1px solid var(--line);
}

@media (max-width: 768px) {
  .outline__tbl th, .outline__tbl td {
    display: block;
    width: 100%;
    padding: 1.6rem 2rem;
  }
  .outline__tbl th {
    border-bottom: 0;
  }
}
.map {
  margin-top: 5.6rem;
  aspect-ratio: 16/7;
  border: 1px solid var(--line);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.6);
}

@media (max-width: 768px) {
  .map {
    aspect-ratio: 4/3;
  }
}
.form__intro {
  max-width: 80rem;
  margin: 0 auto 5.6rem;
  font-size: 1.5rem;
  line-height: 2.2;
}

.form__tel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin-top: 3.2rem;
  padding: 2.8rem 3.2rem;
  background: var(--pale);
}

.form__tel small {
  color: var(--sub);
  font-size: 1.3rem;
}

.form__tel .contact__tel {
  font-size: 3rem;
}

.cflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 80rem;
  margin: 0 auto 5.6rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.cflow li {
  padding: 2.4rem 2.4rem 2.6rem;
}

.cflow li + li {
  border-left: 1px solid var(--line);
}

.cflow b {
  display: block;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: var(--green);
}

.cflow strong {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.cflow p {
  margin-top: 0.8rem;
  font-size: 1.35rem;
  line-height: 1.9;
  color: var(--sub);
}

@media (max-width: 768px) {
  .cflow {
    grid-template-columns: 1fr;
  }
  .cflow li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
.form {
  max-width: 80rem;
  margin-inline: auto;
}

.form__row {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: 3.2rem;
  padding: 2.8rem 0;
  border-bottom: 1px solid var(--line);
}

.form__row:first-of-type {
  border-top: 1px solid var(--line);
}

.form__lbl {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  padding-top: 1.2rem;
}

.form__req {
  display: inline-block;
  margin-left: 1rem;
  font-family: var(--gothic);
  font-size: 1.1rem;
  color: var(--white);
  background: var(--mikan);
  padding: 0 0.8rem;
  line-height: 2;
  vertical-align: 0.2rem;
}

.form .wpcf7-form-control-wrap {
  display: block;
}

.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  background-color: var(--surface);
  font: inherit;
  font-size: 1.6rem;
  color: var(--text);
  border-radius: 0;
}

.form select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 2.2rem) 50%, calc(100% - 1.7rem) 50%;
  background-size: 0.5rem 0.5rem;
  background-repeat: no-repeat;
  padding-right: 4.4rem;
}

.form textarea {
  min-height: 20rem;
  resize: vertical;
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--green);
  background-color: var(--white);
}

.form__agree {
  margin-top: 4rem;
  text-align: center;
  font-size: 1.4rem;
}

.form__agree a {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.form__agree .wpcf7-list-item {
  margin: 0;
}

.form__agree input {
  margin-right: 0.6rem;
  accent-color: var(--mikan);
}

.form__submit {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.form__submit .btn {
  min-width: 32rem;
}

.form__submit .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form__submit .btn--line {
  min-width: 16rem;
}

.form .wpcf7-spinner {
  position: absolute;
  margin: 2rem 0 0 1.6rem;
}

.form .wpcf7-not-valid-tip {
  margin-top: 0.6rem;
  font-size: 1.3rem;
  color: #c0392b;
}

.form .wpcf7-response-output {
  margin: 3.2rem 0 0 !important;
  padding: 1.6rem 2rem !important;
  font-size: 1.4rem;
  border-color: var(--mikan) !important;
}

.form__val {
  padding-top: 1.2rem;
  font-size: 1.5rem;
  line-height: 2;
  white-space: pre-wrap;
  word-break: break-all;
}

@media (max-width: 768px) {
  .form__row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .form__lbl {
    padding-top: 0;
  }
  .form__val {
    padding-top: 0;
  }
  .form__submit .btn {
    min-width: 100%;
  }
}
.thanks {
  max-width: 80rem;
  margin-inline: auto;
  text-align: center;
}

.thanks__ttl {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.thanks__txt {
  margin-top: 2.4rem;
  font-size: 1.5rem;
  line-height: 2.2;
}

.thanks__tel {
  margin-top: 4rem;
  padding: 2.8rem 3.2rem;
  background: var(--pale);
}

.thanks__tel small {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.3rem;
  color: var(--sub);
}

.thanks__back {
  margin-top: 4.8rem;
}

@media (max-width: 768px) {
  .thanks__txt {
    text-align: left;
  }
}
.policy {
  max-width: 80rem;
  margin-inline: auto;
  font-size: 1.5rem;
  line-height: 2.2;
}

.policy h2 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin: 5.6rem 0 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.policy h2:first-child {
  margin-top: 0;
}

.contact {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.contact__cell {
  padding: 5.6rem 4.8rem;
  text-align: center;
}

.contact__cell + .contact__cell {
  border-left: 1px solid var(--line);
}

.contact__cap {
  font-size: 1.4rem;
  color: var(--sub);
  margin-bottom: 1.6rem;
}

.contact__tel {
  font-family: var(--mincho);
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.contact__time {
  font-size: 1.3rem;
  color: var(--sub);
  margin-top: 1.2rem;
}

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__cell {
    padding: 4rem 2.4rem;
  }
  .contact__cell + .contact__cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
.footer {
  background: var(--surface);
  padding: 8rem 0 3.2rem;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer__logo img {
  width: 24rem;
}

.footer__addr {
  margin-top: 2.4rem;
  font-size: 1.35rem;
  line-height: 1.9;
  color: var(--sub);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1.2rem 4.8rem;
  font-family: var(--mincho);
  font-size: 1.45rem;
  align-content: start;
}

.footer__nav a:hover {
  color: var(--green);
}

.footer__copy {
  margin-top: 6.4rem;
  font-size: 1.1rem;
  color: var(--sub);
  text-align: center;
  letter-spacing: 0.1em;
}

.pagetop {
  position: fixed;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 40;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

.pagetop::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-left: 1px solid var(--text);
  border-top: 1px solid var(--text);
  transform: translateY(0.3rem) rotate(45deg);
}/*# sourceMappingURL=style.css.map */