* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: #f7f4ef;
  color: #263b3a;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #267999;
  outline-offset: 5px;
}
.wrap {
  width: 90%;
  max-width: 1240px;
  margin: auto;
}
.design-bar {
  background: #304b47;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 10px 4%;
  position: sticky;
  top: 0;
  z-index: 20;
  font-size: 14px;
}
.design-bar div {
  display: flex;
  gap: 8px;
}
.design-bar button {
  background: transparent;
  border: 1px solid #ffffff50;
  color: white;
  border-radius: 4px;
  padding: 7px 16px;
  font-size: 14px;
}
.design-bar button[aria-pressed="true"] {
  background: #f7f4ef;
  color: #304b47;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 0;
}
.logo img {
  display: block;
  width: 350px;
  height: auto;
  max-width: 100%;
}
header .logo {
  flex-shrink: 1;
}
nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3d6258;
  color: white;
  padding: 16px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #3d6258;
}
.button:hover {
  background: #284b41;
}
.button.small {
  font-size: 14px;
  padding: 12px 20px;
  white-space: nowrap;
}
.overline {
  font-size: 13px;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: #517064;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(38px, 4.25vw, 58px);
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin: 20px 0 22px;
}
h2 {
  font-size: 35px;
  line-height: 1.5;
  font-weight: 600;
  margin: 14px 0 25px;
}
h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}
p {
  line-height: 1.95;
}
.hero {
  background: #e6ece5;
  border-radius: 15px;
  padding: 62px 55px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 38px;
  position: relative;
}
.hero-copy {
  padding: 8px 0 24px;
}
.hero-lead {
  font-size: 23px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.hero-description {
  font-size: 16px;
  max-width: 500px;
  color: #52645e;
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 28px 0;
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid #82948b;
  padding-bottom: 3px;
}
.fee {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 35px;
  font-size: 14px;
}
.fee strong {
  font-size: 27px;
  font-weight: 600;
}
.fee small {
  font-size: 14px;
  margin-left: 3px;
}
.quick {
  background: #fdfcf8;
  padding: 28px 28px 20px;
  border-radius: 8px;
  align-self: start;
  box-shadow: 0 14px 35px #314c4510;
}
.quick h2 {
  font-size: 23px;
  margin: 5px 0 18px;
}
.quick a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid #e5e7dd;
  font-size: 16px;
}
.quick a:hover {
  color: #267999;
}
.quick a span {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #6b857c;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #b5c9c3;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.news {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 35px;
  padding: 32px 0;
  border-bottom: 1px solid #d5dcd2;
  align-items: center;
}
.news h2 {
  font-size: 21px;
  margin: 0;
}
.news > div {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}
.news a {
  line-height: 1.8;
}
.news a:hover {
  text-decoration: underline;
}
.topic {
  font-size: 12px;
  background: #b5c9c3;
  padding: 2px 10px;
}
section {
  padding: 85px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head p {
  margin: 0;
  color: #627168;
  font-size: 16px;
}
.consult-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.consult-card {
  display: flex;
  flex-direction: column;
  min-height: 225px;
  padding: 26px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e5da;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px #263b3a0c;
}
.consult-card:nth-child(7) {
  grid-column: span 2;
  min-height: 160px;
  background: #d9e5dd;
}
.number {
  font-family: Georgia, serif;
  font-size: 25px;
  color: #6d8d7d;
  margin-bottom: 22px;
}
.consult-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.consult-card p {
  font-size: 14px;
  color: #65756b;
  margin-bottom: 20px;
}
.card-label {
  font-size: 13px;
  margin-top: auto;
  border-top: 1px solid #e3e8de;
  padding-top: 12px;
  color: #476755;
}
.more-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #d5dcd2;
}
.more-services > span {
  font-weight: 600;
}
.more-services a {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.philosophy {
  background: #b5c9c3;
  padding: 70px 0;
}
.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
}
.philosophy h2 {
  font-family: "Yu Mincho", serif;
  font-size: 53px;
  letter-spacing: 0.12em;
}
.philosophy h2 span {
  display: block;
  font-family: sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-top: 8px;
}
.statement {
  font-family: "Yu Mincho", serif;
  font-size: 30px;
  line-height: 1.8;
  margin-bottom: 0;
}
.philosophy-inner > div:last-child {
  padding-top: 40px;
}
.staff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.staff {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  align-items: start;
}
.staff img {
  width: 150px;
  height: 190px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  background: #e8ebe5;
}
.staff h3 {
  font-size: 26px;
  margin: 10px 0;
}
.staff p {
  font-size: 14px;
  margin-bottom: 13px;
}
.qualifications {
  border-top: 1px solid #dce4db;
  border-bottom: 1px solid #dce4db;
  padding: 12px 0;
}
.details-section {
  padding: 0 0 75px;
}
details {
  border-block: 1px solid #cdd8cf;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 27px 0;
  font-size: 22px;
}
summary::-webkit-details-marker {
  display: none;
}
.plus {
  margin-left: auto;
  font-size: 25px;
}
details[open] .plus {
  transform: rotate(45deg);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding-bottom: 30px;
}
.detail {
  scroll-margin-top: 120px;
  border-top: 1px solid #d7dfd4;
  padding-top: 25px;
}
.detail h3 {
  font-size: 20px;
}
.detail p {
  font-size: 16px;
  color: #516358;
}
.detail span {
  color: #344d43;
}
.contact {
  background: #e4ebe0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 55px;
  border-radius: 12px;
}
.contact h2 {
  font-size: 32px;
}
.contact p {
  font-size: 16px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.contact-actions .button {
  width: 100%;
  max-width: 320px;
}
.phone {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.hours {
  font-size: 14px;
  color: #596a5e;
}
.mail {
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.office {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 70px 0;
}
.office h2 {
  font-size: 23px;
}
.office dl {
  margin: 0;
}
.office dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid #d8dfd4;
  padding: 14px 0;
  font-size: 14px;
  gap: 25px;
}
.office dt {
  color: #596b60;
}
.office dd {
  margin: 0;
}
footer {
  background: #e3e9e0;
  padding: 40px 0 20px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-top .logo img {
  width: 330px;
}
.footer-top > div {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-bottom {
  margin-top: 35px;
  border-top: 1px solid #bccbc0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 20px;
}
.footer-bottom small {
  font-size: 12px;
}
.mobile {
  display: none;
}
body[data-design="2"] .hero {
  background: transparent;
  padding: 55px 0 0;
  grid-template-columns: 1.35fr 1fr;
  gap: 7%;
}
body[data-design="2"] .hero h1 {
  font-family: "Yu Mincho", serif;
  font-size: 52px;
  font-weight: 500;
}
body[data-design="2"] .quick {
  border-radius: 90px 90px 15px 15px;
  padding: 42px 40px 25px;
  background: #dce7db;
  box-shadow: none;
}
body[data-design="2"] .quick-title {
  text-align: center;
}
body[data-design="2"] .hero-copy {
  padding: 35px 0;
}
body[data-design="2"] .button {
  border-radius: 40px;
}
body[data-design="2"] .consult-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
body[data-design="2"] .consult-card {
  border-radius: 20px;
  min-height: 210px;
  padding: 28px;
  border: 0;
}
body[data-design="2"] .consult-card:nth-child(7) {
  grid-column: 1/-1;
  min-height: 130px;
  display: grid;
  grid-template-columns: 60px 1fr 140px;
  align-items: center;
  gap: 20px;
}
body[data-design="2"] .consult-card:nth-child(7) .number,
body[data-design="2"] .consult-card:nth-child(7) h3 {
  margin: 0;
}
body[data-design="2"] .consult-card:nth-child(7) .card-label {
  margin: 0;
  border: 0;
  padding: 0;
}
body[data-design="2"] .philosophy {
  background: #e1e9dd;
  border-radius: 70px 70px 0 0;
}
body[data-design="2"] .staff {
  border-radius: 25px;
}
body[data-design="2"] .staff img {
  border-radius: 70px 70px 10px 10px;
}
body[data-design="2"] .contact {
  border-radius: 35px;
  background: #b5c9c3;
}
body[data-design="2"] h2 {
  font-family: "Yu Mincho", serif;
}
body[data-design="3"] header {
  padding: 34px 0;
}
body[data-design="3"] .hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
  border-block: 1px solid #b5c9c3;
  padding: 58px 0 0;
  border-radius: 0;
}
body[data-design="3"] .hero-copy {
  text-align: center;
  max-width: 800px;
  margin: auto;
  padding-bottom: 40px;
}
body[data-design="3"] h1 {
  font-family: "Yu Mincho", serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 1.55;
}
body[data-design="3"] .hero h1 br:not(.mobile) {
  display: none;
}
body[data-design="3"] .hero-lead {
  font-family: "Yu Mincho", serif;
  font-size: 25px;
}
body[data-design="3"] .hero-description {
  margin-inline: auto;
}
body[data-design="3"] .hero-actions,
body[data-design="3"] .fee {
  justify-content: center;
}
body[data-design="3"] .quick {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 28px 0;
  border-top: 1px solid #b5c9c3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
body[data-design="3"] .quick-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
}
body[data-design="3"] .quick-title .overline {
  font-size: 12px;
}
body[data-design="3"] .quick-title h2 {
  font-size: 21px;
  margin: 4px 0;
}
body[data-design="3"] .quick a {
  padding: 18px 22px;
  border: 0;
  border-left: 1px solid #b5c9c3;
  font-size: 15px;
}
body[data-design="3"] .hero-bottom {
  background: #b5c9c3;
  margin: 0;
  padding: 14px 22px;
}
body[data-design="3"] .button {
  border-radius: 0;
}
body[data-design="3"] h2,
body[data-design="3"] .consult-card h3 {
  font-family: "Yu Mincho", serif;
  font-weight: 500;
}
body[data-design="3"] .consult-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0 38px;
}
body[data-design="3"] .consult-card {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: 0;
  border-top: 1px solid #a9bdb1;
  padding: 26px 0;
  min-height: 230px;
}
body[data-design="3"] .consult-card:nth-child(7) {
  grid-column: span 3;
  min-height: 120px;
  display: grid;
  grid-template-columns: 80px 1fr 150px;
  align-items: center;
  gap: 20px;
}
body[data-design="3"] .consult-card:nth-child(7) .number,
body[data-design="3"] .consult-card:nth-child(7) h3 {
  margin: 0;
}
body[data-design="3"] .consult-card:nth-child(7) .card-label {
  border: 0;
  margin: 0;
  padding: 0;
}
body[data-design="3"] .philosophy {
  background: #b5c9c3;
  padding: 90px 0;
}
body[data-design="3"] .staff {
  background: transparent;
  border-radius: 0;
  padding: 25px 0;
  border-top: 1px solid #b5c9c3;
}
body[data-design="3"] .staff img {
  border-radius: 0;
}
body[data-design="3"] .contact {
  border-radius: 0;
  background: #e4e9df;
  border: 1px solid #b5c9c3;
}
@media (max-width: 1050px) {
  nav {
    gap: 14px;
  }
  .logo img {
    width: 285px;
  }
  header {
    gap: 15px;
  }
  .hero {
    padding: 40px 30px 0;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
  }
  h1 {
    font-size: 42px;
  }
  .quick {
    padding: 24px;
  }
  .staff {
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 25px;
  }
  .staff img {
    width: 110px;
    height: 150px;
  }
  .consult-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .consult-card:nth-child(7) {
    grid-column: span 3;
  }
  .philosophy-inner {
    gap: 55px;
  }
  body[data-design="2"] .hero h1 {
    font-size: 43px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: 90%;
  }
  .design-bar {
    display: block;
    padding: 8px 3%;
  }
  .design-bar > span {
    display: none;
  }
  .design-bar div {
    justify-content: center;
    gap: 5px;
  }
  .design-bar button {
    font-size: 11px;
    padding: 8px 7px;
    line-height: 1.7;
  }
  header,
  body[data-design="3"] header {
    padding: 22px 0;
    flex-wrap: wrap;
    gap: 15px;
  }
  header .logo {
    max-width: 65%;
  }
  .logo img {
    width: 280px;
  }
  header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid #d0dcd3;
    padding-top: 14px;
    gap: 8px;
    font-size: 12px;
  }
  .button.small {
    font-size: 12px;
    padding: 9px 10px;
  }
  .hero,
  body[data-design="2"] .hero,
  body[data-design="3"] .hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 28px 23px 0;
    gap: 20px;
  }
  .hero-copy,
  body[data-design="2"] .hero-copy {
    padding: 0;
  }
  .hero h1,
  body[data-design="2"] .hero h1,
  body[data-design="3"] h1 {
    font-size: 34px;
    line-height: 1.55;
    letter-spacing: -0.05em;
  }
  .mobile {
    display: block;
  }
  .hero-lead,
  body[data-design="3"] .hero-lead {
    font-size: 19px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 20px;
    flex-wrap: wrap;
    margin: 23px 0;
  }
  .hero-actions .button {
    padding: 13px 22px;
    font-size: 15px;
  }
  .fee {
    margin-top: 24px;
    gap: 7px;
    font-size: 12px;
  }
  .fee strong {
    font-size: 26px;
  }
  .quick {
    padding: 24px;
  }
  .quick a {
    padding: 12px 0;
    font-size: 16px;
  }
  .hero-bottom {
    font-size: 10px;
    letter-spacing: 0.03em;
    display: block;
  }
  .hero-bottom span {
    display: block;
  }
  .news {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0;
  }
  .news > div {
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
  }
  .news a {
    grid-column: 1/-1;
  }
  .topic {
    justify-self: start;
  }
  section {
    padding: 55px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 23px;
  }
  .section-head p {
    margin-top: 16px;
  }
  .section-head h2 {
    font-size: 29px;
  }
  .consult-grid,
  body[data-design="2"] .consult-grid,
  body[data-design="3"] .consult-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .consult-card,
  body[data-design="2"] .consult-card,
  body[data-design="3"] .consult-card {
    padding: 20px 17px;
    min-height: 220px;
  }
  .consult-card h3 {
    font-size: 17px;
  }
  .consult-card p {
    font-size: 14px;
  }
  .consult-card:nth-child(7),
  body[data-design="2"] .consult-card:nth-child(7),
  body[data-design="3"] .consult-card:nth-child(7) {
    grid-column: span 2;
    display: flex;
    align-items: start;
    min-height: 160px;
    gap: 12px;
  }
  .more-services {
    font-size: 14px;
    gap: 12px 20px;
  }
  .more-services > span {
    width: 100%;
  }
  .philosophy,
  body[data-design="3"] .philosophy {
    padding: 50px 0;
  }
  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .philosophy-inner > div:last-child {
    padding: 0;
  }
  .philosophy h2 {
    font-size: 40px;
  }
  .statement {
    font-size: 27px;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
  .staff {
    grid-template-columns: 100px 1fr;
    padding: 23px;
    gap: 20px;
  }
  .staff img {
    width: 100px;
    height: 135px;
  }
  .staff h3 {
    font-size: 24px;
  }
  .staff p {
    font-size: 14px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .details-section {
    padding-bottom: 40px;
  }
  summary {
    font-size: 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  summary .overline {
    font-size: 11px;
    width: 100%;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 20px;
  }
  .contact h2 {
    font-size: 27px;
  }
  .contact-actions {
    align-items: start;
  }
  .contact-actions .button {
    max-width: none;
  }
  .contact p {
    margin-bottom: 0;
  }
  .phone {
    font-size: 27px;
  }
  .office {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 50px 0;
  }
  .office dl div {
    grid-template-columns: 80px 1fr;
    gap: 15px;
  }
  .footer-top {
    flex-direction: column;
    align-items: start;
  }
  .footer-top > div {
    gap: 14px 25px;
  }
  .footer-top .logo img {
    width: 290px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  body[data-design="2"] .hero {
    padding: 20px 0 0;
  }
  body[data-design="2"] .quick {
    border-radius: 60px 60px 12px 12px;
    padding: 32px 30px 20px;
  }
  body[data-design="2"] .philosophy {
    border-radius: 35px 35px 0 0;
  }
  body[data-design="3"] .hero {
    padding: 30px 0 0;
  }
  body[data-design="3"] .hero-copy {
    padding-bottom: 10px;
  }
  body[data-design="3"] .hero h1 br:not(.mobile) {
    display: block;
  }
  body[data-design="3"] .quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 10px 0;
  }
  body[data-design="3"] .quick-title {
    grid-column: 1/-1;
    padding: 15px;
    text-align: center;
  }
  body[data-design="3"] .quick a {
    font-size: 14px;
    padding: 14px 10px;
    border-top: 1px solid #b5c9c3;
    gap: 8px;
  }
  body[data-design="3"] .hero-bottom {
    margin-top: 0;
  }
  body[data-design="3"] .consult-card {
    padding: 20px 0;
  }
  body[data-design="3"] .staff {
    padding: 22px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .consult-card {
    transition: none;
  }
}
.top-photo {
  margin: 0;
  align-self: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.top-photo img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
}
.top-photo figcaption {
  font-size: 12px;
  color: #65776b;
  text-align: right;
  margin-top: 8px;
}
.top-photo figcaption a {
  text-decoration: underline;
}
.hero .quick {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: none;
  background: transparent;
  padding: 22px 0 0;
  gap: 0;
}
.hero .quick-title {
  padding: 12px 18px 12px 0;
}
.hero .quick-title h2 {
  font-size: 21px;
}
.hero .quick a {
  border-top: 1px solid #bbcfc0;
  padding: 16px 14px;
  font-size: 15px;
}
.hero .quick a span {
  font-size: 12px;
}
.hero .hero-bottom {
  margin-top: 0;
}
body[data-design="2"] .top-photo img {
  border-radius: 100px 100px 15px 15px;
  height: 460px;
}
body[data-design="2"] .hero .quick {
  border-radius: 15px;
  background: #e1e9dd;
  padding: 20px;
}
body[data-design="2"] .hero .quick-title {
  text-align: left;
}
body[data-design="3"] .hero {
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding-top: 45px;
}
body[data-design="3"] .hero-copy {
  text-align: left;
  padding-bottom: 10px;
}
body[data-design="3"] .hero h1 {
  font-size: 48px;
}
body[data-design="3"] .hero h1 br:not(.mobile) {
  display: block;
}
body[data-design="3"] .hero-actions,
body[data-design="3"] .fee {
  justify-content: start;
}
body[data-design="3"] .top-photo img {
  border-radius: 0;
  height: 450px;
}
body[data-design="3"] .hero .quick {
  padding: 20px 0 0;
  border-top: 0;
}
body[data-design="3"] .hero .quick a {
  border-left: 0;
  border-top: 1px solid #b5c9c3;
}
.page-heading {
  padding: 55px 0 45px;
  border-block: 1px solid #b5c9c3;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #60786b;
  margin-bottom: 30px;
}
.breadcrumbs a {
  text-decoration: underline;
}
.page-heading h1 {
  font-size: 45px;
  margin: 12px 0 15px;
}
.page-heading p {
  margin: 0;
  color: #596e62;
}
.lecturer-switch {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.lecturer-switch a {
  padding: 12px 25px;
  border: 1px solid #b5c9c3;
  border-radius: 5px;
  font-size: 16px;
}
.lecturer-switch a[aria-current="page"] {
  background: #3d6258;
  color: #fff;
  border-color: #3d6258;
}
.lecture-profile {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #d6e0d5;
  padding: 38px 0;
}
.lecture-profile img {
  width: 130px;
  height: 160px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}
.lecture-profile h2 {
  font-size: 29px;
  margin: 8px 0;
}
.lecture-profile p {
  margin: 0;
  font-size: 15px;
}
.lecture-list {
  display: grid;
  gap: 0;
}
.lecture-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  border-top: 1px solid #b5c9c3;
  padding: 30px 0;
}
.lecture-item .number {
  margin: 0;
  font-size: 32px;
}
.lecture-item h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.lecture-item p {
  font-size: 18px;
  margin: 0;
}
.lecture-gallery {
  padding-top: 0;
}
.lecture-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.lecture-photos figure {
  margin: 0;
  min-width: 0;
  background: white;
  border-radius: 8px;
  padding: 15px;
}
.lecture-photos img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.lecture-photos figcaption {
  font-size: 15px;
  padding: 15px 5px 3px;
}
.lecture-photos.single {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.lecture-contact {
  margin-bottom: 65px;
}
.back-link {
  padding: 22px 0 50px;
}
.back-link a {
  border-bottom: 1px solid #a8beb0;
}
.lecture-top-link {
  font-size: 14px;
  border-bottom: 1px solid #b5c9c3;
}
body[data-design="2"] .page-heading {
  border: 0;
  background: #e1e9dd;
  border-radius: 30px;
  padding: 40px;
}
body[data-design="2"] .lecture-item {
  background: white;
  border: 0;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 18px;
}
body[data-design="2"] .lecture-photos figure {
  border-radius: 20px;
}
body[data-design="3"] .page-heading h1,
body[data-design="3"] .lecture-item h3 {
  font-family: "Yu Mincho", serif;
  font-weight: 500;
}
body[data-design="3"] .lecture-photos figure {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
body[data-design="3"] .lecturer-switch a {
  border-radius: 0;
}
@media (max-width: 760px) {
  .top-photo img,
  body[data-design="2"] .top-photo img,
  body[data-design="3"] .top-photo img {
    height: 260px;
    border-radius: 8px;
  }
  body[data-design="2"] .top-photo img {
    border-radius: 50px 50px 12px 12px;
  }
  .hero .quick,
  body[data-design="2"] .hero .quick,
  body[data-design="3"] .hero .quick {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 12px 0;
  }
  .hero .quick-title,
  body[data-design="3"] .hero .quick-title {
    grid-column: 1/-1;
    text-align: left;
    padding: 10px 0;
  }
  .hero .quick a,
  body[data-design="3"] .hero .quick a {
    font-size: 14px;
    padding: 13px 8px;
    gap: 9px;
  }
  body[data-design="2"] .hero .quick {
    padding: 15px;
  }
  body[data-design="3"] .hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body[data-design="3"] .hero h1 {
    font-size: 34px;
  }
  .page-heading,
  body[data-design="2"] .page-heading {
    padding: 30px 20px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .lecturer-switch {
    gap: 8px;
  }
  .lecturer-switch a {
    padding: 10px 15px;
    font-size: 14px;
  }
  .lecture-profile {
    grid-template-columns: 85px 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .lecture-profile img {
    width: 85px;
    height: 110px;
  }
  .lecture-profile h2 {
    font-size: 24px;
  }
  .lecture-profile p {
    font-size: 14px;
  }
  .lecture-item {
    grid-template-columns: 45px 1fr;
    gap: 15px;
    padding: 25px 0;
  }
  .lecture-item h3 {
    font-size: 21px;
  }
  .lecture-item p {
    font-size: 16px;
  }
  .lecture-photos {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .lecture-contact {
    margin-bottom: 40px;
  }
  .breadcrumbs {
    font-size: 12px;
    gap: 8px;
  }
  body[data-design="2"] .lecture-item {
    padding: 22px 17px;
  }
}

.news-items {
  display: block !important;
}
.news-row {
  display: grid;
  grid-template-columns: 100px 65px 1fr;
  gap: 18px;
  align-items: start;
  padding: 12px 0;
}
.news-items > .text-link {
  display: inline-block;
  margin-top: 15px;
}
.news-page {
  padding: 55px 0;
  max-width: 900px;
}
.article-body {
  font-size: 17px;
  line-height: 2;
  margin: 30px 0 40px;
  overflow-wrap: anywhere;
}
.news-article h1 {
  font-size: 35px;
  line-height: 1.6;
}
.article-meta {
  font-size: 14px;
  color: #60786b;
}
.lecture-record {
  margin-bottom: 50px;
}
.lecture-record .lecture-photos {
  margin: 15px 0 25px;
}
.lecture-meta {
  font-size: 14px !important;
  color: #60786b;
}
.news-page .lecture-photos {
  margin: 30px 0;
}
.news-list-item {
  padding: 25px 0;
  border-bottom: 1px solid #b5c9c3;
}
.news-list-item h2 {
  font-size: 23px;
  margin: 10px 0;
}
.news-list-item time {
  font-size: 14px;
  color: #60786b;
}
@media (max-width: 760px) {
  .news-row {
    grid-template-columns: 100px 1fr;
    gap: 8px;
  }
  .news-row a {
    grid-column: 1/-1;
  }
  .news-article h1 {
    font-size: 28px;
  }
  .news-page {
    padding: 30px 0;
  }
  .news-list-item h2 {
    font-size: 20px;
  }
}

.content-page {
  padding: 35px 0 60px;
}
.information-date {
  font-size: 14px !important;
  color: #61796a;
  margin-top: 20px !important;
}
.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid #b5c9c3;
}
.service-index a {
  font-size: 15px;
  padding: 9px 16px;
  background: #e1eadd;
  border-radius: 5px;
}
.service-detail {
  border-bottom: 1px solid #b5c9c3;
  scroll-margin-top: 100px;
}
.service-title {
  display: flex;
  align-items: start;
  gap: 25px;
}
.service-title .number {
  font-size: 42px;
  margin-top: 5px;
}
.service-title h2 {
  margin-top: 0;
}
.service-title p {
  font-size: 23px;
  margin-bottom: 15px;
}
.service-lead {
  max-width: 900px;
  font-size: 17px;
}
.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin: 25px 0;
}
.service-columns h3 {
  font-size: 20px;
}
.service-columns ul {
  padding-left: 23px;
}
.service-columns li {
  margin-bottom: 10px;
}
.service-basics {
  max-width: 1000px;
}
.service-basics h3 {
  margin-top: 30px;
  font-size: 23px;
}
.info-box,
.scope-box {
  background: #e1eadd;
  border: 1px solid #c5d5c5;
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
}
.info-box h4 {
  font-size: 18px;
  margin: 0 0 15px;
}
.info-box p:last-child,
.scope-box p:last-child {
  margin-bottom: 0;
}
.scope-note {
  font-size: 14px;
  color: #5d7163;
}
.reference-links {
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding: 20px 0;
  border-top: 1px solid #d5dfd0;
  margin-top: 25px;
}
.reference-links > span {
  width: 100%;
  font-weight: 600;
}
.reference-links a {
  border-bottom: 1px solid #aec2b2;
}
.about-intro {
  max-width: 900px;
}
.policy-body {
  max-width: 900px;
}
.policy-body h2 {
  font-size: 25px;
  margin-top: 40px;
}
.policy-body a {
  overflow-wrap: anywhere;
}
.policy-body ul {
  padding-left: 23px;
}
.contact-form {
  max-width: 850px;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  margin: 35px auto;
}
.contact-form label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #a5bca9;
  border-radius: 5px;
  font: inherit;
  color: #263b3a;
  background: white;
}
.contact-form input[type="checkbox"] {
  width: auto;
}
.contact-form textarea {
  min-height: 180px;
}
.contact-form button {
  font: inherit;
  cursor: pointer;
  margin-top: 22px;
}
.contact-form .form-help {
  font-size: 14px;
  color: #617568;
}
.form-error {
  background: #ffeaea;
  color: #883b3b;
  padding: 20px;
  border-radius: 5px;
}
.form-success {
  background: #e0eedb;
  padding: 30px;
  border-radius: 7px;
}
.confirm-data {
  margin: 0;
}
.confirm-data dt {
  font-weight: 600;
  margin-top: 18px;
}
.confirm-data dd {
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.trap-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.receipt-box {
  max-width: 800px;
  margin: 35px auto;
}
.related-contacts {
  margin-top: 30px;
  border-top: 1px solid #d5e0d2;
  padding-top: 25px;
}
@media (max-width: 760px) {
  .content-page {
    padding-top: 20px;
  }
  .service-columns {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 23px;
  }
  .service-title {
    gap: 15px;
  }
  .service-title .number {
    font-size: 32px;
  }
  .service-title h2 {
    font-size: 28px;
  }
  .service-title p {
    font-size: 19px;
  }
  .service-lead {
    font-size: 16px;
  }
  .info-box,
  .scope-box {
    padding: 23px;
  }
  .reference-links {
    font-size: 13px;
  }
  .contact-form {
    padding: 25px 20px;
  }
  .service-index {
    gap: 8px;
  }
  .service-index a {
    font-size: 14px;
    padding: 8px 12px;
  }
  .policy-body h2 {
    font-size: 23px;
  }
}

/* Gentle, welcoming consultation design */
body {
  background: #faf7f2;
  color: #304c46;
  line-height: 1.95;
}
h1,
h2,
h3 {
  line-height: 1.55;
}
header .button,
.button {
  border-radius: 999px;
  background: #42695e;
  box-shadow: 0 5px 16px #304c4614;
  transition:
    background 0.22s,
    transform 0.22s,
    box-shadow 0.22s;
}
.button:hover {
  background: #34574c;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px #304c4620;
}
.design-bar {
  background: #47665e;
}
.design-bar button {
  border-radius: 999px;
}
.hero h1 {
  font-weight: 600;
  letter-spacing: 0.03em;
}
.hero-description {
  max-width: 36em;
}
.top-photo img,
.top-photo {
  border-radius: 32px;
}
.quick {
  border-radius: 28px !important;
  background: #e2ede6 !important;
  border: 0 !important;
  box-shadow: 0 14px 40px #304c4609 !important;
}
.quick a {
  border-color: #b5c9c35c;
}
.consult-card,
.scope-box,
.staff,
.service-detail,
.entry-card {
  border-radius: 24px;
}
.consult-card {
  background: #fffdf9;
  box-shadow: 0 5px 24px #304c4607;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px #304c4614;
}
.philosophy {
  background: #e6efe8;
}
.contact {
  border-radius: 32px;
  background: #dce9e1;
}
.page-heading {
  padding-bottom: 30px;
}
.service-basics {
  border-radius: 18px;
}
.pricing-section {
  padding: 70px 0;
}
.pricing-note {
  padding: 18px 24px;
  background: #f0e9db;
  border-radius: 16px;
  font-size: 15px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0;
}
.price-card {
  padding: 30px;
  background: #fffdf9;
  border: 1px solid #dfe7df;
  border-radius: 26px;
  box-shadow: 0 8px 30px #304c4608;
}
.price-card.featured {
  background: #edf4ed;
  border: 2px solid #8cad9b;
}
.price-tag {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 14px;
  background: #e4ece5;
}
.price-card h3 {
  font-size: 21px;
  margin: 20px 0 12px;
}
.price-value {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.45;
  margin: 25px 0;
}
.price-value span {
  display: block;
  font-size: 16px;
  font-weight: 400;
}
.pricing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-footer {
    display: block;
  }
  .pricing-section {
    padding: 40px 0;
  }
  .price-card {
    padding: 24px;
  }
  .hero h1 {
    font-size: clamp(28px, 7vw, 40px) !important;
  }
  .top-photo img {
    border-radius: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button,
  .consult-card {
    transition: none;
  }
  .button:hover,
  .consult-card:hover {
    transform: none;
  }
}

/* Friendly pop variation */
.pop-flow {
  display: none;
}
body[data-design="2"] {
  background: #fffaf1;
  color: #304b43;
}
body[data-design="2"] .design-bar {
  background: #41675a;
}
body[data-design="2"] .hero h1 {
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 650;
  font-size: 48px;
}
body[data-design="2"] .hero-copy > .overline {
  display: inline-block;
  background: #ffe7a2;
  padding: 8px 20px;
  border-radius: 20px 20px 20px 4px;
  color: #3e564c;
}
body[data-design="2"] .hero {
  gap: 32px;
}
body[data-design="2"] .top-photo {
  position: relative;
  border: 9px solid white;
  box-shadow: 8px 10px 0 #d7e8d9;
  border-radius: 36px;
  transform: rotate(1deg);
}
body[data-design="2"] .top-photo img {
  border-radius: 25px;
}
body[data-design="2"] .quick {
  background: #e4efdf !important;
  border: 2px solid #b7d1b8 !important;
  border-radius: 32px !important;
}
body[data-design="2"] .quick-title h2 {
  font-size: 25px;
}
body[data-design="2"] .consult-grid {
  gap: 22px;
}
body[data-design="2"] .consult-card {
  background: #fff0bc;
  border: 2px solid #eadcae;
  padding: 28px;
  min-height: 230px;
  position: relative;
  box-shadow: 4px 5px 0 #eaddb240;
}
body[data-design="2"] .consult-card:nth-child(3n + 2) {
  background: #f9e0d9;
  border-color: #eccdc3;
  box-shadow: 4px 5px 0 #eccdc340;
}
body[data-design="2"] .consult-card:nth-child(3n) {
  background: #e0eee8;
  border-color: #c1d9cf;
  box-shadow: 4px 5px 0 #c1d9cf40;
}
body[data-design="2"] .consult-card:nth-child(7) {
  display: block;
  grid-column: auto;
  min-height: 230px;
}
body[data-design="2"] .consult-card .number {
  display: inline-block;
  border-radius: 999px;
  background: #ffffffaa;
  padding: 3px 13px;
  font-size: 15px;
  margin-bottom: 12px;
}
body[data-design="2"] .consult-card h3 {
  font-size: 22px;
  margin: 10px 0;
}
body[data-design="2"] .consult-card .card-label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
}
body[data-design="2"] .consult-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
}
.pop-icon {
  display: none;
}
body[data-design="2"] .pop-icon {
  display: block;
  width: 40px;
  height: 40px;
  float: right;
  opacity: 0.75;
}
body[data-design="2"] .section-head h2 {
  background: #f9e0d9;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 22px 22px 22px 4px;
}
body[data-design="2"] .philosophy {
  background: #e2eddf;
}
body[data-design="2"] .pop-flow {
  display: block;
  padding: 65px 0;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.flow-grid article {
  padding: 28px;
  background: #fffdf8;
  border: 2px solid #d7e5d9;
  border-radius: 28px;
}
.flow-grid img {
  display: block;
  margin-bottom: 15px;
}
.flow-grid span {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #526e5f;
}
.flow-grid h3 {
  font-size: 21px;
  margin: 12px 0;
}
.flow-grid p {
  margin-bottom: 0;
}
body[data-design="2"] .contact {
  background: #f9e7ae;
  border: 2px solid #e5d39b;
}
body[data-design="2"] .price-card {
  border-radius: 28px;
  background: #fffdf8;
}
body[data-design="2"] .price-card.featured {
  background: #e2efdf;
  border-color: #a8c7a7;
}
body[data-design="2"] .button {
  background: #416b58;
  border: 2px solid #416b58;
}
body[data-design="2"] .button:hover {
  background: #345845;
}
@media (max-width: 760px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
  body[data-design="2"] .hero {
    gap: 24px;
  }
  body[data-design="2"] .consult-grid {
    grid-template-columns: 1fr;
  }
  body[data-design="2"] .consult-card:nth-child(7) {
    grid-column: auto;
  }
  .pop-flow {
    padding: 35px 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-design="2"] .consult-card:hover {
    transform: none;
  }
}

/* Quiet motion and a clear contact path across the site */
:root {
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}
body {
  padding-bottom: 112px;
}
.contact-dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1050px, 94%);
  padding: 14px 18px;
  background: #fffdf8f5;
  border: 1px solid #ccdcd0;
  border-radius: 24px;
  box-shadow: 0 10px 40px #213e3420;
  backdrop-filter: blur(18px);
}
.dock-intro {
  flex: 1;
}
.dock-intro strong,
.dock-intro span {
  display: block;
}
.dock-intro strong {
  font-size: 15px;
}
.dock-intro span {
  font-size: 13px;
  color: #52655d;
}
.contact-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 17px;
  border-radius: 15px;
  font-size: 14px;
  transition:
    transform 0.3s var(--ease-soft),
    box-shadow 0.3s,
    background 0.3s;
  white-space: nowrap;
}
.contact-dock a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px #213e3417;
}
.dock-phone {
  flex-direction: column;
  background: #e3ede2;
  color: #304c3f;
  line-height: 1.5;
}
.dock-phone strong {
  font-size: 17px;
}
.dock-mail {
  background: #fae8b6;
  color: #394c3e;
}
.dock-form {
  background: #416b58;
  color: white;
}
.motion-card {
  transition:
    transform 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease-soft);
}
.motion-card:hover {
  box-shadow: 0 14px 36px #304c4614;
}
.motion-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease-soft),
    transform 0.85s var(--ease-soft);
  transition-delay: var(--motion-delay, 0ms);
}
.motion-in.motion-seen {
  opacity: 1;
  transform: none;
}
.hero-copy,
.page-heading {
  animation: welcome-in 0.9s var(--ease-soft) both;
}
.top-photo {
  animation: photo-in 1.2s var(--ease-soft) both;
}
.button {
  transition:
    transform 0.35s var(--ease-soft),
    background 0.25s,
    box-shadow 0.35s;
}
.button:active,
.contact-dock a:active {
  transform: scale(0.98);
}
@keyframes welcome-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes photo-in {
  from {
    opacity: 0;
    translate: 0 18px;
    scale: 0.985;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@supports (view-transition-name: root) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: page-out 0.18s ease both;
  }
  ::view-transition-new(root) {
    animation: page-in 0.35s var(--ease-soft) both;
  }
  @keyframes page-out {
    to {
      opacity: 0;
    }
  }
  @keyframes page-in {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 850px) {
  .dock-intro {
    display: none;
  }
  .contact-dock {
    justify-content: center;
    width: min(560px, 96%);
    padding: 10px;
    gap: 8px;
    bottom: 10px;
  }
  .contact-dock a {
    flex: 1;
    padding: 9px 10px;
  }
  .dock-phone strong {
    font-size: 14px;
  }
  .dock-phone span {
    font-size: 12px;
  }
  body {
    padding-bottom: 98px;
  }
}
@media (max-width: 390px) {
  .contact-dock {
    gap: 5px;
  }
  .contact-dock a {
    font-size: 12px;
    padding: 9px 6px;
  }
  .dock-phone strong {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-copy,
  .page-heading,
  .top-photo {
    animation: none;
  }
  .contact-dock a,
  .motion-card,
  .button {
    transition: none;
  }
  .contact-dock a:hover {
    transform: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

/* Keep consultation illustrations visible in every design. */
.pop-icon,
body[data-design="2"] .pop-icon {
  display: block;
  width: 52px;
  height: 52px;
  float: right;
  opacity: 1;
  background: #ffffffb0;
  border-radius: 16px;
  padding: 9px;
}
.pop-flow {
  display: block;
  padding: 60px 0;
}
.flow-grid img {
  width: 56px;
  height: 56px;
  background: #e7efe4;
  border-radius: 18px;
  padding: 10px;
}

/* A welcoming illustrated home entrance */
body .hero,
body[data-design="2"] .hero,
body[data-design="3"] .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-areas: "copy image" "quick quick" "bottom bottom";
  gap: 24px 36px;
  padding: 44px 40px 0;
  background: #edf3e5;
  border: 0;
  border-radius: 40px;
  overflow: hidden;
}
body .hero-copy,
body[data-design="2"] .hero-copy,
body[data-design="3"] .hero-copy {
  grid-area: copy;
  align-self: center;
  padding: 10px 0 24px;
  text-align: left;
  max-width: none;
  margin: 0;
}
body .hero h1,
body[data-design="2"] .hero h1,
body[data-design="3"] .hero h1 {
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 18px 0;
}
body[data-design="3"] .hero h1 br:not(.mobile) {
  display: initial;
}
body .hero .hero-lead {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.85;
}
body .hero .hero-description {
  font-size: 15px;
  margin-inline: 0;
}
body .hero .overline {
  display: inline-block;
  background: #ffe7a2;
  color: #3f594b;
  padding: 8px 18px;
  border-radius: 24px 24px 24px 5px;
  font-size: 14px;
}
body .hero .top-photo,
body[data-design="2"] .hero .top-photo {
  grid-area: image;
  align-self: center;
  width: 100%;
  margin: 0;
  border: 7px solid #fffdf7;
  border-radius: 34px;
  box-shadow: 6px 8px 0 #c5d9bd;
  transform: rotate(1deg);
}
body .hero .top-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  border-radius: 26px;
}
body .hero .top-photo figcaption {
  padding: 4px 12px;
  font-size: 12px;
  background: #fffdf7;
}
body .hero .quick,
body[data-design="2"] .hero .quick,
body[data-design="3"] .hero .quick {
  grid-area: quick;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 12px;
  padding: 22px;
  background: #fffaf0 !important;
  border: 0 !important;
  border-radius: 25px !important;
  box-shadow: none !important;
}
body .hero .quick-title {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
}
body .hero .quick-title .overline {
  display: none;
}
body .hero .quick-title h2 {
  font-size: 20px;
  margin: 0;
}
body .hero .quick a {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #eef4e8;
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
}
body .hero .quick a:nth-of-type(3n + 2) {
  background: #fce5dc;
}
body .hero .quick a:nth-of-type(3n) {
  background: #fff0bc;
}
body .hero .quick a span {
  font-size: 12px;
}
body .hero .hero-bottom {
  grid-area: bottom;
  padding: 14px 0;
  border-color: #cad8c0;
}
body .hero .fee {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 0;
  background: #fffdf7;
  padding: 10px 17px;
  border-radius: 18px;
}
body .hero .fee strong {
  font-size: 26px;
}
body .hero .hero-actions {
  gap: 18px;
  margin: 23px 0;
}
.hero-welcome {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.hero-welcome span {
  font-size: 13px;
  background: #fffdf7;
  border: 1px solid #d5e0cb;
  padding: 5px 12px;
  border-radius: 999px;
}
@media (max-width: 760px) {
  body .hero,
  body[data-design="2"] .hero,
  body[data-design="3"] .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "image" "quick" "bottom";
    padding: 26px 20px 0;
    border-radius: 28px;
    gap: 20px;
  }
  body .hero h1,
  body[data-design="2"] .hero h1,
  body[data-design="3"] .hero h1 {
    font-size: 30px !important;
  }
  body .hero .hero-copy {
    padding: 0;
  }
  body .hero .quick,
  body[data-design="2"] .hero .quick,
  body[data-design="3"] .hero .quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
    gap: 8px;
  }
  body .hero .quick a {
    font-size: 13px;
    padding: 10px;
  }
  body .hero .hero-actions {
    flex-wrap: wrap;
  }
  body .hero .hero-bottom {
    font-size: 10px;
    flex-wrap: wrap;
  }
  body .hero .top-photo {
    max-width: 560px;
    justify-self: center;
  }
}

.pop-icon,
body[data-design="2"] .pop-icon {
  background: #f6f4e8b0;
  opacity: 1;
  border: 1px solid #dde5d580;
}
.flow-grid img {
  background: #eef1e5;
}
