@charset "UTF-8";

:root {
  --text: #242709;
  --green: #a5d835;
  --yellow: #ffc540;
  --orange: #f28e4f;
  --pink: #f57070;
  --white: #fff;
  --bg-gray: #f4f5f0;
  --bg-green: #f5faec;
  --bg-yellow: #fff2d3;
  --title-bg-gray: #e9eae1;
  --border-gray: #b3b49e;
  --border-lightgray: #e0e0dd;
  --header-height: 68px;
  --font-serif: "Noto Serif JP", serif;
  --font-teko: "Teko", sans-serif;
  --content-width: 950px;
  --content-width-percent: 93.8%;
  --content-width-large: 1200px;
  --content-width-medium: 1000px;
  --content-width-small: 864px;
}

* {
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height);
}

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  --line-height: 1;
  background-color: var(--white);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
  overflow: hidden;
}

.content-inner {
  width: var(--content-width-percent);
  max-width: var(--content-width);
  margin-inline: auto;
}

.pc-only,
.only-pc {
  display: none;
}

.block {
  display: inline-flex;
  align-items: center;
}

.p-space {
  margin-top: calc(var(--line-height) * 1em);
}

.p-space--small {
  margin-top: calc(var(--line-height) * 1em * 0.5);
}

.word-break {
  word-break: break-all;
}

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

a,
button,
input.btn,
img,
path {
  transition: opacity 0.4s, color 0.4s, background-color 0.4s, border-color 0.4s,
    fill 0.4s;
  -webkit-transition: opacity 0.4s, color 0.4s, background-color 0.4s,
    border-color 0.4s, fill 0.4s;
  -moz-transition: opacity 0.4s, color 0.4s, background-color 0.4s,
    border-color 0.4s, fill 0.4s;
  -ms-transition: opacity 0.4s, color 0.4s, background-color 0.4s,
    border-color 0.4s, fill 0.4s;
  -o-transition: opacity 0.4s, color 0.4s, background-color 0.4s,
    border-color 0.4s, fill 0.4s;
}

.link:hover {
  opacity: 0.7;
}

.text-link {
  color: var(--orange);
  text-decoration: underline;
}

.underline {
  text-decoration: underline;
}

@media screen and (min-width: 1200px) {
  :root {
    --header-height: 96px;
    --content-width-percent: 96%;
  }

  .content-inner--large {
    max-width: var(--content-width-large) !important;
  }

  .content-inner--medium {
    max-width: var(--content-width-medium);
  }

  .content-inner--small {
    max-width: var(--content-width-small);
  }

  .pc-only,
  .only-pc {
    display: block;
  }

  .sp-only,
  .only-sp {
    display: none !important;
  }
}

/* ========================================
		parts - btn
========================================= */
.input-btn-wrapper {
  position: relative;
}

.btn {
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
  border: 1px solid var(--orange);
  position: relative;
}

.btn--header {
  color: var(--white);
  font-size: calc(12 / 16 * 1rem);
  background-color: var(--orange);
  width: 122px;
  height: 33px;
  margin-top: -2px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

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

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

.btn--mv {
  font-size: calc(12 / 16 * 1rem) !important;
}

.btn--top::after {
  display: none !important;
}

.btn--mv-white {
  color: var(--white);
  border-color: var(--white);
}

.btn--mv-orange {
  color: var(--orange);
  border-color: var(--orange);
}

.btn--top-card {
  color: var(--orange);
}

.btn--mv-orange path,
.top-card-content .btn path {
  fill: var(--orange);
}

:is(.btn, .input-btn-wrapper)::after {
  content: "";
  background-size: contain !important;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  position: absolute;
  top: 50%;
}

:is(.btn--header, .btn--orange, .input-btn-wrapper, .btn--mv-white)::after {
  background: url("../img/btn-arrow-white.svg") center no-repeat;
}

.btn--white::after {
  background: url("../img/btn-arrow-orange.svg") center no-repeat;
}

.btn--header::after {
  width: 4px;
  height: 8px;
  right: 8px;
}

.btn--h28,
.btn--h28-h38 {
  font-size: calc(13 / 16 * 1rem);
  height: 28px;
}

:is(.btn--h28, .btn--h28-h38)::after {
  width: 6px;
  height: 11px;
  right: 12px;
}

.btn--h38,
.btn--h38-h54 {
  font-size: calc(15 / 16 * 1rem);
  height: 38px;
}

.btn--h38::after,
.btn--h38-h54::after {
  width: 6px;
  height: 11px;
  right: 15px;
}

.btn--h42,
.btn--h42-h54,
.btn--h42-h62 {
  font-size: calc(24 / 16 * 1rem);
  height: 42px;
}

:is(
    .btn--h42,
    .btn--h42-h54,
    .btn--h42-h62,
    .input-btn-wrapper--mailmagazine
  )::after {
  width: 8px;
  height: 14px;
  right: 20px;
}

.btn--h47,
.btn--h47-h54 {
  font-size: calc(16 / 16 * 1rem);
  height: 47px;
}

:is(.btn--h47, .btn--h47-h54)::after {
  width: 7px;
  height: 12px;
  right: 19px;
}

.btn--h54,
.btn--h54-h62 {
  font-size: calc(19 / 16 * 1rem);
  height: 54px;
}

:is(.btn--h54, .btn--h54-h62)::after {
  width: 8px;
  height: 14px;
  right: 26px;
}

.btn--h62,
.btn--h62-h82 {
  font-size: calc(20 / 16 * 1rem);
  height: 62px;
}

.btn--h56-h104 {
  font-size: calc(16 / 16 * 1rem);
  height: 56px;
  line-height: 1.56;
}

:is(
    .btn--h62,
    .btn--h62-82,
    .input-btn-wrapper:not(.input-btn-wrapper--mailmagazine)
  )::after {
  width: 9px;
  height: 17px;
  right: 26px;
  top: 61%;
}
:is(
    .btn--h56-h104
  )::after {
  width: 9px;
  height: 17px;
  right: 26px;
  top: 50%;
}

.btn--h82 {
  font-size: calc(23 / 16 * 1rem);
  height: 82px;
}

.btn--h82::after {
  width: 9px;
  height: 17px;
  right: 36px;
}

.btn--back::after {
  transform: scale(-1, 1) translateY(-50%);
  -webkit-transform: scale(-1, 1) translateY(-50%);
  -moz-transform: scale(-1, 1) translateY(-50%);
  -ms-transform: scale(-1, 1) translateY(-50%);
  -o-transform: scale(-1, 1) translateY(-50%);
  right: auto;
  left: 15px;
}

.btn:hover {
  opacity: 0.6;
}

.btn--top .btn-arrow {
  width: 6px;
  height: 11px;
  position: absolute;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  top: 50%;
  right: 13px;
}

.btn--top:hover {
  color: var(--white);
  background-color: var(--orange);
  border-color: var(--orange);
  opacity: 1;
}

.btn--top:hover path {
  fill: var(--white);
}

@media screen and (min-width: 1200px) {
  .btn--header {
    font-size: calc(17 / 16 * 1rem);
    width: 168px;
    height: 46px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }

  .btn--header::after {
    width: 12px;
    height: 12px;
    right: 7px;
  }

  .btn--mv {
    font-size: calc(18 / 16 * 1rem) !important;
    --letter-spacing: 0.05em;
  }

  .btn--h28-h38 {
    font-size: calc(15 / 16 * 1rem);
    height: 38px;
  }

  .btn--h28-h38::after {
    width: 6px;
    height: 11px;
    right: 15px;
  }

  .btn--h38-h54,
  .btn--h42-h54,
  .btn--h47-h54 {
    font-size: calc(19 / 16 * 1rem);
    height: 54px;
  }

  :is(.btn--h38-h54, .btn--h42-h54, .btn--h47-h54)::after {
    width: 8px;
    height: 14px;
    right: 26px;
  }

  .btn--h54-h62,
  .btn--h42-h62 {
    font-size: calc(20 / 16 * 1rem);
    height: 62px;
  }

  :is(.btn--h54-h62, .btn--h42-h62, .input-btn-wrapper--mailmagazine)::after {
    width: 9px;
    height: 17px;
    right: 26px;
  }

  .btn--h62-h82 {
    font-size: calc(23 / 16 * 1rem);
    height: 82px;
  }

  .btn--h56-h104 {
    font-size: calc(20 / 16 * 1rem);
    height: 104px;
    border-radius: 52px;
  }

  :is(
      .btn--h62-h82,
      .btn--h56-h104,
      .input-btn-wrapper:not(.input-btn-wrapper--mailmagazine)
    )::after {
    width: 9px;
    height: 17px;
    right: 36px;
  }

  .btn--mv .btn-arrow {
    width: 8px;
    height: 14px;
    right: 16px;
  }
}

/* ========================================
		parts - fade-in
========================================= */
.fade-in {
  transform: translateY(30px);
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -o-transform: translateY(30px);
  opacity: 0;
  transition: transform 1s, opacity 1s;
  -webkit-transition: transform 1s, opacity 1s;
  -moz-transition: transform 1s, opacity 1s;
  -ms-transition: transform 1s, opacity 1s;
  -o-transition: transform 1s, opacity 1s;
}

.fade-in.active {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  opacity: 1;
}

/* ========================================
    parts - breadcrumb
========================================= */
.breadcrumb-wrapper {
  --top-space: 8px;
  font-size: calc(9 / 16 * 1rem);
  display: flex;
  align-items: center;
  overflow-x: scroll;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.breadcrumb-wrapper li {
  white-space: nowrap;
}

.breadcrumb-wrapper::-webkit-scrollbar {
  display: none;
}

.lower-title-large-wrapper .breadcrumb-wrapper {
  position: absolute;
  top: var(--top-space);
  left: 0;
}

.lower-title-small-wrapper .breadcrumb-wrapper,
.english .breadcrumb-wrapper,
.inherit .breadcrumb-wrapper {
  padding-top: var(--top-space);
}

:is(.about, .problem, .studycoupon, .brother-sister, .helloculture, .support)
  .breadcrumb-wrapper {
  color: var(--white);
}

:is(.about, .problem, .studycoupon, .brother-sister, .helloculture, .support)
  .breadcrumb-wrapper
  path {
  fill: var(--white);
}

.breadcrumb__home-link {
  display: flex;
  align-items: center;
}

.breadcrumb__home {
  width: 10px;
  height: auto;
}

@media screen and (min-width: 1200px) {
  .breadcrumb-wrapper {
    --top-space: 12px;
    font-size: calc(11 / 16 * 1rem);
  }

  :is(.problem, .studycoupon) .breadcrumb-wrapper {
    color: var(--text);
  }

  :is(.problem, .studycoupon) .breadcrumb-wrapper path {
    fill: var(--text);
  }

  .breadcrumb__home {
    width: 13px;
  }
}


/* ========================================
		parts - lower-section-title
========================================= */
.lower-section-title {
  --space: 8px;
  font-size: calc(16 / 16 * 1rem);
  font-weight: 700;
  --line-height: 1.33;
  background-color: var(--title-bg-gray);
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.lower-section-title--radius {
  --space: 14px;
  --line-height: 1.45;
  padding-inline: 2.8%;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.lower-section-title--advisor {
  --space: 8px;
  padding-inline: 14px;
}

.lower-section-title--center,
.lower-section-title--english {
  text-align: center;
}

.lower-section-title--small,
.lower-section-title--english {
  font-size: calc(15 / 16 * 1rem);
}

.lower-section-title--padding-large {
  --space: 13px;
}

.lower-section-title--light {
  font-weight: 400;
}

@media screen and (min-width: 1200px) {
  .lower-section-title {
    --space: 10px;
    font-size: calc(20 / 16 * 1rem);
    --line-height: 1.4;
  }

  .lower-section-title--radius {
    --space: 16px;
    font-size: calc(22 / 16 * 1rem);
    padding-inline: 25px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }

  .lower-section-title--advisor {
    padding-inline: 17px;
  }

  .lower-section-title--padding-large {
    --space: 12px;
  }
}

/* ========================================
		header
========================================= */
.header {
  background-color: var(--white);
  width: 100%;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header::before,
.header::after {
  content: "";
  width: 50%;
  height: 4px;
  position: absolute;
  bottom: 0;
}

.header::before {
  background-color: var(--green);
  left: 0;
}

.header::after {
  background-color: var(--yellow);
  right: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  max-width: none;
  height: 100%;
}

.header__logo {
  width: 142px;
  height: auto;
}

.header__btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: end;
  position: absolute;
  top: 0;
  right: 0;
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 16px;
  width: 51px;
  height: var(--header-height);
  padding-top: 8px;
  margin-left: 6px;
  position: relative;
  transition: background-color 0.4s;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -ms-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
}

.header__menu-btn-line,
.header__menu-btn-line::before,
.header__menu-btn-line::after {
  width: 29px;
  height: 1px;
  background-color: #000;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.header__menu-btn-line {
  position: relative;
  transition: background-color 0.4s;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -ms-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
}

.header__menu-btn-line::before,
.header__menu-btn-line::after {
  content: "";
  position: absolute;
  left: 0;
  transition: all 0.5s;
}

.header__menu-btn-line::before {
  top: -8px;
}

.header__menu-btn-line::after {
  bottom: -8px;
}

.header__menu-btn-text {
  color: var(--text);
  font-size: calc(9 / 16 * 1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
}

.header__menu-btn.open {
  background-color: var(--bg-gray);
}

.header__menu-btn.open .header__menu-btn-line {
  background-color: transparent;
}

.header__menu-btn.open .header__menu-btn-line::before {
  top: 0;
  transform: rotate(45deg);
}

.header__menu-btn.open .header__menu-btn-line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

@media screen and (min-width: 1200px) {
  .header::before,
  .header::after {
    height: 6px;
  }

  .header__inner {
    display: grid;
    grid-template-rows: repeat(2, max-content);
    grid-template-columns: max-content 1fr repeat(2, max-content);
    position: relative;
  }

  .header__logo-wrapper {
    grid-row: 1 / 3;
  }

  .header__logo {
    width: 233px;
    margin-top: 4px;
  }

  .header__nav-sub-list-wrapper {
    display: flex;
    justify-content: end;
    align-self: end;
  }

  .header__nav-sub-list {
    font-size: calc(11 / 16 * 1rem);
    font-weight: 500;
    display: flex;
    align-self: end;
    column-gap: 20px;
    margin-right: 20px;
  }

  .header__nav-main-list {
    grid-column: 2 / 3;
    align-self: start;
    display: flex;
    justify-content: end;
    margin-top: 16px;
    margin-right: 4px;
    margin-bottom: -22px;
    position: relative;
    z-index: 80;
  }

  .header__nav-main-list-title {
    font-size: calc(15 / 16 * 1rem);
    font-weight: 700;
    padding: 0 15px 27px;
    position: relative;
  }

  .header__nav-main-list-title::after {
    content: "";
    background-color: var(--orange);
    width: calc(100% - 14px);
    height: 6px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    position: absolute;
    bottom: -2.5px;
    left: 50%;
    z-index: 80;
  }

  .header__mega-menu-wrapper {
    background-color: var(--bg-gray);
    display: flex;
    justify-content: center;
    column-gap: 58px;
    width: 100vw;
    padding-top: 52px;
    padding-bottom: 52px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    position: fixed;
    top: calc(var(--header-height) - 6px);
    left: 0;
    z-index: 70;
  }

  .header__nav-main-list-title:hover::after,
  .header__nav-main-list-title.open::after,
  .header__mega-menu-wrapper.open {
    visibility: visible;
    opacity: 1;
  }

  .header__mega-menu-list-title {
    font-size: calc(18 / 16 * 1rem);
    font-weight: 700;
  }

  .header__mega-menu-list {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(3, auto);
    row-gap: 15px;
    column-gap: 58px;
    grid-auto-flow: column;
  }

  .header__mega-menu-link {
    font-size: calc(17 / 16 * 1rem);
    font-weight: 500;
    display: flex;
    column-gap: 6px;
  }

  .header__mega-menu-link .menu-arrow {
    width: 21px;
    height: auto;
  }

  .header__mega-menu-link:hover,
  .header__link:hover {
    color: var(--orange);
  }

  .header__mega-menu-link:hover .menu-arrow path {
    fill: var(--orange);
  }

  .header__btn-wrapper {
    display: contents;
    position: relative;
  }

  .btn--header {
    grid-row: 1 / 3;
    grid-column: 3 / 4;
    margin-left: 14px;
  }

  .header__menu-btn {
    grid-row: 1 / 3;
    grid-column: 4 / 5;
    row-gap: 17px;
    width: 78px;
    padding-top: 12px;
  }

  .header__menu-btn-line,
  .header__menu-btn-line::before,
  .header__menu-btn-line::after {
    width: 36px;
    height: 2.5px;
  }

  .header__menu-btn-line::before {
    top: -10px;
  }

  .header__menu-btn-line::after {
    bottom: -10px;
  }

  .header__menu-btn-text {
    font-size: calc(11 / 16 * 1rem);
    font-weight: 700;
    bottom: 34px;
  }
}

/* ========================================
		hamburger-menu
========================================= */
.h-menu {
  background-color: var(--bg-gray);
  width: 100%;
  max-height: calc(100% - var(--header-height) + 4px);
  position: fixed;
  top: calc(var(--header-height) - 4px);
  left: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: 90;
  transition: visibility 0.4s, opacity 0.4s;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0.4s, opacity 0.4s;
  -moz-transition: visibility 0.4s, opacity 0.4s;
  -ms-transition: visibility 0.4s, opacity 0.4s;
  -o-transition: visibility 0.4s, opacity 0.4s;
}

.h-menu.open {
  visibility: visible;
  opacity: 1;
}

body.no-scroll {
  width: 100%;
  position: fixed;
}

.h-menu__inner {
  width: min(89.3%, 500px);
  padding-top: 23px;
  padding-bottom: 28px;
  margin-inline: auto;
  position: relative;
}

.h-menu__inner::before,
.h-menu__inner::after {
  content: "";
  width: 50vw;
  height: 4px;
  position: absolute;
  bottom: 0;
}

.h-menu__inner::before {
  background-color: var(--green);
  right: 50%;
}

.h-menu__inner::after {
  background-color: var(--yellow);
  left: 50%;
}

.h-menu__nav-item:not(:has(.h-menu__nav-lower--pc-column)) {
  border-top: 1px solid #cccccb;
}

.h-menu__nav-item:last-of-type {
  border-bottom: 1px solid #cccccb;
}

.h-menu__nav-item-title {
  font-size: calc(16 / 16 * 1rem);
  font-weight: 700;
  display: block;
  width: 100%;
  padding: 15px 3.5%;
  position: relative;
}

.h-menu__nav-item-title::after {
  content: "";
  background: url("../img/h-menu-arrow.svg") no-repeat;
  background-size: contain;
  width: 11px;
  height: 6px;
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  -moz-transition: transform 0.5s;
  -ms-transition: transform 0.5s;
  -o-transition: transform 0.5s;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  position: absolute;
  top: 50%;
  right: 12px;
}

.h-menu__nav-item-title.open::after {
  transform: translateY(-50%) rotate(180deg);
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
}

.h-menu__nav-item-related-title {
  font-size: calc(14 / 16 * 1rem);
  font-weight: 700;
}

.h-menu__accordion-content {
  display: none;
}

.h-menu__nav-lower {
  font-size: calc(14 / 16 * 1rem);
  font-weight: 500;
  margin: 0 3.5% 18px;
  display: grid;
  row-gap: 12px;
}

.h-menu__nav-lower--small,
.h-menu__nav-lower--pc-column {
  font-size: calc(13 / 16 * 1rem);
}

.h-menu__nav-lower--small {
  margin-top: 18px;
}

.h-menu__nav-lower--pc-column {
  margin-top: -6px;
}

.h-menu__nav-link {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

:is(.h-menu__nav-lower--small, .h-menu__nav-lower--pc-column)
  .h-menu__nav-link {
  column-gap: 6px;
}

.h-menu__nav-related {
  display: grid;
  grid-template-columns: 39.4% 1fr;
}

.h-menu__nav-related-list {
  display: grid;
  row-gap: 14px;
}

.h-menu__nav-link .menu-arrow,
.h-menu__nav-link .new-window {
  width: 16px;
  height: auto;
  flex-shrink: 0;
}

.h-menu__nav-lower--small .menu-arrow {
  width: 15px;
}

.h-menu__nav-link--gray {
  color: #767766;
}

.h-menu__nav-link:hover {
  color: var(--orange);
}

.h-menu__nav-link:hover .menu-arrow path,
.h-menu__nav-link:hover .new-window path {
  fill: var(--orange);
}

.h-menu__nav-sns {
  display: flex;
  justify-content: center;
  column-gap: 18px;
}

.h-menu__sns-icon {
  width: 25px;
  height: auto;
}

.h-menu__close-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 16px;
  width: 100%;
  height: 46px;
  padding-top: 29px;
  position: relative;
}

.h-menu__close-btn-text {
  color: var(--text);
  font-size: calc(9 / 16 * 1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
}

.h-menu__close-btn-line,
.h-menu__close-btn-line::before,
.h-menu__close-btn-line::after {
  width: 28px;
  height: 1px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.h-menu__close-btn-line {
  position: relative;
}

.h-menu__close-btn-line::before,
.h-menu__close-btn-line::after {
  content: "";
  background-color: #000;
  position: absolute;
  left: 0;
  transition: all 0.5s;
}

.h-menu__close-btn-line::before {
  top: 0;
  transform: rotate(45deg);
}

.h-menu__close-btn-line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

@media screen and (min-width: 1200px) {
  .h-menu {
    max-height: calc(100% - var(--header-height) + 6px);
    position: fixed;
    top: calc(var(--header-height) - 6px);
  }

  .h-menu.open {
    visibility: visible;
    opacity: 1;
  }

  .h-menu__inner {
    width: min(var(--content-width-percent), var(--content-width-large));
    padding-top: 65px;
    padding-bottom: 41px;
  }

  .h-menu__inner::before,
  .h-menu__inner::after {
    display: none;
  }

  .h-menu__nav {
    display: grid;
    grid-template-columns: 362px 25.6% 18% 1fr;
    width: 100%;
  }

  .h-menu__nav-item:not(:has(.h-menu__nav-lower--pc-column)) {
    border: none;
  }

  .h-menu__nav-item:nth-of-type(n + 5) {
    padding-top: 32px;
    margin-top: 47px;
    border-top: 1px solid #cccccb;
  }

  .h-menu__nav-item:last-of-type {
    border-bottom: none;
  }

  .h-menu__nav-item:nth-of-type(2) {
    padding-left: 12px;
  }

  .h-menu__nav-item:nth-of-type(6) {
    padding-left: 71px;
  }

  .h-menu__nav-item:nth-of-type(3),
  .h-menu__nav-item:nth-of-type(7) {
    padding-left: 10.7%;
  }

  @media screen and (min-width: 1280px) {
    .h-menu__nav {
      grid-template-columns: 362px 282px 209px 1fr;
    }

    .h-menu__nav-item:nth-of-type(3),
    .h-menu__nav-item:nth-of-type(7) {
      padding-left: 64px;
    }

    .h-menu__nav-item:nth-of-type(4n) {
      padding-left: 76px;
    }
  }

  .h-menu__nav-item--sns {
    grid-column: 1 / 5;
    padding-right: 18px;
  }

  .h-menu__nav-item-title {
    padding: 0;
    margin-bottom: 18px;
    cursor: default;
  }

  .h-menu__nav-item-title::after {
    display: none;
  }

  .h-menu__nav-item-related-title {
    font-size: calc(15 / 16 * 1rem);
  }

  .h-menu__accordion-content {
    display: block !important;
  }

  .h-menu__nav-lower {
    font-size: calc(16 / 16 * 1rem);
    margin: 0;
    row-gap: 16px;
  }

  .h-menu__nav-lower--small {
    font-size: calc(16 / 16 * 1rem);
  }

  .h-menu__nav-lower--pc-column {
    font-size: calc(14 / 16 * 1rem);
    row-gap: 17px;
  }

  .h-menu__nav-lower--gap-large {
    row-gap: 20px;
  }

  .h-menu__nav-lower--gap-large li:first-of-type {
    margin-bottom: 10px;
  }

  .h-menu__nav-lower--small .h-menu__nav-link {
    column-gap: 8px;
  }

  .h-menu__nav-lower--pc-column .h-menu__nav-link {
    column-gap: 11px;
  }

  .h-menu__nav-related {
    grid-template-columns: 100%;
    row-gap: 18px;
  }

  .h-menu__nav-related-list {
    font-size: calc(14 / 16 * 1rem);
    row-gap: 17px;
  }

  .h-menu__nav-link .menu-arrow,
  .h-menu__nav-link .new-window {
    width: 18px;
  }

  .h-menu__nav-link--gray {
    font-size: calc(12 / 16 * 1rem);
  }

  .h-menu__nav-link--gray .menu-arrow {
    display: none;
  }

  .h-menu__nav-sns {
    justify-content: end;
    column-gap: 22px;
  }

  .h-menu__sns-icon {
    width: 24px;
  }
}

/* ========================================
		footer
========================================= */
.footer {
  background-color: var(--bg-gray);
}

.footer .content-inner {
  max-width: none;
}

.footer__top {
  background-color: #e2e3da;
  height: 36px;
  position: relative;
}

.footer__top-inner {
  display: flex;
  align-items: center;
  column-gap: 13px;
  height: 100%;
}

.footer__sns-icon {
  width: 19px;
  height: auto;
}

.footer__top-right {
  display: flex;
  column-gap: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}

.footer__top-right-icon {
  width: auto;
  height: 100%;
}

.footer__middle {
  position: relative;
}

.footer__middle::before,
.footer__middle::after {
  content: "";
  width: 50%;
  height: 4px;
  position: absolute;
  bottom: 0;
}

.footer__middle::before {
  background-color: var(--green);
  left: 0;
}

.footer__middle::after {
  background-color: var(--yellow);
  right: 0;
}

.footer__middle-inner {
  padding-top: 22px;
  padding-bottom: 28px;
}

.footer__logo {
  width: 142px;
  height: auto;
}

.footer__info {
  margin-top: 21px;
}

.footer__address {
  font-size: calc(9 / 16 * 1rem);
  --line-height: 1.78;
}

.footer__tel {
  font-size: calc(9 / 16 * 1rem);
  margin-top: 24px;
}

.footer__copyright {
  color: var(--white);
  font-size: calc(7 / 16 * 1rem);
  background-color: #454545;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 33px;
}

@media screen and (min-width: 1200px) {
  .footer__middle::before,
  .footer__middle::after {
    height: 6px;
  }

  .footer__middle-inner {
    padding-top: 52px;
    padding-bottom: 50px;
  }

  .footer__nav-row,
  .footer__bottom {
    display: grid;
    grid-template-columns: 362px 25.6% 18% 1fr;
    width: 100%;
    padding-right: 0.4%;
    padding-left: 1.2%;
  }

  .footer__bottom {
    grid-template-rows: repeat(2, max-content);
    align-items: start;
  }

  .footer__nav-row {
    font-size: calc(16 / 16 * 1rem);
    font-weight: 500;
    padding-bottom: 24px;
    margin-bottom: 26px;
    border-bottom: 1px solid #adafa0;
  }

  .footer__nav-row-item:nth-of-type(2),
  .footer__info {
    margin-left: 12px;
  }

  .footer__nav-row-item:nth-of-type(3) {
    margin-left: 10.7%;
  }

  @media screen and (min-width: 1280px) {
    .footer__nav-row,
    .footer__bottom {
      grid-template-columns: 362px 282px 209px 1fr;
    }

    .footer__nav-row-item:nth-of-type(3) {
      margin-left: 64px;
    }

    .footer__nav-row-item:nth-of-type(4),
    .footer__bottom-right {
      margin-left: 76px;
    }
  }

  .footer__nav-row-title {
    font-weight: 700;
    margin-bottom: 18px;
  }

  .footer__nav-lower {
    display: grid;
    row-gap: 16px;
  }

  .footer__nav-lower--small li:nth-of-type(2) {
    margin-top: 15px;
    margin-bottom: 4px;
  }

  .footer__nav-link {
    display: flex;
    align-items: center;
    column-gap: 8px;
  }

  .footer__nav-link .menu-arrow,
  .footer__nav-link .new-window {
    width: 18px;
    height: auto;
    flex-shrink: 0;
  }

  .footer__nav-link:hover,
  .footer__english-wrapper:hover {
    color: var(--orange);
  }

  .footer__nav-link:hover .menu-arrow path,
  .footer__nav-link:hover .new-window path,
  .footer__english-wrapper:hover .english-icon path {
    fill: var(--orange);
  }

  .footer__nav-link--small {
    color: #767766;
    font-size: calc(12 / 16 * 1rem);
    font-weight: 400;
  }

  .footer__info {
    grid-column: 2 / 4;
    margin-top: 0;
  }

  .footer__logo-wrapper {
    grid-row: 1 / 3;
    width: fit-content;
    margin-top: 6px;
  }

  .footer__logo {
    width: 300px;
  }

  .footer__address {
    font-size: calc(13 / 16 * 1rem);
    --line-height: 1.85;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 0.5em;
    margin-top: 0;
  }

  .footer__tel {
    font-size: calc(13 / 16 * 1rem);
    margin-top: 18px;
  }

  .footer__copyright {
    font-size: calc(13 / 16 * 1rem);
    height: 52px;
  }

  .footer__english-wrapper {
    font-size: calc(14 / 16 * 1rem);
    font-weight: 500;
    display: inline-flex;
    column-gap: 10px;
    align-items: center;
  }

  .footer__english-wrapper,
  .footer__sns-icon {
    width: auto;
    height: 21px;
  }

  .footer__bottom-sns-wrapper {
    display: inline-flex;
    column-gap: 15px;
    margin-left: 104px;
  }
}


/* ========================================
inherit
========================================= */
/* common */
section {
  margin-top: 105px;
}
.inherit__section-text {
  font-size: calc(22.5 / 16 * 1rem);
  --line-height: 1.6;
}
.inherit__section-text.--center {
  text-align: center;
}
.inherit__section-text--small {
  font-size: calc(18 / 16 * 1rem);
  --line-height: 1.8;
  margin-top: 60px;
}
.inherit__section-title {
  font-size: calc(24 / 16 * 1rem);
  --line-height: 1.56;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 60px;
}
.inherit__section-title::before, .inherit__section-title::after {
  content: "";
  width: 20px;
  height: 8px;
  background: url(../img/inherit/icon/section-title.svg) no-repeat center / contain;
}
.inherit__section-heading {
  font-size: calc(22.5 / 16 * 1rem);
  --line-height: 1.87;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 60px;
}
.inherit__section-heading::before, .inherit__section-heading::after {
  content: '';
  flex-grow: 1;
  height: 2px;
  background-color: #A6D835;
}
.btn--inherit {
  width: 278px;
}

.inherit__title-area-wrapper {
  background: url(../img/inherit/title-bg-sp.jpg) no-repeat center;
  background-size: cover;
  position: relative;
}
.inherit__title-area-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.56) 44.72%, rgba(255, 255, 255, 0) 100%);
}
.inherit__title-area-text-wrapper {
  padding-top: 30px;
}

.inherit__title-area-content-inner {
  height: 100%;
  position: relative;
}

.inherit__title {
  font-size: calc(28.5 / 16 * 1rem);
  font-weight: 700;
  --line-height: 1.32;
}
.inherit__title-area-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 60px;
}
.inherit__title-area-button {
  width: 351px;
}
.inherit__title-area-button a {
  display: block;
  font-size: calc(24 / 16 * 1rem);
  font-weight: 700;
  --line-height: 1.56;
}
.inherit__title-bottom-text {
  font-size: calc(21 / 16 * 1rem);
  font-weight: 700;
  --line-height: 1.71;
  margin-top: 37px;
}

.inherit__top-text {
  font-size: calc(22.5 / 16 * 1rem);
  font-weight: 700;
  text-align: center;
  --line-height: 1.6;
  margin-top: 40px;
  margin-bottom: 105px;
}

.inherit__top-info-box {
  border: solid 1px var(--border-gray);
  padding: 20px 7%;
  margin-top: 38px;
}

.inherit__top-info-box-text {
  font-size: calc(15 / 16 * 1rem);
  --line-height: 1.87;
  width: fit-content;
  margin-inline: auto;
}

.inherit__anchor-title {
  font-weight: 700;
  font-size: calc(22.5 / 16 * 1rem);
  --line-height: 1.87;
  text-align: center;
  margin-bottom: 18px;
}
.inherit__anchor-wrapper {
  margin-top: 32px;
}
.inherit__anchor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inherit__anchor-list-item {
  display: flex;
}
.inherit__anchor-list-item a {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: 3px;
  width: 100%;
  background-color: #F4F5F1;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 30px 8px 8px;
}
.inherit__anchor-list-item a:hover {
  opacity: 0.7;
}
.inherit__anchor-list-item a:hover::after {
  background: url(../img/inherit/icon/anchor_arrow_white.svg) no-repeat center / contain;
}
.inherit__anchor-list-item a::after {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}
.inherit__anchor-list-icon {
  width: 24px;
  height: 24px;
}
.inherit__anchor-list-item:nth-child(2n-1) a::after {
  background: url(../img/inherit/icon/anchor_arrow_orange.svg) no-repeat center / contain;
}
.inherit__anchor-list-item:nth-child(2n) a::after {
  background: url(../img/inherit/icon/anchor_arrow_green.svg) no-repeat center / contain;
}
.inherit__anchor-list-item-text {
  font-size: calc(18 / 16 * 1rem);
  font-weight: 700;
  line-height: 1.85;
}
.inherit__anchor-list-item-text br.pc_tb {
  display: none;
}
@media screen and (max-width: 619px) {
  .inherit__title-area-button a {
    height: 80px;
  }
  .inherit__top-text {
    font-weight: 400;
  }
  .inherit__anchor-list-item img {
    display: none;
  }
}
@media screen and (min-width: 620px) {
  .inherit__section-title {
    font-size: calc(20 / 16 * 1rem);
    gap: 18px;
    margin-bottom: 64px;
  }
  .inherit__section-heading {
    font-size: calc(20 / 16 * 1rem);
    --line-height: 1.79;
    gap: 64px;
    margin-bottom: 32px;
  }
  .inherit__title-area-wrapper {
    background: url(../img/inherit/title-bg-pc.jpg) no-repeat center / cover;
  }
  .inherit__title {
    font-size: calc(32 / 16 * 1rem);
    --line-height: 1.56;
  }

  .inherit__title-bottom-text {
    font-size: calc(24 / 16 * 1rem);
    --line-height: 2;
    margin-top: 30px;
  }
  .inherit__title-area-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
  }
  .inherit__title-area-button {
    width: 500px;
  }
  .inherit__title-area-button a {
    font-size: calc(16 / 16 * 1rem);
  }
  .inherit__title-area-text-wrapper .small-br {
    display: none;
  }
  .inherit__anchor-title br.sp-only {
    display: none;
  }
  .inherit__anchor-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .inherit__anchor-list-item {
    width: calc((1200px - 50px) / 6);
    height: 123px;
  }
  .inherit__anchor-list-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 12px 0;
  }
  .inherit__anchor-list-item a::after {
    position: relative;
    top: inherit;
    right: inherit;
    transform: inherit;
  }
  .inherit__anchor-list-icon {
    width: 32px;
    height: 32px;
  }
  .inherit__anchor-list-item-text {
    font-size: calc(15 / 16 * 1rem);
    text-align: center;
    line-height: 1.5;
    min-height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
    .inherit__anchor-list-item-text br.pc_tb {
    display: block;
  }
}
@media screen and (min-width: 1200px) {
  section {
    margin-top: 160px;
  }
  .inherit__section-title {
    font-size: calc(28 / 16 * 1rem);
  }
  .inherit__section-text {
    font-size: calc(18 / 16 * 1rem);
    --line-height: 1.78;
  }

  .inherit__section-text--small {
    font-size: calc(15 / 16 * 1rem);
    margin-top: 34px;
  }

  .btn--inherit {
    width: 400px;
  }

  .inherit__title-area-wrapper {
    background-size: cover;
    height: 680px;
  }
  .inherit__title-area-wrapper::before {
    width: calc(100% / 3 * 2);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.56) 82.21%, rgba(255, 255, 255, 0) 100%);
  }
  .inherit__title-area-text-wrapper {
    padding-top: 88px;
    left: 0;
  }

  .inherit__title {
    font-size: calc(45 / 16 * 1rem);
    --line-height: 1.56;
  }

  .inherit__title-bottom-text {
    font-size: calc(30 / 16 * 1rem);
    --line-height: 2;
    margin-top: 30px;
  }

  .inherit__title-area-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(20 / 16 * 1rem);
  }

  .inherit__top-text {
    font-size: calc(28 / 16 * 1rem);
    font-weight: 700;
    --line-height: 1.79;
    margin-top: 44px;
    margin-bottom: 80px;
  }

  .inherit__top-info-box {
    padding-inline: 24px;
    margin-top: 34px;
  }

  .inherit__top-info-box-text {
    font-size: calc(18 / 16 * 1rem);
  }
  .inherit__anchor-title {
    font-size: calc(20 / 16 * 1rem);
    --line-height: 1.79;
    margin-bottom: 24px;
  }
}

/* fixed */
.inherit__fixed {
  position: fixed;
  width: 100%;
  top: inherit;
  bottom: 20px;
  right: 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.inherit__fixed.is-scrolled {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.inherit__fixed a {
  max-width: 351px;
  height: 60px;
}

@media screen and (min-width: 1200px) {
  .inherit__fixed {
    width: 136px;
    height: 136px;
    top: 80vh;
    transform: translateY(-50%);
    right: 20px;
  }
  .inherit__fixed a {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    --line-height: 1.87;
  }
  .inherit__fixed a::after {
    display: none;
  }
}


/* about */
.inherit__about-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.inherit__about-img img {
  width: 100%;
}
.inherit__about-media {
  margin-top: 48px;
}
.inherit__about-media-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.inherit__about-media-list-item {
  border-radius: 10px;
  background-color: #F4F5F1;
  overflow: hidden;
}
.inherit__about-media-list-item-title {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  font-weight: 700;
  --line-height: 1.85;
  background-color: #E2E3DA;
  padding: 8px;
}
.inherit__about-media-list-item-title-text {
  font-size: calc(24 / 16 * 1rem);
  font-weight: 700;
  --line-height: 1.85;
}
.inherit__about-media-list-item-title-date {
  font-size: calc(22.5 / 16 * 1rem);
  --line-height: 1.87;
  font-weight: 400;
}
.inherit__about-media-list-item-content {
  padding: 8px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.inherit__about-media-list-item-content-text {
  font-size: calc(22.5 / 16 * 1rem);
  --line-height: 1.6;
}
@media screen and (min-width: 620px) {
  .inherit__about-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .inherit__about-contents {
    width: 40.5%;
  }
  .inherit__about-img {
    width: 50.667%;
  }
  .inherit__about-media {
    margin-top: 64px;
  }
  .inherit__about-media-text {
    text-align: center;
  }
  .inherit__about-media-list-item-title {
    --line-height: 1.79;
    padding: 16px 40px;
  }
  .inherit__about-media-list-item-title-text {
    font-size: calc(28 / 16 * 1rem);
    --line-height: 1.85;
  }
  .inherit__about-media-list-item-title-date {
    font-size: calc(18 / 16 * 1rem);
    --line-height: 1.7;
    padding-bottom: 6px;
  }
  .inherit__about-media-list-item-content {
    padding: 10px 40px;
  }
  .inherit__about-media-list-item-content-text {
    font-size: calc(18 / 16 * 1rem);
    --line-height: 1.7;
  }
}

@media screen and (min-width: 1200px) {
  .inherit__about-media-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}



/* studycoupon */
.inherit__studycoupon-text-top{
  font-size: calc(22.5 /16 * 1rem);
  line-height: 1.6;
  margin: 1rem 0;
}

.inherit__studycoupon-text-bottom{
  font-size: calc(22.5 /16 * 1rem);
  line-height: 1.6;
  margin: 1rem 0;
}


.inherit__studycoupon-img img{
  display: block;
  width: 100%;
  max-width: 351px;
  height: auto;
  margin:60px auto;
}

.inherit__voice-letter-title{
  font-size: calc(22.5 / 16 * 1rem);
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
}

.inherit__voice-letter-text{
  font-size: calc(22.5 /16 * 1rem);
  line-height: 1.6;
}

.inherit__voice-letter-img img{
  display: block;
  width: 100%;
  max-width: 351px;
  height: auto;
  margin:60px auto;
}

.btn--h42-h62 {
  max-width: 280px;
  height: 56px;
}

@media (min-width: 620px) {

  .inherit__studycoupon {
    text-align: center;
  }

  .inherit__studycoupon-img img{
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 40px auto 80px auto;
  }

  .inherit__voice-letter-img img{
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin:40px auto;
  }
  
}

@media (min-width: 1200px){

  .inherit__studycoupon-text-top{
    font-size: calc(18 /16 * 1rem);
    line-height: 1.78;
  }

  .inherit__studycoupon-text-bottom{
    font-size: calc(18 /16 * 1rem);
    line-height: 1.78;
  }

  .inherit__voice-letter-title{
    font-size: calc(20 / 16 * 1rem);
    line-height: 1.79;
    margin-bottom: 64px;
  }

  .inherit__voice-letter-text{
    font-size: calc(18 / 16 * 1rem);
    line-height: 1.78;
  }

  .btn--h42-h62 {
    max-width: 400px;
    height: 64px;
  }
  
}

/* voice */
.inherit__voice-list {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 60px;
}
.inherit__voice-list-item__upper {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 60px;
}
.inherit__voice-list-item__upper-img {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.inherit__voice-list-item-upper-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inherit__voice-list-item__upper-contents {
  width: 100%;
  text-align: center;
}
.inherit__voice-list-item__upper-contents-category {
  display: inline-block;
  background-color: #E2E3DA;
  padding: 2px 16px;
  border-radius: 4px;
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.87;
  margin-bottom: 18px;
}
.inherit__voice-list-item__upper-contents-title {
  font-size: calc(22.5 / 16 * 1rem);
  line-height: 1.79;
  font-weight: 700;
  border-bottom: 2px solid #A6D835;
  margin-bottom: 18px;
  padding: 10px 7px;
}
.inherit__voice-list-item__upper-contents-name {
  font-size: calc(22.5 / 16 * 1rem);
  line-height: 1.87;
  font-weight: 400;
}
.inherit__voice-list-item__lower-note {
  font-size: calc(18 / 16 * 1rem);
  margin-top: 60px;
  --line-height: 1.8;
}
@media (min-width: 620px){
  .inherit__voice-list {
    flex-direction: row;
    gap: 64px;
  }
  .inherit__voice-list-item__upper {
    flex-direction: row;
    gap: 28px;
  }
  .inherit__voice-list-item__upper-contents {
    width: calc(100% - 140px - 28px);
    text-align: left;
  }
  .inherit__voice-list-item__upper-contents-category {
    font-size: calc(15 / 16 * 1rem);
  }
  .inherit__voice-list-item__upper-contents-title {
    font-size: calc(20 / 16 * 1rem);
    padding:0;
    margin-bottom: 8px;
  }
  .inherit__voice-list-item__upper-contents-name {
    font-size: calc(18 / 16 * 1rem);
  }
  .inherit__voice-list-item__lower-note {
    font-size: calc(15 / 16 * 1rem);
    margin-top: 40px;
  }
}

/* message */
.inherit__message-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.inherit__message-list-item {
  background-color: #F2FFE8;
  padding: 40px 16px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 18px;
}
.inherit__message-list-item__upper-img {
  flex-shrink: 0;
}
.inherit__message-list-item__upper-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.inherit__message-list-item__contents-text {
  font-size: calc(22.5 / 16 * 1rem);
  line-height: 1.6;
  margin-bottom: 24px;
}
.inherit__message-list-item__contents-profile-title {
  display: inline-block;
  text-align: center;
  min-width: 160px;
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.85;
  background-color: #E2E3DA;
  border-radius: 4px;
  padding: 4px;
  margin-bottom: 18px;
}
@media (min-width: 620px){
  .inherit__message-list {
    gap: 40px;
  }
  .inherit__message-list-item {
    padding: 64px 88px 64px 56px;
  }
  .inherit__message-list-item__upper-img {
    width: 282px;
    height: 314px;
  }
  .inherit__message-list-item__contents-text {
    font-size: calc(20 / 16 * 1rem);
    margin-bottom: 32px;
  }
  .inherit__message-list-item__contents-profile-title {
    font-size: calc(15 / 16 * 1rem);
    min-width: 188px;
    margin-bottom: 16px;
  }
}
@media (min-width: 1200px){
  .inherit__message-list-item {
    flex-direction: row;
    gap: 56px;
  }
}

/* what */
.inherit__what-text {
  margin-bottom: 60px;
  text-align: left;
}
.inherit__what-features {
  margin-bottom: 60px;
}
.inherit__what-features-text {
  margin-bottom: 60px;
  text-align: left;
}
.inherit__what-features-tabs {
  display: flex;
}
.inherit__what-features-tabs-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 13px 2px;
  gap: 8px;
  flex: 1;
  font-weight: bold;
  width: calc(100% / 4);
  background-color: #E2E3DA;
  border-radius: 20px 20px 0 0 ;
  border-top: 2px solid #B7B7B7;
  border-left: 2px solid #B7B7B7;
  border-right: 2px solid #B7B7B7;
  cursor: pointer;
}
.inherit__what-features-tabs-item-num {
  font-family: "Roboto", sans-serif;
  font-size: calc(48 / 16 * 1rem);
  font-weight: bold;
  line-height: 1;
  color: #fff;
}
.inherit__what-features-tabs-item-text {
  color: #fff;
  font-size: calc(19.5 / 16 * 1rem);
  line-height: 1.46;
}
.inherit__what-features-tabs-item.is-active {
  background-color: #F28E50;
}
.inherit__what-features-panels {
  background-color: #FFF9E8;
  border: 2px solid #B7B7B7;
  border-radius: 0 0 20px 20px;
}
.inherit__what-features-panels-item {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 16px;
}
.inherit__what-features-panels-item.is-active {
  display: flex;
}
.inherit__what-features-panels-item-image {
  width: 112px;
  margin: 0 auto 12px;
  flex-shrink: 0;
}
.inherit__what-features-panels-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inherit__what-features-panels-item-contents-title {
  font-size: calc(22.5 / 16 * 1rem);
  font-weight: bold;
  line-height: 1.87;
  font-weight: bold;
  margin-bottom: 16px;
}
.inherit__what-features-panels-item-text a {
  color: #F28E50;
  text-decoration: underline;
}
.inherit__what-features-panels-item-note {
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.8;
  margin-top: 32px;
}
.inherit__what-merit {
  margin: 0 calc(50% - 50vw);
  background: url(../img/inherit/merit_bg-sp.png) no-repeat center center / cover;
  padding: 60px 0;
}
.inherit__what-merit-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.inherit__what-merit-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 15px;
  margin-bottom: 60px;
}
.inherit__what-merit-list-item {
  width: 100%;
  max-width: 280px;
}
.inherit__what-merit-list-item img {
  width: 100%;
}
.inherit__what-merit-btn {
  margin: 0 auto;
  max-width: 280px;
}
@media screen and (max-width: 619px) {
  .inherit__what-merit .inherit__what-box-title {
    padding:0 20px;
  }
  .inherit__what-features-tabs-ite:nth-child(1) {
    border-right: 1px solid #B7B7B7;
  }
  .inherit__what-features-tabs-item:nth-child(2),
  .inherit__what-features-tabs-item:nth-child(3) {
    border-left: 1px solid #B7B7B7;
    border-right: 1px solid #B7B7B7;
  }
  .inherit__what-features-tabs-item:nth-child(4) {
    border-left: 1px solid #B7B7B7;
  }
}
@media screen and (min-width: 620px) {
  .inherit__what-features {
    margin-bottom: 80px;
  }
  .inherit__what-text {
    margin-bottom: 80px;
    text-align: center;
  }
  .inherit__what-features-text {
    text-align: center;
  }
  .inherit__what-features-tabs-item {
    flex-direction: row;
    padding: 23px 16px;
    gap: 15px;
  }
  .inherit__what-features-tabs-item-num {
    font-size: calc(52 / 16 * 1rem);
  }
  .inherit__what-features-tabs-item-text {
    font-size: calc(16 / 16 * 1rem);
    line-height: 1.38;
  }
  .inherit__what-features-panels-item {
    padding: 48px 50px;
    flex-direction: row;
    gap: 32px;
  }
  .inherit__what-features-panels-item-note {
    font-size: calc(15 / 16 * 1rem);
  }
  .inherit__what-features-panels-item-image {
    width: 348px;
  }
  .inherit__what-features-panels-item-contents-title {
    font-size: calc(20 / 16 * 1rem);
  }
  .inherit__what-merit {
    background: url(../img/inherit/merit_bg.png) no-repeat center center / cover;
    padding: 80px 0;
  }
  .inherit__what-merit-list-item {
    width: calc((100% - 56px * 2) / 3);
    max-width: 296px;
  }
  .inherit__what-merit-list-item:first-child {
    width: calc((100% - 56px * 2) / 3);
  }
  .inherit__what-merit-list-item:first-child img {
    width: 100%;
  }
  .inherit__what-merit-btn {
    max-width: 400px;
  }
}
@media screen and (min-width: 1200px) {
  .inherit__what-merit-list {
    gap: 56px;
    margin-bottom: 40px;
  }
}

/* flow */
.inherit__flow-text {
  margin-bottom: 40px;
}
.inherit__flow-tabs {
  display: flex;
  padding-bottom: 24px;
}
.inherit__flow-tabs-item {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.inherit__flow-tabs-item.is-active .inherit__flow-tabs-item-step {
  color: #F28E50;
}
.inherit__flow-tabs-item.is-active .inherit__flow-tabs-item-text {
  background-color: #FFE7AF;
}
.inherit__flow-tabs-item.is-active .inherit__flow-tabs-item-text-icon img.gray {
  display: none;
}
.inherit__flow-tabs-item.is-active .inherit__flow-tabs-item-text-icon img.orange {
  display: block;
}
.inherit__flow-tabs-item.is-active .inherit__flow-tabs-item-text-title {
  font-weight: bold;
}
.inherit__flow-tabs-item.is-active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  background-color: #B7B7B7;
  border-radius: 50%;
  transform: translate(-50%, 50%);
}
.inherit__flow-tabs-item.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 2px;
  height: 24px;
  background-color: #B7B7B7;
  transform: translate(-50%, 100%);
}
.inherit__flow-tabs-item-step {
  font-family: "Roboto", sans-serif;
  font-size: calc(15 / 16 * 1rem);
  font-weight: bold;
  color: #B7B7B7;
}
.inherit__flow-tabs-item-step span {
  font-size: calc(32 / 16 * 1rem);
  display: block;
}
.inherit__flow-tabs-item-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  background-color: #F4F5F1;
  padding: 8px 12px 4px 4px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}
.inherit__flow-tabs-item-text-icon {
  width: 42px;
  height: 42px;
  transform: translateX(-10%);
  -webkit-transform: translateX(-5%);
}
.inherit__flow-tabs-item-text-icon img {
  width: 100%;
}
.inherit__flow-tabs-item-text-icon img.orange {
  display: none;
}
.inherit__flow-tabs-item-text-title {
  display: none;
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.48;
  text-align: center;
  transform: translateX(-10%);
  -webkit-transform: translateX(-5%);
}
.inherit__flow-panels-item {
  display: none;
  background-color: #FFF9E8;
  border: 2px solid #B7B7B7;
  border-radius: 20px;
  padding: 24px 16px;
  min-height: 1074px;
}
.inherit__flow-panels-item.is-active {
  display: block;
}
.inherit__flow-panels-item-title {
  font-size: calc(22.5 / 16 * 1rem);
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 2px solid #F28E50;
  margin-bottom: 24px;
}
.inherit__flow-panels-item-text a {
  color: #f28e50;
  text-decoration: underline;
}
.inherit__flow-panels-item-table {
  width: 100%;
  max-width: 1000px;
  border-collapse: collapse;
  border: 1px solid #B7B7B7;
  margin: 32px 0;
  table-layout: fixed;
}
.inherit__flow-panels-item-table th, .inherit__flow-panels-item-table td {
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.87;
}
.inherit__flow-panels-item-table th {
  background-color: #E2E3DA;
  padding: 10px;
  font-weight: normal;
  border: 1px solid #B7B7B7;
}
.inherit__flow-panels-item-table th.first {
  width: 40px;
  flex-shrink: 0;
  border-right: 1px solid #B7B7B7;
  padding: 16px;
}
.inherit__flow-panels-item-table th.second,
.inherit__flow-panels-item-table th.third {
  width: calc((100% - 40px) / 2);
  padding: 8px 4px;
}
.inherit__flow-panels-item-table td:nth-child(2),
.inherit__flow-panels-item-table td:nth-child(3) {
  width: calc((100% - 40px) / 2);
}
.inherit__flow-panels-item-table th.title {
  text-align: center;
  vertical-align: middle;
}
.inherit__flow-panels-item-table th.title span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
}
.inherit__flow-panels-item-table td {
  background-color: #fff;
  padding: 8px 4px;
  border: 1px solid #B7B7B7;
}
.inherit__flow-panels-item-table td ul li {
  display: flex;
  margin-bottom: 8px;
  line-height: 1.85;
}
.inherit__flow-panels-item-table td ul li::before {
  content: "・";
}
.inherit__flow-panels-item-table td ul li:last-child {
  margin-bottom: 0;
}
.inherit__flow-panels-item-note {
  margin-top: 32px;
  text-align: left;
}
@media screen and (min-width: 620px) {
  .inherit__flow-text {
    text-align: center;
  }
  .inherit__flow-tabs {
    padding-bottom: 32px;
  }
  .inherit__flow-tabs-item.is-active::after {
    height: 32px;
  }
  .inherit__flow-tabs-item-step {
    font-size: calc(16 / 16 * 1rem);
  }
  .inherit__flow-tabs-item-step span {
    display: inline-block;
    font-size: calc(32 / 16 * 1rem);
    margin-left: 4px;
  }
  .inherit__flow-tabs-item-text {
    padding: 16px 8px;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
  }
  .inherit__flow-tabs-item-text-icon {
    width: 48px;
    height: 48px;
    transform: inherit;
    -webkit-transform: inherit;
  }
  .inherit__flow-tabs-item-text-title {
    font-size: calc(18 / 16 * 1rem);
    text-align: left;
  }
  .inherit__flow-panels-item {
    min-height: 874px;
  }
  .inherit__flow-panels-item-title {
    font-size: calc(20 / 16 * 1rem);
    padding-bottom: 10px;
    margin-bottom: 32px;
    transform: inherit;
    -webkit-transform: inherit;
  }
  .inherit__flow-panels-item-table th, .inherit__flow-panels-item-table td {
    font-size: calc(18 / 16 * 1rem);
  }
  .inherit__flow-panels-item-table th.first {
    width: 160px;
    padding: 16px;
  }
  .inherit__flow-panels-item-table th.second, .inherit__flow-panels-item-table th.third {
    width: calc(50% - 80px);
    padding: 16px;
  }
  .inherit__flow-panels-item-table td {
    padding: 16px;
  }
  .inherit__flow-panels-item-note {
    text-align: center;
  }
}
@media screen and (min-width: 1200px) {
  .inherit__flow-panels-item {
    padding: 48px 50px;
  }
  .inherit__flow-tabs-item-text {
    flex-direction: row;
    gap:8px;
  }
  .inherit__flow-tabs-item-text-title {
    display: block;
    transform: inherit;
  }
}

/* souzoku */
.inherit__souzoku-text {
  text-align: left;
  margin-bottom: 60px;
}
.inherit__souzoku-buttons {
  background-color: #F4F5F1;
  border-radius: 10px;
  padding: 60px 16px;
  margin-bottom: 60px;
}
.inherit__souzoku-buttons-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.inherit__souzoku-buttons-list-item {
  flex: 1;
  width: 100%;
  /* max-width: 280px; */
  /* margin: 0 auto !important; */
}
.inherit__souzoku-buttons-list-item-btn {
  text-align: center;
}
.inherit__souzoku-buttons-list-item-btn a {
  max-width: 100%;
}
.inherit__souzoku-buttons-list-item-text {
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.87;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: center;
  color: #F28E50;
}

@media screen and (min-width: 620px) {
  .inherit__souzoku-text {
    text-align: center;
    margin-bottom: 32px;
  }
  .inherit__souzoku-buttons {
    padding: 32px 40px;
    margin-bottom: 32px;
  }
  .inherit__souzoku-buttons-list {
    flex-direction: row;
    gap: 64px;
  }
  .inherit__souzoku-buttons-list-item {
    max-width: 400px;
  }
  .inherit__souzoku-buttons-list-item-text {
    margin-bottom: 8px;
  }
}


/* partner */

.inherit__partner-text{
  font-size: calc(22.5 /16 * 1rem);
  line-height: 1.6;
}

.inherit__partner-text-link{
color: #f28e50;
text-decoration: underline;
}

.inherit__partner-logo{
  display: block;
  margin: 40px auto;
}

.inherit__partner-logo img{
  display: block;
  width: 100%;
  margin: 18px auto;
}

@media (min-width: 620px){
  
  .inherit__partner{
    text-align: center;
  }

  .inherit__partner-logo{
    max-width: 100%;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 24px;
  }

  .inherit__partner-logo-img img{
    margin: 0;
    width: 100%;
    max-width: 400px;
    height: auto;
  }
}

@media (min-width: 1200px){
  
  .inherit__partner-text{
    font-size: calc(18 / 16 * 1rem);
  }

}


/* professional */
.inherit__professional-inner {
  background-color: #F4F5F1;
  padding: 60px 16px;
  border-radius: 10px;
}
.inherit__professional-text {
  text-align: left;
  margin-bottom: 60px;
}
.inherit__professional-button a {
  max-width: 100%;
}
@media screen and (min-width: 620px) {
  .inherit__professional-text {
    text-align: center;
  }
  .inherit__professional-button a {
    max-width: 400px;
  }
}
@media screen and (min-width: 1200px) {
  .inherit__professional-inner {
    padding: 80px 50px;
  }
}

/* faq */
.inherit__faq {
  margin-top: 70px;
}
.inherit__faq-text {
  text-align: left;
  margin-bottom: 40px;
}
.inherit__faq-list-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.inherit__faq-list-item:nth-child(n+2) {
  margin-top: 18px;
}
.inherit__faq-list-item-question {
  background-color: #E2E3DA;
  padding: 18px 32px 18px 10px;
  font-weight: bold;
  position: relative;
}
.inherit__faq-list-item-question-inner {
  display: flex;
  gap: 6px;
}
.inherit__faq-list-item-question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 24px;
  height: 24px;
  background: url(../img/inherit/icon/arrow_black.svg) no-repeat center / contain;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.inherit__faq-list-item.open .inherit__faq-list-item-question::after {
  transform: translateY(-50%) rotate(180deg);
}

.inherit__faq-list-item-question-q {
  font-size: calc(24 / 16 * 1rem);
  font-weight: bold;
  line-height: 1.6;
  color: #F28E50;
}
.inherit__faq-list-item-question-text {
  font-size: calc(22.5 / 16 * 1rem);
  line-height: 1.6;
  padding-top: 2px;
  
}
.inherit__faq-list-item-answer {
  background-color: #F4F5F1;
  padding: 18px 10px;
  display: none;
}
.inherit__faq-list-item-answer-inner {
  display: flex;
  gap: 6px;
}
.inherit__faq-list-item-answer-a {
  font-size: calc(24 / 16 * 1rem);
  font-weight: bold;
  line-height: 1.87;
  color: #A6D833;
}
.inherit__faq-list-item-answer-text {
  font-size: calc(22.5 / 16 * 1rem);
  line-height: 1.6;
  padding-top: 2px;
}
.inherit__faq-list-item-answer-text a {
  color: #f28e50;
  text-decoration: underline;
}
@media screen and (min-width: 620px) {
  .inherit__faq {
    margin-top: 160px;
  }
  .inherit__faq-text {
    text-align: center;
  }
  .inherit__faq-list-item:nth-child(n+2) {
    margin-top: 32px;
  }
  .inherit__faq-list-item-question {
    padding: 24px 64px 24px 32px;
  }
  .inherit__faq-list-item-question-inner {
    gap: 24px;
  }
  .inherit__faq-list-item-question::after {
    right: 24px;
    width: 48px;
    height: 48px;
  }
  .inherit__faq-list-item-question-q {
    font-size: calc(28 / 16 * 1rem);
  }
  .inherit__faq-list-item-question-text {
    font-size: calc(18 / 16 * 1rem);
    padding-top: 12px;
  }
  .inherit__faq-list-item-answer {
    padding: 24px 32px;
  }
  .inherit__faq-list-item-answer-inner {
    gap: 24px;
  }
  .inherit__faq-list-item-answer-a {
    font-size: calc(28 / 16 * 1rem);
  }
  .inherit__faq-list-item-answer-text {
    font-size: calc(18 / 16 * 1rem);
    padding-top: 12px;
  }
}

/* writer */
.inherit__writer {
  margin-top: 70px;
  margin-bottom: 70px;
}
.inherit__writer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.inherit__writer-image {
  flex-shrink: 0;
}
.inherit__writer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inherit__writer-profile-title {
  display: inline-block;
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.87;
  background-color: #E2E3DA;
  border-radius: 4px;
  margin-bottom: 10px;
  min-width: 160px;
  text-align: center;
  padding: 4px;
}
@media screen and (min-width: 620px) {
  .inherit__writer {
    margin-top: 160px;
    margin-bottom: 160px;
  }
  .inherit__writer-container {
    max-width: 1164px;
    margin: 0 auto;
  }
  .inherit__writer-image {
    width: 282px;
  }
  .inherit__writer-profile-title {
    font-size: calc(15 / 16 * 1rem);
    min-width: 188px;
    margin-bottom: 16px;
  }
}
@media (min-width: 1200px){
  .inherit__writer-container {
    flex-direction: row;
    gap: 64px;
  }
}