@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

:root {
  --ink: #5d5550;
  --muted: #7b746e;
  --green: #91b784;
  --green-soft: #dbe9d5;
  --pink: #f8dfe3;
  --pink-strong: #df8c9a;
  --pink-line: #d9919f;
  --beige: #b9a296;
  --white: #fff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.9;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 6%, rgba(248, 223, 227, .42), transparent 24rem),
    radial-gradient(circle at 94% 28%, rgba(219, 233, 213, .25), transparent 28rem);
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 13px clamp(20px, 5vw, 72px);
  background: rgba(255, 246, 248, .94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo-header {
  height: 48px;
}

.brand-mark {
  position: relative;
  width: 62px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  width: 48px;
  height: 14px;
  border: 4px solid transparent;
  border-bottom-color: #a78d75;
  border-radius: 0 0 50% 50%;
}

.brand-mark::before {
  bottom: 2px;
}

.brand-mark::after {
  bottom: 12px;
  border-bottom-color: #bfcda7;
  transform: rotate(5deg);
}

.brand-mark span {
  position: absolute;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
}

.brand-mark span:nth-child(1) {
  left: 3px;
  background: #84bb83;
}

.brand-mark span:nth-child(2) {
  left: 23px;
  background: #deb5a3;
}

.brand-mark span:nth-child(3) {
  left: 43px;
  background: #cfbd8c;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-sub,
.brand-note {
  color: #8aa981;
  font-size: 12px;
  font-weight: 700;
}

.brand-name {
  color: #75a96e;
  font-size: 29px;
  font-weight: 700;
}

.brand-note {
  margin-top: 2px;
  color: #a58f86;
  font-size: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  color: #4e4946;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color .2s ease, transform .2s ease;
}

.site-nav a:hover {
  color: #7fae78;
}

.contact-link,
.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 21px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e89ba8, #d77f8f);
  color: #fff;
  box-shadow: 0 7px 16px rgba(216, 126, 143, .24);
}

.contact-link svg,
.footer-contact svg {
  width: 28px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(410px, 43vw, 665px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .83) 34%, rgba(255, 255, 255, .08) 72%),
    url("../images/bochibochi/hero.webp") center center / cover no-repeat;
}

.hero::after {
  /*content: "";
  position: absolute;
  right: -6%;
  bottom: -58px;
  left: -6%;
  height: 130px;
  background: #fff;
  border-radius: 0 0 50% 50%;
  transform: rotate(3deg);
  transform-origin: left bottom;*/
}

.hero-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 145px) 0 150px;
}

.hero h1 {
  margin: 0;
  color: #655a53;
  font-size: clamp(35px, 4vw, 62px);
  font-weight: 700;
  line-height: 1.55;
}

.hero p {
  max-width: 480px;
  margin: 28px 0 0;
  color: #695f59;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 700;
}

.section {
  /*width: min(100% - 44px, var(--max));*/
  width: 85%;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 118px) 0;
}

.section-heading {
  text-align: center;
}

.section h2,
.profile-copy h2 {
  margin: 0;
  color: #655d57;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.45;
}

.lead {
  max-width: 820px;
  margin: 34px auto 0;
  text-align: center;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
}

.lead + .lead {
  margin-top: 8px;
}

.consult-box {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  max-width: 850px;
  margin: clamp(58px, 7vw, 84px) auto 0;
  align-items: center;
}

.consult-box h3 {
  margin: 0;
  padding-right: 30px;
  color: var(--green);
  font-size: clamp(20px, 2vw, 26px);
  text-align: right;
}

.consult-box ul {
	border-left: 2px solid #adc9a7;
	padding-left: 5em;
  margin: 0;
  font-weight: 700;
	font-size: 1.1em;
}

.license-card ul {
  margin: 0;
  padding-left: 1.25em;
  font-weight: 700;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 58px);
  margin-top: clamp(70px, 9vw, 105px);
}

.soft-card {
  min-height: 370px;
  padding: clamp(34px, 4.5vw, 54px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, .8), transparent 18rem),
    radial-gradient(circle at 90% 80%, rgba(236, 166, 176, .33), transparent 16rem),
    #f9dfe4;
}

.soft-card h3 {
  margin: 0 0 30px;
  color: #7eb578;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
}

.soft-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.soft-card p + p {
  margin-top: 9px;
}

.flow {
  padding-top: 36px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 2.3vw, 28px);
  margin: clamp(3em, 9vw, 122px) 0 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-width: 0;
  text-align: center;
}

.flow-num {
  display: block;
  margin-bottom: 4px;
  color: #89be7e;
  font-size: clamp(20px, 2.1vw, 29px);
  font-weight: 700;
  line-height: 1;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: clamp(86px, 9vw, 125px);
  aspect-ratio: 1;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #f9dde3;
}

.flow-icon img {
  width: 66%;
  height: 66%;
  object-fit: contain;
}

.flow-icon svg,
.info-card svg,
.footer-tel svg {
  fill: none;
  stroke: #aebaa9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.flow-icon svg {
  width: 58%;
  height: 58%;
}

.flow-list h3 {
  min-height: 55px;
  margin: 0;
  color: #5e5650;
  font-size: 15px;
  line-height: 1.45;
}

.flow-list p {
  margin: 8px 0 0;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.profile-band {
  margin-top: clamp(24px, 5vw, 70px);
  background: #fde7ea;
}

.profile-inner {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 460px);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
  width: min(100% - 80px, var(--max));
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 96px) 0;
}

.role {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.profile-copy h2 {
  margin-top: 3px;
}

.profile-copy p:last-child {
  max-width: 560px;
  margin: 28px 0 0;
  font-weight: 700;
}

.license-card {
  padding: clamp(34px, 4vw, 52px) clamp(34px, 5vw, 58px);
  border-radius: 26px;
  background: rgba(255, 255, 255, .88);
}

.license-card h3 {
  margin: 0 0 12px;
  color: #82b579;
  font-size: 20px;
}

.office {
  padding-top: 76px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 58px);
}

.info-card {
  display: grid;
  justify-items: center;
  min-height: 238px;
  padding: 28px 24px 30px;
  border: 2px solid var(--pink-line);
  border-radius: 23px;
  text-align: center;
}

.info-card h3 {
  margin: 0;
  color: #83b47a;
  font-size: 18px;
}

.info-card svg {
  width: 50px;
  height: 50px;
  margin-top: 22px;
  stroke-width: 1.8;
}

.info-card p {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.site-footer {
  margin-top: 0;
  background: #fde3e7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: center;
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-brand .brand-name {
  font-size: 31px;
}

.brand-logo-footer {
  height: 87px;
}

.footer-tel {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #5d5550;
}

.footer-tel svg {
  width: 58px;
  height: 58px;
  stroke: #86736c;
  stroke-width: 1.8;
}

.footer-tel span,
.footer-tel small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-tel a {
  display: block;
  color: #6b6260;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
}

.footer-contact {
  justify-self: end;
  min-width: 240px;
  min-height: 54px;
  font-size: 20px;
  font-weight: 700;
}

.copyright {
  margin: 0;
  padding: 19px 16px;
  background: #b5a094;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 74px;
    padding: 12px 22px;
  }

  .brand-mark {
    width: 52px;
    height: 39px;
  }

  .brand-mark::before,
  .brand-mark::after {
    width: 40px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-logo-header {
    height: 42px;
  }

  .nav-button {
    position: relative;
    z-index: 22;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .nav-button span,
  .nav-button::before,
  .nav-button::after {
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 999px;
    background: #7b746e;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-button::before {
    position: absolute;
    transform: translateY(-8px);
  }

  .nav-button::after {
    position: absolute;
    transform: translateY(8px);
  }

  .nav-toggle:checked + .nav-button span {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-button::before {
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-button::after {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px 22px 22px;
    background: rgba(255, 246, 248, .98);
    box-shadow: 0 18px 30px rgba(104, 77, 82, .12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav a {
    padding: 13px 0;
    border-top: 1px solid rgba(217, 145, 159, .3);
  }

  .site-nav .contact-link {
    margin-top: 14px;
    padding: 9px 20px;
    border: 0;
  }

  .nav-toggle:checked ~ .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: 540px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 42%, rgba(255, 255, 255, .1) 78%),
      url("../images/bochibochi/hero.webp") 56% center / cover no-repeat;
  }

  .hero-inner {
    padding-top:80px;
		padding-left: 80px;
  }
	.consult-box h3 {
		text-align: center;
	}

  .consult-box,
  .message-grid,
  .profile-inner,
  .info-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 34px;
  }

  .footer-inner {
    justify-items: center;
    text-align: center;
  }

  .footer-contact {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-sub,
  .brand-note {
    font-size: 10px;
  }

  .brand-name {
    font-size: 22px;
  }

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

  .brand-logo-footer {
    height: 74px;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 45%, rgba(255, 255, 255, .22) 72%),
      url("../images/bochibochi/hero.webp") 50% center / cover no-repeat;
  }

  .hero::after {
    bottom: -72px;
    height: 110px;
  }

  .hero-inner,
  .section,
  .profile-inner,
  .footer-inner {
    width: min(100% - 80px, var(--max));
  }

  .lead {
    text-align: left;
  }

  .consult-box {
    gap: 18px;
    margin-top: 48px;
  }

  .consult-box h3 {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid #adc9a7;
    text-align: left;
  }

  .soft-card {
    min-height: auto;
    border-radius: 18px;
    padding: 30px 24px;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .flow-list h3 {
    min-height: 44px;
    font-size: 14px;
  }

  .flow-list p {
    font-size: 13px;
  }

  .profile-inner {
    min-height: auto;
  }

  .license-card,
  .info-card {
    border-radius: 18px;
  }

  .footer-tel {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .footer-contact {
    width: min(100%, 280px);
  }
}

@media (max-width: 430px) {
  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 16px;
    align-items: center;
    text-align: left;
  }

  .flow-num {
    grid-column: 1;
    grid-row: 1;
    margin-left: 8px;
  }

  .flow-icon {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 78px;
    margin: 0;
  }

  .flow-list h3,
  .flow-list p {
    grid-column: 2;
  }

  .flow-list h3 {
    grid-row: 1 / span 2;
    align-self: end;
    min-height: 0;
  }

  .flow-list p {
    grid-row: 3;
    margin-top: 4px;
  }
}
