@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
body {
    margin: 0;
}
.siteTypeB {
  container-type: inline-size;
  container-name: site-type-b;
  position: relative;
  width: 100%;
  background: #fff;
  --main: #ff9c00;
  --main-dark: #e88700;
  --pale: #faf7e4;
  --ink: #202828;
  --muted: #6d6657;
  --line: #eee8cf;
  --border-color: #f0d69e;
  --radius: 18px;
}

.siteTypeB *,
.siteTypeB *::before,
.siteTypeB *::after {
  box-sizing: border-box;
  line-height: inherit;
}

.siteTypeB h1,
.siteTypeB h2,
.siteTypeB h3,
.siteTypeB p,
.siteTypeB ul,
.siteTypeB dl,
.siteTypeB dd {
  margin: 0;
  padding: 0;
}

.siteTypeB ul {
  list-style: none;
}

.siteTypeB img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

.siteTypeB button {
  font: inherit;
}

.siteTypeB__page {
  position: relative;
  padding-top: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: justify;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0;
  font-feature-settings: 'palt' 1;
}

.section {
  margin: 0;
  padding: 120px 24px;
}
.section__inner {
  max-width: 1160px;
  margin: auto;
}
.en {
  color: var(--main);
  font-size: 15px;
  letter-spacing: 0.24em;
  font-feature-settings: normal;
}
.heading {
  text-align: center;
  margin-bottom: 56px;
}
.heading h2 {
  font-size: 45px;
  font-weight: 500;
  line-height: 1.35;
  margin: 10px 0 16px;
}
.heading > p:last-child {
  font-size: 17px;
}

.header {
  width: 100%;
  height: 100px;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.header__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 36px;
}
.header__logo {
  width: 300px;
  height: 100%;
  flex: none;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.header__logo img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.foot-logo {
  width: 300px;
  min-height: 60px;
  flex: none;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.foot-logo img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}
.header__nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 17px;
  font-weight: 500;
}
.header__nav a {
  padding: 12px 10px;
  line-height: 1.5;
}
a.header__tel {
  align-self: stretch;
  background: var(--main);
  color: #fff;
  padding: 13px 28px;
  margin-left: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}
.header__tel span,
.header__tel small {
  font-size: 15px;
}
.header__tel strong {
  font-size: 25px;
  font-weight: 700;
}
.header__tel strong b {
  font-size: 0.62em;
  font-weight: 500;
  margin-right: 0.15em;
}
.menu-button,
.sp-menu,
.header__sp-tel,
.header__tools {
  display: none;
}

.hero {
  width: 100%;
  height: 620px;
  border-radius: 0 0 44px 44px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: #ffed27;
}
.hero__copy {
  padding: 130px 20px 70px clamp(30px, 4cqw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  max-width: 100%;
  font-size: clamp(50px, 3.2cqw, 64px);
  font-weight: 600;
  line-height: 1.8;
}
.hero h1 span {
  display: inline;
  background: var(--main);
  color: #fff;
  padding: 0.08em 0.32em;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__copy p {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 500;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__lead {
  margin-bottom: 60px;
}
.about__lead > .en {
  margin-bottom: 12px;
}
.about__lead-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about__lead h2 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.4;
}
.about__lead-body > p {
  font-size: 17px;
  padding-top: 0.35em;
}
.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.about__cards article {
  height: auto;
  position: relative;
  text-align: center;
}
.about__cards img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: #faf7e4;
  border-radius: 50%;
  padding: 24px;
}
.about__cards article:after {
  content: none;
}
.about__cards article div {
  position: static;
  color: var(--ink);
  text-align: center;
  padding: 24px 10px 0;
}
.about__cards h3 {
  color: var(--main);
  font-size: 32px;
  font-weight: 500;
}
.about__cards p {
  font-size: 16px;
  margin-top: 8px;
}

.insurance {
  background: var(--pale);
  border-radius: 46px;
}
.insurance__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.insurance-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.insurance-card__visual {
  position: relative;
  overflow: hidden;
}
.insurance-card__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.insurance-card__visual:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72) 58%, #fff 100%);
}
.insurance-card__logo {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 15px;
  margin: auto;
  width: 250px;
  height: 92px;
  display: grid;
  place-items: center;
  padding: 7px 12px;
}
.insurance-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.insurance-card__logo2 {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 250px;
  height: 92px;
  display: grid;
  place-items: center;
  padding: 7px 12px;
  background-color: #fff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.insurance-card__logo2 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.insurance-card__body {
  padding: 26px 34px 34px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.insurance-card__body p {
  min-height: 0;
  margin-bottom: 22px;
  font-size: 16px;
}
.insurance-card__body a {
  margin-top: auto;
  background: #f5a21e;
  color: #fff;
  height: 56px;
  border-radius: 6px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 500;
}

.company__box {
  background: var(--pale);
  border-radius: 16px;
  overflow: hidden;
}
.company__head {
  background: #ff9c00;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 50px;
}
.company__head strong {
  font-size: 22px;
  font-weight: 600;
}
.company__head a {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
}
.company__head a b {
  font-size: 0.62em;
  font-weight: 500;
  margin-right: 0;
}
.company__head small {
  display: block;
  font-size: 15px;
  font-weight: 400;
}
.company__box dl {
  padding: 38px 50px 52px;
}
.company__box dl div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  font-size: 16px;
}

.companies {
  padding-top: 0;
  padding-bottom: 120px;
}
.companies__lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  font-size: 16px;
}
.companies__lists li {
  margin-bottom: 10px;
}
.companies__lists li:before {
  content: '●';
  color: var(--main);
  font-size: 0.72em;
  margin-right: 0.45em;
}

.links {
  padding-top: 0;
  padding-bottom: 120px;
}
.links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.links__grid a {
  border: 2px solid var(--main);
  color: var(--main-dark);
  min-height: 90px;
  padding: 14px 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  border-radius: 10px;
  font-feature-settings: 'palt' 1;
}

.footer-area {
  width: 100%;
}

.contact {
  width: 100%;
  padding: 120px 24px 0;
  box-sizing: border-box;
  position: relative;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  background-size: cover;
  background-position: center -110px;
  background-repeat: no-repeat;
  background-color: #ff9c00;
  overflow: hidden;
}

.contact:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 10%,
    rgba(255, 255, 255, 0.9) 20%,
    rgba(255, 255, 255, 0.3) 30%,
    rgba(255, 255, 255, 0.1) 40%
  );
  pointer-events: none;
}

.contact__box {
  position: relative;
  z-index: 1;
  width: 90%;
  min-width: 1000px;
  max-width: 1500px;
  margin: auto;
  text-align: center;
  padding: 54px 20px;
  background: #fff;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

.contact h2 {
  font-size: 38px;
  font-weight: 500;
  margin: 8px 0 16px;
}
.contact p {
  font-size: 17px;
}
.contact small {
  display: block;
  color: #ff9c00;
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.3;
}
.contact a {
  display: block;
  max-width: 1040px;
  margin: 4px auto 0;
  color: #ff9c00;
  font-size: 55px;
  line-height: 1.3;
  font-weight: 700;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0eede;
}
.contact a b {
  font-size: 0.62em;
  font-weight: 500;
  margin-right: 0;
}

.footer {
  display: block;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 48px 24px 26px;
  border-top: none;
}
.footer__inner {
  width: 85%;
  min-width: 1000px;
  max-width: 1500px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  padding-bottom: 40px;
}
.footer__inner img {
  width: 200px;
}
.footer__inner p {
  font-size: 17px;
  margin-top: 24px;
  line-height: 1.5;
}
.footer__right {
  margin-left: auto;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.footer nav {
  display: flex;
  gap: 24px;
  font-size: 16px;
}
.copyright {
  text-align: right;
  margin: 30px 0 0;
  font-size: 13px !important;
}

.over {
  transition: opacity 0.2s;
}

@media (hover: hover) {
  .over:hover {
    opacity: 0.6;
  }
}

@container site-type-b (min-width: 1025px) {
  .header__inner,
  .hero {
    min-width: 1030px;
  }
}

@container site-type-b (max-width: 1024px) {
  .siteTypeB__page {
    padding-top: 65px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }
  .header {
    height: 65px;
  }
  .header__inner {
    padding: 0 12px 0 16px;
  }
  .header__logo {
    width: 190px;
    max-width: calc(100% - 112px);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
  }
  .foot-logo {
    width: 190px;
    min-height: 0;
    justify-content: center;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
  }
  .header__nav,
  a.header__tel {
    display: none;
  }
  .header__tools {
    display: grid;
    grid-template-columns: 48px 48px;
    flex: 0 0 96px;
    margin-left: auto;
    align-self: stretch;
  }
  .header__sp-tel,
  .menu-button {
    width: 48px;
    height: 65px;
    display: grid;
    grid-template-rows: 30px 12px;
    align-content: center;
    justify-items: center;
    row-gap: 3px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
  }
  .header-tool__icon {
    width: 28px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header__sp-tel img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
  .header-tool__label {
    display: block;
    margin: 0;
    font-size: 9px;
    line-height: 12px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
  }
  .menu-button__icon {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .menu-button__icon i {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s, opacity 0.25s;
  }
  .menu-button.is-open .menu-button__icon {
    display: block;
  }
  .menu-button.is-open .menu-button__icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
  }
  .menu-button.is-open .menu-button__icon i:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .menu-button.is-open .menu-button__icon i:nth-child(2) {
    opacity: 0;
  }
  .menu-button.is-open .menu-button__icon i:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .sp-menu {
    position: absolute;
    z-index: 3;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 20px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
  }
  .sp-menu.is-open {
    display: block;
  }
  .sp-menu a {
    display: block;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .hero {
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 0 0 28px 28px;
  }
  .hero > img {
    height: 52cqw;
    min-height: 260px;
  }
  .hero__copy {
    padding: 42px 22px 50px;
  }
  .hero h1 {
    font-size: clamp(40px, 5.6cqw, 54px);
    font-weight: 600;
    line-height: 1.8;
  }
  .hero__copy p {
    font-size: 16px;
  }
  .section {
    padding: 76px 18px;
  }
  .heading {
    margin-bottom: 42px;
  }
  .heading h2 {
    font-size: clamp(34px, 7cqw, 48px);
  }
  .heading > p:last-child {
    font-size: 16px;
  }
  .about__lead > .en {
    margin-bottom: 10px;
  }
  .about__lead-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about__lead h2 {
    font-size: clamp(34px, 8cqw, 44px);
  }
  .about__lead-body > p {
    padding-top: 0;
  }
  .about__cards {
    grid-template-columns: 1fr;
  }
  .about__cards article {
    height: auto;
  }
  .about__cards h3 {
    font-size: 34px;
  }
  .insurance {
    border-radius: 28px;
  }
  .insurance__grid {
    grid-template-columns: 1fr;
  }
  .insurance-card__visual {
    height: auto;
    aspect-ratio: 900 / 650;
    min-height: 0;
  }
  .insurance-card__logo,
  .insurance-card__logo2 {
    width: min(250px, 56%);
    height: 88px;
  }
  .insurance-card__logo {
    bottom: 20px;
  }
  .insurance-card__logo2 {
    bottom: 0;
  }
  .insurance-card__body {
    padding: 24px 24px 30px;
  }
  .insurance-card__body p {
    min-height: 0;
    margin-bottom: 22px;
  }
  .company__head {
    padding: 24px;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .company__head a {
    font-size: 24px;
  }
  .company__box dl {
    padding: 18px 24px 34px;
  }
  .company__box dl div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 17px 0;
  }
  .company__box dt {
    font-weight: 600;
  }
  .companies {
    padding-top: 0;
    padding-bottom: 76px;
  }
  .companies__lists {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .links {
    padding-top: 0;
    padding-bottom: 76px;
  }
  .links__grid {
    grid-template-columns: 1fr;
  }
  .contact {
    padding: 72px 22px 0;
    border-radius: 36px 36px 0 0;
    background-position: center center;
  }
  .contact__box {
    width: 92%;
    min-width: 0;
    padding: 42px 24px;
    border-radius: 36px 36px 0 0;
  }
  .contact h2 {
    font-size: 30px;
  }
  .contact a {
    font-size: clamp(30px, 5.5cqw, 46px);
  }
  .footer {
    padding: 42px 22px 24px;
  }
  .footer__inner {
    width: 92%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(300px, 1fr);
    align-items: end;
    gap: 38px;
  }
  .footer__right {
    min-height: 0;
    margin: 0;
    align-items: flex-end;
    gap: 34px;
  }
  .footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
  }
  .copyright {
    text-align: right;
    margin-top: 0;
    font-size: 11px !important;
  }
}

@container site-type-b (max-width: 640px) {
  .header__logo {
    width: 170px;
    max-width: calc(100% - 104px);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
  }
  .header__tools {
    grid-template-columns: 46px 46px;
    flex-basis: 92px;
  }
  .header__sp-tel,
  .menu-button {
    width: 46px;
  }
  .hero h1 {
    font-size: clamp(31px, 8.2cqw, 42px);
    line-height: 1.8;
  }
  .hero h1 span {
    padding: 0.08em 0.3em;
  }
  .company__head {
    align-items: center;
    text-align: center;
  }
  .company__head strong,
  .company__head a {
    width: 100%;
    text-align: center;
  }
  .company__head small {
    text-align: center;
  }
  .about__cards article {
    height: auto;
  }
  .contact {
    padding: 54px 14px 0;
    border-radius: 26px 26px 0 0;
  }
  .contact__box {
    width: 100%;
    padding: 34px 14px;
    border-radius: 26px 26px 0 0;
  }
  .contact h2 {
    font-size: 26px;
  }
  .contact p br {
    display: none;
  }
  .contact small {
    font-size: 17px;
  }
  .contact a {
    font-size: 27px;
    padding-bottom: 18px;
  }
  .footer {
    padding: 34px 18px 22px;
  }
  .footer__inner {
    width: 100%;
    display: block;
    padding-bottom: 20px;
  }
  .footer__inner img {
    width: 180px;
  }
  .footer__inner p {
    font-size: 15px;
    margin-top: 18px;
  }
  .footer__company {
    text-align: center;
  }
  .footer__company .foot-logo {
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
    text-align: center;
  }
  .footer__company img {
    margin: 0 auto;
  }
  .footer__right {
    width: 100%;
    margin-top: 30px;
    align-items: center;
    gap: 24px;
  }
  .footer nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
  .footer nav a {
    display: block;
    text-align: center;
  }
  .copyright {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }
}
