:root {
  --color-orange: #ff7f00;
  --color-orange-dark: #df5f18;
  --color-orange-soft: #ffead6;
  --color-green: #087d3e;
  --color-brown: #661a00;
  --color-text: #232323;
  --color-muted: #74665e;
  --color-line: #f08329;
  --color-white: #fff;
  --container: 1040px;
  --font-gothic: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --shadow-soft: 0 18px 50px rgb(134 81 36 / 14%);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-gothic);
  font-size: 18px;
  line-height: 1.85;
  background: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  opacity: .6;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-green), white 25%);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 999;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-green);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

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

.wave-container {
  margin: 108px auto;
}

.pc-only {
  display: inline;
}

.site-header {
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--color-orange);
}

.site-header__inner {
  width: min(calc(100% - 40px), 1060px);
	min-height: 96px;
    margin-top: 24px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.site-logo-wrapp {
  width: 80%;
}

.site-logo {
  display: inline-block;
  text-decoration: none;
}

.site-logo img {
  width: 100%;
  max-width: 360px;
}

.header-contact {
  padding: 10px 14px;
  font-weight: bold;
	text-align: right;
}

.header-contact .header_add {
  display: inline-block;
  font-size: 1rem;
	font-weight: normal;
	text-align: right;
}

.header-contact .header_add b {
  font-size: 1rem;
  vertical-align: top;
	font-weight: normal;
}

.header-contact .telfax {
  display: flex;
  justify-content: space-between;
  gap: .35em;
    font-size: 1.1rem;
  white-space: nowrap;
	font-weight: normal;
}

.header-contact__tel {
  color: var(--color-green);
  font-weight: 800;
  text-decoration: none;
}

.header-contact__number {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: .05em;
}

.nav-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--color-green);
  cursor: pointer;
}

.nav-button__line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-white);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-button[aria-expanded="true"] .nav-button__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-button[aria-expanded="true"] .nav-button__line:nth-child(2) {
  opacity: 0;
}

.nav-button[aria-expanded="true"] .nav-button__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.global-nav {
  margin-top: 16px;
    background: #fbac50;
    margin-bottom: 2px;
}

.global-nav__list {
  width: min(calc(100% - 40px), 1060px);
  min-height: 50px;
  margin: 0 auto -2px;
  padding: 0;
  display: flex;
  justify-content: space-around;
  list-style: none;
 
}


.global-nav a {
  position: relative;
  display: grid;
  place-items: center;
  height: 50px;
  color: #0f4b2c;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .15em;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--color-green);
  transform: translateX(-50%);
  transition: width .2s ease;
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
  width: 100%;
}

.hero {
  position: relative;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
	background: #f7f5f3;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  min-height: 800px;
  background: url("img/mbbg.png") no-repeat 55% 68%;
}

.hero__inner {
position: relative;
    width: 100%;
    margin-inline: auto;
}

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

.hero__image {
  position: absolute;
  object-fit: cover;
}

.hero__image--main {
  left: 13%;
  top: 3%;
  z-index: 1;
  width: 40%;
  max-width: 100%;
  border-radius: 50%;
}

.hero__image--sub1 {
  right: 8%;
  top: 7%;
  width: 48%;
}

.hero__image--sub2 {
  right: -8%;
  top: 32px;
}

.hero__image--sub3 {
  left: -7%;
  bottom: 0;
}

.hero__view img{
	margin: 0 auto;
}


.hero__copy {
position: absolute;
      right: 24%;
  bottom: clamp(64px, 8vw, 110px);
  z-index: 5;
}

.hero__lead {
 margin: 0 0 12px;
  color: var(--color-brown);
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .08em;
	font-family: ' YuMincho', 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff;
}


.hero__copy h1 {
display: inline;
  margin: 0;
  padding: .12em .35em;
  color: var(--color-brown);
  font-size: clamp(1.2rem, 1.45vw, 1.35rem);
  font-weight: bold;
  line-height: 2.05;
  letter-spacing: .06em;
  background: var(--color-white);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
		font-family: ' YuMincho', 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
}

@media (max-width: 3200px) {
	.hero__copy { right:  30%;}
}
@media (max-width: 2500px) {
	.hero__copy { right:  24%;}
}
@media (max-width: 1920px) {
	.hero__copy { right:  16%;}
}
@media (max-width: 1600px) {
	.hero__copy { right:  clamp(210px, 12vw, 320px);}
}
@media (max-width: 1080px) {
	.hero__copy { right: clamp(120px, 10vw, 80px);}
}
@media (max-width: 970px) {
	.hero__copy { right: 10%;}
}
.section {
  position: relative;
     padding-block: clamp(16px, 7vw, 24px);
}

.section--white {
  background: var(--color-white);
}

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

.section-wave {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 160px;
  pointer-events: none;
}

.section-wave--top {
  top: -4px;
  background: url("img/wave-top.svg") center bottom / 100% auto no-repeat var(--color-white);
}

.section-wave--bottom {
  bottom: 0;
  background: url("img/wave-bottom.svg") center top / 100% auto no-repeat var(--color-white);
}

.section-title,
.section-title-other {
  display: flex;
  align-items: center;
  gap: .45em;
  margin: 0 0 28px;
  color: var(--color-brown);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .04em;
}

.section-title {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--color-orange);
}

.section-title-unset {
  border: none;
}

.section-title::before,
.section-title-other::before{
  content: "";
  width: 24px;
  height: 17px;
  flex: 0 0 auto;
  background: url("img/tatle-icon.png") center center / contain no-repeat;
}

.section-title--center {
  max-width: 720px;

}

.section-title--small {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2vw, 1.7rem);
}

.news {
  padding-block: 54px 74px;
}

.news-list {
  margin: 0;
}

.news-list__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding-block: 8px;
  font-size: 1.2rem;
}

.news-list dt {
  color: var(--color-brown);
  font-weight: 800;
}

.news-list dd {
  margin: 0;
  font-weight: 500;
}

.news-list a {
  color: var(--color-green);
  font-weight: 500;
}

.about {
}

.about__symbol {
  display: grid;
  place-items: center;
  margin-block: 30px 34px;
}

.turtle {
  width: 240px;
  max-width: 55vw;
}

.about__body {
  color: var(--color-brown);
  font-size: 1.2rem;
  font-weight: 500;
}

.about__catch {
  margin: 0 0 .5rem;
  color: var(--color-orange);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 900;
  letter-spacing: .08em;
}

.about__button,
.recruit__button {
  text-align: right;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  color: var(--color-green);
  font-weight: 800;
  text-decoration: none;
}

.text-button::before {
  content: ">";
  display: grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: .9em;
  transition: transform .18s ease;
}

.text-button:hover::before {
  transform: translateX(4px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(48px, 7vw, 88px) clamp(40px, 7vw, 88px);
  margin-top: clamp(80px, 12vw, 90px);
}

.info-card {
  display: grid;
  gap: 24px;
}

.info-card__image {
  width: 96%;
  margin-inline: 2%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.info-card__content p,
.recruit p {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.info-card__content .text-button {
  float: right;
}

.info-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 400px) 1fr;
  align-items: start;
}

.recruit {
  margin-top: clamp(100px, 13vw, 170px);
}

.recruit__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.recruit__images img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.contact {
  padding-block: clamp(40px, 6vw, 80px);
  background: var(--color-white);
}

.contact__title {
  margin: 0 0 24px;
  color: var(--color-green);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  text-align: center;
  letter-spacing: .08em;
}

.contact__title::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 21px;
  margin-left: .35em;
  vertical-align: middle;
  background: url("img/tatle.png") center center / contain no-repeat;
}

.contact-box {
  width: min(100%, 880px);
  margin-inline: auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--color-green);
  border-radius: 18px;
}

.contact-box__tel,
.contact-box__mail {
  width: 50%;
  color: var(--color-green);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.contact-box__tel span,
.contact-box__mail span {
  display: block;
  font-size: 1.2rem;
  letter-spacing: .08em;
}

.contact-box__tel strong {
  display: block;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: .08em;
}

.contact-box__tel strong::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: .25em;
  background: url("img/tel.png") center center / contain no-repeat;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7em 2.2em;
  border-radius: 12px;
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  background: var(--color-green);
  transition: transform .18s ease, filter .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.button--large {
  min-width: 210px;
}

.contact-box__mail strong::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 8px;
  vertical-align: -.2em;
  background: url("img/mail.png") center center / contain no-repeat;
}

.site-footer {
  position: relative;
  color: var(--color-white);
  background: var(--color-orange);
  overflow: hidden;
}

.site-footer__wave {
  width: 100%;
  height: 56px;
  margin-bottom: -2px;
  background: url("img/wave-footer-top.svg") center bottom / 100% auto no-repeat var(--color-white);
}

.site-footer__wave_bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  margin-bottom: -2px;
  background: url("img/wave-footer-bottom.svg") center bottom / 100% auto no-repeat var(--color-orange);
}

.site-footer__inner {
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
  padding: 48px 0 88px;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 52px;
	font-size: 14px;
    font-weight: normal;
}

.site-footer a {
  color: inherit;
  font-weight: 800;
}

.footer-nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-address {
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 1060px) {
  .site-header__inner {
    min-height: 120px;
  }

  .site-logo-wrapp {
    width: 100%;
  }

  .header-contact .header_add {
    font-size: 1rem;
  }

  .header-contact .telfax {
    font-size: 1.15rem;
  }

  .global-nav a {
    font-size: .95rem;
  }
}

@media (max-width: 924px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: 78px;
  }

  .site-logo img {
    max-width: 280px;
  }

  .header-contact {
    display: none;
  }

  .nav-button {
    display: block;
  }

  .global-nav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .22s ease;
  }

  .global-nav.is-open {
    grid-template-rows: 1fr;
  }

  .global-nav__list {
    width: 100%;
    min-height: 0;
    padding-inline: 20px;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
  }

  .global-nav a {
    height: auto;
    justify-content: start;
    padding: 15px 0;
    border-top: 1px solid rgb(35 154 86 / 15%);
    font-size: 1rem;
  }

  .global-nav a::after {
    display: none;
  }

  .hero {
  }
	.hero__lead{
		margin: 0 0 12px;
  color: var(--color-brown);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .08em;	
	}
	.hero__copy h1 {
  display: inline;
  margin: 0;
  padding: .12em .35em;
  color: var(--color-brown);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 800;
  line-height: 2.05;
  letter-spacing: .06em;
  background: var(--color-white);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
  .hero__bg {
    min-height: 620px;
    background-position: center 68%;
    background-size: auto 92%;
  }

  .hero__image--main {
    left: 5%;
    top: 78px;
    width: 58%;
  }

  .hero__image--sub1 {
    right: -4%;
    top: 70px;
    width: 58%;
  }

  .hero__image--sub2 {
    right: -18%;
    top: 210px;
    width: 38%;
  }

  .hero__image--sub3 {
    left: -18%;
    bottom: 48px;
    width: 42%;
  }

  .hero__copy {
    right: 40px;
    bottom: 56px;
    max-width: 560px;
  }

  .card-grid,
  .info-card--wide {
    grid-template-columns: 1fr;
  }

  .info-card--wide {
    grid-column: auto;
  }

  .recruit__images {
    gap: 18px;
  }

  .contact-box {
    width: min(100%, 720px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }
	.global-nav{
		background: #ffffff;
		margin: 0;
	}
	.site-header {
		position: sticky;
	}
	
  .container,
  .site-header__inner,
  .global-nav__list,
  .site-footer__inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .pc-only {
    display: none;
  }

  .wave-container {
    margin: 56px auto;
  }

  .site-header__inner {
    min-height: 68px;
	  grid-template-columns: 1fr auto;
  }

  .site-logo img {
    max-width: 220px;
  }

 .hero {
	 min-height: auto;

        background: #f4f0ea;
  }

  .hero__bg {
    min-height: 0;
    height: 100%;
	background: url(img/mbbg_sp.png) no-repeat center center;
	  background-size: cover;
  }

  .hero__inner {
    width: 100%;
    min-height: auto;
    display: grid;
  }
 .hero__view {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f0ea;
  }

  .hero_view img,
  .hero__view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
  }
  .hero__collage {
display: none}

  .hero__image--main {
    left: 4%;
    top: 34px;
    width: 64%;
  }

  .hero__image--sub1 {
            right: -6%;
        top: 62%;
    width: 62%;
  }

  .hero__image--sub2 {
    right: -8%;
    top: 8%;
    width: 40%;
  }

  .hero__image--sub3 {
    left: -20%;
    bottom: -56%;
    width: 46%;
  }

  .hero__copy {
        position: absolute;
        right: 8px;
        bottom: 8px;
	  z-index: 3;  
	}

  .hero__lead {
margin: 0 0 10px;
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.25;
    letter-spacing: .04em;
  }

  .hero__copy h1 {
font-size: clamp(.82rem, 3.7vw, .98rem);
    line-height: 2;
    letter-spacing: .03em;  }


  .section {
    padding-block: 58px;
  }

  .section-wave {
    min-height: 72px;
  }

  .section-title,
  .section-title-other {
    margin-bottom: 22px;
    font-size: 1.25rem;
  }

  .section-title--center {
  }

  .section-title--small {
    font-size: 1.22rem;
  }

  .news {
    padding-block: 42px 52px;
  }

  .news-list__item {
    grid-template-columns: 1fr;
    gap: 0;
    font-size: .95rem;
  }

  .about {
    padding-top: 86px;
    padding-bottom: 96px;
  }

  .about__symbol {
    margin-block: 24px 28px;
  }

  .turtle {
    width: 180px;
  }

  .about__body,
  .info-card__content p,
  .recruit p {
    font-size: 1rem;
  }

  .about__button,
  .recruit__button {
    text-align: left;
  }

  .card-grid {
    margin-top: 64px;
    gap: 58px;
  }

  .info-card {
    gap: 18px;
  }

  .info-card__image {
    width: 100%;
    margin-inline: 0;
    border-radius: 20px;
  }

  .info-card__content .text-button {
    float: none;
  }

  .recruit {
    margin-top: 82px;
  }

  .recruit__images {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact__title {
    font-size: 1.15rem;
    letter-spacing: .03em;
  }

  .contact-box {
    padding: 24px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .contact-box__tel,
  .contact-box__mail {
    width: 100%;
  }

  .contact-box__tel span,
  .contact-box__mail span {
    font-size: .95rem;
  }

  .contact-box__tel strong {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .button,
  .button--large {
    width: 100%;
    min-width: 0;
    padding-inline: 1em;
  }

  .site-footer__wave,
  .site-footer__wave_bottom {
    height: 36px;
  }

  .site-footer__inner {
    padding: 34px 0 74px;
    font-size: .95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Lower pages */
.page-visual {
	padding-block: clamp(8px, 4vw, 16px);
	background: #f7f5f3;
	border-bottom: 4px solid var(--color-brown);
}

.page-visual .container {
  display: grid;
  place-items: center;
  min-height: clamp(110px, 15vw, 150px);
}

.page-visual h1 {
  margin: 0;
  color: var(--color-brown);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: .18em;
}

.lower-section {
  padding-block: clamp(40px, 6vw, 64px);
}

.lower-section + .lower-section {
  padding-top: clamp(18px, 3vw, 28px);
}

.container--narrow {
  width: min(calc(100% - 40px), 960px);
}

.office-feature__text {
  padding-left: clamp(0px, 4vw, 40px);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 500;
  line-height: 1.9;
}

.office-feature__text p {
  margin: 0;
}

.outline-table {
  margin: 0;
  padding-left: clamp(0px, 4vw, 40px);
}

.outline-table__row {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.outline-table__row:last-child {
}

.outline-table dt,
.outline-table dd {
  margin: 0;
  padding: 24px 0;
  font-weight: 500;
  line-height: 1.75;
	letter-spacing: .1em;
}

.outline-table dt {
  color: var(--color-brown);
  border-top: 2px solid var(--color-orange);
}

.outline-table dd {
  color: var(--color-text);
  border-top: 2px solid var(--color-brown);
}

.outline-table dd a{
  text-decoration: none;
}

.outline-table dd span {
  display: inline-block;
  margin-top: .35em;
  font-size: .95em;
}

.office-map {
  width: min(100%, 760px);
  margin: clamp(24px, 5vw, 48px) auto 0;
  overflow: hidden;
  background: #f4f4f4;
}

.office-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 0;
}

@media (max-width: 900px) {
  .page-visual {
    padding-block: 28px 46px;
  }

  .container--narrow {
    width: min(calc(100% - 32px), 920px);
  }

  .office-feature__text,
  .outline-table {
    padding-inline: 0;
  }

  .outline-table__row {
    grid-template-columns: 160px 1fr;
  }
}
 .related-office {
  margin-top: clamp(64px, 8vw, 96px);
}

.related-office__section {
  margin-top: clamp(28px, 5vw, 80px);
}

.related-office__heading {
  margin: 0 0 18px;
  color: var(--color-brown);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .06em;
	    padding-left: 40px;
}

.related-office__heading a{
      color: var(--color-green);
    text-decoration: none;
}

.related-office__table {
  margin-top: 0;
}

@media (max-width: 640px) {
  .page-visual {
    padding-block: 0 4px;
    margin-bottom: 24px;
  }

  .page-visual .container {
    width: min(calc(100%), var(--container));
    min-height: 96px;
    border-bottom-width: 4px;
    border-radius: 0;
  }

  .page-visual h1 {
    font-size: 1.45rem;
    letter-spacing: .12em;
  }

  .lower-section {
    padding-block: 38px;
    padding-top: 8px;
  }

  .office-feature__text {
    font-size: 1rem;
    line-height: 1.85;
  }

  .outline-table__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .outline-table dt,
  .outline-table dd {
    padding-top: 8px;
  }

  .outline-table dt {
    padding: 0;
    font-size: .95rem;
    border: none;
  }

  .outline-table dd {
    font-size: .98rem;
  }

  .office-map {
    margin-top: 36px;
  }

  .office-map iframe {
    aspect-ratio: 1 / 1;
    min-height: 300px;
  }

  .related-office {
    margin-top: 56px;
  }

  .related-office__section {
    margin-top: 32px;
  }

  .related-office__heading {
    margin-bottom: 12px;
    font-size: 1.08rem;
  }
}



/* Service page */
.service-lead__layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: center;
  padding-top: clamp(8px, 2vw, 18px);
}

.service-lead__image img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.service-lead__body p,
.service-content__lead {
  margin: 0;
  padding-left: 40px;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 500;
  line-height: 1.9;
}

.service-content {
  padding-top: clamp(18px, 3vw, 30px);
}

.service-content__lead {
  margin-bottom: clamp(40px, 6vw, 56px);
}

.service-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2vw, 32px) clamp(8px, 1vw, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-menu__item {
	background: #f7f5f3;
	border-radius: 16px;
	padding: 0 24px 32px;
}

.service-menu__icon {
  width: 100%;
  height: 150px;
  margin-bottom: 0;
  display: grid;
  place-items: end center;
  color: var(--color-orange);
	    padding-bottom: 24px;
}

.service-menu__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: clamp(88px, 10vw, 126px);
  max-height: 80px;
  object-fit: contain;
}

.service-menu__item h3 {
  margin: 0 0 8px;
  display: grid;
  place-items: center;
  color: var(--color-brown);
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  font-weight: bold;
  line-height: 1.45;
  letter-spacing: .06em;
}

.service-menu__item h3 span{
  font-size: clamp(.85rem, 1.1vw, 1rem);
 }

.service-menu__item p {
  margin: 0;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.75;
}

.service-next {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(80px, 12vw, 140px);
}

.service-next__link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--color-green);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 900;
  letter-spacing: .12em;
  text-decoration: none;
}

.service-next__arrow {
  position: relative;
  display: inline-block;
  width: clamp(70px, 8vw, 92px);
  aspect-ratio: 1;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.service-next__arrow::before,
.service-next__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.service-next__arrow::before {
  width: 56%;
}

.service-next__arrow::after {
  width: 16px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

@media (max-width: 900px) {
  .service-lead__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-lead__image {
    max-width: 460px;
  }

  .service-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-next {
    margin-top: 80px;
  }
}

@media (max-width: 640px) {
  .service-lead__layout {
    gap: 24px;
    padding-top: 0;
  }

  .service-lead__image img {
    border-radius: 20px;
	width: 80%;
    margin: 0 auto 24px;
  }

  .service-lead__body p,
  .service-content__lead {
    font-size: 1rem;
    line-height: 1.85;
  }

  .service-content__lead {
    margin-bottom: 42px;
  }

 .service-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

  .service-menu__item {
    grid-template-rows: 92px calc(1.45em * 2) auto;
  }

  .service-menu__icon {
    height: 92px;
  }

  .service-menu__icon img {
    max-width: 78px;
    max-height: 78px;
  }

  .service-menu__item h3 {
    font-size: .92rem;
    line-height: 1.45;
    letter-spacing: .03em;
  }

  .service-menu__item p {
    max-width: none;
    font-size: .82rem;
    line-height: 1.65;
  }
	
  .service-next {
    justify-content: flex-start;
    margin-top: 58px;
  }

  .service-next__link {
    gap: 14px;
    font-size: 1.05rem;
    letter-spacing: .06em;
  }

  .service-next__arrow {
    width: 64px;
  }
}


/* Guide page */
.guide-intro__text {
  margin: 0;
  padding-left: clamp(0px, 4vw, 40px);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 500;
  line-height: 1.9;
}

.guide-flow {
  padding-top: clamp(10px, 2vw, 24px);
}

.flow-list {
  position: relative;
  display: grid;
  gap: clamp(42px, 6vw, 64px);
  width: min(100%, 780px);
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0 0 0 76px;
  list-style: none;
}

.flow-list::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 38px;
  bottom: -36px;
  width: 4px;
  border-radius: 999px;
  background: var(--color-orange);
}

.flow-list__item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(28px, 4vw, 46px);
  align-items: center;
}

.flow-list__step {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  aspect-ratio: 1;
  margin-left: -76px;
  border: 4px solid var(--color-orange);
  border-radius: 50%;
  color: var(--color-orange);
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .08em;
  background: var(--color-white);
}

.flow-list__body h3 {
  margin: 0 0 8px;
  color: var(--color-brown);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: .08em;
}

.flow-list__body p {
  margin: 0;
  font-size: clamp(.98rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.9;
}

.guide-next {
  margin-top: clamp(80px, 12vw, 140px);
}

@media (max-width: 900px) {
  .guide-intro__text {
    padding-left: 0;
  }

  .flow-list {
    width: 100%;
    padding-left: 70px;
  }

  .flow-list::before {
    left: 34px;
  }

  .flow-list__item {
    grid-template-columns: 84px 1fr;
    gap: 24px;
  }

  .flow-list__step {
    width: 74px;
    margin-left: -70px;
  }
}

@media (max-width: 640px) {
  .guide-intro__text {
    font-size: 1rem;
    line-height: 1.85;
  }

  .flow-list {
    gap: 34px;
    margin-top: 28px;
    padding-left: 56px;
  }

  .flow-list::before {
    top: 34px;
    left: 28px;
    bottom: -28px;
    width: 3px;
  }

  .flow-list__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-list__step {
    width: 58px;
    margin-left: -56px;
    font-size: .72rem;
    border-width: 3px;
  }

  .flow-list__body {
    margin-top: -68px;
    padding-left: 24px;
  }

  .flow-list__body h3 {
    font-size: 1.04rem;
    line-height: 1.55;
  }

  .flow-list__body p {
    font-size: .94rem;
    line-height: 1.75;
  }

  .guide-next {
    margin-top: 58px;
  }
}


/* Area page */
.area-main__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1.1fr);;
  gap: clamp(32px, 5vw, 40px);
  align-items: center;
  padding-top: clamp(14px, 3vw, 32px);
}

.area-map {
  overflow: hidden;
  background: #f4f4f4;
}

.area-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 0;
}

.area-main__body {
  padding-top: 8px;
}

.area-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  position: relative;
  padding-left: 40px;
  color: var(--color-text);
  font-size: clamp(1.0rem, 1.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .08em;
}

.area-note {
  margin: clamp(34px, 5vw, 56px) 0 0;
  color: var(--color-brown);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: .08em;
}

.area-group {
  padding-top: clamp(14px, 3vw, 26px);
}

.area-group__lead {
  margin: 0 0 clamp(24px, 4vw, 36px);
  padding-left: clamp(0px, 4vw, 40px);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 700;
  line-height: 1.9;
}

.area-office-grid {
  display: grid;
   grid-template-columns: 1.5fr 1.5fr 1fr;;
  gap: clamp(18px, 3vw, 28px);
}

.area-office-card {
}

.area-office-card--main {
  border-width: 2px;
  border-color: var(--color-orange);
  background: var(--color-orange-soft);
}

.area-office-card h3 {
  margin: 0 0 10px;
  color: var(--color-brown);
  font-size: clamp(1.2rem, 1.65vw, 1.45rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .06em;
}

.area-office-card h3::before{
  content: "";
  display: inline-block;
  width: 24px;
  height: 17px;
  padding-right: 40px;
  flex: 0 0 auto;
  background: url("img/tatle-icon.png") center center / contain no-repeat;
}

.area-office-card p {
  margin: 0;
  font-size: clamp(.96rem, 1.15vw, 1.02rem);
  font-weight: 700;
  line-height: 1.85;
  padding-left: 43px;
}

.area-office-card__label {
  display: inline-block;
  margin-bottom: 10px !important;
  padding: .25em .8em;
  border-radius: 999px;
  color: var(--color-white);
  font-size: .82rem !important;
  line-height: 1.4 !important;
  background: var(--color-orange);
}

@media (max-width: 900px) {
  .area-main__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .area-map {
    max-width: 760px;
  }

  .area-office-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .area-main__layout {
    gap: 24px;
    padding-top: 0;
  }

  .area-map iframe {
    aspect-ratio: 1 / 1;
    min-height: 300px;
  }

  .area-list {
    gap: 12px;
    margin-top: 18px;
  }

  .area-list li {
    padding-left: 40px;
    font-size: 1.18rem;
  }

  .area-list li::before {
    width: 20px;
    height: 14px;
  }

  .area-note {
    margin-top: 30px;
    text-align: center;
    font-size: .95rem;
    line-height: 1.75;
  }

  .area-group__lead {
    padding-left: 0;
    font-size: 1rem;
    line-height: 1.85;
  }

  .area-office-card {
    border-radius: 14px;
  }
}


/* Recruit page */
.recruit-lower {
  padding-top: clamp(44px, 7vw, 76px);
}

.recruit-summary {
  margin-bottom: clamp(32px, 5vw, 54px);
}

.recruit-count {
  margin-top: 12px;
  padding-left: clamp(0px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}

.recruit-count__total {
  display: inline-flex;
  align-items: baseline;
  gap: .3em;
  margin: 0;
  color: var(--color-green);
  font-weight: 900;
  line-height: 1;
}

.recruit-count__total span {
  color: var(--color-brown);
  font-size: .95rem;
}

.recruit-count__total strong {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
}

.recruit-count__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-count__list a,
.recruit-count__list > li > span {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  color: var(--color-green);
  font-weight: 900;
  text-decoration: none;
}

.recruit-count__list > li > span {
  color: var(--color-muted);
}

.recruit-count__list span span,
.recruit-count__list a span {
}

.recruit-count__list > li > span span {
  background: #b8b0aa;
}

.job-card {
  margin-top: clamp(32px, 5vw, 56px);
}

.job-card__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.job-card__label {
  display: inline-block;
  margin: 0 0 8px;
  padding: .25em .8em;
  border-radius: 999px;
  color: var(--color-white);
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.4;
  background: var(--color-orange);
}

.job-card__title {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1rem, 1vw, 1.4rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .08em;
}

.job-card__count {
  margin: 0;
  color: var(--color-orange);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 900;
  white-space: nowrap;
}

.job-table {
  margin: 0;
}

.job-table__row {
  display: grid;
  grid-template-columns: 210px 1fr;
  margin-bottom: 8px;
  background: #ffffff;
}

.job-table__row dt,
.job-table__row dd {
  margin: 0;
  padding: 16px 22px;
  font-weight: 500;
  line-height: 1.7;
}

.job-table__row dt {
  display: grid;
  place-items: center;
  color: var(--color-brown);
  text-align: center;
  border-top: 2px solid var(--color-orange);
  border-left: 2px solid var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
}

.job-table__row dd {
  color: var(--color-text);
  border: 2px solid var(--color-brown);}

.job-table__row dd span {
  font-size: .95em;
}

.job-table__row--muted {
}

@media (max-width: 900px) {
  .recruit-count {
    padding-left: 0;
    grid-template-columns: 1fr;
  }

  .job-table__row {
    grid-template-columns: 170px 1fr;
  }
}

@media (max-width: 640px) {
  .recruit-count__list {
    display: grid;
    gap: 10px;
  }

  .job-card__header {
    align-items: flex-start;
  }

  .job-table__row {
    grid-template-columns: 1fr;
  }

  .job-table__row dt {
    place-items: start;
    padding: 10px 14px 0;
    text-align: left;
    border-right: 0;
	border-right: 2px solid var(--color-orange);
    border-bottom: none;
  }

  .job-table__row dd {
    padding: 8px 14px 14px;
    font-size: .95rem;
  }

  .job-more summary {
    width: 150px;
  }
}

/* Recruit page - more disclosure animation */
.job-disclosure {
  --job-closed-height: 545px;
  position: relative;
  max-height: var(--job-closed-height);
  overflow: hidden;
  transition: max-height .48s ease;
}

.job-disclosure__content {
  position: relative;
  z-index: 1;
}

.job-disclosure__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 118px;
  display: grid;
  place-items: end center;
  padding-bottom: 22px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), var(--color-white) 48%, var(--color-white));
  pointer-events: none;
}

.job-disclosure__toggle {
  position: relative;
  min-width: 190px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 2px solid var(--color-green);
  color: var(--color-green);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .06em;
  text-align: center;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.job-disclosure__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
  background: var(--color-white);
  transform: translateX(-50%) rotate(45deg);
}

.job-disclosure.is-open {
  overflow: visible;
}

.job-disclosure.is-open .job-disclosure__overlay {
  position: relative;
  height: 70px;
  padding-bottom: 22px;
  background: transparent;
}

.job-disclosure.is-open .job-disclosure__toggle {
    min-width: 140px;
    padding-top: 24px;
	border: none;
}

.job-disclosure.is-open .job-disclosure__toggle::before {
  content: "×";
  font-size: 1.25rem;
  line-height: 1;
}

.job-disclosure.is-open .job-disclosure__toggle::after {
  transform: translateX(-50%) rotate(225deg);
	border: none;
	background: no-repeat;
}

@media (max-width: 900px) {
  .job-disclosure {
    --job-closed-height: 610px;
  }
}

@media (max-width: 640px) {
  .job-disclosure {
    --job-closed-height: 480px;
  }

  .job-disclosure__overlay {
    height: 104px;
    padding-bottom: 18px;
  }

  .job-disclosure__toggle {
    min-width: 150px;
  }
}


/* Recruit page - category list refinement */
.recruit-count {
  margin-top: 12px;
  padding-left: clamp(0px, 4vw, 40px);
  display: block;
}

.recruit-count__total {
  display: none;
}

.recruit-count__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(100%, 520px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-count__list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1em;
  align-items: center;
  color: var(--color-green);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid var(--color-green);
  margin-bottom: 8px;
}

.recruit-count__list a.recruit-none {
  color: #999999;
}

.recruit-count__list a:hover {
  opacity: 1;
  background: rgb(8 125 62 / 6%);
}

.recruit-count__num {
}

.job-category {
}

.job-category:first-of-type {
  margin-top: clamp(32px, 5vw, 54px);
}

.job-category{
  margin-bottom: 80px;
	min-height: 160px;
}

.job-category__header {
  display: flex;
  align-items: center;
  gap: 24px;
	border-bottom: 2px solid #661a00;
}

.job-category__header .section-title {
  margin-bottom: 0;
}

.job-category__count {
  font-weight: 900;
  color: var(--color-brown);
  font-size: 1em;
  padding-bottom: 8px;
}

.job-card {
  margin-top: clamp(28px, 4vw, 44px);
}

.job-category .job-card:first-of-type {
  margin-top: 0;
	background: #f7f5f3;
    padding: 8px 16px;
}

.job-card__title span {
  display: inline-block;
  margin-left: .5em;
  color: var(--color-orange);
  font-size: .72em;
  letter-spacing: .04em;
}

.job-card__count {
  display: none;
}

@media (max-width: 640px) {
  .recruit-count {
    padding-left: 0;
  }

  .recruit-count__list {
    width: 100%;
  }

  .recruit-count__list a {
  }

  .job-category__header {
  }

  .job-category__count {
    align-self: flex-start;
  }
}


/* Contact form page */
.contact-page__lead {
  margin: 0 0 clamp(42px, 6vw, 64px);
  padding-left: clamp(0px, 4vw, 40px);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 500;
  line-height: 1.9;
}

.contact-page__tel {
  margin-bottom: clamp(42px, 6vw, 64px);
}

.contact-page__tel h2 {
  margin: 0 0 18px;
  color: var(--color-brown);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .1em;
}

.contact-page__tel a {
  display: inline-block;
  color: var(--color-green);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-decoration: none;
	  padding-left: clamp(0px, 4vw, 40px);
}

.contact-form-section {

}

.contact-form {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--color-orange-soft);
  border-radius: 18px;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
}

.contact-form__row--textarea {
  align-items: start;
}

.contact-form label {
  color: var(--color-brown);
  font-weight: 900;
  line-height: 1.5;
}

.contact-form label span {
  display: inline-block;
  margin-left: .25em;
  color: var(--color-orange);
  font-size: .88em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgb(102 26 0 / 20%);
  border-radius: 8px;
  padding: .75em 1em;
  color: var(--color-text);
  font-size: 1rem;
  background: var(--color-white);
}

.contact-form textarea {
  min-height: 220px;
  resize: vertical;
}

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

.contact-form__note {
  margin: 6px 0 0 214px;
  font-size: .95rem;
  font-weight: 700;
	color: var(--color-orange);
}

.contact-form__submit {
  margin-top: clamp(28px, 5vw, 48px);
  text-align: center;
}

.contact-form__submit .button {
  border: 0;
  cursor: pointer;
}

.thanks-page__body {
  padding-left: clamp(0px, 4vw, 40px);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 700;
  line-height: 1.9;
}

.thanks-page__body p {
  margin: 0 0 1.5em;
}

.thanks-page__button {
  margin-top: 2em;
}

@media (max-width: 640px) {
  .contact-page__lead,
  .contact-page__tel,
  .contact-form-section,
  .thanks-page__body {
    padding-left: 0;
  }

  .contact-page__tel a {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .contact-form {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form__note {
    margin-left: 0;
  }

  .contact-form textarea {
    min-height: 180px;
  }
}

.contact-form__error {
  min-height: 1.8em;
  margin: 24px 0 0;
  color: #d60000;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}


/* Links page */
.links-page {
  padding-top: clamp(48px, 7vw, 78px);
}

.links-section {
  margin-top: clamp(54px, 8vw, 82px);
}

.links-section:first-of-type {
  margin-top: 0;
}

.links-page__lead {
  margin: 0 0 28px;
  padding-left: clamp(0px, 4vw, 40px);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 700;
  line-height: 1.9;
}

.links-office-list {
  padding-left: clamp(0px, 4vw, 40px);
}

.link-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 clamp(0px, 4vw, 40px);
  list-style: none;
}

.link-list li {
  position: relative;
  padding-left: 16px;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 700;
  line-height: 1.75;
}

.link-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

.link-list a {
  color: var(--color-brown);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

@media (max-width: 640px) {
  .links-page__lead,
  .links-office-list,
  .link-list {
    padding-left: 0;
  }

  .links-section {
    margin-top: 44px;
  }

  .link-list {
    gap: 12px;
  }

  .link-list li {
    padding-left: 8px;
  }

  .link-list li::before {
    width: 8px;
    height: 8px;
  }
}


/* Gallery page - thumbnail viewer */
.gallery-page--simple {
}

.gallery-page--simple .section-title {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.gallery-viewer {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
}

.gallery-viewer__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--color-orange-soft);
  box-shadow: var(--shadow-soft);
}

.gallery-viewer__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: inherit;
}

.gallery-viewer__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity .18s ease, transform .28s ease;
}

.gallery-viewer__figure img.is-changing {
  opacity: .35;
  transform: scale(.985);
}

.gallery-viewer__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(42px, 6vw, 58px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease;
}

.gallery-viewer__nav:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.06);
}

.gallery-viewer__nav::before {
  content: "";
  width: 38%;
  aspect-ratio: 1;
  border-top: 3px solid var(--color-green);
  border-right: 3px solid var(--color-green);
}

.gallery-viewer__nav--prev {
  left: clamp(10px, 2vw, 22px);
}

.gallery-viewer__nav--prev::before {
  transform: translateX(12%) rotate(-135deg);
}

.gallery-viewer__nav--next {
  right: clamp(10px, 2vw, 22px);
}

.gallery-viewer__nav--next::before {
  transform: translateX(-12%) rotate(45deg);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: clamp(10px, 1.8vw, 16px);
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
}

.gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 16px;
  background: var(--color-orange-soft);
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(134 81 36 / 10%);
  transition: transform .18s ease, border-color .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.gallery-thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgb(134 81 36 / 18%);
}

.gallery-thumb.is-active {
  border-color: var(--color-green);
}

.gallery-thumb.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--color-white);
  border-radius: 13px;
  pointer-events: none;
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-viewer__figure {
    border-radius: 20px;
  }

  .gallery-viewer__nav {
    width: 42px;
  }

  .gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .gallery-thumbs__item {
    flex: 0 0 86px;
    scroll-snap-align: start;
  }

  .gallery-thumb {
    border-radius: 12px;
    border-width: 2px;
  }
}


/* Gallery page - mobile thumbnail vertical scroll fix */
@media (max-width: 640px) {
  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-height: 56vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    padding-bottom: 0;
    scroll-snap-type: y proximity;
  }

  .gallery-thumbs__item {
    flex: initial;
    scroll-snap-align: start;
  }

  .gallery-thumb {
    border-radius: 12px;
    border-width: 2px;
  }

  .gallery-thumb img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 420px) {
  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 58vh;
  }
}


/* Gallery page - auto hide navigation buttons */
.gallery-viewer__nav {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .32s ease,
    transform .18s ease,
    background .18s ease;
}

.gallery-viewer.is-nav-visible .gallery-viewer__nav {
  opacity: 1;
  pointer-events: auto;
}


/* Gallery page - force 3 columns on mobile */
@media (max-width: 640px) {
  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
	  padding-right: 32px;
  }
}


/* Mobile global navigation contact buttons */
.global-nav__contact {
  display: none;
}

@media (max-width: 900px) {
  .global-nav__contact {
    display: grid;
        gap: 8px;
        padding: 8px 8px 16px;
  }

  .global-nav__contact a {
position: relative;
        display: grid;
        gap: 2px;
        min-height: auto;
        height: auto;
        place-items: center;
        padding: 8px 16px;
        border: 2px solid var(--color-green);
        border-radius: 8px;
        color: var(--color-green);
        font-weight: 500;
        text-decoration: none;
        margin: 0 auto;
	}

  .global-nav__contact a::after {
    content: none;
  }

  .global-nav__contact span {
    font-size: .8rem;
    line-height: 1.3;
    letter-spacing: .06em;

  }

  .global-nav__contact strong {
    font-size: 1.12rem;
    line-height: 1.35;
    letter-spacing: .04em;
  }

  .global-nav__contact-tel strong::before,
  .global-nav__contact-mail strong::before {
    content: "";
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    margin-right: .35em;
    vertical-align: -.18em;
    background: center center / contain no-repeat;
  }

  .global-nav__contact-tel strong::before {
    background-image: url("img/tel.png");
  }

  .global-nav__contact-mail {
    color: var(--color-white) !important;
    background: var(--color-green);
  }

  .global-nav__contact-mail strong::before {
    background-image: url("img/mail.png");
    filter: brightness(0) invert(1);
  }
}

/* Medical DX page */
.dx-page {
  padding-top: clamp(48px, 7vw, 78px);
}

.dx-page__body {
  padding-left: clamp(0px, 4vw, 40px);
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.85;
}

.dx-page__body p {
  margin: 0 0 2em;
}

.dx-page__lead {
  margin-top: clamp(34px, 5vw, 56px) !important;
}

.dx-list {
  display: grid;
  gap: 16px;
  margin: 0 0 clamp(36px, 5vw, 56px);
  padding: 0;
  list-style: none;
  counter-reset: dx-counter;
}

.dx-list li {
  counter-increment: dx-counter;
  position: relative;
  padding: 18px 24px 18px 58px;
  border-radius: 12px;
  background: var(--color-orange-soft);
  font-weight: 500;
  line-height: 1.75;
}

.dx-list li::before {
  content: counter(dx-counter) ".";
  position: absolute;
  left: 24px;
  top: 18px;
  color: var(--color-brown);
  font-weight: 900;
}

.dx-signature {
  margin-top: clamp(44px, 7vw, 72px);
  text-align: right;
}

.dx-signature p {
  margin-bottom: .6em;
}

@media (max-width: 640px) {
  .dx-page__body {
    padding-left: 0;
  }

  .dx-list {
    gap: 12px;
  }

  .dx-list li {
    padding: 16px 16px 16px 44px;
    border-radius: 10px;
  }

  .dx-list li::before {
    left: 18px;
    top: 16px;
  }

  .dx-signature {
    text-align: left;
  }
}


/* Small smartphone text adjustment */
@media (max-width: 390px) {
  body {
    font-size: 14px;
    line-height: 1.72;
  }

  .container,
  .site-header__inner,
  .global-nav__list,
  .site-footer__inner,
  .container--narrow {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-logo img {
    max-width: 190px;
  }
	
	.site-header {
		position: sticky;
	}

  .nav-button {
    width: 44px;
    height: 44px;
  }

  .global-nav a {
    padding: 12px 0;
    font-size: .92rem;
    line-height: 1.45;
  }

  .global-nav__contact {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 12px 16px;
  }

  .global-nav__contact a {
	display: flex;
        width: 100%;
        padding: 8px 16px;
    }

  .global-nav__contact span {
    font-size: .72rem;
    letter-spacing: .03em;
  }

  .global-nav__contact strong {
    font-size: .96rem;
    letter-spacing: .02em;
    white-space: nowrap;
	padding-left: 32px;
  }

  .page-visual .container {
    min-height: 84px;
  }

  .page-visual h1 {
    max-width: calc(100% - 20px);
    font-size: clamp(1.04rem, 5.4vw, 1.28rem);
    line-height: 1.55;
    letter-spacing: .06em;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .section-title,
  .section-title-other,
  .section-title--small {
gap: .35em;
        font-size: clamp(1.04rem, 5.2vw, 1.18rem);
        line-height: 1.45;
        letter-spacing: .02em;
        overflow-wrap: anywhere;
        margin-bottom: 8px;
        margin-left: 8px;
	}

  .section-title::before,
  .section-title-other::before {
    width: 20px;
    height: 14px;
  }

  .contact__title {
    font-size: 1rem;
    line-height: 1.65;
  }

  .contact-box {
    padding: 20px 14px;
    gap: 16px;
  }

  .contact-box__tel span,
  .contact-box__mail span {
    font-size: .82rem;
  }

  .contact-box__tel strong {
    font-size: clamp(1.28rem, 7.2vw, 1.75rem);
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .contact-box__tel strong::before {
    width: 1.45rem;
    height: 1.45rem;
  }

  .button,
  .button--large {
    min-height: 42px;
    font-size: .92rem;
    line-height: 1.45;
  }

  .site-footer__inner {
    gap: 24px;
    font-size: .86rem;
    line-height: 1.75;
  }

  .footer-nav ul {
    gap: 6px;
  }

  .footer-address {
    font-size: .86rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .hero__lead {
    font-size: clamp(1.42rem, 7vw, 2rem);
    letter-spacing: .02em;
  }

  .hero__copy h1 {
    font-size: .8rem;
    line-height: 1.9;
  }

  .about__catch {
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .about__body,
  .info-card__content p,
  .recruit p,
  .office-feature__text,
  .guide-intro__text,
  .service-lead__body p,
  .service-content__lead,
  .area-group__lead,
  .links-page__lead,
  .contact-page__lead,
  .thanks-page__body,
  .dx-page__body {
    font-size: .92rem;
    line-height: 1.78;
	  		padding: 0 8px;
  }

	.service-lead__body p, .service-content__lead{

	}
	
  .outline-table dt,
  .outline-table dd {
    font-size: .9rem;
    letter-spacing: .04em;
  }

  .area-list li {
    font-size: 1rem;
    letter-spacing: .04em;
  }

  .area-office-card h3 {
    font-size: 1.05rem;
    letter-spacing: .03em;
  }

  .area-office-card p {
    padding-left: 34px;
    font-size: .9rem;
    line-height: 1.7;
  }

  .service-menu {
    gap: 10px;
  }

  .service-menu__item {
    grid-template-rows: 76px calc(1.38em * 2) auto;
    border-radius: 24px;
    padding: 12px 8px;
  }

  .service-menu__icon {
    height: 76px;
    padding-bottom: 16px;
  }

  .service-menu__icon img {
    max-width: 64px;
    max-height: 64px;
  }

  .service-menu__item h3 {
    font-size: .78rem;
    line-height: 1.38;
    letter-spacing: .01em;
  }

  .service-menu__item h3 span {
    font-size: .7rem;
  }

  .service-menu__item p {
    font-size: .72rem;
    line-height: 1.55;
  }

  .flow-list__body h3 {
    font-size: .92rem;
    letter-spacing: .03em;
  }

  .flow-list__body p {
    font-size: .84rem;
  }

  .recruit-count__list a {
    grid-template-columns: 1fr auto;
    gap: .6em;
    font-size: .86rem;
    line-height: 1.5;
  }

  .job-category__header {
    gap: 10px;
    flex-wrap: wrap;
  }

  .job-category__count {
    font-size: .88rem;
  }

  .job-card__title {
    font-size: .92rem;
    letter-spacing: .04em;
  }

  .job-table__row dt,
  .job-table__row dd {
    padding-inline: 12px;
    font-size: .86rem;
    line-height: 1.65;
  }

  .job-disclosure {
    --job-closed-height: 440px;
  }

  .contact-page__tel h2 {
    font-size: 1.08rem;
    letter-spacing: .05em;
  }

  .contact-page__tel a {
    font-size: clamp(1.55rem, 9vw, 2.05rem);
    letter-spacing: .04em;
  }

  .contact-form {
    padding: 20px 14px;
  }

  .contact-form label,
  .contact-form input,
  .contact-form textarea {
    font-size: .9rem;
  }

  .link-list li {
    font-size: .92rem;
    line-height: 1.7;
  }

  .gallery-thumbs {
    gap: 8px;
    padding-right: 0;
  }

  .gallery-thumb {
    border-radius: 10px;
  }

  .dx-list {
    gap: 10px;
  }

  .dx-list li {
    padding: 14px 12px 14px 38px;
    font-size: .88rem;
    line-height: 1.68;
  }

  .dx-list li::before {
    left: 14px;
    top: 14px;
  }

  .dx-signature {
    font-size: .88rem;
    line-height: 1.7;
  }
}

@media (max-width: 350px) {
  body {
    font-size: 13.5px;
  }

  .site-logo img {
    max-width: 172px;
  }

  .page-visual h1 {
    font-size: clamp(.96rem, 5.7vw, 1.16rem);
    letter-spacing: .04em;
  }

  .section-title,
  .section-title-other,
  .section-title--small {
    font-size: 1rem;
  }

  .global-nav__contact strong {
    font-size: .9rem;
  }

  .contact-box__tel strong {
    font-size: 1.35rem;
  }

  .service-menu__item {
    padding-inline: 6px;
  }

  .service-menu__item h3 {
    font-size: .72rem;
  }

  .service-menu__item p {
    font-size: .68rem;
  }

  .job-table__row dt,
  .job-table__row dd {
    font-size: .82rem;
  }
}


/* Policy pages */
.policy-page {
  padding-top: clamp(42px, 6vw, 72px);
}

.policy-header {
  padding-bottom: clamp(24px, 4vw, 36px);
  border-bottom: 1px solid rgb(102 26 0 / 22%);
}

.policy-header h2 {
  margin: 0 0 14px;
  color: var(--color-brown);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: .04em;
}

.policy-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.8;
}

.policy-toc {
  margin: clamp(26px, 5vw, 44px) 0 clamp(34px, 5vw, 56px);
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgb(102 26 0 / 20%);
  border-radius: 12px;
  background: #fffaf5;
}

.policy-toc p {
  margin: 0 0 12px;
  color: var(--color-brown);
  font-weight: 900;
  letter-spacing: .08em;
}

.policy-toc ol {
  columns: 2;
  column-gap: clamp(28px, 5vw, 48px);
  margin: 0;
  padding-left: 0;
}

.policy-toc li {
  break-inside: avoid;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.55;
	list-style: none;
}

.policy-toc a {
  color: var(--color-green);
}

.policy-article {
  padding: clamp(28px, 5vw, 44px) 0;
  border-top: 1px solid rgb(102 26 0 / 20%);
  scroll-margin-top: 130px;
}

.policy-article h2 {
  margin: 0 0 18px;
  color: var(--color-brown);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: .04em;
}

.policy-article p,
.policy-article li,
.policy-definition dt,
.policy-definition dd {
  color: var(--color-text);
  font-size: clamp(.95rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.9;
}

.policy-article p {
  margin: 0 0 1.2em;
}

.policy-article p:last-child {
  margin-bottom: 0;
}

.policy-list {
  display: grid;
  gap: .7em;
  margin: 0;
  padding-left: 1.4em;
}

.policy-list li::marker {
  color: var(--color-brown);
  font-weight: 900;
}

.policy-definition {
  display: grid;
  gap: 14px;
  margin: 1.2em 0 0;
}

.policy-definition div {
  padding: 16px 18px;
  border-radius: 10px;
  background: #fffaf5;
}

.policy-definition dt,
.policy-definition dd {
  margin: 0;
}

.policy-definition dt {
  color: var(--color-brown);
  font-weight: 900;
}

@media (max-width: 640px) {
  .policy-header h2 {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .policy-toc {
    padding: 18px 16px;
  }

  .policy-toc ol {
    columns: 1;
  }

  .policy-toc li {
    font-size: .9rem;
  }

  .policy-article {
    scroll-margin-top: 90px;
  }

  .policy-article h2 {
    font-size: 1rem;
  }

  .policy-article p,
  .policy-article li,
  .policy-definition dt,
  .policy-definition dd {
    font-size: .9rem;
    line-height: 1.78;
  }

  .policy-definition div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }
}

@media (max-width: 390px) {
  .policy-header h2 {
    font-size: .96rem;
  }

  .policy-toc li,
  .policy-article p,
  .policy-article li,
  .policy-definition dt,
  .policy-definition dd {
    font-size: .84rem;
  }
}


/* Operation page */
.operation-page {
  padding-top: clamp(42px, 6vw, 72px);
}

.operation-header {
  padding-bottom: clamp(24px, 4vw, 36px);
  border-bottom: 1px solid rgb(102 26 0 / 22%);
}

.operation-header h2 {
  margin: 0 0 14px;
  color: var(--color-brown);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: .04em;
}

.operation-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.8;
}

.operation-toc {
  margin: clamp(26px, 5vw, 44px) 0 clamp(34px, 5vw, 56px);
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgb(102 26 0 / 20%);
  border-radius: 12px;
  background: #fffaf5;
}

.operation-toc p {
  color: var(--color-brown);
  font-weight: 900;
  letter-spacing: .08em;
}

.operation-toc ol {
  columns: 2;
  column-gap: clamp(28px, 5vw, 48px);
  margin: 0;
  padding-left: 0;
}

.operation-toc li {
  break-inside: avoid;
  margin: 0 0 .55em;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.55;
	list-style: none;
}

.operation-toc a {
  color: var(--color-green);
}

.operation-article {
  padding: clamp(28px, 5vw, 44px) 0;
  border-top: 1px solid rgb(102 26 0 / 20%);
  scroll-margin-top: 130px;
}

.operation-article h2 {
  margin: 0 0 18px;
  color: var(--color-brown);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: .04em;
}

.operation-article p,
.operation-article li {
  color: var(--color-text);
  font-size: clamp(.95rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.9;
}

.operation-article p {
  margin: 0;
}

.operation-article ol {
  display: grid;
  gap: .8em;
  margin: 0;
  padding-left: 1.4em;
}

.operation-article li::marker {
  color: var(--color-brown);
  font-weight: 900;
}

@media (max-width: 640px) {
  .operation-header h2 {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .operation-toc {
    padding: 18px 16px;
  }

  .operation-toc ol {
    columns: 1;
  }

  .operation-toc li {
    font-size: .9rem;
  }

  .operation-article {
    scroll-margin-top: 90px;
  }

  .operation-article h2 {
    font-size: 1rem;
  }

  .operation-article p,
  .operation-article li {
    font-size: .9rem;
    line-height: 1.78;
  }
}

@media (max-width: 390px) {
  .operation-header h2 {
    font-size: .96rem;
  }

  .operation-toc li,
  .operation-article p,
  .operation-article li {
    font-size: .84rem;
  }
}

/* =========================================================
   Main visual SVG text
   catchi.svg / copy.svg
   既存CSSは変更せず、メインビジュアル文言をSVG画像化した場合の上書き設定のみ追記
========================================================= */

.hero__copy .hero__lead,
.hero__copy .hero__message {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: normal;
  background: none;
  text-shadow: none;
  box-decoration-break: initial;
  -webkit-box-decoration-break: initial;
}

.hero__copy .hero__lead {
  margin-bottom: 14px;
}

.hero__copy .hero__lead img,
.hero__copy .hero__message img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__copy .hero__lead img {
  max-width: clamp(280px, 30vw, 540px);
}

.hero__copy .hero__message img {
  max-width: clamp(360px, 33vw, 620px);
}

@media (max-width: 924px) {
  .hero__copy .hero__lead {
    margin-bottom: 12px;
  }

  .hero__copy .hero__lead img {
    max-width: clamp(260px, 32vw, 500px);
  }

  .hero__copy .hero__message img {
    max-width: clamp(330px, 36vw, 570px);
  }
}

@media (max-width: 720px) {
  .hero__copy .hero__lead {
    margin-bottom: 8px;
  }

  .hero__copy .hero__lead img {
    max-width: min(56vw, 280px);
  }

  .hero__copy .hero__message img {
    max-width: min(66vw, 340px);
  }
}

@media (max-width: 420px) {
  .hero__copy .hero__lead img {
    max-width: min(58vw, 260px);
  }

  .hero__copy .hero__message img {
    max-width: min(68vw, 320px);
  }
}

