/*
Theme Name: Yonezawa Driving School
Theme URI: https://yonezawa-ds.com/
Description: 米沢ドライビングスクール 通学公式サイトテーマ
Version: 1.0.0
Text Domain: yonezawa
*/

/* reset / base（css/destyle.min.css・css/moto.css は functions.php で enqueue） */

/* 装飾円（background-circle1）のはみ出しで横スクロールしないよう、ページ単位でクリップ */
main#main {
  overflow-x: clip;
}

/* header */
header#header div.header-wrapper {
  position: fixed;
  z-index: 100;
  width: 100%;
  padding-right: 25px;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.header-logo {
  position: relative;
  flex: 0 0 auto;
}
.header-logo img {
  max-width: none;
}
.header-logo img.logo {
  position: absolute;
  top: 44%;
  left: 47%;
  transform: translate(-50%, -50%);
}
.header-nav-wrap {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}
.header-nav {
  position: relative;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  background-color: var(--color-white);
  padding: 0 65px;
  border-radius: 50px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: stretch;
}
.header-inner .header-nav-list {
  display: flex;
  align-items: stretch;
  min-width: 0;
  flex: 1 1 auto;
  gap: 20px;
  line-height: 1.3;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--font-size-sm);
}
.header-inner .header-nav-list .faq {
  position: relative;
  padding-right: 20px;
}
.header-inner .header-nav-list .faq::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 1.5em;
  background-color: var(--color-tan);
  transform: translateY(-50%);
}
.header-inner .header-nav-list > li {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}
.header-inner .header-nav-list > li.has-child {
  position: static;
}
.header-inner .header-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  padding: 30px 0;
}
.header-inner .header-nav-list > li > a .nav-text {
  min-width: 0;
  overflow-wrap: break-word;
}
.header-inner .header-nav-list .nav-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.header-inner .header-nav-list .nav-ico--blank {
  width: 14px;
  height: 14px;
}
.header-inner .header-nav-list .nav-arrow {
  display: none;
}
.header-inner .header-nav-list > li.has-child > a::after {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.header-inner .header-nav-list > li.nyukou {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-inline: 16px;
}
.header-menu-btn {
  display: none;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.header-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 1px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.header-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 1280px) {
  .header-menu-btn {
    display: flex;
  }
  .header-nav-wrap {
    display: none;
  }
  header#header.is-menu-open .header-nav-wrap {
    display: block;
  }
}
.mega-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.2px solid currentColor;
  border-radius: 50%;
}
.mega-ico::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: -1px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(-45deg);
}
.header-mega {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  width: 100%;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}
.header-inner .header-nav-list > li.has-child:hover > .header-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-panel {
  padding: 28px 32px 32px;
  background-color: var(--color-white);
  border-radius: 28px;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.18);
  color: var(--color-text);
}
.mega-label {
  display: inline-block;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--color-accent);
  background: linear-gradient(to right, var(--color-accent) 0%, #166ed9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mega-label::before {
  content: "・";
  color: var(--color-accent);
}
.mega-body {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-top: 18px;
}
.mega-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 11em;
  padding-top: 2px;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  color: var(--color-text);
  white-space: nowrap;
}
.mega-title--plain {
  margin: 0;
}
.mega-links {
  display: grid;
  flex: 1;
  min-width: 0;
  row-gap: 14px;
  column-gap: 80px;
}
.mega-links--guide,
.mega-links--courses {
  grid-template-columns: repeat(2, max-content);
}
.mega-links--row {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
}
/* 在校生：長いリンクが列幅を押し広げて画像に被らないよう、3件目は下段フル幅 */
.mega-body--student .mega-links--row {
  column-gap: 48px;
  min-width: 0;
  max-width: 100%;
}
.mega-body--student .mega-links--row > li:last-child {
  grid-column: 1 / -1;
}
.mega-body--student .mega-link {
  max-width: 100%;
}
.mega-links--plan {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 48px;
  row-gap: 12px;
  align-items: start;
}
.mega-link--job {
  grid-column: 1;
}
.mega-bullets {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 48px;
  row-gap: 8px;
  padding-left: 28px;
}
.mega-links--plan > .mega-link:last-child {
  grid-column: 1;
}
.mega-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  color: var(--color-text);
  white-space: nowrap;
}
a.mega-title:hover,
.mega-link:hover,
.mega-bullets a:hover {
  opacity: 0.7;
}
.mega-bullets a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  white-space: nowrap;
}
.mega-bullets a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-text);
}
.mega-visual {
  width: 210px;
  height: 128px;
  flex-shrink: 0;
  margin-left: auto;
  overflow: hidden;
  border-radius: 16px;
}
.mega-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-visual--placeholder {
  background-color: var(--color-tan);
}
.mega-body--contact {
  gap: 28px;
}
.mega-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 16px;
  border-radius: 12px;
  text-align: left;
}
.mega-cta--primary {
  flex: 1;
  min-width: 240px;
  min-height: 88px;
  padding: 18px 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(83, 76, 66, 0.28);
}
.mega-cta--primary .mega-cta-text {
  flex: 1;
}
.mega-cta--primary strong {
  display: block;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}
.mega-cta--primary small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  opacity: 0.9;
}
.mega-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
  flex-shrink: 0;
}
.mega-cta--sub {
  background-color: #f4f3ef;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(83, 76, 66, 0.08);
}
.mega-cta--sub > span:nth-child(2) {
  flex: 1;
}
.mega-cta--tel {
  align-items: center;
}
.mega-cta--tel .mega-cta-text {
  flex: 1;
  min-width: 0;
}
.mega-cta--tel strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.mega-cta--tel small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  color: #70685e;
}
.mega-cta-icon {
  display: flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.mega-cta-icon svg {
  width: 100%;
  height: 100%;
}
.mega-ico--light {
  border-color: var(--color-white);
}
.mega-cta:hover {
  opacity: 0.88;
}
.mega-cta-tel-label,
.mega-cta-note {
  display: none;
}
.header-eyecatch {
  position: relative;
}
.header-eyecatch img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
.header-eyecatch h2 {
  font-size: clamp(20px, 7.2vw, 55px);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: var(--tracking-none);
  color: var(--color-white);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 40%;
  left: 10%;
  transform: translateY(-50%);
}
.top-info--section {
  position: relative;
  z-index: 2;
  background-color: var(--color-white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}
.top-info--section-inner {
  display: flex;
  align-items: stretch;
  min-height: 54px;
}
.top-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.top-info-item time {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.top-info-tag {
  flex-shrink: 0;
  padding: 2px 14px;
  border: 1px solid var(--color-tan);
  border-radius: 5px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.top-info-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-info-count {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 24px 0 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.top-info-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: stretch;
  flex-shrink: 0;
  padding: 0 20px;
  background-color: var(--color-beige);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
}
.top-info-all .mega-ico {
  width: 16px;
  height: 16px;
  border-color: #b3b3b3;
  color: #b3b3b3;
  margin-top: 5px;
}
.top-info-item:hover .top-info-title,
.top-info-all:hover {
  opacity: 0.7;
}
@media screen and (max-width: 1220px) {
  .top-info--section .container2 {
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .top-info--section .container2 {
    padding-right: 30px;
  }
  .top-info--section-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding: 18px 0 16px;
    row-gap: 10px;
  }
  .top-info-item {
    flex: 1 1 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 15px;
  }
  .top-info-item time {
    font-size: 13px;
  }
  .top-info-tag {
    padding: 2px 10px;
    font-size: 12px;
  }
  .top-info-title {
    flex: 1 1 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.5;
  }
  .top-info-count {
    margin: 0 10px 0 auto;
    font-size: 13px;
  }
  .top-info-all {
    align-self: center;
    min-height: 36px;
    min-width: 0;
    padding: 0 14px;
    border-radius: 8px;
    background-color: #f3f3f3;
    font-size: 13px;
  }
}

@media screen and (max-width: 1680px) {
  .header-logo img {
    height: 100px;
  }
  .header-logo img.logo {
    height: 50px;
  }
  .header-nav {
    padding: 0 25px;
  }
  .header-inner .header-nav-list {
    font-size: 14px;
  }
  .header-inner .header-nav-list > li > a {
    padding: 15px 0;
  }
}

@media screen and (max-width: 1480px) {
  .header-logo img {
    height: 80px;
  }
  .header-logo img.logo {
    height: 40px;
  }
  header#header div.header-wrapper {
    padding-right: 15px;
  }
  .header-inner {
    gap: 10px;
  }
  .header-inner .header-nav-list {
    gap: 10px;
  }
  .header-inner .header-nav-list > li > a {
    padding: 18px 0;
  }
}

/* hamburger globnav: tablet → SP */
@media (max-width: 1280px) {
  body.is-menu-open {
    overflow: hidden;
  }
  .header-logo img {
    height: 72px;
  }
  .header-logo img.logo {
    height: 38px;
  }
  .header-nav-wrap {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    z-index: 101;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
  }
  .header-nav {
    width: 100%;
    max-width: 100%;
    display: block;
    padding: 8px 28px 24px;
    border-radius: 28px;
  }
  .header-inner .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
  }
  .header-inner .header-nav-list > li {
    display: block;
    width: 100%;
    flex: none;
    min-width: 0;
    border-bottom: 1px solid var(--color-tan);
  }
  .header-inner .header-nav-list > li > a {
    justify-content: flex-start;
    min-height: 56px;
    padding: 16px 0;
  }
  .header-inner .header-nav-list > li > a .nav-text {
    flex: 1 1 auto;
  }
  .header-inner .header-nav-list .faq {
    padding-right: 0;
  }
  .header-inner .header-nav-list .faq::after {
    display: none;
  }
  .header-inner .header-nav-list > li.has-child > a::after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    margin-left: auto;
    border: 0;
    background:
      linear-gradient(var(--color-text), var(--color-text)) center / 12px 1.5px
        no-repeat,
      linear-gradient(var(--color-text), var(--color-text)) center / 1.5px 12px
        no-repeat;
  }
  .header-inner .header-nav-list > li.has-child.is-open > a::after {
    background: linear-gradient(var(--color-text), var(--color-text)) center /
      12px 1.5px no-repeat;
  }
  .header-inner .header-nav-list .nav-arrow {
    display: none;
    margin-left: auto;
  }
  .header-inner .header-nav-list > li.faq .nav-arrow,
  .header-inner .header-nav-list > li.recruit .nav-arrow,
  .header-inner .header-nav-list > li.gasshuku .nav-arrow {
    display: inline-flex;
  }
  .header-inner .header-nav-list > li.gasshuku > a .nav-ico--blank {
    margin-left: 6px;
    margin-right: 8px;
  }
  .header-inner .header-nav-list > li.nyukou {
    background: none;
    color: inherit;
    padding-inline: 0;
    margin: 12px 0 8px;
    border-bottom: 0;
  }
  .header-inner .header-nav-list > li.nyukou > a {
    display: none;
  }
  .header-inner .header-nav-list > li.recruit,
  .header-inner .header-nav-list > li.gasshuku {
    border-bottom: 0;
    border-top: 1px dashed var(--color-tan);
  }
  .header-inner .header-nav-list > li.has-child:hover > .header-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .header-mega {
    display: none;
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .header-inner .header-nav-list > li.has-child.is-open > .header-mega,
  .header-inner .header-nav-list > li.nyukou > .header-mega {
    display: block;
  }
  .mega-panel {
    padding: 0 0 16px;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }
  .mega-label,
  .mega-title--plain,
  .mega-visual {
    display: none;
  }
  .mega-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 12px;
    margin-top: 0;
    align-items: start;
  }
  a.mega-title {
    display: inline-flex;
    width: auto;
    padding-top: 0;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    white-space: normal;
  }
  .mega-links,
  .mega-links--guide,
  .mega-links--courses,
  .mega-links--row,
  .mega-links--plan {
    display: contents;
  }
  .mega-link--job,
  .mega-links--plan > .mega-link:last-child {
    grid-column: auto;
  }
  /* 在校生：タイトル＋スクールバスは2カラム、長いN-LINE / MUSASIは全幅 */
  .mega-body--student .mega-links--row > li:nth-child(n + 2) {
    grid-column: 1 / -1;
  }
  .mega-link,
  .mega-bullets a {
    white-space: normal;
    font-size: 13px;
  }
  .mega-bullets {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    padding-left: 22px;
  }
  .mega-body--contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mega-cta--primary {
    flex: none;
    min-width: 0;
    min-height: 72px;
    width: 100%;
    padding: 14px 18px;
  }
  .mega-cta-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }
  .mega-cta--sub {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 76px;
    padding: 12px 8px;
    font-size: 12px;
    text-align: center;
    box-shadow: none;
  }
  .mega-cta--sub > span:nth-child(2) {
    flex: none;
  }
  .mega-cta--sub .mega-ico {
    display: none;
  }
  .mega-cta--tel {
    align-items: center;
  }
  .mega-cta--tel .mega-cta-tel-number,
  .mega-cta--tel small {
    display: none;
  }
  .mega-cta-tel-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
  }
  .mega-cta-note {
    display: block;
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    color: var(--color-text-muted);
  }
}

@media (max-width: 768px) {
  header#header div.header-wrapper {
    padding-right: 16px;
  }
  .header-inner {
    gap: 12px;
  }
  .header-logo,
  .header-menu-btn {
    position: relative;
    z-index: 102;
  }
  .header-logo img {
    height: 60px;
  }
  .header-logo img.logo {
    height: 32px;
  }
  .header-menu-btn {
    width: 44px;
    height: 44px;
    margin-top: 2px;
  }
  header#header.is-menu-open .header-menu-btn {
    background-color: #eceae6;
    box-shadow: none;
  }
  /* メニュー本体はロゴ行の下から。スクロールは内側だけにしてロゴと被らないようにする */
  .header-nav-wrap {
    position: fixed;
    inset: 0;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99;
    max-height: none;
    overflow: hidden;
    flex-direction: column;
    padding: 0;
    background-color: var(--color-white);
  }
  header#header.is-menu-open .header-nav-wrap {
    display: flex;
  }
  .header-nav {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px));
    padding-top: calc(88px + env(safe-area-inset-top, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
  }
  header#header.is-menu-open .header-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    height: calc(76px + env(safe-area-inset-top, 0px));
    background-color: var(--color-white);
    pointer-events: none;
  }
  .header-inner .header-nav-list > li > a {
    min-height: 52px;
    padding: 14px 0;
  }
  .header-inner .header-nav-list .nav-ico:not(.nav-ico--blank) {
    display: none;
  }
}

/* campaign banner */
.campaign-banner-wrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: stretch;
  min-width: 248px;
  padding: 3px;
  overflow: hidden;
  background: linear-gradient(60deg, var(--color-accent) 0%, #166ed9 100%);
  border-radius: 10px;
}
.campaign-banner {
  display: flex;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-white);
  border-radius: 10px;
  padding: 3px;
}
.campaign-banner img {
  display: block;
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  object-fit: cover;
}
.campaign-banner__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 10px 18px 10px 14px;
}
.campaign-banner__en {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--color-blue);
}
.campaign-banner__ja {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-text);
}
body.is-menu-open .campaign-banner-wrap {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .campaign-banner-wrap {
    right: 16px;
    bottom: 16px;
    min-width: 0;
  }
  .campaign-banner img {
    width: 96px;
    height: 64px;
  }
  .campaign-banner__text {
    padding: 8px 14px 8px 10px;
  }
  .campaign-banner__en {
    font-size: 16px;
  }
  .campaign-banner__ja {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .campaign-banner-wrap {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    border-radius: 8px;
    padding: 2px;
  }
  .campaign-banner {
    border-radius: 7px;
    padding: 2px;
  }
  .campaign-banner img {
    width: 72px;
    height: 48px;
  }
  .campaign-banner__text {
    padding: 6px 10px 6px 8px;
    gap: 1px;
  }
  .campaign-banner__en {
    font-size: 13px;
  }
  .campaign-banner__ja {
    font-size: 12px;
  }
}

/* main */
main.toppage {
  font-size: var(--font-size-md);
}

.top-image01 {
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
}

/* top button section */
.container-inner46 {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.container-inner46 > .left {
  flex: 4 1 0;
  min-width: 0;
}
.container-inner46 > .right {
  flex: 6 1 0;
  min-width: 0;
}
.top-btn--section {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.top-btn--section > .left {
  position: relative;
}
.top-btn--section > .left::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -15%;
  top: 50%;
  width: min(560px, 140%);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("img/background-circle1.png") no-repeat center / contain;
  pointer-events: none;
}
.top-btn--section > .left h2 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-heading);
}
.top-btn--section > .left p:not(.gradient-text) {
  margin: 0 0 1em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.top-btn--section > .left p:not(.gradient-text):last-child {
  margin-bottom: 0;
}
.top-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 260px));
  gap: 16px;
}
.top-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 260px;
  min-height: 148px;
  padding: 22px 12px 20px;
  background-color: var(--color-white);
  border: 1px solid #e6e1da;
  border-radius: 28px;
  box-shadow: 0 5px 0 0 #d5ccbf;
  color: var(--color-primary);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}
.top-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 0 #d5ccbf;
  opacity: 0.92;
}
.top-btn__ico {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.top-btn__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.top-btn__label .mega-ico {
  width: 16px;
  height: 16px;
  border-color: currentColor;
  color: currentColor;
}
@media (max-width: 1100px) {
  .container-inner46 {
    gap: 28px;
  }
  .top-btn {
    min-height: 132px;
    border-radius: 22px;
    gap: 10px;
    padding: 18px 10px 16px;
  }
  .top-btn__ico {
    width: 48px;
    height: 48px;
  }
  .top-btn__label {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .container-inner46 {
    flex-direction: column;
    gap: 28px;
  }
  .container-inner46 > .left,
  .container-inner46 > .right {
    flex: none;
    width: 100%;
  }
  .top-btn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .top-btn {
    min-height: 120px;
    border-radius: 20px;
  }
  .top-btn__label {
    font-size: 13px;
    gap: 6px;
  }
}

/* topslider */
.topslider {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0;
}
.topslider::before,
.topslider::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(280px, 28vw);
  aspect-ratio: 236 / 177;
  background: url("img/background-logo.png") no-repeat center / contain;
  pointer-events: none;
}
.topslider::before {
  top: 8px;
  left: 24px;
}
.topslider::after {
  right: 24px;
  bottom: 8px;
}
.topslider__viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.topslider__track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: topslider-scroll 50s linear infinite;
}
.topslider__track:hover {
  animation-play-state: paused;
}
.topslider__track img {
  display: block;
  width: 420px;
  height: 280px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 20px;
}
@keyframes topslider-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 10px));
  }
}
@media (max-width: 768px) {
  .topslider {
    padding: 36px 0;
  }
  .topslider::before,
  .topslider::after {
    width: min(160px, 36vw);
  }
  .topslider::before {
    top: 4px;
    left: 8px;
  }
  .topslider::after {
    right: 8px;
    bottom: 4px;
  }
  .topslider__track {
    gap: 12px;
    animation-duration: 36s;
  }
  .topslider__track img {
    width: 280px;
    height: 187px;
  }
  @keyframes topslider-scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-50% - 6px));
    }
  }
}

/* utilities */
.gradient-text {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--color-accent);
  background: linear-gradient(to right, var(--color-accent) 0%, #166ed9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0 !important;
}
h2 .headding-txt {
  font-size: clamp(13px, 1vw, 16px);
}
.btn-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.btn-fill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 300px;
  min-height: 53px;
  padding: 12px 44px 12px 16px;
  border-radius: 16px;
  background-color: var(--color-primary);
  box-shadow: 0 4px 0 0 #3f3a33;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}
.btn-fill .mega-ico {
  position: absolute;
  top: 55%;
  right: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-fill:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 #3f3a33;
  opacity: 0.92;
}
@media (max-width: 768px) {
  .btn-row {
    gap: 10px;
    margin-top: 20px;
  }
  .btn-fill {
    max-width: none;
    font-size: 14px;
    padding: 12px 40px 12px 12px;
  }
}

/* voice / sns section */
.voice--section {
  --voice-top: clamp(320px, 20vw, 380px);
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow-x: clip;
  padding-top: var(--voice-top);
  padding-bottom: 160px;
}
.voice-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.voice-decor__circle {
  position: absolute;
  top: calc(var(--voice-top) - 220px);
  left: 50%;
  /* width: min(1600px, 115%); */
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.voice-decor__photo {
  position: absolute;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 10px 22px rgba(83, 76, 66, 0.14));
}
.voice-decor__photo--01 {
  left: 15.3%;
  top: calc(var(--voice-top) - 109px);
  width: clamp(110px, 12.5vw, 240px);
}
.voice-decor__photo--02 {
  left: 40%;
  top: calc(var(--voice-top) - 243px);
  width: clamp(95px, 10.4vw, 200px);
}
.voice-decor__photo--03 {
  left: 66.2%;
  top: calc(var(--voice-top) - 168px);
  width: clamp(110px, 12.5vw, 240px);
}
.voice-decor__photo--04 {
  left: 8%;
  top: calc(var(--voice-top) + 294px);
  width: clamp(90px, 9.6vw, 180px);
}
.voice-decor__photo--05 {
  left: 10%;
  top: calc(var(--voice-top) + 642px);
  width: clamp(115px, 12.8vw, 245px);
}
@media screen and (max-width: 1600px) {
  .voice-decor__photo--05 {
    left: -1%;
    top: calc(var(--voice-top) + 532px);
  }
}
.voice-inner {
  position: relative;
  z-index: 1;
}
.voice-head {
  padding-left: min(180px, 15%);
}
.voice-head h2 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
}
.voice-head__account {
  margin-left: 4px;
  font-size: 0.62em;
  font-weight: var(--font-weight-medium);
}
.voice-lead {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}

/* google review cards */
.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 202px;
  padding: 20px;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  background-color: var(--color-white);
  box-shadow: 0 2px 6px rgba(83, 76, 66, 0.05);
}
.review-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.review-card__avatar {
  display: block;
  width: 41px;
  height: 41px;
  flex-shrink: 0;
  border-radius: 50%;
}
.review-card__meta {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
}
.review-card__name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}
.review-card__date {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #9aa0a6;
}
.review-card__source {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  margin-top: 2px;
}
.review-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}
.review-stars {
  --rating: 5;
  position: relative;
  display: block;
  width: 90px;
  height: 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath fill='%23d5d5d5' d='M10 0l2.47 6.2 6.66.43-5.14 4.27 1.65 6.47L10 13.8l-5.64 3.57 1.65-6.47L.87 6.63 7.53 6.2z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 18px 17px;
}
.review-stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(var(--rating) / 5 * 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath fill='%23efbd2c' d='M10 0l2.47 6.2 6.66.43-5.14 4.27 1.65 6.47L10 13.8l-5.64 3.57 1.65-6.47L.87 6.63 7.53 6.2z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 18px 17px;
}
.review-verified {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%235584f1'/%3E%3Cpath d='M7.2 12.4l3.3 3.3 6.3-6.4' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / contain;
}
.review-card__body {
  margin: 15px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text);
}
.voice-list--top {
  margin-top: 44px;
}
.voice-empty {
  margin: 44px 0 0;
  text-align: center;
  color: var(--color-text);
}
.voice-btn-row {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}
.voice-btn-row .btn-fill {
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
}

/* tiktok cards */
.voice-head--sns {
  margin-top: 72px;
}
.sns-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 325px));
  justify-content: center;
  gap: 30px;
  margin-top: 32px;
}
.sns-card {
  overflow: hidden;
  height: 100%;
  border: 1px solid #eceff3;
  border-radius: 10px;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(83, 76, 66, 0.05);
}
.sns-card__video {
  aspect-ratio: 9 / 16;
  background-color: #e5e2dd;
}
.sns-card__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 14px;
  border-bottom: 1px solid #ededed;
}
.sns-card__cta-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: #8a8a8a;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sns-card__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 125px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #fe2c55;
  color: var(--color-white);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}
.sns-card__cta-btn:hover {
  opacity: 0.85;
}
.sns-card__caption {
  padding: 16px 14px 40px;
}
.sns-card__caption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  overflow-wrap: break-word;
}
.sns-card__caption p + p {
  margin-top: 6px;
}
@media (max-width: 1100px) {
  .voice--section {
    padding-bottom: 120px;
  }
  .voice-head {
    padding-left: 0;
  }
  .sns-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .review-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .voice--section {
    --voice-top: 90px;
    padding-bottom: 80px;
  }
  .voice-decor__circle {
    top: 20px;
    width: 160%;
  }
  .voice-decor__photo {
    display: none;
  }
  .voice-lead {
    margin-top: 16px;
  }
  .voice-lead br {
    display: none;
  }
  .review-list,
  .voice-list--top,
  .voice-empty,
  .voice-btn-row {
    margin-top: 28px;
  }
  .voice-head--sns {
    margin-top: 56px;
  }
  .sns-list {
    grid-template-columns: minmax(0, 325px);
    gap: 24px;
  }
  .sns-card__caption {
    padding-bottom: 24px;
  }
}

/* footer */
.footer-section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0 40px;
  background-color: #ffffff;
}
.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #f7fbfd;
  background-image: url("img/footer-bg.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 5%,
    rgba(0, 0, 0, 0.85) 38%,
    #000 55%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 5%,
    rgba(0, 0, 0, 0.85) 38%,
    #000 55%
  );
}
.footer-section__inner {
  position: relative;
  z-index: 1;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.footer-contact__text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 520px;
  padding-top: 12px;
}
.footer-contact__text h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  color: var(--color-heading);
}
.footer-contact__text p:not(.gradient-text) {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.footer-contact__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 1 550px;
  width: min(550px, 100%);
}
.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 48px 14px 20px;
  border-radius: 14px;
  background-color: #f4f3ef;
  color: var(--color-primary);
  box-shadow: 0 4px 0 0 rgba(83, 76, 66, 0.12);
  text-align: left;
}
.footer-cta--primary {
  min-height: 88px;
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 0 0 #3f3a33;
}
.footer-cta__icon {
  display: flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.footer-cta__icon svg {
  width: 100%;
  height: 100%;
}
.footer-cta__text {
  flex: 1 1 auto;
  min-width: 0;
}
.footer-cta__text strong {
  display: block;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}
.footer-cta__text small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  opacity: 0.9;
}
.footer-cta__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.footer-cta .mega-ico {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}
.footer-cta--tel .footer-cta__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.footer-cta--tel .footer-cta__text strong {
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.footer-cta--tel .footer-cta__text small {
  margin-top: 0;
  color: #70685e;
  opacity: 1;
}
.footer-cta:hover {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(83, 76, 66, 0.12);
}
.footer-cta--primary:hover {
  box-shadow: 0 3px 0 0 #3f3a33;
}

.footer-divider {
  margin: 56px 0 40px;
  border: 0;
  border-top: 1px solid #d5ccbf;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "logo sns"
    "address address";
  column-gap: 28px;
  row-gap: 20px;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}
.footer-logo {
  grid-area: logo;
  display: inline-flex;
  padding: 14px 18px;
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(83, 76, 66, 0.08);
}
.footer-logo img {
  display: block;
  width: min(280px, 100%);
  height: auto;
}
.footer-sns {
  grid-area: sns;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-sns__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 14px;
  border-radius: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.footer-sns__label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent var(--color-primary);
  transform: translateY(-50%);
}
.footer-sns__list {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-sns__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-text);
}
.footer-sns__link svg {
  width: 100%;
  height: 100%;
}
.footer-sns__link:hover {
  opacity: 0.7;
}
.footer-address {
  grid-area: address;
}
.footer-address__name,
.footer-address__zip {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text);
}
.footer-address__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 6px;
}
.footer-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.footer-map__icon {
  display: flex;
  width: 14px;
  height: 14px;
}
.footer-map__icon svg {
  width: 100%;
  height: 100%;
}
.footer-map:hover {
  opacity: 0.88;
}

.footer-nav {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 48px;
  row-gap: 24px;
  align-content: start;
  flex: 0 1 auto;
}
.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}
.footer-nav__list a .mega-ico {
  width: 16px;
  height: 16px;
}
.footer-nav__list a:hover {
  opacity: 0.7;
}
.footer-camp {
  grid-column: 1 / -1;
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  padding: 12px 48px 12px 24px;
  border: 1px solid #cfc7bb;
  border-radius: 14px;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(83, 76, 66, 0.08);
}
.footer-camp .mega-ico {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}
.footer-camp:hover {
  opacity: 0.88;
}
.footer-copy {
  margin: 48px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}

@media (max-width: 1100px) {
  .footer-contact {
    gap: 32px;
  }
  .footer-contact__btns {
    flex-basis: 420px;
  }
  .footer-main {
    gap: 32px;
  }
  .footer-nav {
    column-gap: 28px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 48px 0 28px;
    background-color: #e8f9ff;
  }
  .footer-section::before {
    background-color: #e8f9ff;
    background-image: url("img/footer-bg_sp.jpg");
    background-position: center bottom;
    background-size: cover;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 22%,
      rgba(0, 0, 0, 0.8) 48%,
      #000 68%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 22%,
      rgba(0, 0, 0, 0.8) 48%,
      #000 68%
    );
  }
  .footer-contact {
    flex-direction: column;
    gap: 28px;
  }
  .footer-contact__text {
    max-width: none;
    padding-top: 0;
  }
  .footer-contact__text p:not(.gradient-text) {
    margin-top: 14px;
  }
  .footer-contact__text p:not(.gradient-text) br {
    display: none;
  }
  .footer-contact__btns {
    flex-basis: auto;
    width: 100%;
    gap: 10px;
  }
  .footer-cta {
    min-height: 58px;
    padding: 12px 44px 12px 16px;
    border-radius: 12px;
  }
  .footer-cta--primary {
    min-height: 74px;
  }
  .footer-cta__text strong {
    font-size: 18px;
  }
  .footer-cta__label {
    font-size: 15px;
  }
  .footer-cta--tel .footer-cta__text {
    display: block;
  }
  .footer-cta--tel .footer-cta__text strong {
    font-size: 20px;
  }
  .footer-cta--tel .footer-cta__text small {
    margin-top: 2px;
    font-size: 11px;
  }

  .footer-divider {
    margin: 36px 0 28px;
  }

  .footer-main {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .footer-brand {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "sns"
      "address";
    justify-items: center;
    text-align: center;
    row-gap: 22px;
  }
  .footer-logo {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    padding: 16px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 70, 156, 0.08);
  }
  .footer-logo img {
    width: min(300px, 100%);
    margin: 0 auto;
  }
  .footer-sns {
    justify-content: center;
  }
  .footer-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer-address__name,
  .footer-address__zip {
    text-align: center;
  }
  .footer-address__row {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    gap: 12px;
  }

  .footer-nav {
    display: block;
  }
  .footer-nav__list--main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 14px;
  }
  .footer-nav__list--sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(213, 204, 191, 0.7);
  }
  .footer-nav__list a {
    font-size: 13px;
  }
  .footer-camp {
    display: flex;
    width: 100%;
    min-width: 0;
    margin-top: 24px;
    justify-self: stretch;
  }
  .footer-copy {
    margin-top: 28px;
    text-align: center;
  }
}

/* subpage: plan */
.is-subpage {
  background-color: var(--color-beige);
}
.page-hero {
  padding: 150px 0 62px;
  background-color: var(--color-beige);
}
.page-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.page-hero__title {
  flex: 0 1 auto;
  min-width: 0;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--color-heading);
}
.breadcrumb {
  margin-top: 14px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #b3aaa0;
}
.breadcrumb a {
  color: var(--color-text-muted);
}
.breadcrumb a:hover {
  opacity: 0.7;
}
.page-hero__lead {
  flex: 0 1 700px;
  margin: 0;
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.page-body {
  padding-bottom: 0;
}

.plan-panel {
  position: relative;
  z-index: 0;
  margin-top: -24px;
  margin-bottom: 40px;
  padding: 56px 0 80px;
  border-radius: 56px;
  background-color: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 -8px 24px rgba(83, 76, 66, 0.06);
}
.plan-panel .container2 {
  position: relative;
  z-index: 1;
}

.plan-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  background-color: var(--color-white);
  box-sizing: border-box;
}
.plan-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.plan-cat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background-color: #d5ccbf;
  pointer-events: none;
}
.plan-cat:last-child {
  border-right: 0;
}
.plan-cat img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.plan-cat.is-active {
  background-color: #d5ccbf;
}
.plan-cat.is-active::after,
.plan-cat:has(+ .is-active)::after {
  display: none;
}
.plan-cat:hover:not(.is-active) {
  background-color: #f5f3f0;
}
.plan-cats--light {
  border-color: var(--color-primary);
}

.plan-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 28px;
}
/* display:flex が [hidden] を上書きしないようにする */
.plan-subnav[hidden],
[data-plan-panel][hidden] {
  display: none !important;
}
/* お仕事系サブナビは3列グリッド（メイン・その他共通） */
.plan-subnav[data-plan-subnav="work"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.plan-subnav[data-plan-subnav="work"] .plan-subnav__item {
  width: 100%;
}
.plan-subnav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 300px;
  min-height: 44px;
  padding: 10px 14px 10px 20px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-sizing: border-box;
}
.plan-subnav__item.is-active {
  border-radius: 8px;
  background-color: #d5ccbf;
  color: var(--color-primary);
}
.plan-subnav__item:not(.is-active)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background-color: #d5ccbf;
}
.plan-subnav__chev {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.2px solid currentColor;
  border-radius: 50%;
}
.plan-subnav__chev::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg);
}
.plan-subnav__item:not(.is-active) .plan-subnav__chev {
  opacity: 0.45;
}
.plan-subnav__item:hover {
  opacity: 0.85;
}

.plan-intro-wrap {
  position: relative;
  z-index: 0;
  margin-top: 56px;
  margin-bottom: 80px;
}
.plan-intro {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  margin: 0;
}
.plan-intro__copy {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 48px 36px;
}
.plan-intro__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -15%;
  top: 50%;
  width: min(560px, 140%);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("img/background-circle1.png") no-repeat center / contain;
  pointer-events: none;
}
.plan-intro__copy .gradient-text {
  color: var(--color-accent);
}
.plan-intro__copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--color-heading);
}
.plan-intro__copy p:not(.gradient-text) {
  margin: 18px 0 0;
  max-width: 28em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.plan-intro__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.plan-block {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
  margin-top: 0;
  padding: 40px 0;
  border-top: 1px solid #d5ccbf;
}
[data-plan-panel] .plan-intro-wrap + .container2 > .plan-block:first-child {
  border-top: 0;
  padding-top: 8px;
}
.plan-block__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding-top: 4px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.plan-block__dot {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.35em;
  border-radius: 0;
  background: url("img/icon/circle01.png") no-repeat center / contain;
}
.plan-block__dot--blue {
  background: url("img/icon/circle01.png") no-repeat center / contain;
}
.plan-block__body {
  min-width: 0;
}

.plan-card + .plan-card {
  margin-top: 40px;
}
.plan-card__point {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 22px;
  padding: 10px 22px 11px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  filter: drop-shadow(3px 3px 0 rgba(213, 204, 191, 0.6));
}
.plan-card__point::before,
.plan-card__point::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom: 0;
}
.plan-card__point::before {
  left: 29px;
  bottom: -9px;
  border-width: 9px 5.5px 0;
  border-top-color: var(--color-primary);
}
.plan-card__point::after {
  left: 30px;
  bottom: -7px;
  border-width: 7px 4.5px 0;
  border-top-color: var(--color-white);
}
.plan-card__point-label {
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  color: #e45293;
  background: linear-gradient(to right, #e45293 0%, #9a7bc8 45%, #6d92e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plan-card__name {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
}
.plan-card__desc {
  margin: 0 0 20px;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.plan-table-wrap {
  overflow-x: auto;
  border: 1px solid #d5ccbf;
  border-radius: 14px;
  background-color: var(--color-white);
}
.plan-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}
.plan-table th,
.plan-table td {
  padding: 14px 12px;
  border: 0;
  border-right: 1px solid #d5ccbf;
  border-bottom: 1px solid #d5ccbf;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}
.plan-table tr > :last-child {
  border-right: 0;
}
.plan-table tbody tr:last-child > * {
  border-bottom: 0;
}
.plan-table thead th {
  background-color: #f5f3f0;
  color: var(--color-text);
  font-weight: 700;
}
.plan-table tbody th,
.plan-table tbody td {
  color: var(--color-text);
  font-weight: 500;
  background-color: var(--color-white);
}
.plan-table tbody th {
  background-color: #faf8f6;
  font-weight: 700;
}
.plan-notes {
  margin: 14px 0 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.plan-kv {
  overflow: hidden;
  border: 1px solid #d5ccbf;
  border-radius: 14px;
}
.plan-kv__row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
}
.plan-kv__row + .plan-kv__row {
  border-top: 1px solid #d5ccbf;
}
.plan-kv__label {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  background-color: #f5f3f0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}
.plan-kv__value {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.7;
  background-color: var(--color-white);
}

.plan-req {
  display: grid;
  gap: 18px;
}
.plan-req > li {
  position: relative;
  padding-left: 28px;
}
.plan-req > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-primary);
  border-radius: 3px;
}
.plan-req > li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.35em;
  width: 6px;
  height: 9px;
  border-right: 1.8px solid var(--color-primary);
  border-bottom: 1.8px solid var(--color-primary);
  transform: rotate(40deg);
}
.plan-req strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
}
.plan-req p,
.plan-req ol {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}
/* .plan-req ol {
  padding-left: 1.2em;
} */
.plan-req ol li + li {
  margin-top: 2px;
}
.admission-req-sub {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
}
.admission-req-sub > li {
  position: relative;
  padding-left: 1.6em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}
.admission-req-sub > li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-primary);
}
.admission-req-sub > li:nth-child(1)::before {
  content: "①";
}
.admission-req-sub > li:nth-child(2)::before {
  content: "②";
}
.admission-req-sub > li:nth-child(3)::before {
  content: "③";
}
.admission-req-sub > li:nth-child(4)::before {
  content: "④";
}
.admission-req-sub > li:nth-child(5)::before {
  content: "⑤";
}
.admission-req-sub strong {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: 700;
  color: var(--color-text);
}

.plan-info {
  margin-top: 28px;
  padding-top: 48px;
  border-top: 1px solid #e6e1da;
  background-color: transparent;
  text-align: left;
}
.plan-info__text {
  max-width: 40em;
}
.plan-info__text .gradient-text {
  margin: 0;
}
.plan-info h3 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.plan-info__lead {
  margin: 24px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.plan-info__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.plan-info__links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 42px 12px 18px;
  border: 1px solid #d5ccbf;
  border-radius: 10px;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  box-shadow: 3px 3px 0 rgba(213, 204, 191, 0.6);
}
.plan-info__links a .mega-ico {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}
.plan-info__links a:hover {
  opacity: 0.88;
}
.plan-info__cta-wrap {
  margin-top: 36px;
}
.plan-info__cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.plan-info__cta .footer-cta {
  width: 100%;
  max-width: none;
}

.plan-other {
  /* margin-top: 64px; */
  padding: 25px 0 80px;
  background-color: var(--color-beige);
}
.plan-other h2 {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-heading);
}
@media screen and (max-width: 768px) {
  .plan-other h2 {
    font-size: 26px;
  }
}
.plan-other__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.plan-other .plan-cats {
  width: 100%;
  max-width: 720px;
}
.plan-other .plan-subnav {
  width: 100%;
  max-width: 624px;
}
.plan-other .plan-subnav[data-plan-subnav="work"] {
  max-width: 960px;
}
.plan-other .plan-subnav__item:not(.is-active)::after {
  background-color: var(--color-primary);
}
.plan-other .plan-subnav__item:not(.is-active) .plan-subnav__chev {
  opacity: 0.7;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
@media (max-width: 1100px) {
  .page-hero__inner {
    gap: 28px;
  }
  .plan-intro {
    gap: 48px;
  }
  .plan-info__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-subnav[data-plan-subnav="work"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 624px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 80px 0 48px;
  }
  .page-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .page-hero__lead {
    flex-basis: auto;
    max-width: none;
  }
  .plan-panel {
    margin-top: -16px;
    margin-bottom: 28px;
    padding: 40px 0 56px;
    border-radius: 32px;
  }
  .plan-cats {
    max-width: none;
    width: 100%;
    border-radius: 10px;
    padding: 3px;
  }
  .plan-cat {
    min-height: 72px;
    padding: 10px 6px;
    font-size: 13px;
    border-radius: 8px;
  }
  .plan-cat img {
    width: 28px;
    height: 28px;
  }
  .plan-subnav {
    width: 100%;
    gap: 12px;
  }
  .plan-subnav__item {
    flex: 1 1 calc(50% - 6px);
    width: auto;
    max-width: 300px;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14px;
  }
  .plan-intro-wrap {
    margin-top: 36px;
    margin-bottom: 48px;
  }
  .plan-intro {
    grid-template-columns: 1fr;
  }
  .plan-intro__copy {
    padding: 36px 20px 28px;
  }
  .plan-intro__copy::before {
    left: -10%;
    width: min(480px, 130%);
    transform: translateY(-50%);
  }
  .plan-intro__copy p:not(.gradient-text) {
    max-width: none;
  }
  .plan-block {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
    padding: 28px 0;
  }
  [data-plan-panel] .plan-intro-wrap + .container2 > .plan-block:first-child {
    padding-top: 8px;
  }
  .plan-block__title {
    font-size: 22px;
  }
  .plan-card__point {
    padding: 10px 16px 11px;
    font-size: 13px;
  }
  .plan-card__point-label {
    font-size: 14px;
  }
  .plan-kv__row {
    grid-template-columns: 1fr;
  }
  .plan-kv__label {
    border-bottom: 1px solid rgba(213, 204, 191, 0.5);
  }
  .plan-info__links {
    grid-template-columns: 1fr;
  }
  .plan-info__cta {
    grid-template-columns: 1fr;
  }
  .plan-other {
    padding: 48px 0 56px;
  }
  .plan-subnav[data-plan-subnav="work"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 624px;
    gap: 2px 0px;
  }
}

/* subpage: guide */
.guide-panel {
  position: relative;
  z-index: 0;
  margin-top: -24px;
  margin-bottom: 40px;
  padding: 48px 0 0;
  border-radius: 56px 56px 0 0;
  background-color: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 -8px 24px rgba(83, 76, 66, 0.06);
  overflow-x: clip;
}
/* related なし：下端も角丸（白→ベージュ隙間→フッター） */
.guide-panel:not(:has(.guide-related)) {
  border-radius: 56px;
  padding-bottom: 56px;
}
.guide-anchors {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1072px;
  margin: 0 auto;
  padding: 12px 0 28px;
  box-sizing: border-box;
}
.guide-anchors__item {
  position: relative;
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  min-height: 52px;
  padding: 14px 4px 16px;
  border-bottom: 1px solid #707070;
  box-sizing: border-box;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #333333;
}
.guide-anchors__item:hover {
  opacity: 0.75;
}
.guide-anchors__chev {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.2px solid currentColor;
  border-radius: 50%;
}
.guide-anchors__chev::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg);
}
.guide-section {
  position: relative;
  padding-top: 72px;
  scroll-margin-top: 110px;
}
.guide-section__head {
  margin-bottom: 36px;
}
.guide-section__head h2 {
  margin: 8px 0 16px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--color-heading);
}
.guide-section__lead {
  margin: 0;
  max-width: 720px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.guide-secrets {
  overflow-x: clip;
}
.guide-secrets::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -20px;
  right: 0;
  width: min(1100px, 92vw);
  aspect-ratio: 2599 / 2303;
  transform: translateX(30%);
  background: url("img/voice-bg-logo.png") no-repeat center / contain;
  pointer-events: none;
}
.guide-secrets::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -40px;
  left: -12%;
  width: min(480px, 50vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(190, 230, 255, 0.45) 0%,
    rgba(190, 230, 255, 0) 70%
  );
  pointer-events: none;
}
.guide-secrets .container2 {
  position: relative;
  z-index: 1;
}
.guide-secrets__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px 24px;
}
.guide-secret {
  grid-column: span 3;
  min-width: 0;
}
.guide-secret h3 {
  margin: 14px 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-heading);
}
.guide-secret p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-text);
}
.guide-secret__media {
  position: relative;
  padding-top: 14px;
}
.guide-secret__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.guide-secret__num {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 10px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: url("img/point_circle.png") center / contain no-repeat;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: #00469c;
}
.guide-break {
  padding: 64px 0 8px;
  width: 100%;
}
.guide-break img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 3840 / 1200;
  object-fit: cover;
  object-position: center;
}
.guide-about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 40px;
}
.guide-about__copy {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 48px 36px;
}
.guide-about__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -15%;
  top: 50%;
  width: min(560px, 140%);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("img/background-circle1.png") no-repeat center / contain;
  pointer-events: none;
}
.guide-about__copy h2 {
  margin: 8px 0 18px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--color-heading);
}
.guide-about__copy p:not(.gradient-text) {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
  max-width: 560px;
  width: 100%;
}
.guide-about__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 360;
  object-fit: cover;
  border-radius: 18px;
}
.guide-about__detail {
  margin-top: 8px;
  border-top: 0;
  padding-top: 8px;
}
.guide-spec {
  border-top: 1px solid #d5ccbf;
}
.guide-spec__row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: start;
  padding: 22px 4px;
  border-bottom: 1px solid #d5ccbf;
}
.guide-spec__label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-heading);
}
.guide-spec__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.guide-spec__list li {
  position: relative;
  padding-left: 1.1em;
}
.guide-spec__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-text);
}
.guide-facility__block + .guide-facility__block {
  margin-top: 56px;
}
.guide-facility__title {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.guide-facility__title .plan-block__dot {
  margin-top: 0.35em;
}
.guide-facility__lead {
  margin: 0 0 22px;
  padding-bottom: 12px;
  max-width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}
.guide-carousel {
  position: relative;
}
.guide-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.guide-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.guide-carousel__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.guide-carousel__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-right: 24px;
}
.guide-carousel__item {
  margin: 0;
  flex: 0 0 auto;
  width: min(450px, 72vw);
}
.guide-carousel__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 210;
  object-fit: cover;
  border-radius: 14px;
  background-color: #e8e2da;
  pointer-events: none;
}
.guide-carousel__item figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}
.guide-carousel__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 10px;
}
.guide-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.guide-carousel__btn:hover {
  opacity: 0.6;
}
.guide-carousel__btn:disabled {
  opacity: 0.28;
  cursor: default;
}
.guide-carousel__bar {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  margin-left: 8px;
  background-color: #e4ddd4;
  border-radius: 999px;
  overflow: hidden;
}
.guide-carousel__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background-color: #8a837a;
  border-radius: 999px;
}
.guide-related {
  position: relative;
  width: 100%;
  margin-top: 64px;
  padding: 48px 0 0;
  background-color: #f5f3f0;
  /* 角丸の外側にベージュを回し、白メイン下端のカーブを見せる */
  box-shadow: 0 -56px 0 0 #f5f3f0;
}
.guide-related::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: -56px;
  height: 56px;
  background-color: var(--color-white);
  border-radius: 0 0 56px 56px;
  pointer-events: none;
}
.guide-related > * {
  position: relative;
  z-index: 1;
}
.guide-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 20px;
}
.guide-related__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 18px 20px;
  border: 1px solid #e6e1da;
  border-radius: 14px;
  background-color: var(--color-white);
  box-shadow: 0 5px 0 0 #d5ccbf;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.guide-related__card:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 0 #d5ccbf;
}
.guide-related__card .mega-ico {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .guide-secrets__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .guide-secret {
    grid-column: span 2;
  }
  .guide-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .guide-panel {
    margin-top: -16px;
    margin-bottom: 28px;
    padding: 32px 0 0;
    border-radius: 32px 32px 0 0;
  }
  .guide-panel:not(:has(.guide-related)) {
    border-radius: 32px;
    padding-bottom: 40px;
  }
  .guide-anchors {
    gap: 12px;
    padding: 8px 0 20px;
  }
  .guide-anchors__item {
    gap: 8px;
    min-height: 44px;
    padding: 10px 2px 12px;
    font-size: 13px;
  }
  .guide-anchors--2,
  .faq-cats--2 {
    gap: 12px;
  }
  .guide-anchors--2 .guide-anchors__item,
  .faq-cats--2 .faq-cats__item {
    flex: 0 1 calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
  }
  .guide-anchors__chev {
    width: 16px;
    height: 16px;
  }
  .guide-anchors__chev::after {
    width: 4px;
    height: 4px;
  }
  .guide-section {
    padding-top: 48px;
    scroll-margin-top: 88px;
  }
  .guide-section__head {
    margin-bottom: 24px;
  }
  .guide-section__lead br {
    display: none;
  }
  .guide-secrets::before {
    top: 0;
    width: min(720px, 120vw);
    transform: translateX(38%);
  }
  .guide-secrets__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .guide-secret {
    grid-column: auto;
  }
  .guide-secret h3 {
    font-size: 16px;
  }
  .guide-secret p {
    font-size: 14px;
  }
  .guide-secret__num {
    top: 0;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .guide-secret__media {
    padding-top: 12px;
  }
  .guide-break {
    padding: 40px 0 0;
  }
  .guide-about__intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }
  .guide-about__copy {
    padding: 36px 0 28px;
  }
  .guide-about__copy::before {
    left: -10%;
    width: min(480px, 130%);
  }
  .guide-spec__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .guide-facility__block + .guide-facility__block {
    margin-top: 36px;
  }
  .guide-carousel__item {
    width: min(240px, 78vw);
  }
  .guide-carousel__track {
    gap: 12px;
  }
  .guide-related {
    margin-top: 16px;
    padding: 48px 0 0;
    box-shadow: 0 -32px 0 0 #f5f3f0;
  }
  .guide-related::before {
    top: -32px;
    height: 32px;
    border-radius: 0 0 32px 32px;
  }
  .guide-related__grid {
    grid-template-columns: 1fr;
  }
  .guide-related__card {
    min-height: 60px;
    padding: 16px 18px;
    font-size: 14px;
  }
}

/* subpage: admission */
.admission-flow {
  position: relative;
  z-index: 0;
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
}
.admission-flow::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 70px;
  width: 2px;
  background-color: #d5ccbf;
  pointer-events: none;
}
.admission-flow__item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px 28px;
  align-items: start;
}
.admission-flow__item + .admission-flow__item {
  margin-top: 22px;
}
.admission-flow__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 999px;
  background-color: #d5ccbf;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  text-align: center;
  box-sizing: border-box;
}
.admission-flow__body {
  min-width: 0;
  padding-top: 6px;
}
.admission-flow__text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}
.admission-flow-group + .admission-flow-group {
  margin-top: 56px;
}
.admission-flow-group .admission-flow__note {
  margin-bottom: 0;
}
.admission-flow-group__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding-top: 4px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.admission-flow-group__title .plan-block__dot {
  margin-top: 0.2em;
}
.admission-flow__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admission-flow__cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admission-flow__cards--3 .admission-flow__card {
  padding: 16px 14px;
}
.admission-flow__cards--3 .admission-flow__card-title {
  font-size: 12px;
}
.admission-flow__card {
  padding: 18px 20px;
  border-radius: 14px;
  background-color: #f5f3f0;
}
.admission-flow__card-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-heading);
}
.admission-flow__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.admission-flow__card li {
  position: relative;
  padding-left: 1em;
}
.admission-flow__card li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.admission-flow__note {
  margin: 0 0 56px;
  padding: 24px 28px;
  border-radius: 14px;
  background-color: #f5f3f0;
}
.admission-flow__note-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-heading);
}
.admission-flow__note p:not(.admission-flow__note-title) {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}
.admission-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e6e1da;
}
.admission-section__head {
  margin-bottom: 24px;
}
.admission-section__head h3 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-heading);
}
.admission-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.admission-items > li {
  position: relative;
  padding-left: 2.2em;
}
.admission-items > li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-primary);
}
.admission-items > li:nth-child(1)::before {
  content: "①";
}
.admission-items > li:nth-child(2)::before {
  content: "②";
}
.admission-items > li:nth-child(3)::before {
  content: "③";
}
.admission-items > li:nth-child(4)::before {
  content: "④";
}
.admission-items > li:nth-child(5)::before {
  content: "⑤";
}
.admission-items > li:nth-child(6)::before {
  content: "⑥";
}
.admission-items > li:nth-child(7)::before {
  content: "⑦";
}
.admission-items > li:nth-child(8)::before {
  content: "⑧";
}
.admission-items > li:nth-child(9)::before {
  content: "⑨";
}
.admission-items > li:nth-child(10)::before {
  content: "⑩";
}
.admission-items strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
}
.admission-items p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}
.admission-items p + p {
  margin-top: 4px;
}
.admission-items > li > ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.admission-items > li > ul > li {
  position: relative;
  padding-left: 1em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}
.admission-items > li > ul > li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.admission-placeholder {
  padding: 64px 0 80px;
  max-width: 36em;
}
.admission-placeholder h2 {
  margin: 8px 0 16px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-heading);
}
.admission-placeholder p:not(.gradient-text) {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
}

@media (max-width: 1100px) {
  .admission-flow__cards--3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .admission-flow__cards {
    grid-template-columns: 1fr;
  }
  .admission-flow-group__title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .admission-flow::before {
    content: none;
  }
  .admission-flow__item {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 36px;
  }
  .admission-flow__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 20px;
    bottom: -38px;
    width: 2px;
    background-color: #d5ccbf;
    pointer-events: none;
  }
  .admission-flow__item:last-child::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 0;
    height: 20px;
    width: 2px;
    background-color: #d5ccbf;
    pointer-events: none;
  }
  .admission-flow__label {
    width: auto;
    min-width: 112px;
    justify-self: start;
  }
  .admission-flow__label::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background-color: #d5ccbf;
  }
  .admission-flow__body {
    padding-top: 0;
  }
  .admission-flow__note {
    margin-bottom: 40px;
    padding: 20px 18px;
  }
  .admission-section {
    margin-top: 36px;
    padding-top: 28px;
  }
}

/* subpage: benefit */
.benefit-panel {
  padding-bottom: 0;
}
.benefit-intro {
  max-width: 61em;
  margin-bottom: 48px;
}
.benefit-intro h2 {
  margin: 8px 0 16px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-heading);
}
.benefit-intro p:not(.gradient-text) {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.benefit-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e6e1da;
}
.benefit-section:first-of-type,
.benefit-intro + .benefit-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.benefit-section__title {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.benefit-section__title .plan-block__dot {
  margin-top: 0.35em;
}
.benefit-section__lead {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.benefit-eligibility-block {
  margin-top: 8px;
}
.benefit-licenses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.benefit-license img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 180;
  object-fit: cover;
  border-radius: 14px;
  background-color: #e8e2da;
}
.benefit-license h4 {
  margin: 14px 0 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
}
.benefit-license__held {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.benefit-license__held-label {
  white-space: nowrap;
}
.benefit-license__held-value {
  min-width: 0;
}
.benefit-license__held-list {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.benefit-license__held-list li {
  position: relative;
  padding-left: 1em;
}
.benefit-license__held-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.benefit-eligibility {
  overflow: hidden;
  border: 1px solid #d5ccbf;
  border-radius: 14px;
}
.benefit-eligibility__row {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  align-items: stretch;
}
.benefit-eligibility__row + .benefit-eligibility__row {
  border-top: 1px solid #d5ccbf;
}
.benefit-eligibility__label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 22px 18px;
  background-color: #f5f3f0;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
  text-align: center;
}
.benefit-eligibility__value {
  padding: 20px 22px;
  background-color: var(--color-white);
}
.benefit-eligibility__value p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}
.benefit-eligibility__note {
  margin-top: 10px !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  color: var(--color-text-muted) !important;
}
.benefit-eligibility__foot {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.benefit-flow-block {
  margin-top: 8px;
}
.benefit-flow {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit-flow::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 90px;
  width: 1px;
  background-color: #d5ccbf;
  pointer-events: none;
}
.benefit-flow__item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px 28px;
  align-items: start;
}
.benefit-flow__item + .benefit-flow__item {
  margin-top: 20px;
}
.benefit-flow__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background-color: #d5ccbf;
  box-sizing: border-box;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
  text-align: center;
}
.benefit-flow__body {
  padding-top: 8px;
}
.benefit-flow__body p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}
.benefit-flow__note {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: var(--color-text-muted) !important;
}
.benefit-flow__foot {
  margin: 28px 0 0;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text);
}
.benefit-page .plan-other {
  margin-top: 56px;
}

@media (max-width: 1100px) {
  .benefit-licenses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .benefit-intro {
    margin-bottom: 36px;
  }
  .benefit-section {
    margin-top: 36px;
    padding-top: 28px;
  }
  .benefit-licenses {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .benefit-eligibility__row {
    grid-template-columns: 1fr;
  }
  .benefit-eligibility__label {
    padding: 6px 4px;
    border-bottom: 1px solid #d5ccbf;
  }
  .benefit-eligibility__value {
    padding: 6px 4px;
  }
  .benefit-flow::before {
    content: none;
  }
  .benefit-flow__item {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 36px;
  }
  .benefit-flow__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 20px;
    bottom: -38px;
    width: 2px;
    background-color: #d5ccbf;
    pointer-events: none;
  }
  .benefit-flow__item:last-child::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 0;
    height: 20px;
    width: 1px;
    background-color: #d5ccbf;
    pointer-events: none;
  }
  .benefit-flow__label {
    width: auto;
    min-width: 140px;
    justify-self: start;
  }
  .benefit-flow__label::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background-color: #d5ccbf;
  }
  .benefit-page .plan-other {
    margin-top: 40px;
  }
}

/* =========================
   Contact (CF7)
   ========================= */
.contact-panel {
  position: relative;
  z-index: 0;
  margin-top: -24px;
  margin-bottom: 40px;
  padding: 56px 0 96px;
  border-radius: 56px;
  background-color: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 -8px 24px rgba(83, 76, 66, 0.06);
}
.contact-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: left;
}
.contact-intro h2 {
  margin: 8px 0 16px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-heading);
}
.contact-intro p:not(.gradient-text) {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.contact-form-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 40px 40px;
  border: 1px solid #d5ccbf;
  border-radius: 16px;
  background-color: var(--color-beige);
  box-sizing: border-box;
}
.contact-form-missing {
  margin: 0;
  text-align: center;
  color: var(--color-text-muted);
}
.contact-form-lead {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text-muted);
}
/* CF7 が項目名を p で包むため、moto.css の main p margin を打ち消す */
.contact-page .wpcf7-form p {
  margin-top: 0;
  margin-bottom: 0;
}
.contact-field__hint {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-muted);
}
/* 項目名（p内label）直後の注釈を詰める */
.contact-field > p:has(.contact-label) + .contact-field__hint,
.contact-label + .contact-field__hint {
  margin-top: -4px;
}
.contact-page .wpcf7 {
  margin: 0;
}
.contact-page .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
/* 注釈なし：項目名の直後が入力欄のとき余白を少し足す */
.contact-field > p:has(.contact-label) + p:has(.wpcf7-form-control-wrap) {
  margin-top: 2px;
}
.contact-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
}
.contact-required {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
}
.contact-page .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.contact-page input.wpcf7-text,
.contact-page input.wpcf7-email,
.contact-page input.wpcf7-tel,
.contact-page input.wpcf7-number,
.contact-page input.wpcf7-date,
.contact-page input.wpcf7-captchar,
.contact-page select.wpcf7-select,
.contact-page textarea.wpcf7-textarea,
.contact-page .contact-input,
.contact-page .contact-textarea {
  width: 100%;
  max-width: 100%;
  margin: 4px 0 0;
  padding: 14px 16px;
  border: 1px solid #d5ccbf;
  border-radius: 10px;
  background-color: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  box-sizing: border-box;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.contact-page select.wpcf7-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23534C42' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
  cursor: pointer;
}
.contact-page textarea.wpcf7-textarea,
.contact-page .contact-textarea {
  min-height: 180px;
  resize: vertical;
}
.contact-page input.wpcf7-text:focus,
.contact-page input.wpcf7-email:focus,
.contact-page input.wpcf7-tel:focus,
.contact-page input.wpcf7-number:focus,
.contact-page input.wpcf7-date:focus,
.contact-page input.wpcf7-captchar:focus,
.contact-page select.wpcf7-select:focus,
.contact-page textarea.wpcf7-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(83, 76, 66, 0.12);
}
.contact-midhead {
  margin: 8px 0 0;
  padding: 16px 0 4px;
  border-top: 1px solid #e4ddd3;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
}
.contact-page .wpcf7-radio,
.contact-page .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.contact-page .wpcf7-checkbox {
  gap: 10px 20px;
}
.contact-page .wpcf7-list-item {
  margin: 0;
}
.contact-page .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
}
/* destyle の appearance:none で消えるため見た目を自前で描画 */
.contact-page .wpcf7-list-item input[type="radio"],
.contact-page .wpcf7-list-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 1.5px solid var(--color-primary);
  background-color: var(--color-white);
  vertical-align: middle;
  cursor: pointer;
  box-sizing: border-box;
}
.contact-page .wpcf7-list-item input[type="radio"] {
  border-radius: 50%;
}
.contact-page .wpcf7-list-item input[type="checkbox"] {
  border-radius: 4px;
}
.contact-page .wpcf7-list-item input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
}
.contact-page .wpcf7-list-item input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--color-primary);
  border-width: 0 2px 2px 0;
  transform: scale(0) rotate(45deg);
  transition: transform 0.15s ease;
}
.contact-page .wpcf7-list-item input[type="radio"]:checked::after,
.contact-page .wpcf7-list-item input[type="checkbox"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}
.contact-page .wpcf7-list-item input[type="checkbox"]:checked::after {
  transform: scale(1) rotate(45deg);
}
.contact-page .wpcf7-list-item input[type="radio"]:focus-visible,
.contact-page .wpcf7-list-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.contact-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
/* CF7 autop の p による改行余白を打ち消す */
.contact-captcha > p {
  display: contents;
  margin: 0;
}
.contact-captcha-hint {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.contact-field--captcha .wpcf7-quiz-label,
.contact-field--captcha .wpcf7-form-control-wrap {
  display: block;
}
.contact-field--captcha .wpcf7-quiz-label {
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px dashed #d5ccbf;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-align: center;
}
.contact-captcha img,
.contact-page .wpcf7-captchac {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 6px;
  background: var(--color-white);
}
.contact-captcha .wpcf7-form-control-wrap {
  flex: 1 1 180px;
  max-width: 240px;
}
.contact-submit {
  margin-top: 8px;
  text-align: center;
}
.contact-page .wpcf7-submit,
.contact-page .contact-submit-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.contact-page .wpcf7-submit:hover,
.contact-page .contact-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(1px);
}
.contact-page .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-accent);
}
.contact-page .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #d5ccbf;
  background: var(--color-white);
  font-size: 14px;
  line-height: 1.7;
}
.contact-page .wpcf7 form-status-mail-sent .wpcf7-response-output {
  border-color: #7a9e7e;
  color: #2f5d34;
}
.contact-page .wpcf7 form-status-invalid .wpcf7-response-output,
.contact-page .wpcf7 form-status-failed .wpcf7-response-output {
  border-color: #e2a3a8;
  color: var(--color-accent);
}
.contact-aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 40px auto 0;
}
.contact-aside__item {
  padding: 24px 22px;
  border-radius: 14px;
  border: 1px solid #d5ccbf;
  background: var(--color-beige);
}
.contact-aside__item h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading);
}
.contact-aside__item p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.contact-aside__tel {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
.contact-aside__note {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: var(--color-text-muted) !important;
}
.wpcf7-spinner {
  display: block;
  margin: 5px auto;
}

@media (max-width: 768px) {
  .contact-panel {
    padding: 40px 0 64px;
    border-radius: 36px;
    margin-bottom: 28px;
  }
  .contact-form-card {
    padding: 24px 18px 28px;
  }
  .contact-aside {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .contact-page .wpcf7-submit,
  .contact-page .contact-submit-btn {
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   News (お知らせ一覧・詳細)
   ========================= */
.news-panel {
  position: relative;
  z-index: 0;
  margin-top: -24px;
  margin-bottom: 40px;
  padding: 56px 0 96px;
  border-radius: 56px;
  background-color: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 -8px 24px rgba(83, 76, 66, 0.06);
}
.news-intro {
  max-width: 920px;
  margin-bottom: 36px;
}
.news-intro h2 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-heading);
}
.news-intro--related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e5ddd2;
}
.news-list {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.news-list__row {
  margin: 0;
  border-bottom: 1px solid #e5ddd2;
}
.news-list__row:first-child {
  border-top: 1px solid #e5ddd2;
}
.news-list__item {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px 28px;
  padding: 22px 8px;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.news-list__item:hover {
  background-color: rgba(213, 204, 191, 0.28);
}
.news-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.news-list__meta time,
.news-article__meta time {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.news-list__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 2px 12px;
  border: 1px solid var(--color-tan);
  border-radius: 5px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.news-list__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-heading);
}
.news-list__item:hover .news-list__title {
  color: var(--color-primary);
}
.news-list__chev {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.2px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  opacity: 0.55;
}
.news-list__chev::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: -1px;
}
.news-list__item:hover .news-list__chev {
  opacity: 1;
}
.news-empty {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.news-back {
  max-width: 920px;
  margin: 40px auto 0;
}
.news-back__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}
.news-back__link:hover {
  opacity: 0.75;
}
.news-back__chev {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  border: 1.2px solid currentColor;
  border-radius: 50%;
}
.news-back__chev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translate(-35%, -50%) rotate(45deg);
}

/* 詳細 */
.news-article {
  max-width: 920px;
  margin: 0 auto;
}
.news-article__header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5ddd2;
}
.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.news-article__title {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.news-article__body {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.95;
  color: var(--color-text);
}
.news-article__body > *:first-child {
  margin-top: 0;
}
.news-article__body p {
  margin: 0 0 1.2em;
}
.news-article__body h2,
.news-article__body h3 {
  margin: 1.6em 0 0.7em;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.4;
}
.news-article__body h2 {
  font-size: 30px;
}
.news-article__body h3 {
  font-size: 24px;
}
.news-article__body ul,
.news-article__body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.news-article__body li + li {
  margin-top: 0.35em;
}
.news-article__body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.news-article__footer {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5ddd2;
}

/* ページネーション */
.news-page .navigation.pagination,
.news-pagination {
  max-width: 920px;
  margin: 40px auto 0;
}
.news-page .navigation.pagination .nav-links,
.news-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.news-page .navigation.pagination .page-numbers,
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d5ccbf;
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.news-page .navigation.pagination a.page-numbers:hover,
.news-pagination a.page-numbers:hover {
  background-color: #d5ccbf;
  border-color: #d5ccbf;
}
.news-page .navigation.pagination .page-numbers.current,
.news-pagination .page-numbers.current {
  background-color: #d5ccbf;
  border-color: #d5ccbf;
  color: var(--color-heading);
}

@media (max-width: 768px) {
  .news-panel {
    padding: 40px 0 64px;
    border-radius: 36px;
    margin-bottom: 28px;
  }
  .news-list__item {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 10px 12px;
    padding: 18px 4px;
  }
  .news-list__meta {
    grid-column: 1 / -1;
  }
  .news-list__title {
    font-size: 15px;
  }
  .news-intro--related {
    margin-top: 40px;
    padding-top: 28px;
  }
}

/* =========================
   FAQ（よくある質問）
   ========================= */
.faq-panel {
  position: relative;
  z-index: 0;
  margin-top: -24px;
  margin-bottom: 40px;
  padding: 56px 0 0;
  border-radius: 56px;
  background-color: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 -8px 24px rgba(83, 76, 66, 0.06);
}
.faq-cats {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1072px;
  margin: 0 auto 56px;
  padding: 12px 0 0;
  box-sizing: border-box;
}
.faq-cats__item {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 52px;
  padding: 14px 4px 16px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  border-bottom: 1px solid #d5ccbf;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}
.faq-cats__item:hover {
  opacity: 0.75;
}
.faq-cats__chev {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.2px solid currentColor;
  border-radius: 50%;
  opacity: 0.85;
}
.faq-cats__chev::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.faq-section {
  max-width: 920px;
  margin: 0 auto;
  scroll-margin-top: 120px;
}
.faq-section + .faq-section {
  margin-top: 64px;
}
.faq-section__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-heading);
}
.faq-section__title .plan-block__dot {
  margin-top: 0.4em;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media screen and (max-width: 768px) {
  #faq-payment .faq-list {
    padding-bottom: 40px;
  }
}
.faq-item {
  margin: 0;
  padding: 0;
  border-radius: 14px;
  background-color: #f2f2f2;
  color: var(--color-text);
  box-sizing: border-box;
  overflow: hidden;
}
.faq-item__q {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 28px;
  align-items: start;
  gap: 8px 12px;
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-heading);
  box-sizing: border-box;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__label {
  flex-shrink: 0;
  font-weight: 700;
}
.faq-item__text {
  min-width: 0;
}
.faq-item__icon {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  justify-self: end;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-heading);
  transform: translate(-50%, -50%);
}
.faq-item__icon::before {
  width: 14px;
  height: 2px;
}
.faq-item__icon::after {
  width: 2px;
  height: 14px;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.faq-item[open] .faq-item__icon::after,
.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-item__panel {
  height: 0;
  overflow: hidden;
}
.faq-item[open] .faq-item__panel,
.faq-item.is-open .faq-item__panel {
  height: auto;
}
.faq-item__a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0 20px 18px;
  padding: 18px 18px 16px;
  border-radius: 12px;
  background-color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}
.faq-item__a p {
  margin: 0;
}

@media (max-width: 768px) {
  .faq-panel {
    padding: 40px 0 0;
    border-radius: 36px;
    margin-bottom: 28px;
  }
  .faq-cats {
    gap: 12px;
    margin-bottom: 40px;
    padding: 8px 0 0;
  }
  .faq-cats__item {
    gap: 8px;
    min-height: 44px;
    padding: 10px 2px 12px;
    font-size: 13px;
  }
  .faq-cats__chev {
    width: 16px;
    height: 16px;
  }
  .faq-section + .faq-section {
    margin-top: 48px;
  }
  .faq-item__q {
    padding: 16px 14px;
    font-size: 14px;
  }
  .faq-item__a {
    margin: 0 14px 16px;
    padding: 14px;
    font-size: 13px;
  }
}

/* 2項目：3分割と同じ幅で中央寄せ */
.guide-anchors--2 {
  justify-content: center;
  gap: 40px;
}
.guide-anchors--2 .guide-anchors__item {
  flex: 0 1 calc((100% - 80px) / 3);
  max-width: calc((1072px - 80px) / 3);
}
.faq-cats--2 {
  justify-content: center;
}
.faq-cats--2 .faq-cats__item {
  flex: 0 1 calc((100% - 80px) / 3);
  max-width: calc((1072px - 80px) / 3);
}

.access-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 48px;
}
.access-intro__copy h2 {
  margin: 8px 0 18px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--color-heading);
}
.access-intro__copy p:not(.gradient-text) {
  margin: 0 0 1em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.access-intro__copy p:not(.gradient-text):last-child {
  margin-bottom: 0;
}
.access-intro__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.access-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
  max-width: 960px;
}
.access-points__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  aspect-ratio: 1;
  padding: 32px 24px;
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(135deg, #e45293 0%, #7a6fd0 48%, #00469c 100%) border-box;
  text-align: center;
  box-sizing: border-box;
}
.access-points__label {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: var(--color-heading);
}
.access-points__label-text {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.access-points__label-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}
.access-points__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-heading);
}
.access-note {
  max-width: 1000px;
  margin: 0 auto 16px;
  padding: 28px 32px;
  border-radius: 18px;
  background-color: var(--color-white);
  box-shadow: 0 0 20px rgba(0, 70, 156, 0.2);
}
.access-note p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.access-note__foot {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: center;
}
.access-table {
  overflow: hidden;
  border: 1px solid #d5ccbf;
  border-radius: 14px;
  background-color: var(--color-white);
}
.access-table__row {
  display: grid;
  grid-template-columns: minmax(100px, 28%) minmax(0, 1fr);
}
.access-table__row + .access-table__row {
  border-top: 1px solid #d5ccbf;
}
.access-table__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background-color: #f5f3f0;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  text-align: center;
  border-right: 1px solid #d5ccbf;
  box-sizing: border-box;
}
.access-table__value {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text);
  box-sizing: border-box;
}
.access-table__value a {
  color: inherit;
  text-decoration: none;
}
.access-map {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e6e1da;
  background-color: #f5f3f0;
}
.access-map iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vw);
  border: 0;
}

.course-section + .course-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.course-section + .course-section > .container2 {
  margin-top: 24px;
  padding-top: 88px;
  border-top: 1px solid #e6e1da;
}
.courses-panel .faq-list {
  margin-bottom: 0;
}
.course-apply-lead {
  margin: 0 0 8px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.plan-block--course-cta .course-cta {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 560px;
  margin-top: 24px;
}
.course-table-wrap .course-table {
  min-width: 0;
}
.course-table th,
.course-table td {
  text-align: left;
}
.course-table thead th {
  background-color: #f5f3f0;
}
.course-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}
.course-bullets li {
  position: relative;
  padding: 10px 0 10px 1.2em;
  border-bottom: 1px solid #e6e1da;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.course-bullets li:last-child {
  border-bottom: 0;
}
.course-bullets li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.course-outline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 28px;
}
.course-outline > li {
  position: relative;
  padding-left: 1.2em;
}
.course-outline > li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-heading);
}
.course-outline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-heading);
}
.course-outline p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.course-outline p + p {
  margin-top: 2px;
}
.course-outline__note {
  margin-top: 6px !important;
  color: var(--color-text-muted) !important;
}
.course-prose {
  display: grid;
  gap: 16px;
}
.course-prose p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.course-pay {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.course-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  min-height: 64px;
  margin: 32px auto 0;
  padding: 16px 22px;
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 4px 0 0 rgba(83, 76, 66, 0.18);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  box-sizing: border-box;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.course-cta__main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.course-cta__icon {
  display: flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.course-cta__icon svg {
  width: 100%;
  height: 100%;
}
.course-cta__label {
  line-height: 1.4;
}
.course-cta:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(83, 76, 66, 0.18);
}
.course-cta .mega-ico {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  .guide-anchors--2,
  .faq-cats--2 {
    gap: 16px;
  }
  .guide-anchors--2 .guide-anchors__item,
  .faq-cats--2 .faq-cats__item {
    flex: 0 1 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
  .access-intro,
  .access-intro--info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .access-points {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .access-note {
    padding: 20px 18px;
  }
  .access-table__row {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .access-table__label,
  .access-table__value {
    padding: 6px 6px;
    font-size: 13px;
  }
  .access-map iframe {
    height: 280px;
  }
  .course-section + .course-section > .container2 {
    padding-top: 56px;
  }
  .course-cta {
    max-width: none;
    font-size: 15px;
  }
}

/* subpage: student (在校生の方) */
.student-list {
  display: grid;
  gap: 0;
  padding-bottom: 48px;
}
.student-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
  padding: 48px 0;
  scroll-margin-top: 120px;
}
.student-item + .student-item {
  border-top: 1px solid #e6e1da;
}
.student-item__media {
  overflow: hidden;
  border-radius: 18px;
  background-color: #f5f3f0;
}
.student-item__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.student-item__media--logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  background-color: transparent;
}
.student-item__media--logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
  border-radius: 18px;
}
.student-item__body {
  min-width: 0;
}
.student-item__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
/* .student-item__title .plan-block__dot {
  margin-top: 0.45em;
} */
.student-item__body p {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.student-item__subhead,
.student-item__body p strong {
  display: inline-block;
  margin: 4px 0 2px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-heading);
}
.student-item__mark {
  background-image: linear-gradient(
    transparent 62%,
    rgba(213, 0, 36, 0.32) 62%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.05em;
}
.student-item__tel {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.student-item__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  min-height: 58px;
  margin-top: 16px;
  padding: 16px 22px;
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 4px 0 0 rgba(83, 76, 66, 0.18);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  box-sizing: border-box;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.student-item__btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(83, 76, 66, 0.18);
}
.student-item__btn .mega-ico {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  .student-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }
  .student-item#bus {
    padding-top: 0;
  }
  .student-item__btn {
    max-width: none;
  }
}

/* subpage: company (会社概要) */
.company-panel .guide-section:first-child {
  padding-top: 24px;
}
.company-mission {
  max-width: 920px;
  margin: 0 0 40px;
}
.company-mission__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.company-mission p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
}
.company-table .access-table__label {
  min-width: 7.5em;
}
.company-visual {
  overflow: hidden;
  border-radius: 18px;
  background-color: #f5f3f0;
}
.company-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.company-map {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .company-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .company-map {
    margin-top: 32px;
  }
}

/* subpage: legal docs (privacy / tokusho など) */
.legal-panel .guide-section:first-child {
  padding-top: 24px;
  padding-bottom: 80px;
}
.legal-panel .guide-section__head {
  margin-bottom: 40px;
}
.legal-doc__lead {
  margin: 0 0 56px;
  max-width: 52em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.legal-doc__list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-item;
}
.legal-doc__list > li {
  position: relative;
  margin: 0;
  padding: 28px 0 28px 0;
  border-top: 1px solid #e6e1da;
  counter-increment: legal-item;
}
.legal-doc__list > li:last-child {
  padding-bottom: 0;
}
.legal-doc__list > li h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-heading);
}
.legal-doc__list > li h3::before {
  content: counter(legal-item) ".";
  flex: 0 0 auto;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-primary);
}
.legal-doc__list > li > p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.legal-doc__sublist {
  margin: 14px 0 0;
  padding: 0 0 0 1.35em;
  list-style: decimal;
}
.legal-doc__sublist li {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.legal-doc__sublist li:last-child {
  margin-bottom: 0;
}
.legal-doc__table {
  margin-top: 18px;
  max-width: 720px;
}
.legal-doc__table--full {
  max-width: none;
}
.legal-doc__table a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.access-table__row--top .access-table__label,
.access-table__row--top .access-table__value {
  align-items: flex-start;
}
.tokusho-cancel p {
  margin: 0;
}
.tokusho-cancel p:last-child {
  margin-bottom: 0;
}
.tokusho-cancel ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.tokusho-cancel li {
  margin: 0 0 6px;
  padding-left: 0;
  line-height: 1.7;
}
.tokusho-cancel li:last-child {
  margin-bottom: 0;
}
.tokusho-cancel__note {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

/* subpage: apply consent (入校申込・同意確認) */
.apply-panel .apply-consent {
  padding-bottom: 80px;
}
.apply-panel .legal-doc__lead {
  margin-bottom: 0;
  padding-bottom: 56px;
}
.legal-doc__lead + .apply-block {
  margin-top: 0;
  padding-top: 40px;
  border-top: 1px solid #e6e1da;
}
.apply-block {
  margin: 0 0 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e6e1da;
}
.apply-block:last-of-type {
  margin-bottom: 0;
}
.apply-block__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-heading);
}
.apply-block p {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.apply-block p:last-child {
  margin-bottom: 0;
}
.apply-block__list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.apply-block__list li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 1.1em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}
.apply-block__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
.apply-block__list li:last-child {
  margin-bottom: 0;
}
.apply-block__note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
}
.apply-block a,
.apply-consent__sub a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.apply-block .legal-doc__table {
  margin: 18px 0 12px;
}
.apply-consent__actions {
  margin: 40px 0 48px;
  padding: 36px 32px;
  border-radius: 18px;
  background-color: #f5f3f0;
  text-align: center;
}
.apply-consent__actions--pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.apply-consent__prompt {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-heading);
}
.apply-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 160px;
  min-height: 58px;
  padding: 16px 28px;
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 4px 0 0 rgba(83, 76, 66, 0.18);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  box-sizing: border-box;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}
.apply-consent__btn--yes {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.apply-consent__btn--no {
  background-color: var(--color-white);
  color: var(--color-primary);
}
.apply-consent__btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(83, 76, 66, 0.18);
}
.apply-consent__btn .mega-ico {
  flex: 0 0 auto;
}
.apply-consent__sub {
  margin: 18px 0 0;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.apply-section-title {
  margin: 8px 0 28px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}
.apply-closing {
  margin-top: 16px;
  padding-top: 8px;
}
.apply-closing .legal-doc__lead {
  padding-bottom: 0;
  margin-bottom: 0;
}
.apply-closing + .apply-consent__actions {
  margin-top: 32px;
  margin-bottom: 0;
}
.apply-form-denied {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 36px;
  border-radius: 18px;
  background-color: #f5f3f0;
  text-align: center;
}
.apply-form-denied h2 {
  margin: 8px 0 16px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-heading);
}
.apply-form-denied > p:not(.gradient-text) {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.apply-form-denied__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* 準備中ページ（求人情報・卒業生の声など） */
.careers-panel,
.voice-panel {
  position: relative;
  z-index: 0;
  margin-top: -24px;
  margin-bottom: 40px;
  padding: 56px 0 96px;
  border-radius: 56px;
  background-color: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 -8px 24px rgba(83, 76, 66, 0.06);
}
.page-coming-soon {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 36px;
  border-radius: 18px;
  background-color: #f5f3f0;
  text-align: center;
}
.page-coming-soon h2 {
  margin: 8px 0 16px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-heading);
}
.page-coming-soon > p:not(.gradient-text) {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}
.page-coming-soon > p:not(.gradient-text):last-child {
  margin-bottom: 0;
}
.page-coming-soon__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .careers-panel,
  .voice-panel {
    margin-top: -16px;
    margin-bottom: 28px;
    padding: 40px 0 64px;
    border-radius: 36px;
  }
  .page-coming-soon {
    padding: 36px 22px;
  }
}

@media (max-width: 768px) {
  .apply-consent__actions {
    margin: 28px 0 36px;
    padding: 28px 20px;
  }
  .apply-consent__actions--pair {
    flex-direction: column;
    align-items: stretch;
  }
  .apply-consent__btn {
    width: 100%;
    min-width: 0;
  }
  .apply-form-denied {
    padding: 36px 22px;
  }
}

@media (max-width: 768px) {
  .legal-panel .guide-section:first-child {
    padding-bottom: 56px;
  }
  .legal-doc__list > li {
    padding: 22px 0;
  }
}

/*
 * 詳細度の高い見出し・本文指定が moto.css のスマホ用サイズを上書きするため、
 * 同等以上の詳細度で SP サイズを再指定する（h2:26px / h3:22px / 本文:14px）。
 */
@media screen and (max-width: 768px) {
  /* h2 相当（PC 30px → SP 26px） */
  .top-btn--section > .left h2,
  .footer-contact__text h2,
  .plan-intro__copy h2,
  .plan-other h2,
  .guide-section__head h2,
  .guide-about__copy h2,
  .admission-placeholder h2,
  .benefit-intro h2,
  .contact-intro h2,
  .news-intro h2,
  .news-article__title,
  .news-article__body h2,
  .access-intro__copy h2,
  .apply-section-title,
  .apply-form-denied h2,
  .page-coming-soon h2 {
    font-size: 26px;
  }

  /* h3 相当（PC 24px → SP 22px） */
  .plan-block__title,
  .plan-info h3,
  .guide-facility__title,
  .admission-flow-group__title,
  .admission-section__head h3,
  .benefit-section__title,
  .contact-aside__item h3,
  .news-article__body h3,
  .faq-section__title,
  .student-item__title,
  .company-mission__title,
  .legal-doc__list > li h3,
  .apply-block__title {
    font-size: 22px;
  }

  /* 本文（PC 16px → SP 14px） */
  .top-btn--section > .left p:not(.gradient-text),
  .footer-contact__text p:not(.gradient-text),
  .plan-intro__copy p:not(.gradient-text),
  .voice-lead,
  .apply-form-denied > p:not(.gradient-text),
  .page-coming-soon > p:not(.gradient-text) {
    font-size: 14px;
  }

  .student-item__body p strong {
    font-size: 18px;
  }

  .contact-aside__tel {
    font-size: 20px;
  }
}

/* =========================
   お客様の声
   ========================= */
.voice-list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  direction: ltr;
}
.voice-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 8px 18px;
  align-items: center;
  margin: 0;
  padding: 22px 22px 20px;
  border: 2px solid #2c2c2c;
  border-radius: 18px;
  background: #fff;
  box-sizing: border-box;
}
.voice-card__profile {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.voice-card__icon {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}
.voice-card__meta {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-heading);
  word-break: keep-all;
}
.voice-card__meta-job::before {
  content: " / ";
}
.voice-card__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text);
}
.voice-card__body p {
  margin: 0 0 0.8em;
}
.voice-card__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .voice-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .voice-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 16px 14px;
  }
  .voice-card__icon {
    width: 88px;
    height: 88px;
  }
  .voice-card__meta {
    font-size: 12px;
  }
  .voice-card__meta-job {
    display: block;
    white-space: nowrap;
  }
  .voice-card__meta-job::before {
    content: none;
  }
  .voice-card__body {
    font-size: 14px;
  }
}
