@charset "UTF-8";
/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
      text-size-adjust: 100%;
  scroll-behavior: auto;
  word-break: break-all;
  font-size: 10px;
  overflow-x: hidden;
}
@media (max-width: 1600px) and (min-width: 768px) {
  html {
    font-size: 0.625vw;
  }
}
@media (max-width: 767px) {
  html {
    font-size: min(2.5641025641vw, 19.6666666667px);
  }
  @supports (-moz-text-size-adjust: 100%) {
    html {
      font-size: clamp(10px, 2.5641025641vw, 12.82px);
    }
  }
}

body {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  position: relative;
  overflow-x: clip;
  color: #3f220d;
}
@media (max-width: 767px) {
  body {
    padding-top: 8.5rem; /* SP固定ヘッダー分のフォールバック。実寸は main.js が測って上書き */
  }
}

img {
  width: 100%;
  height: auto;
}

.grecaptcha-badge {
  bottom: 80px !important;
  z-index: 9999 !important;
}

#mouse-stalker {
  pointer-events: none;
  position: fixed;
  top: -15px;
  left: -15px;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
  -webkit-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
  z-index: 9999;
}

.main {
  position: relative;
  min-height: 100vh;
}

h1,
h2,
h3,
a,
p {
  line-height: 1;
}

a {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  cursor: pointer;
}
a:hover {
  opacity: 0.6;
}

.fade-up {
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
}

.page-main {
  position: relative;
  margin-top: 110px;
  min-height: 100vh;
}

.inner1000 {
  width: 100%;
  max-width: 104rem;
  padding: 0 2rem;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .inner1000 {
    padding: 0 2rem;
  }
}

.l-header {
  width: 100%;
  background: url("../img/top/bg-header.webp") center center/cover no-repeat;
}
@media (max-width: 767px) {
  .l-header {
    position: fixed; /* SPはヘッダーを追従させる */
    top: 0;
    left: 0;
    z-index: 1000;
    -webkit-box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15);
            box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15); /* コンテンツとの境目 */
  }
}

.l-sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #F9EFE5;
  z-index: 1000;
  -webkit-box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15); /* コンテンツとの境目 */
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}
@media (max-width: 767px) {
  .l-sticky-nav {
    display: none; /* PC用の追従ナビはSPでは非表示（SPは固定ヘッダーを使用） */
  }
}
.l-sticky-nav.is-show {
  opacity: 1;
  pointer-events: auto;
}

.l-header__band {
  width: 100%;
  height: 5px;
  /* PC＝band01／SP＝sp-band01 をメディアクエリで切替（遅延読込プラグインの影響を受けない） */
  background: url(../img/top/band01.webp) center center/100% 100% no-repeat;
}
@media (max-width: 767px) {
  .l-header__band {
    background-image: url(../img/top/sp-band01.webp);
  }
}

.l-header__wrap {
  max-width: 114rem;
  margin: 0 auto;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0 1rem 3rem;
}

.l-header__wrap--top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  padding: 3rem 0;
  gap: 1rem;
}
@media (max-width: 767px) {
  .l-header__wrap--top {
    padding: 0;
  }
}

.l-header__title img {
  width: 28rem;
  height: auto;
  margin-left: -4rem;
}
@media (max-width: 767px) {
  .l-header__title img {
    width: 14.6rem;
    height: 4.5rem;
    margin-left: 0;
  }
}

.l-header__wrap--top--text {
  font-size: 1.6rem;
  line-height: 1.4;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-weight: 700;
  padding-left: 2rem;
}
@media (max-width: 767px) {
  .l-header__wrap--top--text {
    display: none;
  }
}

.reserve-button {
  position: relative;
  display: inline-block;
  text-decoration: none;
  width: 23rem;
  border-radius: 5rem;
  -webkit-transition: opacity 0s;
  transition: opacity 0s;
}
@media (max-width: 767px) {
  .reserve-button {
    display: none;
  }
}
.reserve-button::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  background-color: #b31c36;
}
.reserve-button span {
  position: relative;
  z-index: 1;
  display: block;
  background: #d41819;
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  font-weight: 700;
  padding: 2rem;
  border-radius: 5rem;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: transform 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease;
}
.reserve-button:hover {
  opacity: 1;
}
.reserve-button:hover span {
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}

/* SP専用：ヘッダー右側「体験受付中」ボタン。.reserve-button のプッシュダウン構造を流用 */
.header-trial-btn {
  position: relative;
  display: none;
  text-decoration: none;
  border-radius: 5rem;
}
@media (max-width: 767px) {
  .header-trial-btn {
    display: inline-block;
    margin-right: 4.5rem; /* ハンバーガーと重ならないよう右に余白 */
  }
}
.header-trial-btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0.4rem;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  background-color: #b31c36;
}
.header-trial-btn span {
  position: relative;
  z-index: 1;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.8rem;
  background: #d41819;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  padding: 1rem 1.8rem;
  border-radius: 5rem;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
.header-trial-btn:hover span {
  -webkit-transform: translateY(0.4rem);
          transform: translateY(0.4rem);
}

/* 体験受付中ボタンの三角（CSSで描画したただの三角形） */
.header-trial-btn__arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.6rem 0 0.6rem 1rem;
  border-color: transparent transparent transparent #fff;
}

/* 電話番号ボタン（緑）。.reserve-button のプッシュダウン構造を流用し、色だけ変更
   リンクではなく表示のみのため、クリック可能に見えないよう cursor は既定のまま */
.reserve-button--green {
  cursor: default;
}
.reserve-button--green span {
  background: #28a23a;
}
.reserve-button--green::before {
  background-color: #297639;
}

.l-header__wrap--bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 8rem;
}
@media (max-width: 767px) {
  .l-header__wrap--bottom {
    display: none;
  }
}

.l-header__nav {
  width: 100%;
}

.l-nav__content--items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.l-nav__content--items li:last-child a {
  border-right: 1px dotted #47331c;
}
.l-nav__content--items li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
  gap: 0.5rem;
  width: 20rem;
  padding: 1rem 0;
  border-left: 1px dotted #47331c;
}

.nav-icon {
  margin: 0;
}
.nav-icon img {
  width: 2.1rem;
  height: auto;
  display: block;
}

.nav-text__ja {
  font-size: 2rem;
  font-weight: 700;
}

.nav-text__en {
  font-size: 1rem;
}

.hamburger {
  display: none;
  width: 4rem;
  height: 4rem;
  background: none;
  border: none;
  position: relative;
  z-index: 1100;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* ×・3本線をボタン内で水平中央に */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* 同・垂直中央に */
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 3.2rem;
  height: 0.4rem;
  background: #111;
  margin: 0.6rem 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.hamburger {
  /* ×：上下の線を中心まで正確に寄せて（中心間=高さ0.4＋上下マージン0.6×2＝1.6rem）回転。
     スライド＋回転のトランジションはそのままなめらか。中央線は opacity:0 で消す。 */
}
.hamburger.is-active span:nth-child(1) {
  -webkit-transform: translateY(1rem) rotate(45deg);
          transform: translateY(1rem) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  -webkit-transform: translateY(-1rem) rotate(-45deg);
          transform: translateY(-1rem) rotate(-45deg);
}

.hamburger-menu {
  display: none;
  position: fixed;
  top: 110px;
  left: 0;
  width: 100vw;
  background: #efefef;
  z-index: 9999;
  -webkit-box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
          box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
}
@media (max-width: 767px) {
  .hamburger-menu {
    top: 6.5rem; /* 固定ヘッダー（band 0.5rem + wrap 6rem）直下に出す */
  }
}
.hamburger-menu .hamburger-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hamburger-menu .hamburger-menu__list li {
  border-bottom: 0.1rem solid #e0e0e0;
  background: #f5f5f5;
  position: relative;
}
.hamburger-menu .hamburger-menu__list li:last-child {
  border-bottom: none;
}
.hamburger-menu .hamburger-menu__list li a {
  display: block;
  color: #111;
  font-size: 1.7rem;
  font-weight: 700;
  padding: 2.2rem 4.4rem;
  text-decoration: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  position: relative;
}
.hamburger-menu .hamburger-menu__list li a::after {
  content: "▶︎";
  position: absolute;
  right: 4.4rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 1.5rem;
  color: #111;
  pointer-events: none;
}
.hamburger-menu .hamburger-menu__list li a:hover {
  background: #ececec;
}

.u-pc {
  display: block;
}

.u-sp {
  display: none;
}

@media (max-width: 767px) {
  .l-header__wrap {
    height: 6rem;
    padding: 0 1.5rem;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* ロゴを上下中央に（SP時はロゴのみ表示のため） */
    position: relative; /* ハンバーガーの絶対配置の基準。
   .l-header だと上部の装飾バンド(5px)を含むため、
   ロゴと同じ行を基準にして上下中央を出す */
  }
  .l-header__nav.u-pc {
    display: none;
  }
  /* このSP指定は .u-sp { display: none } より後に置く必要があるため、
     .hamburger の定義側（上部）へは移さずここに残す */
  .hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 50%; /* ヘッダー内で上下中央 */
    right: 0.5rem;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .hamburger-menu.u-sp {
    display: none;
  }
  .hamburger-menu.u-sp.active {
    display: block;
  }
  .u-pc {
    display: none;
  }
  .u-sp {
    display: block;
  }
}
.l-footer {
  background: url(../img/top/bg-body.webp) center center/cover no-repeat;
  color: #41210d;
  padding: 5rem 0 6rem;
  position: relative;
  /* 上部の装飾バンド（ヘッダーと同じ方式：CSS背景＋メディアクエリ。PC=band02／SP=sp-band01） */
}
.l-footer .l-footer__band {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: url(../img/top/band02.webp) center center/100% 100% no-repeat;
}
@media (max-width: 767px) {
  .l-footer .l-footer__band {
    background-image: url(../img/top/sp-band01.webp);
  }
}
@media (max-width: 767px) {
  .l-footer {
    padding: 4rem 0;
  }
}
.l-footer a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}
.l-footer a:hover {
  opacity: 0.7;
}
.l-footer .l-footer__wrap {
  width: 120rem; /* インスタ＋LINEのQR2枚を横並びで収めるため拡幅 */
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 2rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__wrap {
    width: 100%;
    margin: 0 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 3rem;
  }
}
.l-footer .l-footer__inner--head {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  height: 10rem;
  margin-bottom: 3rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__inner--head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.l-footer .l-footer__inner--head img {
  width: 100%;
  height: auto;
}
.l-footer .l-footer__logo {
  width: 32.8rem;
  height: auto;
}
@media (max-width: 767px) {
  .l-footer .l-footer__logo {
    width: 30rem;
  }
}
.l-footer .l-footer__logo img {
  width: 100%;
  height: auto;
  display: block;
}
.l-footer {
  /* ===== サイトメニュー / コース紹介 ===== */
}
.l-footer .l-footer__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__menu {
    gap: 0;
  }
}
.l-footer .l-footer__menu--contents {
  border-left: 1px solid #46331b; /* サイトメニューとコース紹介の間の縦線 */
  padding: 0 2rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__menu--contents:first-child {
    border-left: none; /* サイトメニュー左側の線は不要 */
  }
}
.l-footer .l-footer__menu--contents__title {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  padding-bottom: 0.8rem;
}
.l-footer .l-footer__menu--contents__list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}
.l-footer .l-footer__menu--contents__item {
  margin-top: 1rem;
}
.l-footer .l-footer__menu--contents__link {
  font-size: 1.5rem;
  font-weight: 700;
  color: #41210d;
  padding-bottom: 1rem;
  border-bottom: 1px dotted #46331b;
}
.l-footer .l-footer__menu--contents__link::before {
  content: ""; /* 丸い点のリストマーカー */
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #41210d;
  margin-right: 0.6rem;
  vertical-align: middle;
}
.l-footer {
  /* ===== QRエリア ===== */
}
.l-footer .qr-area {
  text-align: center;
  padding-right: 3rem;
  white-space: nowrap; /* インスタ／LINEのQRを横並びに固定（折り返し防止） */
}
@media (max-width: 767px) {
  .l-footer .qr-area {
    padding-right: 0;
  }
}
.l-footer .qr-area__item {
  display: inline-block;
  vertical-align: top;
}
.l-footer .qr-area__item--line {
  margin-left: 2rem;
}
@media (max-width: 767px) {
  .l-footer .qr-area__item--line {
    margin-left: 1.5rem;
  }
}
.l-footer .qr-area__text {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  color: #fff;
  background: #48331c;
  border-radius: 5rem;
  padding: 1.2rem 0; /* QRボタン化：クリック領域を上下に拡大 */
  text-decoration: none;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.l-footer .qr-area__text:hover {
  opacity: 0.85;
}
.l-footer .qr-area__text--line {
  background: #06c755; /* LINEブランドカラー */
}
.l-footer .qr-area__img {
  width: 16.2rem;
  margin-top: 1rem;
}
.l-footer .qr-area__img img {
  width: 100%;
  height: auto;
  display: block;
}
.l-footer .l-footer__about {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-left: 2rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__about {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    font-size: 1.5rem;
    margin-left: 0;
    margin-top: 3rem;
  }
}
.l-footer .l-footer__about--tel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 767px) {
  .l-footer .l-footer__about--tel {
    display: block;
    line-height: 1.5;
  }
}
.l-footer .l-footer__about--post {
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__about--post {
    margin-top: 0.5rem;
  }
}
.l-footer .l-footer__about--address {
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__about--address {
    margin-top: 0.5rem;
  }
}
.l-footer .l-footer-sns-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 1rem;
  margin-left: 4rem;
  gap: 2rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer-sns-area {
    margin-top: 2rem;
    margin-left: 0;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}
.l-footer .l-footer-sns {
  width: 4.8rem;
  height: auto;
}
.l-footer .l-footer__nav {
  font-size: 2.1rem;
  font-weight: 700;
  margin-top: 8rem;
}
.l-footer .l-footer__nav--title {
  font-size: 2.8rem;
  font-weight: 700;
  border-left: 7px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 1.4rem 0 1.1rem 1rem;
  position: relative;
}
@media (max-width: 767px) {
  .l-footer .l-footer__nav--title {
    margin-top: 20rem;
    font-size: 1.8rem;
  }
}
.l-footer .l-footer__nav--title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: calc(7px + 1rem);
  height: 4px;
  background: #333232;
  z-index: 1;
}
.l-footer .l-footer__nav--title:nth-of-type(2) {
  margin-top: 7rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__nav--title:nth-of-type(2) {
    margin-top: 3rem;
  }
}
.l-footer .l-footer__nav--content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 767px) {
  .l-footer .l-footer__nav--content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-left: 1rem;
  }
}
.l-footer .l-footer__column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 1rem;
}
.l-footer .l-footer__link--head {
  margin-top: 4.2rem;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
@media (max-width: 767px) {
  .l-footer .l-footer__link--head {
    font-size: 1.5rem;
    margin-top: 1.6rem;
  }
  .l-footer .l-footer__link--head::before {
    content: "▶︎";
    display: inline-block;
    margin-right: 0.8rem;
    font-size: 1rem;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
  }
}
.l-footer .l-footer__column.is-open .l-footer__link--head::before {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.l-footer .l-footer__sub-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (max-width: 767px) {
  .l-footer .l-footer__sub-list {
    font-size: 1.5rem;
  }
}
.l-footer .l-footer__sub-link {
  margin-top: 2.5rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__sub-link {
    font-size: 1.5rem;
  }
}
.l-footer .l-footer__nav--content__other {
  margin: 2.8rem 0 10rem;
}
@media (max-width: 767px) {
  .l-footer .l-footer__nav--content__other {
    margin-bottom: 8.5rem;
    padding-left: 0;
  }
}
.l-footer .l-copyright {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
}
@media (max-width: 767px) {
  .l-footer .l-copyright {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .l-footer__sub-list {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
  }
  .l-footer__column.is-open .l-footer__sub-list {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    padding-left: 3rem;
  }
}
@media (max-width: 767px) {
  .l-footer__nav--content__other {
    display: grid !important;
    grid-template-columns: 2fr 3fr !important;
    gap: 0.5rem 2rem;
  }
  .l-footer__nav--content__other .l-footer__column {
    margin-bottom: 0;
    display: block;
  }
  .l-footer__nav--content__other .l-footer__link--head::before {
    display: none;
  }
}
.l-footer_copy {
  background: #333232;
  height: 17rem;
  color: #fff;
  padding: 0 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.l-footer_copy .l-copyright {
  font-size: 2rem;
}

@media (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}

.u-mt1 {
  margin-top: 1rem;
}

.u-mlr05 {
  margin: 0 0.5rem;
}

.u-red {
  color: #ff0000;
}

.u-br-pc {
  display: block;
}
@media (max-width: 767px) {
  .u-br-pc {
    display: none;
  }
}

.u-br-sp {
  display: none;
}
@media (max-width: 767px) {
  .u-br-sp {
    display: block;
  }
}

@media (max-width: 767px) {
  .u-p03 {
    padding: 0 3rem !important;
  }
}

.u-pt15 {
  padding-top: 15rem;
}

.u-highlight {
  font-weight: 700;
}

.u-space {
  margin-top: 11rem;
}

@media (max-width: 767px) {
  .u-sp__none {
    display: none;
  }
}

.fv-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1600/650;
}
@media (max-width: 767px) {
  .fv-image {
    aspect-ratio: auto;
    /* SP画像は固有比率を使う */
  }
}

.outline {
  background: url("../img/top/bg-body.webp") center center/cover no-repeat;
  position: relative;
}
@media (max-width: 767px) {
  .outline {
    padding-bottom: 3rem;
  }
}

.message-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.5rem;
  padding-top: 8rem;
}
@media (max-width: 767px) {
  .message-head {
    display: block;
    padding: 1rem 2rem 0;
  }
}

.message-head__text-area {
  width: 52.5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}
@media (max-width: 767px) {
  .message-head__text-area {
    width: 100%;
  }
}
.message-head__text-area::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-l.webp) center center/contain no-repeat;
  top: -4rem;
  left: -2rem;
  width: 35rem;
  height: 24rem;
}
@media (max-width: 767px) {
  .message-head__text-area::before {
    width: 24.85rem;
    height: 17.04rem;
  }
}

.message-head__title {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 5.4rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  position: relative;
  padding: 2rem 0 2rem 27rem;
}
@media (max-width: 767px) {
  .message-head__title {
    font-size: 3rem;
    padding: 2rem 0 1rem;
    text-align: center;
  }
}
.message-head__title::before {
  content: "";
  height: 0.2rem;
  width: 100%;
  left: 0;
  bottom: 0;
  position: absolute;
  background: #41210d;
}

.message-head__text {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding-left: 27rem;
  padding-top: 2rem;
}
@media (max-width: 767px) {
  .message-head__text {
    font-size: 1.6rem;
    padding-left: 0;
    padding-top: 1.5rem;
    text-align: center;
    line-height: 1.4;
  }
}

.message-head__image-area {
  width: 46.25%;
}
@media (max-width: 767px) {
  .message-head__image-area {
    width: 38rem;
    margin: 3rem -2rem 0 0;
  }
}

.message-middle {
  text-align: center;
  margin-top: 4rem;
  position: relative;
}
@media (max-width: 767px) {
  .message-middle {
    margin-top: 3.5rem;
    padding: 0 2rem;
  }
}
.message-middle::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-l.webp) center center/contain no-repeat;
  top: 100%;
  left: 0;
  width: 35rem;
  height: 24rem;
  z-index: 0;
}
@media (max-width: 767px) {
  .message-middle::before {
    display: none;
  }
}
.message-middle::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-r.webp) center center/contain no-repeat;
  top: 0;
  -webkit-transform: translateY(-18%);
          transform: translateY(-18%);
  right: 0;
  width: 37.8rem;
  height: 31.2rem;
  z-index: 0;
}
@media (max-width: 767px) {
  .message-middle::after {
    width: 26.84rem;
    height: 22.16rem;
    top: 633%;
  }
}

.message-middle__title {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 767px) {
  .message-middle__title {
    font-size: 2.6rem;
  }
}

.message-middle__text {
  font-size: 3rem;
  text-align: center;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 2.5rem;
}
@media (max-width: 767px) {
  .message-middle__text {
    font-size: 1.6rem;
    margin-top: 3.5rem;
  }
}

.message-middle__text--decoration {
  margin-top: 5rem;
  position: relative;
}
@media (max-width: 767px) {
  .message-middle__text--decoration {
    margin-top: 2.5rem;
  }
}
.message-middle__text--decoration::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 30rem;
  height: 2.75rem;
}
@media (max-width: 767px) {
  .message-middle__text--decoration::before {
    width: 20rem;
    height: 2rem;
    bottom: -3.5rem;
  }
}

.message-bottom {
  width: 90rem;
  margin: 12.5rem auto 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  row-gap: 2rem;
  -webkit-column-gap: 4rem;
     -moz-column-gap: 4rem;
          column-gap: 4rem;
  padding-bottom: 4rem;
}
@media (max-width: 767px) {
  .message-bottom {
    width: 100%;
    margin-top: 7rem;
    grid-template-columns: 1fr;
    row-gap: 9.5rem;
    padding: 0 2.5rem 5rem;
  }
}
.message-bottom::before {
  content: "";
  position: absolute;
  background: url(../img/top/top02.webp) center center/contain no-repeat;
  top: 3%;
  left: -28%;
  width: 64.33rem;
  height: 39.8rem;
  z-index: 1;
}
@media (max-width: 767px) {
  .message-bottom::before {
    width: 34.1rem;
    height: 21.1rem;
    top: 22.5%;
    left: -11%;
  }
}
.message-bottom::after {
  content: "";
  position: absolute;
  background: url(../img/top/top03.webp) no-repeat center center/contain;
  top: -4%;
  right: -33%;
  width: 67.41rem;
  height: 52.21rem;
  z-index: 1;
}
@media (max-width: 767px) {
  .message-bottom::after {
    top: 56%;
    right: -6%;
    width: 30.6rem;
    height: 23.6rem;
  }
}

.message-circle {
  position: relative;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e60012;
  overflow: hidden;
  z-index: 2;
}
@media (max-width: 767px) {
  .message-circle {
    width: 32.6rem;
  }
}

.message-circle01 {
  width: 50rem;
  height: 50rem;
  grid-column: 1/-1;
}
@media (max-width: 767px) {
  .message-circle01 {
    width: 32.6rem;
    height: 32.6rem;
  }
}
.message-circle01 .message-circle__text--head {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  padding-top: 13%;
}
@media (max-width: 767px) {
  .message-circle01 .message-circle__text--head {
    font-size: 1.8rem;
    padding-top: 12%;
  }
}
.message-circle01 .message-circle__text--bottom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(255, 255, 255);
  border: 0.5rem solid #e60012;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  clip-path: inset(37% 0 0 0);
}

.message-circle__text--bottom__title {
  font-size: 5rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  padding-top: 42%;
}
@media (max-width: 767px) {
  .message-circle__text--bottom__title {
    font-size: 3.2rem;
  }
}

.message-circle__text--bottom__text {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.08em;
  line-height: 1.5;
  padding-top: 1rem;
}
@media (max-width: 767px) {
  .message-circle__text--bottom__text {
    font-size: 2.2rem;
  }
}

.message-circle02 {
  width: 40rem;
  height: 40rem;
  -webkit-transform: translateY(-8%);
          transform: translateY(-8%);
}
@media (max-width: 767px) {
  .message-circle02 {
    width: 32.6rem;
    height: 32.6rem;
    -webkit-transform: none;
            transform: none;
  }
}
.message-circle02 .message-circle__text--head {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-align: center;
  padding-top: 20%;
}
@media (max-width: 767px) {
  .message-circle02 .message-circle__text--head {
    font-size: 1.7rem;
    padding-top: 16%;
  }
}
.message-circle02 .message-circle__text--bottom__title {
  font-size: 5rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  padding-top: 40%;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .message-circle02 .message-circle__text--bottom__title {
    font-size: 3.4rem;
  }
}
.message-circle02 .message-circle__text--bottom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(255, 255, 255);
  border: 0.5rem solid #e60012;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  clip-path: inset(50% 0 0 0);
  padding-top: 12%;
}

.message-circle03 {
  width: 40rem;
  height: 40rem;
  -webkit-transform: translateY(-8%);
          transform: translateY(-8%);
}
@media (max-width: 767px) {
  .message-circle03 {
    width: 32.6rem;
    height: 32.6rem;
    -webkit-transform: none;
            transform: none;
  }
}
.message-circle03 .message-circle__text--head {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-align: center;
  padding-top: 20%;
}
@media (max-width: 767px) {
  .message-circle03 .message-circle__text--head {
    font-size: 1.7rem;
    padding-top: 16%;
  }
}
.message-circle03 .message-circle__text--bottom__title {
  font-size: 5rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  padding-top: 40%;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .message-circle03 .message-circle__text--bottom__title {
    font-size: 3.4rem;
  }
}
.message-circle03 .message-circle__text--bottom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(255, 255, 255);
  border: 0.5rem solid #e60012;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  clip-path: inset(50% 0 0 0);
  padding-top: 12%;
}

.course {
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .course {
    background-size: 3rem 3rem;
  }
}
.course {
  padding: 8.7rem 0 8.2rem;
}
@media (max-width: 767px) {
  .course {
    padding: 4rem 0 6rem;
  }
}

.course-inner {
  width: 104rem;
  padding: 0 2rem;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .course-inner {
    width: 100%;
    padding: 0 2.5rem;
  }
}

/* thought の .section-title__thought と同じ構成・同じフォントサイズ。
   上段＝ドリームミュージック藤沢kotokoto（3.5rem）／下段＝span に蛍光ペン＋バンティング */
.course-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  letter-spacing: 0.14em;
}
@media (max-width: 767px) {
  .course-title {
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}
.course-title span {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .course-title span {
    font-size: 2.6rem;
  }
}
.course-title span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 41rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .course-title span::before {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

.course-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 8rem;
}
@media (max-width: 767px) {
  .course-flex {
    display: block;
    margin-top: 7rem;
  }
}

.course-item {
  background: #e60012;
  width: 49rem;
  min-height: 57.6rem;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-decoration: none; /* カード全体をリンク化（各コースページへ遷移） */
  color: inherit; /* リンク既定色を無効化し本文色を維持 */
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .course-item {
    width: 100%;
    min-height: 39rem;
    padding: 1.2rem 2rem;
  }
}
.course-item:hover {
  -webkit-transform: translateY(-0.5rem);
          transform: translateY(-0.5rem);
}

@media (max-width: 767px) {
  .course-item + .course-item {
    margin-top: 2rem;
  }
}

.course-item__piano::before {
  content: "";
  position: absolute;
  background: url(../img/top/icon-piano.webp) no-repeat center center/contain;
  width: 5.8rem;
  height: 5.8rem;
  top: 2rem;
  left: 2rem;
}
@media (max-width: 767px) {
  .course-item__piano::before {
    width: 4rem;
    height: 4rem;
    top: 1rem;
  }
}

.course-item__rhythmic::before {
  content: "";
  position: absolute;
  background: url(../img/top/icon-rhythmic.webp) no-repeat center center/contain;
  width: 5.8rem;
  height: 5.8rem;
  top: 2rem;
  left: 2rem;
}
@media (max-width: 767px) {
  .course-item__rhythmic::before {
    width: 4rem;
    height: 4rem;
    top: 1rem;
  }
}

.course-item__title {
  font-size: 4.5rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  text-align: center;
  color: #fff;
}
@media (max-width: 767px) {
  .course-item__title {
    font-size: 3rem;
  }
}

.course-item__image {
  margin-top: 2.4rem;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .course-item__image {
    margin-top: 1.2rem;
  }
}

.course-item__text {
  background: #fff;
  margin-top: 2rem;
  padding: 2.8rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  line-height: 1.675;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  font-size: 2rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .course-item__text {
    font-size: 1.3rem;
    padding: 2rem;
    margin-top: 1rem;
  }
}

.voice {
  background: url("../img/top/bg-voiice.webp") center center/cover no-repeat;
  position: relative;
  z-index: 0; /* 重なりコンテキストを作り、装飾擬似要素(z-index:-1)を背面・中身を前面に */
  padding: 7.5rem 0 17rem;
}
@media (max-width: 767px) {
  .voice {
    padding: 4rem 0 5rem;
  }
}
.voice::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-l.webp) center center/contain no-repeat;
  top: 0;
  left: 0;
  width: 35rem;
  height: 24rem;
  z-index: -1;
}
@media (max-width: 767px) {
  .voice::before {
    width: 24.85rem;
    height: 17.04rem;
  }
}
.voice::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-r.webp) center center/contain no-repeat;
  bottom: 0;
  right: 0;
  width: 37.8rem;
  height: 31.2rem;
  z-index: -1;
}
@media (max-width: 767px) {
  .voice::after {
    width: 26.84rem;
    height: 22.16rem;
  }
}

.section-title__voice {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .section-title__voice {
    font-size: 1.6rem;
  }
}
.section-title__voice span {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .section-title__voice span {
    font-size: 2.6rem;
  }
}
.section-title__voice span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 41rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .section-title__voice span::before {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

.swiper-container-voice {
  margin-top: 21rem;
  position: relative;
  /* ナビボタンの絶対配置の基準にする（.voiceセクションではなくスライダー領域に） */
}
@media (max-width: 767px) {
  .swiper-container-voice {
    margin-top: 6rem;
  }
}

/* ===== お客様の声 スライドカード ===== */
/* Swiper v8 の .swiper-slide が style.css より後に読み込まれて上書きしてくるため、
   .swiper-slide との複合クラスで専有度を上げて確実にオーバーライドする */
.swiper-slide.voice-slide {
  width: 50rem;
  /* PC：1倍時の基準幅（×1.2＝60rem）。slidesPerView:'auto'で有効 */
  height: auto;
  /* Swiper側の height:100% を打ち消す */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* 内側カードを中央寄せ（SPの1枚表示でカードを中央に） */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: scale(1);
          transform: scale(1);
  /* 両サイド（非アクティブ）は1倍 */
  -webkit-transform-origin: center center;
          transform-origin: center center;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.swiper-slide.voice-slide.swiper-slide-active {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
  /* アクティブスライド（中央）は1.2倍 */
  z-index: 2;
  /* 拡大時に両隣スライドの上に重ねる */
}
@media (max-width: 767px) {
  .swiper-slide.voice-slide.swiper-slide-active {
    -webkit-transform: none;
            transform: none;
    min-height: 45rem;
    /* SPは1枚表示なので拡大しない（横はみ出し防止） */
  }
}

/* カード本体。SPは slidesPerView:1 でスロット＝画面幅になるため、
   ここで幅 33.7rem に絞って中央寄せ＝1枚カード＋左右余白に矢印（隣スライドは画面外） */
.voice-slide__inner {
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* 中身を縦並びに */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* 子（特にピル）を水平中央 */
}
@media (max-width: 767px) {
  .voice-slide__inner {
    max-width: 33.7rem;
    /* SP：スライド（カード）幅 */
    margin: 0 auto;
    padding: 2.5rem 2rem;
  }
}

.voice-slide__image {
  margin: 0;
  width: 24rem;
  /* 固定サイズの正方形コンテナ */
  height: 24rem;
  border-radius: 50%;
  /* 正円にクリップ */
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  /* flexの縮小を防止 */
}
@media (max-width: 767px) {
  .voice-slide__image {
    width: 13.6rem;
    height: 13.6rem;
  }
}
.voice-slide__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 元画像のアスペクト比に関わらず中央クロップ */
}

.voice-slide__user {
  display: inline-block;
  background: #e60012;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  padding: 0.5rem 2rem;
  border-radius: 9999px;
  margin-top: 3rem;
}
@media (max-width: 767px) {
  .voice-slide__user {
    font-size: 1.1rem;
    margin-top: 2rem;
  }
}

.voice-slide__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .voice-slide__tags {
    gap: 0.6rem;
    margin-top: 1rem;
  }
}

.voice-slide__tag {
  display: inline-block;
  background: #48331c;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.5rem 1.6rem;
  border-radius: 5rem;
}
@media (max-width: 767px) {
  .voice-slide__tag {
    font-size: 1.1rem;
    padding: 0.5rem 1.4rem;
  }
}

.voice-slide__title {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2.4rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  line-height: 1.56;
  margin-top: 3rem;
  -ms-flex-item-align: stretch;
      align-self: stretch;
  text-align: center;
  /* ご指定：中央寄せ */
}
@media (max-width: 767px) {
  .voice-slide__title {
    font-size: 1.4rem;
    margin-top: 2rem;
  }
}

.voice-slide__text {
  font-size: 1.6rem;
  line-height: 2;
  margin-top: 3rem;
  text-align: left;
  -ms-flex-item-align: stretch;
      align-self: stretch;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  /* 本文が残り高さを埋める＝カード高さの統一に寄与 */
}
@media (max-width: 767px) {
  .voice-slide__text {
    font-size: 1rem;
    margin-top: 2rem;
  }
}
.voice-slide__text p {
  margin: 0;
}

/* ナビゲーションボタン（画像差し替え）。Swiper後読み対策で .swiper-container-voice にスコープして専有度を確保 */
.swiper-container-voice .swiper-button-prev,
.swiper-container-voice .swiper-button-next {
  width: 3.8rem;
  height: 3.8rem;
  margin-top: 0;
  /* Swiperの縦中央用 margin-top(-22px) を打ち消す */
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  /* 指定座標にボタン中心を合わせる（縦中央も担保） */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (max-width: 767px) {
  .swiper-container-voice .swiper-button-prev,
  .swiper-container-voice .swiper-button-next {
    width: 3.1rem;
    height: 3.1rem;
  }
}
.swiper-container-voice .swiper-button-prev::after,
.swiper-container-voice .swiper-button-next::after {
  content: none;
  /* デフォルトの矢印アイコンを消す */
}
.swiper-container-voice .swiper-button-prev {
  background-image: url(../img/top/btn-prev.webp);
  left: calc(50% - 36.5rem);
  /* 中央スライド左縁(-30rem)と隣スライド(-43rem)の中間 */
  right: auto;
}
@media (max-width: 767px) {
  .swiper-container-voice .swiper-button-prev {
    left: 1rem;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    /* SPはスライダー左端へ */
  }
}
.swiper-container-voice .swiper-button-next {
  background-image: url(../img/top/btn-next.webp);
  left: calc(50% + 36.5rem);
  /* 中央スライド右縁(+30rem)と隣スライド(+43rem)の中間 */
  right: auto;
}
@media (max-width: 767px) {
  .swiper-container-voice .swiper-button-next {
    left: auto;
    right: 1rem;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    /* SPはスライダー右端へ */
  }
}

.thought {
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .thought {
    background-size: 3rem 3rem;
  }
}
.thought {
  padding: 8rem 0 11rem;
}
@media (max-width: 767px) {
  .thought {
    padding: 4rem 0 3.5rem;
  }
}

.section-title__thought {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  letter-spacing: 0.14em;
}
@media (max-width: 767px) {
  .section-title__thought {
    font-size: 1.8rem;
    padding: 0 2rem;
    letter-spacing: 0.04em;
  }
}
.section-title__thought span {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .section-title__thought span {
    font-size: 2.6rem;
  }
}
.section-title__thought span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 41rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .section-title__thought span::before {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

.thought-image {
  width: 86rem;
  height: auto;
  margin: 10rem auto 0;
}
@media (max-width: 767px) {
  .thought-image {
    width: 30rem;
    margin: 6.5rem auto 0;
  }
}

/* サムネイル＋YouTube再生ボタン（クリックでモーダル再生）。thought・voiceバナー共通 */
.youtube-thumb {
  position: relative;
  display: block;
  cursor: pointer;
}
.youtube-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.youtube-thumb:hover .youtube-play {
  background: rgba(255, 0, 0, 0.9);
}

/* YouTube風の赤い再生ボタン（白い三角） */
.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 9rem;
  height: 6.3rem;
  background: rgba(255, 0, 0, 0.7);
  border-radius: 1.5rem;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
  pointer-events: none;
}
@media (max-width: 767px) {
  .youtube-play {
    width: 6rem;
    height: 4.2rem;
    border-radius: 1rem;
  }
}
.youtube-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-40%, -50%);
          transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.3rem 0 1.3rem 2.2rem;
  border-color: transparent transparent transparent #fff;
}
@media (max-width: 767px) {
  .youtube-play::before {
    border-width: 0.9rem 0 0.9rem 1.5rem;
  }
}

/* YouTubeモーダル（久米川教室サイトと同一実装：overlay + body + .is-active） */
.youtube-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 4rem;
}
@media (max-width: 767px) {
  .youtube-modal {
    padding: 2rem;
  }
}

.youtube-modal.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.youtube-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.youtube-modal__body {
  position: relative;
  width: 100%;
  max-width: 120rem;
}

.youtube-modal__close {
  position: absolute;
  top: -6rem;
  right: 0;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
@media (max-width: 767px) {
  .youtube-modal__close {
    top: -4.5rem;
    width: 3.6rem;
    height: 3.6rem;
  }
}
.youtube-modal__close::before, .youtube-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 0.3rem;
  background: #fff;
}
.youtube-modal__close::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}
.youtube-modal__close::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}

.youtube-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.youtube-modal__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== 開室の想い：中央テキスト円＋四方に写真（案） ===== */
.thought-flex {
  position: relative;
  /* 左右写真の絶対配置の基準。幅は案：適宜調整可 */
  width: 128rem;
  margin: 6rem auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 767px) {
  .thought-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* 重なりコラージュ：本文を中央、写真を重ねる */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    margin-top: 9.5rem;
  }
}

/* 中央：白い円のテキストエリア（サイズ70remは指定通り維持） */
.thought-text-area {
  width: 70rem;
  height: 70rem;
  background: #fff;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  line-height: 2.375;
  font-size: 2rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .thought-text-area {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    /* 写真より先（上）に本文ボックス */
    width: 43.6rem;
    /* 画面幅(39rem)より大きい円。左右は均等に見切れる */
    height: 43.6rem;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    /* フレックスで縮ませない（見切れを許容） */
    padding: 0 5rem;
    /* 円の弧に文字がかからないよう左右に余白 */
    font-size: 1.5rem;
    line-height: 2.46;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    /* margin:0 auto は付けない。親 .thought-flex の align-items:center で
       左右中央＝はみ出し分が左右均等に見切れる（auto余白だと左寄せになる） */
  }
}

/* 左：講師写真＋名前。円の左に重ねて縦中央 */
.thought-flex__left {
  position: absolute;
  left: -4%;
  bottom: -3%;
  z-index: 1;
  text-align: center;
}
@media (max-width: 767px) {
  .thought-flex__left {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    /* 本文ボックスの下に講師写真＋名前。
       static のままだと z-index:1 の .thought-text-area（白い円）が
       後から上に描かれ、margin-top のマイナス分が円に隠れるため
       position:relative + z-index で明示的に前面へ出す */
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: -4rem;
  }
}
.thought-flex__left .thought-text-area__image03 {
  width: 46.4rem;
  height: auto;
}
@media (max-width: 767px) {
  .thought-flex__left .thought-text-area__image03 {
    width: 25.8rem;
    margin: 0 auto;
  }
}
.thought-flex__left .name {
  position: absolute;
  bottom: 1%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  width: 27rem;
  height: 5rem;
  background: #48331c;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  border-radius: 9999px;
}
@media (max-width: 767px) {
  .thought-flex__left .name {
    width: 15rem;
    height: 2.7rem;
    font-size: 1.4rem;
    bottom: 1rem;
  }
}

/* 右：上下2枚の写真。円の右に配置 */
.thought-flex__right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 31.4rem;
  z-index: 1;
}
@media (max-width: 767px) {
  .thought-flex__right {
    position: absolute;
    /* 本文ボックスに重ねる写真レイヤー */
    inset: 0;
    width: auto;
    margin: 0;
    z-index: 2;
    pointer-events: none;
    /* レイヤー自体はクリックを透過 */
  }
}

.thought-text-area__image01 {
  position: absolute;
  top: 0;
  right: 18%;
  width: 31.4rem;
  height: auto;
}
@media (max-width: 767px) {
  .thought-text-area__image01 {
    position: absolute;
    /* 本文ボックス右上に重ねる */
    top: -12%;
    left: -2%;
    width: 14.8rem;
  }
}

.thought-text-area__image02 {
  position: absolute;
  bottom: -2%;
  right: 46%;
  width: 26.4rem;
  height: auto;
}
@media (max-width: 767px) {
  .thought-text-area__image02 {
    position: absolute;
    /* 本文ボックス左側に重ねる */
    top: -10%;
    right: -4%;
    width: 14.2rem;
  }
}

.access {
  background: url(../img/top/bg-access.webp) no-repeat center center/cover;
  position: relative;
  isolation: isolate;
  /* 装飾擬似要素(z-index:-1)を確実にカード背面へ収めるためのスタックコンテキスト */
  padding: 9rem 0 7.5rem;
}
@media (max-width: 767px) {
  .access {
    padding: 6rem 0;
  }
}
.access::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-l.webp) center center/contain no-repeat;
  top: 0;
  left: 0;
  width: 35rem;
  height: 24rem;
  z-index: -1;
}
@media (max-width: 767px) {
  .access::before {
    width: 19.9rem;
    height: 12.2rem;
  }
}
.access::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-r.webp) center center/contain no-repeat;
  bottom: 0;
  right: 0;
  width: 37.8rem;
  height: 31.2rem;
  z-index: -1;
}
@media (max-width: 767px) {
  .access::after {
    width: 21.5rem;
    height: 17.7rem;
  }
}

.section-title__access {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  position: relative;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .section-title__access {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
  }
}
.section-title__access::before {
  content: "";
  position: absolute;
  top: 0rem;
  left: calc(50% - 34rem);
  /* 1行目テキスト左端の外側（案：要調整） */
  width: 6rem;
  height: 3rem;
  background: url(../img/top/decoration-title02.webp) center center/contain no-repeat;
}
@media (max-width: 767px) {
  .section-title__access::before {
    top: -1rem;
    left: calc(50% - 19rem);
    width: 4rem;
    height: 2rem;
  }
}
.section-title__access::after {
  content: "";
  position: absolute;
  top: 0rem;
  right: calc(50% - 34rem);
  /* 1行目テキスト右端の外側（案：要調整） */
  width: 6rem;
  height: 3rem;
  background: url(../img/top/decoration-title03.webp) center center/contain no-repeat;
}
@media (max-width: 767px) {
  .section-title__access::after {
    top: -1rem;
    right: calc(50% - 19rem);
    width: 4rem;
    height: 2rem;
  }
}
.section-title__access span {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .section-title__access span {
    font-size: 3rem;
  }
}

.access-flex {
  margin: 6rem auto 0;
  width: 100rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  /* 2枚のカードを同じ高さに揃える */
}
@media (max-width: 767px) {
  .access-flex {
    display: block;
    width: 100%;
    margin-top: 2rem;
    padding: 0 2.5rem;
    position: relative;
    z-index: 1;
  }
}

.access-item {
  position: relative;
  /* 絶対配置ボタンの基準 */
  width: 48rem;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.4rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.08);
          box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.08);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  z-index: 2;
  /* .access の装飾（三角パターン）がカードに被らないよう前面に出す */
}
@media (max-width: 767px) {
  .access-item {
    width: 100%;
    padding: 1.5rem 2rem;
    min-height: 45.4rem;
    /* 久米川準拠：下の 11rem（旧・道順詳細ボタン用の余白）を廃止し、
       固定 height ではなく min-height で中身に応じて伸ばす */
  }
}

@media (max-width: 767px) {
  .access-item + .access-item {
    margin-top: 3rem;
  }
}

.google-map {
  width: 100%;
  aspect-ratio: 430/243;
}
@media (max-width: 767px) {
  .google-map {
    width: 100%;
    height: 22rem;
    margin: 0 auto;
  }
}
.google-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-item__title {
  margin-top: 2rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .access-item__title {
    font-size: 1.8rem;
    margin-top: 2rem;
  }
}

.access-item__text {
  margin-top: 2rem;
  font-size: 1.6rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  line-height: 1.84;
}
@media (max-width: 767px) {
  .access-item__text {
    font-size: 1.2rem;
    margin-top: 1rem;
    letter-spacing: -0.02em;
  }
}

/* プッシュダウンボタン（ヘッダー .reserve-button と同じ2層構造） */
.access-item__btn {
  position: absolute;
  /* 右下に固定。flowから外して余白を出さない */
  right: 2.4rem;
  bottom: 2.8rem;
  text-decoration: none;
}
@media (max-width: 767px) {
  .access-item__btn {
    right: 1.6rem;
    bottom: 3.4rem;
  }
}
.access-item__btn::before {
  /* 影（沈み込む先）。色はカードごとに上書き */
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0.6rem;
  /* 沈み込み量 */
  width: 100%;
  height: 100%;
  border-radius: 0.8rem;
}

.access-item__btn--inner {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  /* アイコン＋テキストを縦並び */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.5rem;
  width: 12rem;
  /* 正方形ボタン */
  height: 12rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 0.8rem;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .access-item__btn--inner {
    width: 8.68rem;
    height: 7.96rem;
    font-size: 1.4rem;
  }
}

.access-item__btn:hover .access-item__btn--inner {
  -webkit-transform: translateY(0.6rem);
          transform: translateY(0.6rem);
  /* hoverで影に沈み込む */
}

.access-item__btn--icon {
  width: 3rem;
  height: auto;
  margin: 0;
}
@media (max-width: 767px) {
  .access-item__btn--icon {
    width: 2.2rem;
  }
}

.access-item__btn--text {
  margin: 0;
}

/* カードごとのボタン配色（サーフェス＝inner、影＝::before） */
.access-item01 .access-item__btn--inner {
  background: #e3003e;
}
.access-item01 .access-item__btn::before {
  background: #a30029;
  /* 暗い赤 */
}

.access-item02 .access-item__btn--inner {
  background: #fdcc00;
}
.access-item02 .access-item__btn::before {
  background: #c9a200;
  /* 暗い黄 */
}

.instagram {
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .instagram {
    background-size: 3rem 3rem;
  }
}
.instagram {
  position: relative;
  padding: 8rem 0 9.5rem;
}
@media (max-width: 767px) {
  .instagram {
    padding: 5.5rem 3rem 6rem;
  }
}

.section-title__instagram {
  text-align: center;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1rem;
  position: relative;
}
@media (max-width: 767px) {
  .section-title__instagram {
    font-size: 3rem;
    gap: 1rem;
  }
}
.section-title__instagram::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -4rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 30rem;
  height: 2.75rem;
}
@media (max-width: 767px) {
  .section-title__instagram::before {
    width: 18.5rem;
    height: 1.6rem;
    bottom: -3rem;
  }
}

.section-title__instagram--icon {
  width: 4.5rem;
  height: auto;
}
@media (max-width: 767px) {
  .section-title__instagram--icon {
    width: 3rem;
  }
}

/* ▼ 後々Instagramフィードを設置する可能性があるため、9枚グリッドはコメントアウトで残置
.instagram-flex {
  width: 86.5rem;
  margin: 8.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  // 3列グリッド
  gap: 4rem;

  @include sp {
    width: 100%;
    margin-top: 6rem;
    gap: 1rem;
  }
}

.instagram-item {
  aspect-ratio: 1;
  // 正方形セル
  overflow: hidden;
}

.instagram-item__link {
  display: block;
  width: 100%;
  height: 100%;

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    // 元画像比に関わらず正方形にトリミング
  }
}
▲ ここまで */
.instagram-banner {
  width: 86.5rem;
  margin: 8.5rem auto 0;
}
@media (max-width: 767px) {
  .instagram-banner {
    width: 100%;
    margin-top: 6rem;
  }
}

.instagram-banner__link {
  display: block;
}
.instagram-banner__link img {
  display: block;
  width: 100%;
  height: auto;
}

/* Instagram「Instagramはこちら」：ヘッダー .reserve-button のコードを流用したプッシュダウンボタン */
.instagram .push-btn {
  position: relative;
  display: block;
  /* 中央寄せのため block + margin auto（ヘッダーはinline-block） */
  width: 32rem;
  /* 1600px時の表示が小さいため固定幅32remに */
  margin: 4.5rem auto 0;
  text-decoration: none;
  border-radius: 5rem;
  -webkit-transition: opacity 0s;
  transition: opacity 0s;
}
@media (max-width: 767px) {
  .instagram .push-btn {
    width: 29.6rem;
    margin-top: 3rem;
  }
}
.instagram .push-btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  background-color: #b31c36;
}
.instagram .push-btn .push-btn__inner {
  position: relative;
  z-index: 1;
  display: block;
  background: #d41819;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  /* 固定幅32rem内でテキスト中央寄せ */
  padding: 2rem 4.4rem;
  border-radius: 5rem;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: transform 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .instagram .push-btn .push-btn__inner {
    font-size: 1.8rem;
  }
}
.instagram .push-btn:hover {
  opacity: 1;
}
.instagram .push-btn:hover .push-btn__inner {
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}

.news {
  background: url(../img/top/bg-body.webp) no-repeat center center/cover;
  overflow: hidden;
  padding: 8rem;
  position: relative;
}
@media (max-width: 767px) {
  .news {
    padding: 2rem 2.5rem 7.5rem;
  }
}
.news::before {
  display: none;
}
@media (max-width: 767px) {
  .news::before {
    display: block;
    content: "";
    position: absolute;
    background: url(../img/top/decoration-l.webp) center center/contain no-repeat;
    top: 0;
    left: 0;
    z-index: 0;
    width: 19.9rem;
    height: 12.2rem;
  }
}
.news::after {
  display: none;
}
@media (max-width: 767px) {
  .news::after {
    display: block;
    content: "";
    position: absolute;
    background: url(../img/top/decoration-r.webp) center center/contain no-repeat;
    bottom: 0;
    right: 0;
    width: 21.5rem;
    height: 17.7rem;
    z-index: 0;
  }
}

.news-inner {
  width: 100rem;
  margin: 0 auto;
  padding: 0 3rem;
}
@media (max-width: 767px) {
  .news-inner {
    width: 100%;
    padding: 0;
  }
}

.news-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 767px) {
  .news-flex {
    display: block;
  }
}

.section-title__news {
  font-size: 2.8rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  text-align: center;
  line-height: 1.4;
  margin-top: 2.5rem;
}
@media (max-width: 767px) {
  .section-title__news {
    font-size: 1.8rem;
    margin-top: 2rem;
    letter-spacing: 0.14em;
  }
}
.section-title__news span {
  display: inline;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.39;
  position: relative;
}
@media (max-width: 767px) {
  .section-title__news span {
    font-size: 2.6rem;
  }
}
.section-title__news span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 29rem;
  height: 3rem;
}
@media (max-width: 767px) {
  .section-title__news span::before {
    width: 19rem;
    height: 1.6rem;
    bottom: -4rem;
  }
}

@media (max-width: 767px) {
  .news-contents {
    margin-top: 3.5rem;
  }
}

.news-items {
  width: 58rem;
  max-height: 28rem;
  /* 4行分（1行7rem × 4）だけ表示 */
  overflow-y: auto;
  /* 縦スクロールのみ */
  overflow-x: hidden;
  /* 横スクロールは出さない */
}
@media (max-width: 767px) {
  .news-items {
    width: 100%;
    max-height: 40rem;
  }
}

.news-link {
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  /* 縦スクロールバー分を差し引いた幅にフィット（横はみ出し防止） */
  height: 7rem;
  /* 1行の高さを固定（3行=21remの基準） */
  padding: 1.8rem 0.5rem;
  text-decoration: none;
  border-bottom: 0.2rem dotted #48331c;
  /* ボーダーは下のみ */
}
@media (max-width: 767px) {
  .news-link {
    height: auto;
    padding: 2.5rem 0.5rem 1.5rem;
  }
}

.post-date {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #48331c;
}

.post-taxonomy {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2rem;
  background: #48331c;
  border-radius: 5rem;
  min-width: 15rem;
  padding: 0.5rem;
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .post-taxonomy {
    min-width: 15rem;
    font-size: 1.6rem;
  }
}

.post-title {
  display: inline-block;
  vertical-align: middle;
  max-width: 28rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #48331c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .post-title {
    display: block;
    max-width: 100%;
    margin-top: 2.8rem;
    white-space: normal;
  }
}

.c-more-btn__news {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 1rem;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
@media (max-width: 767px) {
  .c-more-btn__news {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 1.5rem;
    margin-top: 6rem;
  }
}
.c-more-btn__news .c-more-btn__text {
  font-size: 2rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
}
.c-more-btn__news .c-more-btn__icon {
  width: 3.1rem;
  height: 3.1rem;
}

.contact {
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .contact {
    background-size: 3rem 3rem;
  }
}
.contact {
  padding: 8rem 0 10rem;
}
@media (max-width: 767px) {
  .contact {
    padding: 4rem 0 6rem;
  }
}

.section-title__contact {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  letter-spacing: 0.14em;
}
@media (max-width: 767px) {
  .section-title__contact {
    font-size: 1.8rem;
  }
}
.section-title__contact span {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .section-title__contact span {
    font-size: 2.6rem;
  }
}
.section-title__contact span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 41rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .section-title__contact span::before {
    width: 18rem;
    height: 1.6rem;
    bottom: -4rem;
  }
}

.contact-link-box {
  width: 80rem;
  margin: 9rem auto 0;
  /* タイトル下のバンティング装飾を避ける */
  background: #fff;
  border: 0.3rem solid #48331c;
  border-radius: 3rem;
  padding: 4rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
}
@media (max-width: 767px) {
  .contact-link-box {
    width: 100%;
    max-width: 35.6rem;
    margin: 6rem auto 0;
    padding: 2rem 0;
    border-radius: 1.5rem;
  }
}

.contact-link-box__text {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.1em;
}
@media (max-width: 767px) {
  .contact-link-box__text {
    font-size: 2rem;
  }
}

/* メールフォームへ：ヘッダー .reserve-button を踏襲したプッシュダウンボタン（contact限定） */
.contact .push-btn {
  position: relative;
  display: block;
  width: 42rem;
  margin: 3rem auto 0;
  text-decoration: none;
  border-radius: 5rem;
  -webkit-transition: opacity 0s;
  transition: opacity 0s;
}
@media (max-width: 767px) {
  .contact .push-btn {
    width: 29.5rem;
    margin-top: 1.5rem;
  }
}
.contact .push-btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  background-color: #b31c36;
}
.contact .push-btn .push-btn__inner {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.5rem;
  background: #d41819;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  padding: 2rem 6rem;
  border-radius: 5rem;
  white-space: nowrap;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .contact .push-btn .push-btn__inner {
    font-size: 1.6rem;
    padding: 1.8rem 3rem;
  }
}
.contact .push-btn:hover .push-btn__inner {
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
  /* hoverで影に沈み込む */
}

.push-btn__icon {
  width: 3rem;
  margin: 0;
}
@media (max-width: 767px) {
  .push-btn__icon {
    width: 1.9rem;
  }
}
.push-btn__icon img {
  display: block;
  width: 100%;
}

.push-btn__text {
  margin: 0;
}

/* ボタン末尾の白い三角。ヘッダー .header-trial-btn__arrow と同じ border による描画。
   文字の「▶」（U+25B6）は絵文字扱いのコードポイントで、iOS実機では青いアプリアイコン風の
   絵文字にすり替わってしまうため、全ボタンでこのCSS三角形に統一している。
   親 .push-btn__inner が flex + gap なので、テキストとの間隔は gap 側で付く。 */
.push-btn__arrow {
  display: inline-block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.2rem;
  border-color: transparent transparent transparent #fff;
}
@media (max-width: 767px) {
  .push-btn__arrow {
    border-width: 0.5rem 0 0.5rem 0.9rem;
  }
}

.contact-tel__text {
  font-size: 1.7rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-top: 2rem;
  text-align: center;
}
.contact-tel__text span {
  font-size: 2rem;
}

/* =========================================================
   リトミック紹介ページ（page-rhythmic.php）
   ・ピアノページ（_piano.scss）と同じデザイン言語に統一。
     タイトル装飾・赤ドーム番号カード・白カード＋赤帯・はみ出し写真・
     料金ボックス・スケジュールなど。
   ・about/teacher の写真は透過ブロブ、講師写真は円形、料金は単一ボックス、
     スケジュールはピル型 ＝ リトミック固有の構造はそのまま維持。
   ========================================================= */
/* セクション共通ラッパ（piano-section と統一） */
.rhythmic-section {
  background: url(../img/top/bg-body.webp) center center/cover no-repeat;
  position: relative;
  padding: 8rem 0 9rem;
}
@media (max-width: 767px) {
  .rhythmic-section {
    padding: 3rem 0 10rem;
  }
}

.rhythmic-inner {
  width: 132rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .rhythmic-inner {
    padding: 0 2rem;
  }
}

/* =========================================================
   セクションタイトル（piano-title と統一：小見出し＋蛍光マーカー大見出し＋バンティング装飾）
   ========================================================= */
.rhythmic-title {
  text-align: center;
  font-size: 7rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  letter-spacing: 0.02em;
}
@media (max-width: 767px) {
  .rhythmic-title {
    font-size: 3rem;
  }
}

.rhythmic-title span {
  display: inline;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .rhythmic-title span {
    font-size: 3rem;
  }
}

.rhythmic-title span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 30rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .rhythmic-title span::before {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

/* 小見出し（1行目）にもマーカー。本体spanのマーカーを流用しつつ、サイズ縮小＋バンティング装飾を無効化 */
.rhythmic-title .rhythmic-title__sub {
  font-size: 5rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .rhythmic-title .rhythmic-title__sub {
    font-size: 3rem;
  }
}

.rhythmic-title .rhythmic-title__sub::before {
  content: none;
}

/* 単一行タイトル（レッスン紹介・講師紹介・料金）は piano と同じく 5rem／line-height 1.5 */
.rhythmic-title--single span {
  font-size: 5rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
@media (max-width: 767px) {
  .rhythmic-title--single span {
    font-size: 2.6rem;
    letter-spacing: 0;
  }
}

/* =========================================================
   リトミックとは（piano-about と同じ：テキスト＋透過ブロブ写真の全幅2カラム。
   テキストは端から16rem余白／写真は逆側の端へはみ出す）
   ========================================================= */
.rhythmic-about__body {
  margin-top: 11rem;
}
@media (max-width: 767px) {
  .rhythmic-about__body {
    margin-top: 3rem;
    padding-left: 0;
  }
}

.rhythmic-about__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-top: 2rem;
}
@media (max-width: 767px) {
  .rhythmic-about__row {
    display: block;
  }
}

.rhythmic-about__row + .rhythmic-about__row {
  margin-top: 8rem;
}
@media (max-width: 767px) {
  .rhythmic-about__row + .rhythmic-about__row {
    margin-top: 3rem;
  }
}

.rhythmic-about__row--reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 7rem;
}

.rhythmic-about__row--reverse .rhythmic-about__image {
  margin-top: -13rem;
}
@media (max-width: 767px) {
  .rhythmic-about__row--reverse .rhythmic-about__image {
    width: 97%;
    margin-top: 3.5rem;
    margin-right: auto;
    margin-left: 0;
  }
}

.rhythmic-about__row--reverse .rhythmic-about__text-area {
  padding-left: 0;
}

.rhythmic-about__text-area {
  width: 54%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6rem;
  padding: 6rem 0 0 16rem;
}
@media (max-width: 767px) {
  .rhythmic-about__text-area {
    width: 100%;
    padding: 2rem 2.5rem 0;
    gap: 2rem;
    font-size: 1.6rem;
  }
}

.rhythmic-about__heading {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .rhythmic-about__heading {
    font-size: 1.6rem;
    text-align: center;
  }
}

.rhythmic-about__text {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
}
@media (max-width: 767px) {
  .rhythmic-about__text {
    font-size: 1.6rem;
    text-align: center;
    padding: 0 2.5rem;
  }
}

.rhythmic-about__image {
  width: 50%;
  margin: 0;
  overflow: hidden;
}
@media (max-width: 767px) {
  .rhythmic-about__image {
    width: 97%;
    margin-top: 3.5rem;
    margin-left: auto;
  }
}

.rhythmic-about__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* =========================================================
   選ばれる３つのポイント（赤カード＋赤ドーム番号＋白テキストボックス）
   piano-point と統一。タイトルは長文のため min-height で写真位置を揃える。
   ========================================================= */
.rhythmic-point {
  background: #fff;
}
@media (max-width: 767px) {
  .rhythmic-point {
    padding-bottom: 4.5rem;
  }
}

.rhythmic-point__list {
  margin-top: 21rem;
  padding: 0 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 3rem;
}
@media (max-width: 767px) {
  .rhythmic-point__list {
    display: block;
    margin-top: 11rem;
    padding: 0 3rem;
  }
}

.rhythmic-point__item {
  width: 33.33%;
  background: #e60012;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem 3rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #fff;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: visible;
}
@media (max-width: 767px) {
  .rhythmic-point__item {
    width: 100%;
    padding: 4rem 1.5rem 1.5rem;
  }
}

@media (max-width: 767px) {
  .rhythmic-point__item + .rhythmic-point__item {
    margin-top: 9rem;
  }
}

/* 赤い半円ドームの番号（カード上端にまたがる。背面に置きタイトルを前面に） */
.rhythmic-point__num {
  width: 16rem;
  height: 16rem;
  border-radius: 50% 50% 0 0;
  position: absolute;
  top: -8rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 0;
  background: #e60012;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
}
@media (max-width: 767px) {
  .rhythmic-point__num {
    width: 11rem;
    height: 11rem;
    top: -5.5rem;
  }
}

.rhythmic-point__num p {
  -webkit-transform: translateY(-30%);
          transform: translateY(-30%);
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 767px) {
  .rhythmic-point__num p {
    font-size: 4.4rem;
  }
}

.rhythmic-point__title {
  position: relative;
  z-index: 1;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: -0.03em;
  min-height: 23rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (max-width: 767px) {
  .rhythmic-point__title {
    font-size: 2.2rem;
    min-height: 0;
  }
}

.rhythmic-point__image {
  margin: 1rem 0 0;
  width: 100%;
  aspect-ratio: 450/193;
  border-radius: 0.8rem;
  overflow: hidden;
}
@media (max-width: 767px) {
  .rhythmic-point__image {
    margin-top: 1.5rem;
  }
}

.rhythmic-point__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.rhythmic-point__text {
  position: relative;
  z-index: 1;
  min-height: 20.5rem;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1; /* 残り高さを埋めてカード高さを揃える */
  margin-top: 2rem;
  background: #fff;
  color: #47331b;
  padding: 1.5rem 2rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
}
@media (max-width: 767px) {
  .rhythmic-point__text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1.5rem;
    padding: 2rem;
    letter-spacing: 0.04em;
    min-height: 14rem;
  }
}

/* =========================================================
   リトミックのレッスン紹介（白カード＋全幅赤帯＋右はみ出しブロブ写真）
   piano-course--bleed と同じ構造。背景は専用画像。
   ========================================================= */
.rhythmic-lesson {
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .rhythmic-lesson {
    background-size: 3rem 3rem;
  }
}

.rhythmic-lesson__list {
  margin-top: 11rem;
}
@media (max-width: 767px) {
  .rhythmic-lesson__list {
    margin-top: 7rem;
  }
}

.rhythmic-lesson__item {
  position: relative;
  display: block;
  min-height: 36rem;
  background: #fff;
  overflow: visible;
}
@media (max-width: 767px) {
  .rhythmic-lesson__item {
    min-height: 0;
    /* SPは画像を白カードの外（背景の上）に出すため、白背景はテキスト側に持たせる */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background: transparent;
  }
}

.rhythmic-lesson__item + .rhythmic-lesson__item {
  margin-top: 14rem;
}
@media (max-width: 767px) {
  .rhythmic-lesson__item + .rhythmic-lesson__item {
    margin-top: 5rem;
  }
}

/* 赤いタイトル帯：カード上部に横いっぱい（カード上端の角丸に合わせる） */
.rhythmic-lesson__head {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #e60012;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 2.5rem 5rem;
  text-align: left;
}
@media (max-width: 767px) {
  .rhythmic-lesson__head {
    font-size: 3rem;
    padding: 1.2rem;
    text-align: center;
  }
}

.rhythmic-lesson__text {
  position: relative;
  z-index: 2;
  max-width: 75rem;
  padding: 4rem 5rem 5rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.9;
}
@media (max-width: 767px) {
  .rhythmic-lesson__text {
    background: #fff; /* SPは白背景をテキスト側へ。赤帯＋白テキストでカードを構成 */
    max-width: none;
    padding: 2.5rem 2.5rem 3rem;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
  }
}

/* 透過ブロブ写真（円に切り抜かずそのまま）を右端からはみ出す。SPは帯の下に中央配置 */
/* 共通：縦中央＋右はみ出し配置。はみ出し幅・位置は写真ごとに個別指定（下） */
.rhythmic-lesson__image {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  height: auto;
  margin: 0;
  z-index: 1;
}
@media (max-width: 767px) {
  .rhythmic-lesson__image {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1; /* 白カードの上（背景の上）に出す */
    position: static;
    -webkit-transform: none;
            transform: none;
    width: 100%;
    max-width: 32rem;
    height: auto;
    margin: 0 auto 2rem;
    right: auto;
  }
}

/* 写真ごとにアスペクト比が異なるため、はみ出し幅・位置を個別指定（PCのみ。SPは共通の max-width:32rem 中央寄せ） */
.rhythmic-lesson__image--01 {
  width: 58.4rem; /* 0〜1歳：横長 */
  right: -5rem;
}

.rhythmic-lesson__image--02 {
  width: 48rem; /* 2〜3歳：ほぼ正方形 */
  right: -3rem;
}

.rhythmic-lesson__image--03 {
  width: 52rem; /* 年少〜年長 */
  right: -5rem;
}

.rhythmic-lesson__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   リトミック講師紹介（背景は専用画像。円形写真＋名前ピル＋白ボックス）
   piano-teacher のサイズ感に統一。
   ========================================================= */
.rhythmic-teacher {
  padding: 5rem 0 10rem;
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .rhythmic-teacher {
    background-size: 3rem 3rem;
  }
}
@media (max-width: 767px) {
  .rhythmic-teacher {
    padding: 3rem 0 6rem;
  }
}

/* 2行タイトルの装飾：H2（ブロック・text-align:center）基準で確実に左右中央へ */
.rhythmic-teacher .rhythmic-title--single {
  position: relative;
}

.rhythmic-teacher .rhythmic-title--single::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 30rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .rhythmic-teacher .rhythmic-title--single::after {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

/* 共通 span::before（インラインspan基準で中央がズレる）の装飾を無効化し、ブロック基準の ::after だけ残す */
.rhythmic-teacher .rhythmic-title--single span::before {
  content: none;
}

.rhythmic-teacher__head {
  position: relative;
  width: 51rem;
  margin: 13rem auto 0;
}
@media (max-width: 767px) {
  .rhythmic-teacher__head {
    width: 28rem;
    margin-top: 7rem;
  }
}

.rhythmic-teacher__photo {
  width: 51rem;
  height: 51rem;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
}
@media (max-width: 767px) {
  .rhythmic-teacher__photo {
    width: 30rem;
    height: 30rem;
  }
}

.rhythmic-teacher__photo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.rhythmic-teacher__name {
  position: absolute;
  left: 50%;
  bottom: -7.5rem;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 37rem;
  background: #48331c;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  padding: 1rem;
  border-radius: 9999px;
}
@media (max-width: 767px) {
  .rhythmic-teacher__name {
    width: 20rem;
    font-size: 2.1rem;
    padding: 1rem;
    bottom: -5rem;
  }
}

.rhythmic-teacher__box {
  width: 80rem;
  max-width: 100%;
  margin: 13.5rem auto 0;
  background: #fff;
  padding: 4rem 3rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .rhythmic-teacher__box {
    margin-top: 7.5rem;
    margin-left: -2rem;
    margin-right: -2rem;
    width: 100vw;
    max-width: 100vw;
    padding: 2.5rem 2rem;
  }
}

.rhythmic-teacher__career {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.4;
  border-bottom: 1px solid #000;
  text-align: center;
}
@media (max-width: 767px) {
  .rhythmic-teacher__career {
    font-size: 1.2rem;
  }
}

.rhythmic-teacher__text {
  margin-top: 3rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.4;
  letter-spacing: 0.14em;
}
@media (max-width: 767px) {
  .rhythmic-teacher__text {
    font-size: 1.2rem;
    margin-top: 2rem;
  }
}

/* =========================================================
   リトミックコースレッスン料金・スケジュール（白背景）
   料金は単一ボックス（piano の料金ボックスと同じ赤帯＋淡ピンク本文）。
   ========================================================= */
.rhythmic-price {
  background: #fff;
  padding-bottom: 10rem;
}
@media (max-width: 767px) {
  .rhythmic-price {
    padding: 6rem 0 5rem;
  }
}

/* 2行タイトルの装飾：H2（ブロック・text-align:center）基準で確実に左右中央へ */
.rhythmic-price .rhythmic-title--single {
  position: relative;
}

.rhythmic-price .rhythmic-title--single::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 30rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .rhythmic-price .rhythmic-title--single::after {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

/* 共通 span::before（インラインspan基準で中央がズレる）の装飾を無効化し、ブロック基準の ::after だけ残す */
.rhythmic-price .rhythmic-title--single span::before {
  content: none;
}

.rhythmic-price__box {
  width: 99rem;
  max-width: 100%;
  margin: 11rem auto 0;
  background: #fdeef0;
  border: 1px solid #e60012;
  border-radius: 1rem;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .rhythmic-price__box {
    margin-top: 7rem;
  }
}

.rhythmic-price__box-head {
  background: #e60012;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  padding: 2.5rem 1rem;
}
@media (max-width: 767px) {
  .rhythmic-price__box-head {
    font-size: 2.8rem;
    padding: 1.5rem 1rem;
  }
}

.rhythmic-price__box-body {
  padding: 4rem 2rem 2rem;
  text-align: center;
}
@media (max-width: 767px) {
  .rhythmic-price__box-body {
    padding: 3rem 2rem;
  }
}

/* 料金明細（時間／月謝／入会金）。
   ピアノページの料金ボックス（.piano-price__box-body p）とトンマナを揃え、
   中央寄せのプレーンな1段落＋<br> で組む。値も piano と同一 */
.rhythmic-price__box-body p {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #47331b;
}
@media (max-width: 767px) {
  .rhythmic-price__box-body p {
    font-size: 1.4rem;
  }
}

/* レッスンスケジュール（piano-schedule のタイトル装飾に統一。曜日はピル型を維持） */
.rhythmic-schedule {
  text-align: center;
}

.rhythmic-schedule__title {
  margin-top: 9rem;
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  letter-spacing: 0.14em;
  position: relative;
}
@media (max-width: 767px) {
  .rhythmic-schedule__title {
    margin-top: 6rem;
  }
}

/* 装飾（バンティング）は H3（ブロック・text-align:center）基準で左右中央へ。
   span は display:inline かつ2行なので、span 基準だと1行目の中央に寄ってズレる。
   .rhythmic-price .rhythmic-title--single と同じ方式・同じサイズに統一 */
.rhythmic-schedule__title::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 30rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .rhythmic-schedule__title::after {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

.rhythmic-schedule__title span {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .rhythmic-schedule__title span {
    font-size: 2.4rem;
  }
}

/* インライン span 基準の装飾は中央がズレるため無効化し、ブロック基準の ::after だけ残す */
.rhythmic-schedule__title span::before {
  content: none;
}

.rhythmic-schedule__pill {
  width: 57rem;
  max-width: 100%;
  margin: 11rem auto 0;
  background: #e60012;
  border-radius: 9999px; /* スタジアム型（端が半円） */
  color: #fff;
  padding: 3rem 6rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .rhythmic-schedule__pill {
    width: 30rem;
    margin-top: 7rem;
    padding: 0rem 6rem;
  }
}

.rhythmic-schedule__pill .rhythmic-schedule__pill-day,
.rhythmic-schedule__pill .rhythmic-schedule__pill-count {
  display: block;
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .rhythmic-schedule__pill .rhythmic-schedule__pill-day,
  .rhythmic-schedule__pill .rhythmic-schedule__pill-count {
    font-size: 2.2rem;
  }
}

/* 土曜日 と 年間34回 の間の白い区切り線 */
.rhythmic-schedule__pill .rhythmic-schedule__pill-day {
  padding-bottom: 1.6rem;
  border-bottom: 0.15rem solid #fff;
}
@media (max-width: 767px) {
  .rhythmic-schedule__pill .rhythmic-schedule__pill-day {
    padding: 1rem 0;
  }
}

.rhythmic-schedule__pill .rhythmic-schedule__pill-count {
  padding-top: 1.6rem;
}
@media (max-width: 767px) {
  .rhythmic-schedule__pill .rhythmic-schedule__pill-count {
    padding: 1rem 0;
  }
}

/* =========================================================
   ピアノ紹介ページ（page-piano.php）
   ・トップページのデザイン言語を踏襲（タイトル装飾・赤カード・プッシュ等）。
   ・FV / 生徒さんからの声 / アクセス / お問い合わせはトップ共通パーツを流用。
   ========================================================= */
/* セクション共通ラッパ */
.piano-section {
  background: url(../img/top/bg-body.webp) center center/cover no-repeat;
  position: relative;
  padding: 8rem 0 15rem;
}
@media (max-width: 767px) {
  .piano-section {
    padding: 3rem 0 10rem;
  }
}

.piano-inner {
  width: 132rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .piano-inner {
    padding: 0 2.5rem;
  }
}

/* セクションタイトル（小見出し＋蛍光マーカー大見出し＋バンティング装飾） */
.piano-title {
  text-align: center;
  font-size: 7rem;
  font-weight: 700;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  letter-spacing: 0.02em;
}
@media (max-width: 767px) {
  .piano-title {
    font-size: 3rem;
  }
}

.piano-title span {
  display: inline;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .piano-title span {
    font-size: 3rem;
  }
}

.piano-title span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 30rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .piano-title span::before {
    width: 18rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

/* 小見出し（1行目）にもマーカー。本体spanのマーカーを流用しつつ、サイズ縮小＋バンティング装飾を無効化 */
.piano-title .piano-title__sub {
  font-size: 5rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .piano-title .piano-title__sub {
    font-size: 3rem;
  }
}

.piano-title .piano-title__sub::before {
  content: none;
}

/* =========================================================
   ピアノ教室とは
   ========================================================= */
/* この節だけ中央104remではなく、テキスト/写真をカンプ端から左右16remの余白で全幅配置 */
.piano-about .piano-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 16rem;
}
@media (max-width: 767px) {
  .piano-about .piano-inner {
    padding: 0 2.5rem;
  }
}

.piano-about__body {
  margin-top: 11rem;
}
@media (max-width: 767px) {
  .piano-about__body {
    margin-top: 3rem;
    padding-left: 0;
  }
}

.piano-about__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 4rem;
}
@media (max-width: 767px) {
  .piano-about__row {
    display: block;
  }
}

.piano-about__row + .piano-about__row {
  margin-top: 6rem;
}
@media (max-width: 767px) {
  .piano-about__row + .piano-about__row {
    margin-top: 3rem;
  }
}

.piano-about__row--rev {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 7rem;
}
@media (max-width: 767px) {
  .piano-about__row--rev .piano-about__image {
    width: 97%;
    margin-top: 3.5rem;
    margin-right: auto;
    margin-left: 0;
  }
}

.piano-about__row--rev .piano-about__text-area {
  padding-left: 0;
}

.piano-about__text-area {
  width: 54%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 5rem;
  padding: 0rem 0 0 16rem;
}
@media (max-width: 767px) {
  .piano-about__text-area {
    width: 100%;
    padding-left: 0;
    gap: 2rem;
  }
}

.piano-about__text-area .paragraph {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
}
@media (max-width: 767px) {
  .piano-about__text-area .paragraph {
    font-size: 1.6rem;
    text-align: center;
  }
}

.piano-about__image {
  width: 50%;
  margin: 0;
  overflow: hidden;
}
@media (max-width: 767px) {
  .piano-about__image {
    width: 97%;
    margin-top: 3.5rem;
    margin-left: auto;
  }
}

.piano-about__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* =========================================================
   選ばれる３つのポイント（赤カード）
   ========================================================= */
.piano-point {
  background: #fff;
}
@media (max-width: 767px) {
  .piano-point {
    padding-bottom: 4.5rem;
  }
}

.piano-point__list {
  margin-top: 21rem;
  padding: 0 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 3rem;
}
@media (max-width: 767px) {
  .piano-point__list {
    display: block;
    margin-top: 11rem;
    padding: 0 3rem;
  }
}

.piano-point__item {
  width: 33.33%;
  background: #e60012;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem 3rem; /* タイトルを上部に寄せる。番号ドームは absolute で別途上にはみ出す */
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #fff;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: visible;
}
@media (max-width: 767px) {
  .piano-point__item {
    width: 100%;
    padding: 4rem 1.5rem 1.5rem;
  }
}

@media (max-width: 767px) {
  .piano-point__item + .piano-point__item {
    margin-top: 9rem;
  }
}

.piano-point__num {
  width: 16rem;
  height: 16rem;
  border-radius: 50% 50% 0 0;
  position: absolute;
  top: -8rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 0; /* カード本体・タイトルより背面に。ドーム下部はカードに隠れ、上のバンプだけ見える */
  background: #e60012;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
}
@media (max-width: 767px) {
  .piano-point__num {
    width: 11rem;
    height: 11rem;
    top: -5.5rem;
  }
}

.piano-point__num p {
  -webkit-transform: translateY(-30%);
          transform: translateY(-30%);
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 767px) {
  .piano-point__num p {
    font-size: 4.4rem;
  }
}

.piano-point__title {
  position: relative;
  z-index: 1; /* 背面のドームより前面に出してタイトルを見せる */
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: -0.02em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (max-width: 767px) {
  .piano-point__title {
    font-size: 3rem;
  }
}

.piano-point__image {
  margin: 1rem 0 0;
  width: 100%;
  aspect-ratio: 450/193;
  border-radius: 0.8rem;
  overflow: hidden;
}
@media (max-width: 767px) {
  .piano-point__image {
    margin-top: 1.5rem;
  }
}

.piano-point__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.piano-point__text {
  position: relative;
  z-index: 1;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1; /* 残りの高さを埋めて、テキスト量に関わらずカード高さを揃える */
  margin-top: 2rem;
  background: #fff;
  color: #47331b;
  padding: 1.5rem 2rem 1rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
}
@media (max-width: 767px) {
  .piano-point__text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1.5rem;
    padding: 2rem;
    min-height: 12.7rem;
    letter-spacing: 0.04em;
  }
}

/* =========================================================
   ピアノコース紹介
   ========================================================= */
/* セクション背景を専用画像に差し替え（.piano-section の bg-body を上書き） */
.piano-course {
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .piano-course {
    background-size: 3rem 3rem;
  }
}
@media (max-width: 767px) {
  .piano-course {
    padding-bottom: 31.5rem;
  }
}

.piano-course .piano-title--single span {
  font-size: 5rem;
  letter-spacing: 0.1em;
}
@media (max-width: 767px) {
  .piano-course .piano-title--single span {
    font-size: 2.6rem;
  }
}

.piano-course__list {
  margin-top: 11rem;
}
@media (max-width: 767px) {
  .piano-course__list {
    margin-top: 7rem;
  }
}

.piano-course__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 4rem;
}
@media (max-width: 767px) {
  .piano-course__item {
    display: block;
  }
}

.piano-course__item + .piano-course__item {
  margin-top: 11rem;
}
@media (max-width: 767px) {
  .piano-course__item + .piano-course__item {
    margin-top: 6.5rem;
  }
}

/* 小学生コースは縦積み（レベル＋写真列）＝白カード＋上部に横いっぱいの赤帯 */
.piano-course__item--levels {
  display: block;
  background: #fff;
  overflow: visible;
}

/* 未就学：白カード（上部に横いっぱいの赤ヘッダー帯）＋テキスト＋右からはみ出す円形写真 */
.piano-course__item--bleed {
  position: relative;
  display: block; /* 赤帯→テキストを縦積み。写真は absolute */
  min-height: 50rem;
  background: #fff; /* 白い背景カード */
  overflow: visible; /* 写真のはみ出しを許可（横スクロールは body の overflow-x:hidden が抑止） */
}
@media (max-width: 767px) {
  .piano-course__item--bleed {
    min-height: 0;
  }
}

.piano-course__item--bleed .piano-course__body {
  max-width: none; /* 赤帯を全幅にするため body は full width */
}
@media (max-width: 767px) {
  .piano-course__item--bleed .piano-course__body {
    margin-top: 37rem;
  }
}

/* 赤いタイトル帯：カード上部に横いっぱい */
.piano-course__item--bleed .piano-course__head {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-left: 0;
  border-radius: 0; /* 角丸なし */
  padding: 2.5rem 4rem;
  text-align: left;
  font-size: 4rem;
  letter-spacing: -0.08em;
}
@media (max-width: 767px) {
  .piano-course__item--bleed .piano-course__head {
    padding: 1.2rem 2.5rem;
    font-size: 3rem;
    text-align: center;
  }
}

/* 本文：白い領域。写真と重ならないよう左側に幅制限 */
.piano-course__item--bleed .piano-course__text {
  position: relative;
  z-index: 2;
  max-width: 56%;
  margin-top: 0;
  padding: 3rem 4rem;
  font-size: 3rem;
  line-height: 1.75;
}
@media (max-width: 767px) {
  .piano-course__item--bleed .piano-course__text {
    max-width: none;
    padding: 2.5rem 2.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
}

.piano-course__item--bleed .piano-course__image {
  position: absolute;
  top: 45%;
  right: -11rem; /* 右端からはみ出す量 */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 66rem;
  height: 66rem;
  border-radius: 50%;
  z-index: 1;
}
@media (max-width: 767px) {
  .piano-course__item--bleed .piano-course__image {
    -webkit-transform: none;
            transform: none;
    width: 30rem;
    height: 30rem;
    margin: 0 auto 3rem;
    right: auto;
    top: -133%;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

/* 大人：写真を透過ブロブ画像（piano10）として右からはみ出す（--bleed と併用） */
.piano-course__item--blob {
  min-height: 30rem;
  margin-top: 8.5rem;
}
@media (max-width: 767px) {
  .piano-course__item--blob {
    margin-top: -55rem;
    min-height: 18rem;
  }
}
.piano-course__item--blob .piano-course__text {
  padding: 2rem;
}

.piano-course__item--blob .piano-course__image {
  width: 64rem;
  height: auto;
  right: -16rem;
  top: 22rem;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 767px) {
  .piano-course__item--blob .piano-course__image {
    -webkit-transform: none;
            transform: none;
    width: 35.1rem;
    height: 21.7rem;
    right: auto;
    margin: 2rem auto 3rem;
    right: auto;
    left: 50%;
    top: 100%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

.piano-course__item--blob .piano-course__image img {
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.piano-course__body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media (max-width: 767px) {
  .piano-course__body {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
  }
}

.piano-course__head {
  display: inline-block;
  background: #e60012;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 1.4rem 4rem;
  border-radius: 0 5rem 5rem 0;
  margin-left: -2rem;
}
@media (max-width: 767px) {
  .piano-course__head {
    font-size: 2rem;
    padding: 1rem 3rem;
    border-radius: 5rem;
    margin-left: 0;
  }
}

/* 小学生コース：見出しをカード上部の横いっぱい赤帯に（未就学の帯と統一） */
.piano-course__head--wide {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: left;
  border-radius: 0;
  margin-left: 0;
  padding: 3rem 5rem;
  font-size: 4rem;
}
@media (max-width: 767px) {
  .piano-course__head--wide {
    padding: 1.2rem 2.5rem;
    font-size: 3rem;
    text-align: center;
  }
}

.piano-course__text {
  margin-top: 2.5rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2;
}
@media (max-width: 767px) {
  .piano-course__text {
    font-size: 1.4rem;
    margin-top: 1.5rem;
  }
}

.piano-course__image {
  width: 36rem;
  height: 28rem;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (max-width: 767px) {
  .piano-course__image {
    width: 26rem;
    height: 22rem;
    margin: 2rem auto 0;
  }
}
.piano-course__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 小学生コース：レベル（初級・中級・上級） */
.piano-course__levels {
  margin-top: 0;
  padding: 6rem 8rem 30rem 3rem;
  background: #fff;
}
@media (max-width: 767px) {
  .piano-course__levels {
    padding: 1.5rem 2.5rem 26rem;
  }
}

.piano-course__level {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch; /* タグを本文の高さに合わせて縦に伸ばす */
  gap: 5rem;
}
@media (max-width: 767px) {
  .piano-course__level {
    display: block;
  }
}

.piano-course__level + .piano-course__level {
  margin-top: 4rem;
}

.piano-course__level-label {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 5rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .piano-course__level-label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
    font-size: 3rem;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
  }
}

.piano-course__level-label--beginner {
  background: #d2e8cc; /* 淡い緑 */
}

.piano-course__level-label--intermediate {
  background: #f5e8d1; /* 淡いクリーム */
}

.piano-course__level-label--advanced {
  background: #f9d2d6; /* 淡いピンク */
}

.piano-course__level-text {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.64;
  letter-spacing: 0.16em;
}
@media (max-width: 767px) {
  .piano-course__level-text {
    font-size: 1.3rem;
    line-height: 1.6;
  }
}

.piano-course__photos {
  margin-top: -27rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: transparent;
}
@media (max-width: 767px) {
  .piano-course__photos {
    padding: 0 2rem 3rem;
    display: block;
  }
}

/* 透過のブロブ画像（piano07〜09.webp）を少し重ねて配置。
   重なり順は中央が最前面（中央 > 右 > 左）。 */
.piano-course__photo {
  position: relative;
  width: 36%;
  margin: 0;
}
.piano-course__photo:nth-child(1) {
  z-index: 1;
  width: 41.8rem;
  height: 42rem;
  -webkit-transform: translate(-3rem, 3rem);
          transform: translate(-3rem, 3rem);
}
@media (max-width: 767px) {
  .piano-course__photo:nth-child(1) {
    width: 26.4rem;
    height: 26.1rem;
    -webkit-transform: translate(-8rem, 1rem);
            transform: translate(-8rem, 1rem);
  }
}
.piano-course__photo:nth-child(2) {
  z-index: 3;
  width: 46.1rem;
  height: 42.7rem;
  -webkit-transform: translate(1rem, 2rem);
          transform: translate(1rem, 2rem);
}
@media (max-width: 767px) {
  .piano-course__photo:nth-child(2) {
    width: 28.8rem;
    height: 26.6rem;
    -webkit-transform: translate(11rem, -14rem);
            transform: translate(11rem, -14rem);
    z-index: 2;
  }
}
.piano-course__photo:nth-child(3) {
  z-index: 2;
  width: 51rem;
  height: 39.5rem;
  -webkit-transform: translate(3rem, 3rem);
          transform: translate(3rem, 3rem);
}
@media (max-width: 767px) {
  .piano-course__photo:nth-child(3) {
    width: 31.8rem;
    height: 24.6rem;
    -webkit-transform: translate(-7rem, -22.5rem);
            transform: translate(-7rem, -22.5rem);
    z-index: 3;
  }
}
.piano-course__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.piano-course__photo + .piano-course__photo {
  margin-left: -4%; /* 隣の写真と重ねる */
}

/* =========================================================
   ピアノコース講師紹介
   ========================================================= */
/* セクション背景を専用画像に差し替え（.piano-section の bg-body を上書き） */
.piano-teacher {
  padding: 5rem 0 10rem;
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .piano-teacher {
    background-size: 3rem 3rem;
  }
}
@media (max-width: 767px) {
  .piano-teacher {
    padding: 3rem 0 6rem;
  }
}
.piano-teacher .piano-title--single span {
  font-size: 5rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .piano-teacher .piano-title--single span {
    font-size: 2.6rem;
  }
}

/* 2行タイトルの装飾：H2（ブロック・text-align:center）基準で配置し、確実に左右中央へ */
.piano-teacher .piano-title--single {
  position: relative;
}

.piano-teacher .piano-title--single::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 40rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .piano-teacher .piano-title--single::after {
    width: 24rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

/* 共通 span::before（30rem・小）の装飾を無効化し、大きい ::after（40rem）だけ残す */
.piano-teacher .piano-title--single span::before {
  content: none;
}

.piano-teacher__head {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 13rem auto 0;
}
@media (max-width: 767px) {
  .piano-teacher__head {
    margin-top: 7rem;
  }
}

.piano-teacher__photo {
  width: 51rem;
  height: 51rem;
  margin: 0;
  overflow: hidden;
}
@media (max-width: 767px) {
  .piano-teacher__photo {
    width: 30rem;
    height: 30rem;
  }
}
.piano-teacher__photo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.piano-teacher__name {
  position: absolute;
  left: 50%;
  bottom: -3.5rem;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 37rem;
  background: #48331c;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  padding: 1rem;
  border-radius: 9999px;
}
@media (max-width: 767px) {
  .piano-teacher__name {
    width: 22rem;
    font-size: 2.1rem;
    padding: 1rem;
    bottom: -3rem;
  }
}

.piano-teacher__box {
  width: 80rem;
  max-width: 100%;
  margin: 10.5rem auto 0;
  background: #fff;
  padding: 4rem 3rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .piano-teacher__box {
    margin-top: 7.5rem;
    padding: 2.5rem 2rem;
    width: 100vw;
    max-width: 100vw;
    margin-left: 50%; /* 親paddingに依存せず全幅で左右中央へ */
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

.piano-teacher__career {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2;
  margin-top: 0.8rem;
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #000;
}
@media (max-width: 767px) {
  .piano-teacher__career {
    font-size: 1.2rem;
    padding: 0 3rem 2rem;
  }
}

.piano-teacher__text {
  margin-top: 3rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.4;
  letter-spacing: 0.14em;
}
@media (max-width: 767px) {
  .piano-teacher__text {
    font-size: 1.2rem;
    margin-top: 2rem;
  }
}

/* =========================================================
   ピアノコースレッスン料金
   ========================================================= */
/* セクション背景を白に（.piano-section のベージュ bg-body を上書き） */
.piano-price {
  background: #fff;
  padding-bottom: 10rem;
}
.piano-price .piano-title--single span {
  font-size: 5rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .piano-price .piano-title--single span {
    font-size: 2.6rem;
  }
}
.piano-price .piano-title--single span {
  /* 2行タイトルは span(display:inline) 基準だと装飾の左右中央が安定しないため無効化し、
     下の H2 基準 ::after で描画する */
}
.piano-price .piano-title--single span::before {
  content: none;
}

/* 2行タイトルの装飾：H2（ブロック・text-align:center）基準で配置し、確実に左右中央へ */
.piano-price .piano-title--single {
  position: relative;
}

.piano-price .piano-title--single::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 40rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .piano-price .piano-title--single::after {
    width: 24rem;
    height: 2.6rem;
    bottom: -4rem;
  }
}

.piano-price__grid {
  max-width: 100rem;
  margin: 9rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem 2rem;
}
@media (max-width: 767px) {
  .piano-price__grid {
    margin-top: 7rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.piano-price__box {
  background: #fdeef0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e60012;
}

.piano-price__box--full {
  grid-column: 1/-1;
}

.piano-price__box-head {
  background: #e60012;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  padding: 2.5rem 1rem;
}
@media (max-width: 767px) {
  .piano-price__box-head {
    font-size: 2.8rem;
    padding: 1.5rem 1rem;
  }
}

.piano-price__box-body {
  padding: 3rem 2rem;
  text-align: center;
  min-height: 18rem;
}
@media (max-width: 767px) {
  .piano-price__box-body {
    padding: 3rem 2rem;
  }
}
@media (max-width: 767px) and (max-width: 767px) {
  .piano-price__box-body {
    min-height: 10rem;
  }
}
.piano-price__box-body p {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #47331b;
}
@media (max-width: 767px) {
  .piano-price__box-body p {
    font-size: 1.4rem;
  }
}
.piano-price__box-body p + p {
  margin-top: 4rem;
}
@media (max-width: 767px) {
  .piano-price__box-body p + p {
    margin-top: 3rem;
  }
}

/* 「その他」(--full) は本文が長くSPで折り返すため、横パディングを詰めて各行を1行に収める */
@media (max-width: 767px) {
  .piano-price__box--full .piano-price__box-body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .piano-price__box--full .piano-price__box-body p {
    letter-spacing: -0.04em;
  }
}

.piano-price__box-note {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 2.4;
  letter-spacing: -0.08em;
  white-space: nowrap;
  color: #47331b;
}
@media (max-width: 767px) {
  .piano-price__box-note {
    font-size: 1.4rem;
  }
}

/* =========================================================
   レッスンスケジュール
   ========================================================= */
.piano-schedule {
  text-align: center;
}

.piano-schedule__title {
  margin-top: 7rem;
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  letter-spacing: 0.14em;
}
@media (max-width: 767px) {
  .piano-schedule__title {
    margin-top: 6rem;
  }
}
.piano-schedule__title span {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.39;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  position: relative;
}
@media (max-width: 767px) {
  .piano-schedule__title span {
    font-size: 2.4rem;
  }
}
.piano-schedule__title span::before {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: -6rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 40rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .piano-schedule__title span::before {
    width: 18rem;
    height: 1.8rem;
    bottom: -3rem;
  }
}

.piano-schedule__days {
  margin-top: 11.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 2.5rem;
}
@media (max-width: 767px) {
  .piano-schedule__days {
    margin-top: 5rem;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 1.5rem;
  }
}

.piano-schedule__day {
  width: 23rem;
  height: 23rem;
  background: #e60012;
  border-radius: 50%;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (max-width: 767px) {
  .piano-schedule__day {
    width: 10rem;
    height: 10rem;
  }
}

.piano-schedule__day-name {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .piano-schedule__day-name {
    font-size: 1.7rem;
  }
}

.piano-schedule__day-time {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.5rem;
}
@media (max-width: 767px) {
  .piano-schedule__day-time {
    font-size: 1.7rem;
  }
}

.piano-schedule__note {
  margin-top: 7rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}
@media (max-width: 767px) {
  .piano-schedule__note {
    font-size: 1.6rem;
    line-height: 1.8;
  }
}

/* =========================================================
   生徒さんからの声（ピアノページ：バナー2枚横並び＋TOPと同じスライダー）
   ========================================================= */
.voice--piano {
  margin-top: 20rem;
}
@media (max-width: 767px) {
  .voice--piano {
    margin-top: 0;
  }
}
.voice--piano .voice-banners {
  width: 130rem;
  max-width: 100%;
  margin: 14rem auto 0;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .voice--piano .voice-banners {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1rem;
    margin-top: 5rem;
  }
}
.voice--piano .voice-banner {
  width: 62rem;
  max-width: 100%;
  margin: 0;
}
@media (max-width: 767px) {
  .voice--piano .voice-banner {
    width: 30rem;
  }
}
.voice--piano .voice-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.voice--piano {
  /* バナーを挟むので、TOPの大きめ余白（21rem）を詰める */
}
.voice--piano .swiper-container-voice {
  margin-top: 15rem;
}
@media (max-width: 767px) {
  .voice--piano .swiper-container-voice {
    margin-top: 5rem;
  }
}

/* =========================================================
   アクセス（ピアノページ：1枚を中央表示）
   ========================================================= */
.access-flex--single {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* 道順詳細ボタン（右下・12rem角の絶対配置）を削除したため、ボタン分を見込んだ
     min-height:61rem は下側の空白になるだけ。カードは中身なりの高さにする */
}
.access-flex--single .access-item {
  min-height: 0;
}

/* =========================================================
   ブログ（page-blog-list.php / single-blog.php）
   ・トップページのデザイン言語を踏襲。
   ・一覧：3カラムのカードグリッド（サムネ＋タグ＋日付＋タイトル＋本文）。
   ========================================================= */
.blog-section {
  position: relative;
  padding: 9rem 0 11rem;
}
@media (max-width: 767px) {
  .blog-section {
    padding: 3rem 0 7rem;
  }
}

.blog-inner {
  width: 104rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .blog-inner {
    padding: 0 2.5rem;
  }
}

/* ===== タイトル（2行とも蛍光マーカー＋バンティング装飾） ===== */
.blog-title {
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 7rem;
}
@media (max-width: 767px) {
  .blog-title {
    padding-bottom: 5rem;
  }
}
.blog-title::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: 2rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 30rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .blog-title::after {
    width: 18rem;
    height: 2.6rem;
    bottom: 1.5rem;
  }
}

.blog-title__sub {
  display: inline;
  font-size: 5rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 767px) {
  .blog-title__sub {
    font-size: 1.8rem;
  }
}

.blog-title__main {
  display: inline;
  font-size: 7rem;
  line-height: 1.6;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 767px) {
  .blog-title__main {
    font-size: 3rem;
  }
}

/* ===== 絞り込みフィルタ（種別・タグ。JSでカードを表示/非表示） ===== */
.blog-filter {
  margin: 4rem 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.2rem;
}
@media (max-width: 767px) {
  .blog-filter {
    margin-top: 2.5rem;
    display: grid; /* 2列で整列。各列は「お客様の声」幅に固定して均等に */
    grid-template-columns: repeat(2, 12rem);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* 2列の塊を中央寄せ */
    gap: 0.8rem 1.2rem;
    text-align: center;
  }
}

.blog-filter__chip {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: #fff;
  border: 0.2rem solid #48331c;
  border-radius: 5rem;
  color: #48331c;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 1rem 2.2rem;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
@media (max-width: 767px) {
  .blog-filter__chip {
    font-size: 1.3rem;
    padding: 0.8rem 1.6rem;
    width: 100%; /* 固定幅セルいっぱいに広げて均等化 */
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
}

.blog-filter__chip:hover {
  background: #f6e9d6;
}

.blog-filter__chip.is-active {
  background: #48331c;
  color: #fff;
}

/* フィルタで非表示にしたカード */
.blog-card.is-hidden {
  display: none;
}

/* ===== カードグリッド ===== */
.blog-list__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}
@media (max-width: 767px) {
  .blog-list__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 1rem;
  }
}

.blog-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  -webkit-box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.08);
          box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.08);
}

.blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card__thumb {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 360/240;
  background: #ededed;
  overflow: hidden;
}

.blog-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-card__tags {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.8rem;
}
@media (max-width: 767px) {
  .blog-card__tags {
    top: 1rem;
    left: 2rem;
    gap: 0.6rem;
  }
}

.blog-card__tag {
  display: inline-block;
  background: #48331c;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.5rem 1.6rem;
  border-radius: 5rem;
}
@media (max-width: 767px) {
  .blog-card__tag {
    font-size: 1.2rem;
    padding: 0.5rem 1.4rem;
  }
}

.blog-card__tag--course {
  background: #e60012;
}

.blog-card__body {
  padding: 2.4rem 2rem 2.8rem;
}
@media (max-width: 767px) {
  .blog-card__body {
    padding: 2rem;
  }
}

.blog-card__date {
  display: block;
  font-family: "DIN 2014", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #48331c;
}
@media (max-width: 767px) {
  .blog-card__date {
    font-size: 1.6rem;
  }
}

.blog-card__title {
  margin-top: 1rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #48331c;
}

.blog-card__text {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  color: #48331c;
}

.blog-list__empty {
  grid-column: 1/-1;
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  padding: 6rem 0;
}

/* ===== 個別記事（暫定レイアウト） ===== */
.blog-single__inner {
  width: 90rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .blog-single__inner {
    padding: 0 2.5rem;
  }
}

.blog-single__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.5rem;
}

.blog-single__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
}

.blog-single__tag {
  display: inline-block;
  background: #48331c;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.7rem 1.4rem;
  border-radius: 0.6rem;
}

.blog-single__date {
  font-family: "DIN 2014", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #48331c;
}

.blog-single__title {
  margin-top: 2rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .blog-single__title {
    font-size: 2.4rem;
  }
}

.blog-single__thumb {
  margin: 3rem 0 0;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.blog-single__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-single__content {
  margin-top: 4rem;
  font-size: 1.7rem;
  line-height: 2;
}
@media (max-width: 767px) {
  .blog-single__content {
    font-size: 1.5rem;
    margin-top: 3rem;
  }
}

.blog-single__content p {
  margin-bottom: 2rem;
  line-height: 2;
}

.blog-single__content img {
  height: auto;
  border-radius: 0.8rem;
}

.blog-single__content h2,
.blog-single__content h3 {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 4rem 0 2rem;
}

.blog-single__back {
  text-align: center;
  margin-top: 6rem;
}
@media (max-width: 767px) {
  .blog-single__back {
    margin-top: 4rem;
  }
}

.blog-single__back-link {
  display: inline-block;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #d41819;
  text-decoration: none;
}
@media (max-width: 767px) {
  .blog-single__back-link {
    font-size: 1.6rem;
  }
}

/* =========================================================
   ブログ一覧のページ送り（茶色の角丸ボックス。JSで生成・1ページ10件。
   合計10件以下のときはボタンが描画されず非表示）
   ========================================================= */
.blog-pager {
  margin-top: 6rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.6rem;
}
@media (max-width: 767px) {
  .blog-pager {
    margin-top: 4rem;
    gap: 1rem;
  }
}

/* ページャーが空（9件以下でボタン無し）のときは余分な上余白を出さない */
.blog-pager:empty {
  margin-top: 0;
}

.blog-pager__num {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 6rem;
  height: 6rem;
  border: 0.2rem solid #48331c;
  border-radius: 0.6rem;
  background: #fff;
  color: #48331c;
  font-family: "DIN 2014", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
@media (max-width: 767px) {
  .blog-pager__num {
    width: 4.6rem;
    height: 4.6rem;
    font-size: 2.2rem;
  }
}

.blog-pager__num:hover,
.blog-pager__num.is-current {
  background: #48331c;
  color: #fff;
  border-color: #48331c;
}

/* =========================================================
   お問い合わせ／無料体験お申込み（page-contact.php）
   ・トップページのデザイン言語を踏襲。
   ・フォームは Contact Form 7。見た目は .contact-form__* クラスで作り、
     CF7フォームタグ（[text*]等）をその構造の中に置く＝CF7出力でも効く。
   ・reset.scss が input に appearance:none を当てるため、チェックボックスは自前描画。
   ・表示確認用の静的フォームと CF7 出力の両方を同じセレクタで拾う。
   ========================================================= */
.contact-section {
  background-color: #f5cc20;
  background-image: repeating-conic-gradient(#f5d434 0% 25%, #f5cc20 0% 50%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 4rem 4rem;
}
@media (max-width: 767px) {
  .contact-section {
    background-size: 3rem 3rem;
  }
}
.contact-section {
  position: relative;
  padding: 9rem 0 11rem;
}
@media (max-width: 767px) {
  .contact-section {
    padding: 3rem 0 7rem;
  }
}

.contact-inner {
  width: 115rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .contact-inner {
    padding: 0 1.5rem;
  }
}

/* ===== タイトル（全行 蛍光マーカー＋バンティング装飾） ===== */
.contact-page__title {
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 11rem;
}
@media (max-width: 767px) {
  .contact-page__title {
    padding-bottom: 5.5rem;
  }
}
.contact-page__title::after {
  content: "";
  position: absolute;
  background: url(../img/top/decoration-title.webp) no-repeat center center/contain;
  bottom: 5rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 30rem;
  height: 4rem;
}
@media (max-width: 767px) {
  .contact-page__title::after {
    width: 20rem;
    height: 2.6rem;
    bottom: 3rem;
  }
}

.contact-page__title-sub {
  display: inline;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 767px) {
  .contact-page__title-sub {
    font-size: 1.8rem;
  }
}

.contact-page__title-main {
  display: inline;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1.4;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 767px) {
  .contact-page__title-main {
    font-size: 2.6rem;
  }
}

/* ===== 白いフォームボックス ===== */
.contact-page__box {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 0.5rem solid #48331c;
  border-radius: 6rem;
  padding: 6rem 10rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #48331c;
}
@media (max-width: 767px) {
  .contact-page__box {
    padding: 2rem;
    border-radius: 1.5rem;
    letter-spacing: 0.1em;
  }
}

.contact-page__form-title {
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  padding-bottom: 1.5rem;
  border-bottom: 0.2rem solid #d8cbbf;
}
@media (max-width: 767px) {
  .contact-page__form-title {
    font-size: 2.6rem;
    padding-bottom: 2rem;
  }
}

.contact-page__form {
  margin-top: 4rem;
}
@media (max-width: 767px) {
  .contact-page__form {
    margin-top: 2.5rem;
  }
}

/* ===== 送信完了メッセージ（page-contact-thanks.php） ===== */
.contact-page__thanks {
  margin-top: 4rem;
  text-align: center;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 1.8rem;
  color: #48331c;
}
@media (max-width: 767px) {
  .contact-page__thanks {
    margin-top: 2.5rem;
    font-size: 1.5rem;
    text-align: left;
  }
}

.contact-page__thanks-text {
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .contact-page__thanks-text {
    margin-bottom: 2rem;
  }
}

.contact-page__thanks-sign {
  margin-top: 4rem;
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .contact-page__thanks-sign {
    margin-top: 3rem;
  }
}

/* 送信完了ページは中身が短いため、_base.scss の .main { min-height: 100vh } に対して
   セクションが伸びず、黄色い背景の下に白い余白が出てしまう。
   .main をフレックスにし、セクション側を伸ばして背景で埋める。
   （min-height の値を打ち消すと他ページのフッター位置に影響するため、この方法を採る） */
.main--fill {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.main--fill .contact-thanks {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

/* ===== トップページに戻るボタン（ヘッダー .reserve-button 準拠のプッシュダウン） ===== */
.contact-thanks__back {
  position: relative;
  display: block;
  width: 42rem;
  margin: 5rem auto 0;
  text-decoration: none;
  border-radius: 5rem;
  -webkit-transition: opacity 0s;
  transition: opacity 0s;
}
@media (max-width: 767px) {
  .contact-thanks__back {
    width: 100%;
    max-width: 29.5rem;
    margin-top: 3.5rem;
  }
}
.contact-thanks__back::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  background-color: #b31c36;
}
.contact-thanks__back {
  /* _base.scss の a:hover{opacity:.6} を打ち消す。
     これが無いと hover 時だけ赤が薄くなり、ヘッダーの .reserve-button と色が違って見える */
}
.contact-thanks__back:hover {
  opacity: 1;
}
.contact-thanks__back:hover .contact-thanks__back-inner {
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
  /* hoverで影に沈み込む */
}

.contact-thanks__back-inner {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #d41819;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  padding: 2rem 6rem;
  border-radius: 5rem;
  white-space: nowrap;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .contact-thanks__back-inner {
    font-size: 1.6rem;
    padding: 1.8rem 3rem;
  }
}

/* ===== フォーム行（label左 / field右） ===== */
.contact-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 3rem;
  padding: 2.3rem 0;
  border-bottom: 0.1rem dotted #d8cbbf;
}
@media (max-width: 767px) {
  .contact-form__row {
    display: block;
    padding: 2rem 0;
  }
}
.contact-form__row:first-child {
  padding-top: 0;
}

.contact-form__label {
  /* ラベル文言＋必須/任意タグが折り返さず1行に収まるよう列を広めに（その分 入力欄は縮む） */
  width: 44%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.5;
  padding-top: 0.8rem;
}
@media (max-width: 767px) {
  .contact-form__label {
    width: 100%;
    font-size: 1.6rem;
    padding-top: 0;
    margin-bottom: 1.2rem;
    letter-spacing: 0;
  }
}

/* 必須 / 任意 バッジ */
.contact-form__req,
.contact-form__opt {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2rem;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
}
@media (max-width: 767px) {
  .contact-form__req,
  .contact-form__opt {
    font-size: 1.2rem;
  }
}

.contact-form__req {
  background: #d81618;
}

.contact-form__opt {
  background: #9b9b9b;
}

/* ラベル補足テキスト（体験ご希望曜日の注記など） */
.contact-form__note {
  display: block;
  margin-top: 1rem;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  color: #7a6a58;
}
@media (max-width: 767px) {
  .contact-form__note {
    font-size: 1.2rem;
  }
}

.contact-form__field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media (max-width: 767px) {
  .contact-form__field {
    width: 100%;
  }
}

/* 入力欄（表示確認用の素のinput／CF7出力の両方を拾う） */
.contact-form__field input[type=text],
.contact-form__field input[type=email],
.contact-form__field input[type=tel],
.contact-form__field input[type=number],
.contact-form__field input[type=date],
.contact-form__field textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff;
  border: 0.1rem solid #c7b6a6;
  border-radius: 0.8rem;
  padding: 2rem 1.6rem;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 1.8rem;
  color: #3f220d;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .contact-form__field input[type=text],
  .contact-form__field input[type=email],
  .contact-form__field input[type=tel],
  .contact-form__field input[type=number],
  .contact-form__field input[type=date],
  .contact-form__field textarea {
    font-size: 1.6rem;
    padding: 1.2rem 1.4rem;
  }
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: #e60012;
}

.contact-form__field textarea {
  min-height: 18rem;
  resize: vertical;
}

/* チェックボックス群（お問い合わせ項目・体験ご希望曜日） */
.contact-form__checks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.4rem 3rem;
}
@media (max-width: 767px) {
  .contact-form__checks {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

/* CF7出力（.wpcf7-checkbox）も同じ見た目に */
.contact-form__checks .wpcf7-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.4rem 3rem;
}

/* 体験ご希望曜日：月火水／木金土 と3つずつ2行で表示（折り返さず固定） */
.contact-form__checks--days,
.contact-form__checks--days .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(3, -webkit-max-content);
  grid-template-columns: repeat(3, max-content);
  gap: 1.4rem 3rem;
}
@media (max-width: 767px) {
  .contact-form__checks--days,
  .contact-form__checks--days .wpcf7-checkbox {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.2rem 1.5rem;
  }
}

.contact-form__checks .wpcf7-list-item {
  margin: 0;
}

.contact-form__check,
.contact-form__checks .wpcf7-list-item label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .contact-form__check,
  .contact-form__checks .wpcf7-list-item label {
    font-size: 1.6rem;
  }
}

/* reset の appearance:none 下でも見えるよう四角チェックを自前描画。
   セレクタはコンテナ起点で、静的フォームとCF7出力の両 input を拾う */
.contact-form__checks input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  position: relative;
  width: 5rem;
  height: 5rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border: 0.3rem solid #c7b6a6;
  border-radius: 0.8rem;
  background: #fff;
  cursor: pointer;
}

.contact-form__checks input[type=checkbox]:checked {
  background: #e60012;
  border-color: #e60012;
}

.contact-form__checks input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0.5rem;
  width: 1.25rem;
  height: 2.3rem;
  border: solid #fff;
  border-width: 0 0.6rem 0.6rem 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

/* 生年月日：ブラウザ標準カレンダー input[type="date"] -----------------
   _reset.scss が input 全体に appearance:none を当てており、これだと
   標準のカレンダーアイコンが消えるため、PCでは date のみ appearance を戻す（アイコン表示・クリックで開く）。
   幅・box-sizing は上部の共通 input ルールで width:100% 済み。
   ※久米川教室サイト（dream-music-kumekawa）と同一実装。 */
.contact-form__field input[type=date] {
  -moz-appearance: auto;
       appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
  max-width: 100%;
  /* iOS Safari 対策：SP はネイティブ描画の min-content 幅で container をはみ出すため、
     appearance を切って幅を container 幅に固定する（PCはアイコンを残すので auto のまま）。
     SP ではアイコンは元々出ず、タップで日付ピッカーが開く挙動は変わらない。 */
}
@media (max-width: 767px) {
  .contact-form__field input[type=date] {
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
    min-width: 0;
  }
}

.contact-form__field input[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
}

/* iOS Safari 対策：内部の値要素・編集領域が min-content 幅を持ち input を押し広げるため、
   min-width:0 で潰し、値は左寄せ・はみ出しは隠す。 */
.contact-form__field input[type=date]::-webkit-date-and-time-value {
  min-width: 0;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.contact-form__field input[type=date]::-webkit-datetime-edit {
  min-width: 0;
  padding: 0;
}

/* 性別：ラジオ風の丸ボタン（静的フォーム＋CF7出力 .wpcf7-radio / .wpcf7-checkbox の両対応）
   CF7の [radio] は「*」を付けなくても常に必須になる仕様のため、任意項目にするには
   [checkbox gender exclusive ...]（単一選択のチェックボックス）を使う。
   見た目はラジオのままにしたいので、input[type="checkbox"] も丸で描画する。 */
.contact-form__radios,
.contact-form__radios .wpcf7-radio,
.contact-form__radios .wpcf7-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.4rem 4rem;
}

/* CF7は <label> を出力せず .wpcf7-list-item 直下に input + ラベルspan が並ぶため、
   flex はコンテナ（静的=.contact-form__radio / CF7=.wpcf7-list-item）自体に当てる */
.contact-form__radio,
.contact-form__radios .wpcf7-list-item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.8rem;
  margin: 0;
  cursor: pointer;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .contact-form__radio,
  .contact-form__radios .wpcf7-list-item {
    font-size: 1.6rem;
  }
}

/* reset の appearance:none 下でも見えるよう丸ラジオを自前描画。
   セレクタはコンテナ起点で、静的フォームとCF7出力の両 input を拾う。
   checkbox も同じ見た目にする（上記コメントの理由で [checkbox exclusive] を使うため） */
.contact-form__radios input[type=radio],
.contact-form__radios input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  position: relative;
  width: 3rem;
  height: 3rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border: 0.3rem solid #c7b6a6;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.contact-form__radios input[type=radio]:checked,
.contact-form__radios input[type=checkbox]:checked {
  border-color: #e60012;
}

.contact-form__radios input[type=radio]:checked::after,
.contact-form__radios input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #e60012;
}

/* 個人情報保護方針：スクロールボックス */
.contact-form__privacy {
  max-height: 22rem;
  overflow-y: auto;
  overflow-x: hidden;
  border: 0.1rem solid #c7b6a6;
  border-radius: 0.8rem;
  padding: 2rem;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 1.4rem;
  line-height: 1.9;
  color: #4a3a2a;
}
@media (max-width: 767px) {
  .contact-form__privacy {
    max-height: 18rem;
    font-size: 1.3rem;
    padding: 1.5rem;
  }
}

.contact-form__privacy-text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.9;
}

.contact-form__privacy-text + .contact-form__privacy-text {
  margin-top: 1.5rem;
}

/* 同意チェック（中央寄せ）。CF7は .wpcf7-acceptance で出力 */
.contact-form__agree {
  margin-top: 2.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.contact-form__agree .wpcf7-acceptance,
.contact-form__agree .contact-form__checks {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.contact-form__agree .wpcf7-list-item {
  margin: 0;
}

.contact-form__agree .wpcf7-list-item label,
.contact-form__agree .contact-form__check {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .contact-form__agree .wpcf7-list-item label,
  .contact-form__agree .contact-form__check {
    font-size: 1.5rem;
  }
}

.contact-form__agree input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  position: relative;
  width: 5rem;
  height: 5rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border: 0.3rem solid #c7b6a6;
  border-radius: 0.8rem;
  background: #fff;
  cursor: pointer;
}

.contact-form__agree input[type=checkbox]:checked {
  background: #e60012;
  border-color: #e60012;
}

.contact-form__agree input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0.5rem;
  width: 1.25rem;
  height: 2.3rem;
  border: solid #fff;
  border-width: 0 0.6rem 0.6rem 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

/* ===== 送信ボタン（ヘッダー流用のプッシュダウン。button と input[type=submit] 両対応） ===== */
.contact-form__submit {
  margin-top: 4rem;
  text-align: center;
}
@media (max-width: 767px) {
  .contact-form__submit {
    margin-top: 3rem;
  }
}

.contact-form__submit button,
.contact-form__submit input[type=submit],
.contact-form__submit .wpcf7-submit {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  position: relative;
  display: inline-block;
  min-width: 46rem;
  background-color: #d41819;
  /* 末尾の白い三角。CF7の送信ボタンは <input type="submit"> のため擬似要素も子要素も
     持てず、value に文字の「▶」を入れると iOS実機で絵文字（青いアプリアイコン風）に
     すり替わる。そのためSVGの背景画像で描画する。形はヘッダーの
     .header-trial-btn__arrow（白い右向き三角）に合わせている。
     矢印はテキスト直後ではなくボタン右端の padding 内に置く（centerされた文字幅に
     依存せず、どの文字数でも重ならないため）。 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 12 14'%3E%3Cpath d='M0 0l12 7-12 7z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2.5rem center;
  background-size: 1.2rem 1.4rem;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 5rem;
  padding: 2.2rem 4rem;
  cursor: pointer;
  -webkit-box-shadow: 0 0.6rem 0 #b31c36;
          box-shadow: 0 0.6rem 0 #b31c36;
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}
@media (max-width: 767px) {
  .contact-form__submit button,
  .contact-form__submit input[type=submit],
  .contact-form__submit .wpcf7-submit {
    min-width: 0;
    width: 100%;
    max-width: 32rem;
    font-size: 1.8rem;
    padding: 1.8rem 2rem;
    background-position: right 1.2rem center;
    background-size: 0.9rem 1.1rem;
  }
}

.contact-form__submit button:hover,
.contact-form__submit input[type=submit]:hover,
.contact-form__submit .wpcf7-submit:hover {
  -webkit-transform: translateY(0.6rem);
          transform: translateY(0.6rem);
  -webkit-box-shadow: 0 0 0 #b31c36;
          box-shadow: 0 0 0 #b31c36;
}

/* ===== CF7 出力ラッパ対応 ===== */
.contact-form__field .wpcf7-form-control-wrap {
  display: block;
}

.contact-form__field .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.4rem;
  color: #e3003e;
}

.contact-form__field .wpcf7-not-valid {
  border-color: #e3003e !important;
}

.wpcf7 .wpcf7-response-output {
  margin: 3rem 0 0;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
}

.wpcf7 .wpcf7-spinner {
  margin: 1rem auto 0;
}

/* =========================================================
   404（ページが見つかりません）
   ・bg-body 背景 ＋ 大きな404 ＋ 蛍光マーカー見出し ＋ トップへ戻るプッシュダウン
   ========================================================= */
.notfound {
  background: url(../img/top/bg-body.webp) center center/cover no-repeat;
  padding: 12rem 0 14rem;
  text-align: center;
}
@media (max-width: 767px) {
  .notfound {
    padding: 6rem 0 8rem;
  }
}

.notfound__inner {
  width: 90rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.notfound__code {
  font-family: "DIN 2014", sans-serif;
  font-size: 16rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #d41819;
}
@media (max-width: 767px) {
  .notfound__code {
    font-size: 9rem;
  }
}

.notfound__title {
  margin-top: 2rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
}
@media (max-width: 767px) {
  .notfound__title {
    margin-top: 1rem;
  }
}

.notfound__title span {
  display: inline;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F9E799));
  background: linear-gradient(transparent 60%, #F9E799 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 767px) {
  .notfound__title span {
    font-size: 2.2rem;
  }
}

.notfound__text {
  margin-top: 4rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2;
  color: #3f220d;
}
@media (max-width: 767px) {
  .notfound__text {
    margin-top: 2.5rem;
    font-size: 1.4rem;
  }
}

/* トップに戻る（プッシュダウン） */
.notfound__actions {
  margin-top: 5rem;
}
@media (max-width: 767px) {
  .notfound__actions {
    margin-top: 3.5rem;
  }
}

.notfound__btn {
  position: relative;
  display: inline-block;
  min-width: 30rem;
  text-decoration: none;
}
@media (max-width: 767px) {
  .notfound__btn {
    width: 100%;
    max-width: 32rem;
    min-width: 0;
  }
}

.notfound__btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 5rem;
  background: #2f2008;
  -webkit-transform: translateY(0.6rem);
  transform: translateY(0.6rem);
  z-index: 0;
}

.notfound__btn-inner {
  position: relative;
  z-index: 1;
  display: block;
  background: #d41819;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 1.6rem 3rem;
  border-radius: 5rem;
  transition: -webkit-transform 0.2s ease;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .notfound__btn-inner {
    font-size: 1.6rem;
    padding: 1.4rem 2rem;
  }
}

.notfound__btn:hover .notfound__btn-inner {
  -webkit-transform: translateY(0.6rem);
  transform: translateY(0.6rem);
}

/* =========================================================
   投稿個別ページ共通（single-news / single-voice / single-blog）
   ・bg-body 背景 ＋ 白い記事カード ＋ 下部の投稿ナビ
   ・デザインはトップ／下層に準拠（赤・茶 #48331c・筑紫B丸ゴシック）
   ========================================================= */
.post-single {
  background: url(../img/top/bg-body.webp) center center/cover no-repeat;
  position: relative;
  padding: 9rem 0 11rem;
}
@media (max-width: 767px) {
  .post-single {
    padding: 5rem 0 7rem;
  }
}

.post-single__inner {
  width: 90rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .post-single__inner {
    padding: 0 2.5rem;
  }
}

/* 記事カード（白背景・茶枠・角丸） */
.post-single__article {
  background: #fff;
  border: 0.3rem solid #48331c;
  border-radius: 3rem;
  padding: 5rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .post-single__article {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
  }
}

/* メタ（タグ＋日付）。記事カードの先頭要素＝上余白なし */
.post-single__meta {
  margin-top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
}

.post-single__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.8rem;
}

.post-single__tag {
  display: inline-block;
  background: #48331c;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.7rem 1.4rem;
  border-radius: 0.6rem;
}
@media (max-width: 767px) {
  .post-single__tag {
    font-size: 1.2rem;
  }
}

.post-single__date {
  font-family: "DIN 2014", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #48331c;
}
@media (max-width: 767px) {
  .post-single__date {
    font-size: 1.4rem;
  }
}

.post-single__title {
  margin-top: 2rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #3f220d;
}
@media (max-width: 767px) {
  .post-single__title {
    font-size: 2.4rem;
  }
}

/* voice：お名前ピル */
.post-single__voice-name {
  display: inline-block;
  margin-top: 2rem;
  background: #d41819;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.8rem 2.4rem;
  border-radius: 5rem;
}
@media (max-width: 767px) {
  .post-single__voice-name {
    font-size: 1.6rem;
    padding: 0.7rem 2rem;
  }
}

/* サムネは正円にクロップ（正方形固定＋中央寄せ） */
.post-single__thumb {
  margin: 3rem auto 0;
  width: 40rem;
  height: 40rem;
  max-width: 100%;
  border-radius: 50%;
  overflow: hidden;
}
@media (max-width: 767px) {
  .post-single__thumb {
    width: 24rem;
    height: 24rem;
  }
}

.post-single__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ブログ・お知らせ記事：アイキャッチは長方形のまま原寸比で表示（正円クロップ・角丸なし）。voice の顔写真のみ正円を維持 */
.post-single--blog .post-single__thumb,
.post-single--news .post-single__thumb {
  width: 100%;
  height: auto;
  border-radius: 0;
}
.post-single--blog .post-single__thumb img,
.post-single--news .post-single__thumb img {
  height: auto;
}

.post-single__content {
  margin-top: 3.5rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 2;
  color: #3f220d;
}
@media (max-width: 767px) {
  .post-single__content {
    margin-top: 2.5rem;
    font-size: 1.5rem;
  }
}

.post-single__content p {
  margin-bottom: 2rem;
  line-height: 2;
}

.post-single__content img {
  height: auto;
  border-radius: 0.8rem;
}

.post-single__content h2,
.post-single__content h3 {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 4rem 0 2rem;
}

/* =========================================================
   投稿ナビ（1.前後記事 / 2.一覧に戻る / 3.トップに戻る）
   ========================================================= */
.post-nav {
  width: 90rem;
  max-width: 100%;
  margin: 5rem auto 0;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .post-nav {
    margin-top: 3.5rem;
    padding: 0 2.5rem;
  }
}

/* 前後記事（左右） */
.post-nav__adjacent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2rem;
}
@media (max-width: 767px) {
  .post-nav__adjacent {
    gap: 1rem;
  }
}

.post-nav__prev {
  text-align: left;
}

.post-nav__next {
  margin-left: auto;
  text-align: right;
}

.post-nav__link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.6rem;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #48331c;
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
@media (max-width: 767px) {
  .post-nav__link {
    font-size: 1.2rem;
  }
}

.post-nav__link:hover {
  color: #d41819;
}

/* 一覧に戻る／トップに戻る（プッシュダウンボタン） */
.post-nav__actions {
  margin-top: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 3rem;
}
@media (max-width: 767px) {
  .post-nav__actions {
    margin-top: 3rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 2rem;
  }
}

.post-nav__btn {
  position: relative;
  display: inline-block;
  min-width: 28rem;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 767px) {
  .post-nav__btn {
    width: 100%;
    max-width: 32rem;
    min-width: 0;
  }
}

.post-nav__btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 5rem;
  background: #2f2008;
  -webkit-transform: translateY(0.6rem);
  transform: translateY(0.6rem);
  z-index: 0;
}

.post-nav__btn-inner {
  position: relative;
  z-index: 1;
  display: block;
  background: #d41819;
  color: #fff;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 1.6rem 3rem;
  border-radius: 5rem;
  transition: -webkit-transform 0.2s ease;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .post-nav__btn-inner {
    font-size: 1.6rem;
    padding: 1.4rem 2rem;
  }
}

.post-nav__btn:hover .post-nav__btn-inner {
  -webkit-transform: translateY(0.6rem);
  transform: translateY(0.6rem);
}

/* トップに戻るは黄色 */
.post-nav__btn--top::before {
  background: #b07d00;
}

.post-nav__btn--top .post-nav__btn-inner {
  background: #f6ab00;
  color: #48331c;
}

.c-breadcrumbs {
  font-size: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 0.5rem;
     -moz-column-gap: 0.5rem;
          column-gap: 0.5rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: left;
  line-height: 1.5;
  letter-spacing: 0.05em;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  white-space: wrap;
}
@media (max-width: 767px) {
  .c-breadcrumbs {
    font-size: 1.6rem;
    -webkit-column-gap: 0.3rem;
       -moz-column-gap: 0.3rem;
            column-gap: 0.3rem;
  }
}

.c-pager-area {
  margin: 6.6rem 0 10.6rem;
}
@media (max-width: 767px) {
  .c-pager-area {
    margin: 5rem 0;
  }
}

.c-pager {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 6rem 0;
  gap: 1rem;
}
@media (max-width: 767px) {
  .c-pager {
    margin: 4rem 0;
    gap: 0.5rem;
  }
}
.c-pager .page-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 4rem;
  height: 4rem;
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (max-width: 767px) {
  .c-pager .page-numbers {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.4rem;
  }
}
.c-pager .page-numbers:hover {
  background: #d41819;
  color: #fff;
  border-color: #d41819;
}
.c-pager .page-numbers.current {
  background: #333232;
  color: #fff;
  border-color: #333232;
}
.c-pager .page-numbers.dots {
  background: transparent;
  border: none;
  color: #333;
  cursor: default;
  font-weight: bold;
}
.c-pager .page-numbers.dots:hover {
  background: transparent;
  color: #333;
  border: none;
}

/* リトミックはレッスンスケジュールに変動があるため、固定テキストではなく
   ブログ記事へ誘導するボタン。デザインはトップのCTA（.contact .push-btn）と同じ
   プッシュダウン型。複数ページで共用する想定のため、セクションごとのスコープではなく
   モディファイアとして定義している。使用箇所は template-parts/schedule-blog-btn.php。 */
.push-btn--schedule {
  position: relative;
  display: block;
  width: 42rem;
  margin: 6rem auto 0;
  text-decoration: none;
  border-radius: 5rem;
  -webkit-transition: opacity 0s;
  transition: opacity 0s;
  /* SPは幅を親に追従させ、max-width で上限だけ決める */
}
@media (max-width: 767px) {
  .push-btn--schedule {
    width: 100%;
    max-width: 24rem;
    margin-top: 4rem;
  }
}
.push-btn--schedule::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  background-color: #b31c36;
}
.push-btn--schedule {
  /* _base.scss の a:hover{opacity:.6} を打ち消す。
     これが無いと hover 時だけ赤が薄くなり、ヘッダーの .reserve-button と色が違って見える */
}
.push-btn--schedule:hover {
  opacity: 1;
}
.push-btn--schedule .push-btn__inner {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.5rem;
  background: #d41819;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  padding: 2rem 6rem;
  border-radius: 5rem;
  white-space: nowrap;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
@media (max-width: 767px) {
  .push-btn--schedule .push-btn__inner {
    font-size: 1.4rem;
    padding: 1.3rem 2rem;
    gap: 1rem;
  }
}
.push-btn--schedule:hover .push-btn__inner {
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
  /* hoverで影に沈み込む */
}