@import url("https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap");

/* =================================
  common
  ================================== */

:root {
 --color-brand-1: #0d6dcc;
 --color-brand-2: #d6f1ff;
 --color-bk: #3c3c3c;
 --color-gy: #00000075;
 --color-lgy: #00000029;
 --color-or: #f87036;
}

body {
 font-family: "PT Sans", "Zen Kaku Gothic New", sans-serif;
 font-style: normal;
 font-weight: 600;
 color: var(--color-bk);
}

@media (min-width: 768px) {
 main {
  padding-top: 48px;
 }
}

a {
 color: var(--color-bk);
}

a:hover {
 color: var(--color-brand-1);
}

a img {
 transition: 0.3s;
}

a img:hover {
 scale: 1.02;
}

.single-post-content a:not(.btn):not(:has(img)) {
 border-bottom: 1px solid;
 padding-bottom: 4px;
}
.single-post-content img {
 display: inline-block;
 margin: 0 24px 0 0;
 object-fit: contain;
 border-radius: 12px;
 width: 560px;
}

hr {
 border: none;
 margin: 0;
 padding: 0;
 height: 1px;
 background: var(--color-lgy);
}

p,
a,
th,
td {
 text-box: trim-both cap alphabetic;
}

ul,
li {
 margin: 0;
 padding: 0;
}

section {
 padding: 120px 0;
}
@media (max-width: 767px) {
 section {
  padding: 64px 0;
 }
}

/* モバイル */
[id] {
 scroll-margin-top: 56px;
}

/* PC */
@media (min-width: 768px) {
 [id] {
  scroll-margin-top: 48px;
 }
}

/* =================================
  utility
  ================================== */

/* animation */
.fadein {
 opacity: 0.1;
 -webkit-transform: translate(0, 50px);
 transform: translate(0, 50px);
 -webkit-transition: 0.8s;
 transition: 0.8s;
}
.fadein.scrollin {
 opacity: 1;
 -webkit-transform: translate(0, 0);
 transform: translate(0, 0);
}

/* color */
.bg-bl {
 background: var(--color-brand-1);
}
.bg-l-bl {
 background: var(--color-brand-2);
}
.bg-wh {
 background: #fff;
}
.bg-y {
 background: #ebcc1d;
}

.col-bl {
 color: var(--color-brand-1);
}
.col-wh {
 color: #fff;
}
.col-r {
 color: #d84040;
}

/* border-radius */
.br8 {
 border-radius: 8px;
}
.br12 {
 border-radius: 12px;
}
.br20 {
 border-radius: 20px;
}
.br50 {
 border-radius: 50px;
}

/* button */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 line-height: 1.4;
 padding: 8px 40px 8px 32px;
 color: var(--color-brand-1);
 font-weight: bold;
 border: 2px solid var(--color-brand-1);
 border-radius: 50px;
 position: relative;
 transition: all 0.3s ease;
 white-space: nowrap;
}
.btn::after {
 content: "";
 position: absolute;
 top: 50%;
 right: 16px;
 translate: 0 -50%;
 display: inline-block;
 width: 5px;
 height: 5px;
 border-top: 2px solid var(--color-brand-1);
 border-right: 2px solid var(--color-brand-1);
 transform: rotate(45deg);
 transition: 0.3s;
}
.btn:hover {
 background-color: var(--color-brand-1);
 border-color: var(--color-brand-1);
 color: #fff;
}
.btn:hover::after {
 right: 12px;
 border-color: #fff;
 z-index: 2;
}

.btn-or {
 background: var(--color-or);
 border-color: var(--color-or);
 color: #fff;
}
.btn-or::after {
 border-color: #fff;
}

.btn-area {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 24px;
}
.btn-area .btn {
 flex-basis: 150px;
 width: 100%;

 background: var(--color-or);
 color: #fff;
 border-color: var(--color-or);
}
.btn-area .btn::after {
 border-color: #fff;
}
.btn-area .btn:hover {
 background: transparent;
 border-color: #fff;
}
.btn-area .btn.tel {
 font-size: 1.2rem;
}
.btn-area .btn.mail {
 font-size: 0.8rem;
}

/* img */
.img-container {
 position: relative;
 aspect-ratio: 16 / 9;
 overflow: hidden;
 margin: auto;
}
.img-container img {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.img-container.w100 {
 width: 100%;
}
.img-container.w90 {
 width: 90%;
}
.img-container.w80 {
 width: 80%;
}
.img-container.w70 {
 width: 70%;
}
.img-container.w60 {
 width: 60%;
}
.img-container.w50 {
 width: 50%;
}

@media (max-width: 767px) {
 .img-container.w90,
 .img-container.w80,
 .img-container.w70,
 .img-container.w60 {
  width: 100%;
 }
}

/* card */
.card-container {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 24px;
 width: 100%;
}

.card-container .card {
 flex: 1 1 320px; /* 縮小可能(1) 拡大可能(1) 基準幅(300px) */
 max-width: 420px; /* カード幅の最大上限 */
 box-sizing: border-box;
}
.card-container .card-2 {
 flex-basis: 300px;
 max-width: 300px;
 box-sizing: border-box;
}
.card-container .card a {
 background: #fff;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: start;
 gap: 8px;
 border-radius: 12px;
 height: 100%;
}
.card-container .card a:hover {
 filter: drop-shadow(0 0.2rem 0.6rem rgba(0, 0, 0, 0.08));
}

.card-container .card-img-wrap {
 position: relative;
 width: 100%;
 padding-top: 64%;
 overflow: hidden;
 border-radius: 8px;
}
.card-container .card a .card-img-wrap {
 width: 90%;
 margin-top: 16px;
}
.card-container .card-img-wrap img {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.4s ease;
}
.card-container .card a:hover .card-img-wrap img {
 transform: scale(1.1);
}
.card-container .card a img:hover {
 scale: 1;
}
.card-container .card a p {
 font-weight: 600;
 display: block;
 width: 100%;
 position: relative;
 text-align: center;
 font-size: 1.16rem;
 line-height: 1.4;
 padding-bottom: 16px;
}
.card-container .card a p::after {
 content: ">";
 color: #fff;
 position: absolute;
 top: 30%;
 right: 0;
 translate: -1.16rem -50%;
 background: var(--color-or);
 width: 32px;
 height: 32px;
 line-height: 30px;
 border-radius: 50px;
 filter: drop-shadow(0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.16));
 transition: 0.4s ease;
}
.card-container .card a:hover p:after {
 background: var(--color-brand-1);
 filter: unset;
}

.num-card {
 row-gap: 64px;
}

.num-card .card {
 position: relative;
 background: #fff;
 border-radius: 12px;
 padding: 1.6rem;
}
.num-card .card span {
 position: absolute;
 left: 50%;
 top: -28px;
 translate: -50%;
 display: flex;
 justify-content: center;
 align-items: center;
 text-align: center;
 width: 56px;
 height: 56px;
 border-radius: 50%;
 background: #ebcc1d;
 color: #fff;
 font-size: 2rem;
 font-weight: 600;
 font-family: "Zen Kaku Gothic New";
}
.num-card .card h5 {
 width: 280px;
 max-width: 100%;
 margin: 24px auto;
 padding: 12px 0;
 border-radius: 50px;
}

@media (max-width: 767px) {
 .num-card {
  row-gap: 56px;
 }
 .num-card .card h5 {
  width: 80%;
  margin: 16px auto;
  padding: 4px 0;
  font-size: 1rem;
 }
}

.info-card {
 display: flex;
 background: #edf9ff;
 border-radius: 12px;
}
.info-card dl {
 margin: 0;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 24px;
 flex: 50%;
 max-width: 50%;
 box-sizing: border-box;
 padding: 40px 0;
}
.info-card dl:first-child {
 border-right: 4px dashed var(--color-brand-2);
}
.info-card dl dt {
 font-weight: 600;
 font-size: 1.24rem;
}
.info-card dl dd {
 margin: 0;
 max-width: 100%;
 display: flex;
 justify-content: center;
}
.info-card dl .btn {
 box-sizing: border-box;
 width: 240px;
 height: 48px;
 color: #fff;
 white-space: nowrap;
}
.info-card dl .btn::after {
 border-color: #fff;
}
.info-card dl:first-child .btn {
 background: #1e288f;
 border-color: #1e288f;
}
.info-card dl:first-child .btn:hover {
 color: #1e288f;
}
.info-card dl:first-child .btn:hover::after {
 border-color: #1e288f;
}
.info-card dl:last-child .btn {
 background: var(--color-or);
 border-color: var(--color-or);
}
.info-card dl:last-child .btn:hover {
 color: var(--color-or);
}
.info-card dl:last-child .btn:hover::after {
 border-color: var(--color-or);
}
.info-card dl .btn:hover {
 background: transparent;
}

@media (max-width: 767px) {
 .info-card dl {
  padding: 24px 0;
  gap: 12px;
 }
 .info-card dl dt {
  font-size: 0.76rem;
 }
 .info-card dl .btn {
  max-width: 80%;
  font-size: 0.8rem;
  height: 32px;
 }
}

.table-card {
 flex: 1 1;
 background: #fff;
 border-radius: 8px;
}

.table-card thead {
 display: flex;
 justify-content: center;
 align-items: center;
 border-radius: 8px 8px 0 0;
 background: #f4f4f4;
}

.table-card thead th {
 padding: 24px 0;
 font-weight: 600;
 font-size: 1.16rem;
}

.table-card tr:not(thead tr) {
 display: flex;
 border-bottom: 1px solid var(--color-gy);
 width: 90%;
 margin: auto;
}
.table-card tr:not(:first-child, thead tr) {
 padding: 8px 0 0;
}
.table-card tbody {
 display: block;
 padding: 24px 0;
}
.table-card th:not(thead th) {
 min-width: 80px;
 padding: 16px;
 font-size: 0.8rem;
 color: var(--color-brand-1);
 font-weight: 500;
}
.table-card td {
 padding: 16px;
 font-size: 0.88rem;
 font-weight: 600;
}
.table-card td span:not(.font-s) {
 font-size: 1.16rem;
}

@media (max-width: 1240px) {
 .table-card tr:not(thead tr) {
  flex-direction: column;
 }
 .table-card th:not(thead th) {
  padding-bottom: 0;
 }
}

/* text-box */
.row-box {
 display: flex;
 flex-direction: column;
 gap: 4px;
}
.row-box div {
 flex: 1 1;
 padding: 8px 24px;
}
.row-box span {
 /* max-width: 20%; */
 border-radius: 50px;
 font-size: 0.8rem;
 padding: 4px 16px;
 white-space: nowrap;
}
.row-box dl {
 border-radius: 8px;
}
.row-box dl dt {
 display: flex;
 justify-content: center;
 align-items: center;
 border-radius: 8px 0 0 8px;
 min-width: 18%;
 max-width: 18%;
 font-size: 0.8rem;
}
.row-box dl dd {
 display: flex;
 align-items: center;
 border-radius: 0 8px 8px 0;
 font-size: 1.16rem;
 font-weight: 600;
 white-space: nowrap;
}
.row-box dl dt,
.row-box dl dd {
 flex: 1 1;
 padding: 16px 24px;
 flex-basis: 70%;
}

.row-box .sp_column {
 column-gap: 16px;
 row-gap: 8px;
 border-bottom: 1px solid var(--color-lgy);
 border-radius: 0;
}
.row-box .sp_column:last-child {
 border-bottom: 0;
}

@media (max-width: 767px) {
 .row-box dl {
  flex-direction: column;
 }
 .row-box dl dt {
  max-width: 100%;
  border-radius: 8px 8px 0 0;
  padding: 8px 24px;
 }
 .row-box dl dd {
  justify-content: center;
  border-radius: 0 0 8px 8px;
  padding: 8px 24px;
 }
 .row-box .sp_column {
  padding: 16px 24px;
  text-align: center;
 }
}

#swimming .row-box p {
 margin: 4px 0;
}

.step-box-container {
 display: grid;
 gap: 16px;
 margin-bottom: 4rem;
}
.step-box {
 display: grid;
 grid-template-columns: 100px 1fr;
 padding: 32px;
 gap: 40px;
}
.step-box span {
 border-radius: 50px;
 height: 32px;
}
.step-box dl {
 display: grid;
 gap: 24px;
}
.step-box dt {
 font-size: 1.24rem;
 margin-top: 8px;
}

@media (max-width: 1279px) {
 .step-box .sp_column {
  flex-direction: column;
  justify-content: flex-start;
 }
 .step-box .sp_column img {
  margin: 0;
 }
}

@media (max-width: 767px) {
 .step-box {
  display: block;
  padding: 16px 24px;
 }
 .step-box span {
  width: 80px;
  height: 24px;
  padding-top: 2px;
 }
 .step-box dt {
  font-size: 1.16rem;
  margin-top: 24px;
 }
}

/* list */
.checklist {
 list-style: none;
 padding: 0;
 margin: 0;
}

.checklist li {
 display: flex;
 align-items: flex-start;
 gap: 0.6em;
 margin-bottom: 0.5em;
 font-weight: 500;
 color: #333;
 position: relative;
}

.checklist li::before {
 content: "";
 position: static;
 flex-shrink: 0;
 width: 16px;
 height: 16px;
 margin-top: 0.2em;
 background-color: #f1c40f;
 border-radius: 4px;
}

.checklist li::after {
 content: "";
 position: absolute;
 top: calc(0.2em + 2px);
 left: 5px;
 width: 5px;
 height: 8px;
 border-right: 2.5px solid #fff;
 border-bottom: 2.5px solid #fff;
 transform: rotate(45deg);
}

/* table */
.table-container {
 width: 100%;
 height: calc(62px * 11);
 position: relative;
 overflow-x: auto;
 margin: 40px auto;
}
.table-container table {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 min-width: 640px;
}
.table-container tr {
 display: grid;
 grid-template-columns: repeat(8, 1fr);
}
.table-container th {
 grid-column: span 2;
 padding: 24px 8px;
 text-align: center;
 font-weight: 600;
 font-size: 1.16rem;
 border-right: 1px solid var(--color-lgy);
}
.table-container th:not(thead th) {
 color: var(--color-brand-1);
}
.table-container td {
 padding: 24px 8px;
 text-align: center;
 font-weight: 600;
}
.table-container td:not(:last-child) {
 border-right: 1px solid var(--color-lgy);
}
.table-container tr:not(:last-child) {
 border-bottom: 1px solid var(--color-lgy);
}
.table-container thead {
 display: table;
 width: 100%;
 border-radius: 8px 8px 0 0;
 background: #f4f4f4;
}
.table-container tbody {
 display: table;
 width: 100%;
 background: #fff;
 border-radius: 0 0 8px 8px;
}

.table-container.tournament-schedule,
.table-container.result {
 position: unset;
 height: auto;
}
.table-container.tournament-schedule table,
.table-container.result table {
 position: unset;
}

.table-container.result tr {
 display: flex;
 line-height: 1.24;
}
.table-container.result thead td {
 position: relative;
 height: 24px;
}
.table-container.result td span {
 position: absolute;
 top: 50%;
 left: 50%;
 translate: -50% -50%;
 width: 100%;
}
.table-container.result th {
 flex: 1 1;
 min-width: 200px;
 max-width: 240px;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 1rem;
}
.table-container.result td {
 flex: 1 1;
 width: 100px;
}
.table-container.result thead td:last-child {
 border-radius: 0 8px 0 0;
}
.swimming-table {
 position: relative;
 border-radius: 12px;
}
.swimming-table thead {
 position: sticky;
 top: 0;
 left: 0;
}
.swimming-table th:not(thead th),
.swimming-table td:not(thead td) {
 display: flex;
 justify-content: center;
 align-items: center;
 padding: 8px 12px !important;
}

@media (max-width: 767px) {
 .table-container {
  height: calc(44px * 11);
  overflow-x: scroll;
 }
 .table-container th,
 .table-container td {
  font-size: 0.88rem;
  padding: 16px 0;
 }

 .table-container.result thead td:not(.bg-bl) span {
  font-size: 0.6rem;
 }
 .table-container.result th {
  font-size: 0.7rem;
 }

 .swimming-table .font-s {
  line-height: 1.4;
  font-size: 0.76rem;
 }

 .tournament-schedule .btn {
  padding: 4px 32px 4px 24px;
  font-size: 0.8rem;
 }
}

.flex-1_1 {
 flex: 1 1;
}

/* =================================
  heading / text
  ================================== */

.section-ttl {
 margin-bottom: 56px;
}
.section-ttl h2,
.section-ttl p {
 margin: 0;
 text-align: center;
}
.section-ttl p {
 padding-top: 16px;
 letter-spacing: 2px;
}

.content h3 {
 letter-spacing: 3px;
 color: var(--color-brand-1);
}

.page-content h3 {
 text-align: center;
 border-bottom: 4px solid var(--color-brand-1);
 padding: 0 0 24px 0;
 margin: 40px auto;
 font-weight: 600;
 letter-spacing: 1.6px;
}

.h4 {
 letter-spacing: 1.6px;
 display: flex;
 gap: 12px;
 line-height: 1.4;
}
.h4 span {
 content: "";
 position: relative;
 top: 12px;
 width: 8px;
 height: 8px;
 background: var(--color-brand-1);
 border-radius: 50px;
}

.txt-container {
 width: 640px;
 max-width: 90%;
 margin: auto;
}

.txt-label {
 text-align: center;
 background: #fff;
 display: flex;
 justify-content: space-between;
 align-items: center;
 color: var(--color-brand-1);
 border-radius: 50px;
 padding: 16px 40px;
 width: 640px;
 max-width: 90%;
 margin: 64px auto;
 font-size: 1.4rem;
 font-weight: 500;
}
.txt-label::before,
.txt-label::after {
 content: "";
 background: var(--color-brand-1);
 width: 16px;
 height: 16px;
 border-radius: 50px;
}

.notice {
 display: block;
 color: #d84040;
 border: 1px solid #d84040;
 background: #fff4f4;
 padding: 18px 16px;
 text-align: center;
 letter-spacing: 1.6px;
 border-radius: 8px;
}

.underline {
 display: block;
 border-bottom: 4px dotted var(--color-brand-1);
 padding: 0 0 0.8rem;
}

@media (max-width: 767px) {
 .section-ttl {
  margin-bottom: 40px;
 }

 .section-ttl h2 {
  font-size: 1.6rem;
 }

 .txt-label {
  margin: 40px auto;
  font-size: 1rem;
  padding: 10px 16px;
  max-width: 88%;
  line-height: 1.4;
 }
 .txt-label::before,
 .txt-label::after {
  width: 8px;
  height: 8px;
 }

 .page-content h3 {
  font-size: 1.24rem;
  border-bottom: 3px solid var(--color-brand-1);
  padding: 0 0 16px 0;
 }
 .h4 span {
  top: 9px;
 }

 .notice {
  font-size: 0.8rem;
  letter-spacing: 0px;
 }
}

/* =================================
  header
  ================================== */

@media (min-width: 894px) {
 :root {
  --header-h: 80px;
 }
}

@media (max-width: 893px) {
 :root {
  --header-h: 56px;
 }
}

header a.btn {
 height: 16px;
 line-height: 16px;
 padding: 4px 16px;
 color: #fff;
 border-color: #fff;
}

header a.btn:after {
 display: none;
}

header a.btn[href*="event"] {
 background: #1e288f;
 border-color: #1e288f;
}
header a.btn[href*="campaign"] {
 background: var(--color-brand-1);
 border-color: var(--color-brand-1);
}
header a.btn[href*="contact"] {
 background: var(--color-or);
 border-color: var(--color-or);
}

header a.btn:hover {
 background-color: transparent;
 color: var(--color-brand-1);
 border-color: var(--color-brand-1);
}

.header-wrap {
 position: relative;
 width: 1480px;
 max-width: 100%;
 margin: auto;
 align-items: center;
}

header li {
 font-size: 0.8rem;
}
.header-1 {
 position: fixed;
 width: 100%;
 height: 48px;
 background: #fff;
 z-index: 9;
}

.header-1 h1 {
 font-size: 0.7rem;
 text-box: trim-both cap alphabetic;
 position: absolute;
 top: 20px;
}

.header-1 li {
 position: relative;
 display: flex;
 align-items: center;
 gap: 16px;
}

.header-1 ul:first-child li:not(:last-child)::after {
 content: "";
 background: var(--color-brand-1);
 display: inline-block;
 width: 4px;
 height: 4px;
 border-radius: 50px;
}

.header-1 li a {
 font-weight: 600;
}

.header-2 {
 position: fixed;
 top: 48px;
 left: 0;
 right: 0;
 height: var(--header-h);
 background: rgba(255, 255, 255, 0.8);
 z-index: 8;
 transform: translate3d(0, 0, 0);
 transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
 will-change: transform;
}
.header-2.has-bg {
 backdrop-filter: saturate(1.1) blur(6px);
 box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
}

.header-2.hide {
 transform: translateY(-80px);
}

.header-2.show {
 transform: translateY(0);
}

.header-2 li a {
 font-weight: 600;
}
.header-2 li a:hover img {
 scale: 1.08;
}

.header-logo {
 position: absolute;
 left: 0;
}

@media (min-width: 894px) {
 .header-wrap {
  max-width: 96%;
 }
 .main-menu {
  position: absolute;
  top: 0;
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
 }

 .header-2 ul.flex {
  height: var(--header-h);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4vw;
 }

 .header-2 li a img {
  position: relative;
  top: -8px;
 }

 header .sp {
  display: none;
 }
}

nav ul .flex a::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: 0;
 width: 100%;
 height: 1px;
 background-color: var(--color-brand-1);
 /* 初期状態（縮んだ状態） */
 transform: scaleX(0);
 /* アニメーションの起点（初期状態は右端にしておく） */
 transform-origin: right top;
 /* アニメーションの変化時間 */
 transition: transform 0.3s ease;
}

nav ul .flex a:hover::after {
 /* 横幅を100%まで伸ばす */
 transform: scaleX(1);
 /* ホバー時は左端から伸ばす */
 transform-origin: left top;
}

@media (max-width: 893px) {
 header .pc {
  display: none;
 }
 header .sp {
  display: block;
 }
 .header-1 {
  display: none;
 }
 .header-2 {
  top: 0;
  background: #fff;
 }

 .header-logo {
  width: 180px;
  position: absolute;
  top: 16px;
  left: 16px;
 }

 header a.btn {
  padding: 8px 16px;
 }

 .hamburger {
  position: fixed;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: var(--color-brand-1);
  z-index: 999;
 }
 .hamburger.active {
  background: var(--color-gy);
 }
 .hamburger span {
  position: absolute;
  left: 50%;
  translate: -50%;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease-in-out;
 }
 .hamburger span:nth-of-type(1) {
  top: 22px;
 }
 .hamburger span:nth-of-type(2) {
  bottom: 22px;
 }
 .hamburger.active span:nth-of-type(1) {
  transform: translateY(5px) rotate(315deg);
 }
 .hamburger.active span:nth-of-type(2) {
  transform: translateY(-5px) rotate(-315deg);
 }

 .hamburger-menu {
  transform-origin: top center;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100vw;
  height: calc(100vh);
  transform: translateX(100vw);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition:
   transform 0.2s ease-in-out,
   opacity 0.4s ease-in-out,
   visibility 0s 0.2s;
 }
 .hamburger-menu.active {
  transform-origin: top center;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition:
   transform 0.2s ease-in-out,
   opacity 0.4s ease-in-out,
   visibility 0s;
  overflow-y: auto;
  background: var(--color-brand-2);
  position: relative;
  z-index: 9;
 }
 .hamburger-menu ul:not(ul.flex) {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: column;
 }

 nav {
  max-width: 90%;
  margin: auto;
 }
 nav a img {
  width: 24px;
  margin-bottom: 8px;
 }
 nav .flex * {
  flex: 1;
 }

 .hamburger-menu ul li {
  width: 100%;
 }

 .hamburger-menu ul li a:not(ul.flex li a) {
  display: block;
  text-align: center;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
 }

 .hamburger-menu ul.flex {
  width: 100%;
  padding: 32px 0 16px;
 }
 .hamburger-menu ul.flex li {
  background: #fff;
  flex-basis: 28%;
  padding: 16px 0 8px;
  border-radius: 8px;
  font-size: 0.7rem;
 }

 header .sp .flex {
  flex-wrap: wrap;
  row-gap: 16px;
 }
 header a.btn[href*="event"] {
  flex-basis: 38%;
 }
 header a.btn[href*="campaign"] {
  flex-basis: 38%;
 }
 header a.btn[href*="contact"] {
  flex-basis: 100%;
 }
}

@media (min-width: 894px) {
 nav ul .flex a {
  position: relative;
  top: 6px;
 }
}

@media (max-width: 1240px) {
 header h1 {
  display: none;
 }
}

/* =================================
  Header Dropdown (お知らせ用)
  ================================== */
@media (min-width: 894px) {
 /* 親要素を基準にする */
 .nav-dropdown {
  position: relative;
  /* マウスが外れてすぐにメニューが消えないように余白を確保 */
  padding: 12px 0;
 }

 /* サブメニューの基本スタイル（非表示状態） */
 .nav-dropdown .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* 少し下に配置 */
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition:
   opacity 0.3s ease,
   transform 0.3s ease,
   visibility 0.3s ease;
  z-index: 99;
 }

 /* ホバー時にスッと表示 */
 .nav-dropdown:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0); /* 定位置へスライド */
 }

 /* サブメニュー内のリストスタイル調整 */
 .nav-dropdown .sub-menu li {
  display: block;
  width: 100%;
 }

 /* 既存のheader-1の青いドットがサブメニューにも継承されるのを防ぐ */
 .header-1 .nav-dropdown .sub-menu li::after {
  display: none !important;
 }

 /* サブメニュー内のリンクスタイル */
 .nav-dropdown .sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--color-bk);
  text-align: center;
  transition:
   background-color 0.2s ease,
   color 0.2s ease;
 }

 /* 既存の下線アニメーションを無効化し、背景色を変える */
 .nav-dropdown .sub-menu li a::after {
  display: none !important;
 }

 .nav-dropdown .sub-menu li a:hover {
  background-color: var(--color-brand-2);
  color: var(--color-brand-1);
 }
}

/* =================================
    top page contents
  ================================= */

/* NEWS / CAMPAIGN */
.news-container {
 background-color: #ffffff;
 border-radius: 12px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
 padding: 10px 30px;
}

.archive-news .news-container {
 border-radius: 0 12px 12px;
}

.news-list {
 list-style: none;
 padding: 0;
 margin: 0;
}

.news-item {
 border-bottom: 1px solid #f0f0f0;
}
.news-item:last-child {
 border-bottom: none;
}

.news-link {
 display: flex;
 align-items: center;
 padding: 18px 0;
 text-decoration: none;
 transition: 0.3s ease;
}
.news-link:hover {
 translate: 4px;
 opacity: 0.8;
}

.news-cat {
 display: flex;
 justify-content: center;
 align-items: center;
 width: 90px;
 text-align: center;
 padding: 4px 8px;
 font-size: 0.7rem;
 color: #fff;
 border-radius: 50px;
 flex-shrink: 0;
}

.single-post .news-cat {
 width: 120px;
}

/* 【重要】カテゴリーごとの色分け（管理画面のスラッグ名と合わせてください） */
/* 基本 */
.news-cat {
 background-color: #0284c7;
}
/* 会員向け */
.news-cat.cat-member {
 background-color: #1e288f;
}
/* テニス */
.news-cat.cat-tennis {
 background-color: #209e41;
}
/* キャンペーン */
.news-cat.cat-campaign {
 background-color: #eab308;
}

.news-cat a {
 display: flex;
 justify-content: center;
 align-items: center;
 color: #fff;
 font-size: 0.8rem;
}
.news-cat a:hover {
 color: var(--color-brand-2);
 letter-spacing: 2px;
}

.news-date {
 font-size: 15px;
 color: #0284c7;
 margin-left: 15px;
 flex-shrink: 0;
}

.news-title {
 font-size: 15px;
 margin-left: 20px;
 padding: 4px 0;
 flex-grow: 1;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis; /* 長すぎるテキストを「...」にする */
}

.arrow-icon {
 position: relative;
 width: 20px;
 height: 20px;
 flex-shrink: 0;
}
.arrow-icon::after {
 content: "";
 position: absolute;
 top: 50%;
 right: 5px;
 width: 6px;
 height: 6px;
 border-top: 2px solid #d1d5db;
 border-right: 2px solid #d1d5db;
 transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 767px) {
 .news-link {
  flex-wrap: wrap;
 }
 .news-title {
  margin-left: 0;
  width: 90%;
 }
 .news-container {
  padding: 10px 15px;
 }
}

/* タブのスタイル追加 */
.news-tabs {
 display: flex;
 list-style: none;
 padding: 0;
 gap: 10px; /* タブ間の余白 */
}

.tab-btn {
 padding: 12px 24px;
 background-color: #f3f4f6;
 color: #6b7280;
 border-radius: 8px 8px 0 0;
 cursor: pointer;
 font-weight: bold;
 font-size: 15px;
 transition: all 0.2s ease;
 text-align: center;
}

/* アクティブなタブ */
.tab-btn.active {
 background-color: var(--color-brand-1);
 color: #fff;
 box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
 position: relative;
 z-index: 1; /* コンテナの影の上に乗せる */
}

/* タブコンテンツの表示・非表示 */
.tab-content {
 display: none;
}
.tab-content.active {
 display: block;
}

.news-no-posts {
 padding: 16px 0;
}

.pagination {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 8px;
}
.pagination .page-numbers {
 display: flex;
 align-items: center;
 justify-content: center;
 height: 36px;
 padding: 0 16px;
 border: 1px solid var(--color-brand-1);
 border-radius: 4px;
 text-decoration: none;
 color: var(--color-brand-1);
 font-size: 0.8rem;
 font-weight: 500;
 transition: all 0.2s ease;
 white-space: nowrap;
}
.pagination .page-numbers.current {
 background-color: #0284c7;
 color: #ffffff;
 border-color: #0284c7;
}
.pagination a:hover:not(.current) {
 background-color: #f3f4f6;
}

.pagination .dots {
 position: unset;
}

/* SERVICE */
.service-container {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
 gap: 24px;
}
.service-container .content {
 background: #fff;
 padding: 24px;
}

.service-container .content img {
 margin: 0;
 width: 100%;
 height: 300px;
}

.service-container .content h3 {
 margin: 0;
}
.service-container .content p {
 margin: 0;
}
.service-container .content .btn {
 width: 160px;
}

@media (max-width: 767px) {
 .service-container {
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
 }
 .service-container .content img {
  height: 200px;
 }
}

/* EVENT */
.event img {
 object-fit: contain;
}

/* =================================
      FOOTER
  ================================= */

@media (max-width: 767px) {
 .access-section iframe {
  height: 260px;
 }
}

footer h1,
footer h2 {
 font-size: 1.24rem;
}

footer p {
 font-size: 0.88rem;
}

footer .copy {
 color: var(--color-brand-2);
}

.foot-top {
 padding: 80px 0 40px;
 border-bottom: 1px solid var(--color-gy);
}
.foot-nav {
 padding: 64px 0;
}

.foot-nav ul {
 list-style: disc;
 list-style-position: inside;
}

.foot-nav li a {
 position: relative;
 padding: 4px;
 z-index: 1;
}
.foot-nav li a::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: 0;
 width: 100%;
 height: 1px;
 background-color: var(--color-brand-1);
 /* 初期状態（縮んだ状態） */
 transform: scaleX(0);
 /* アニメーションの起点（初期状態は右端にしておく） */
 transform-origin: right top;
 /* アニメーションの変化時間 */
 transition: transform 0.3s ease;
}

.foot-nav li a:hover::after {
 /* 横幅を100%まで伸ばす */
 transform: scaleX(1);
 /* ホバー時は左端から伸ばす */
 transform-origin: left top;
}
.foot-nav .sub {
 list-style: circle;
 list-style-position: inside;
 font-weight: 500;
}
.foot-bottom {
 padding: 80px 0;
}

.foot-bottom .content-left {
 min-width: 260px;
}
.foot-bottom .content-right {
 max-width: 580px;
 flex-grow: 2;
 padding: 2rem;
 background: #1f53bb;
}

@media (max-width: 767px) {
 footer .btn {
  line-height: 24px;
  height: 24px;
 }
 .foot-top {
  padding: 40px 0 24px;
  gap: 24px;
  align-items: center;
 }
 .foot-top .btn {
  padding-left: 20px;
  padding-right: 40px;
  font-size: 0.8rem;
 }
 .foot-nav {
  padding: 32px 16px 40px;
 }
 .foot-nav li {
  font-size: 0.8rem;
 }
 .foot-bottom {
  padding: 40px 0;
 }
}

/* =================================
      subpage contents
  ================================= */
.content-head {
 position: relative;
 top: 80px;
 margin-bottom: 80px;
}
.content-head:not(.no-image)::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background-color: rgba(22, 22, 22, 0.24);
}
.content-head:not(.no-image) .wrap {
 position: absolute;
 width: 100%;
 height: 300px;
 top: 50%;
 left: 50%;
 translate: -50% -50%;
 z-index: 1;
 color: #fff;
}
.content-head-img {
 width: 100%;
 height: 300px;
 object-fit: cover;
 object-position: center 10%;
}
.content-head h2 {
 color: #fff;
}
.content-head:not(.no-image) h2 {
 margin: 80px 0 40px;
}

.content-head.no-image {
 background: #1e288f;
}
.content-head.no-image .wrap {
 height: 160px;
}
.content-head.no-image h2 {
 position: absolute;
 top: 50%;
 translate: 0 -50%;
 margin: 0;
 font-size: 2.4rem;
}

@media (max-width: 893px) {
 .content-head {
  top: 0;
  margin-bottom: 0;
 }
}
@media (max-width: 767px) {
 .content-head {
  top: 56px;
  margin-bottom: 56px;
 }
 .no-image:not(.no-image) h2 {
  margin: 70px 0 0;
 }
 .content-head.no-image .wrap {
  height: 120px;
 }
 .content-head.no-image h2 {
  font-size: 1.4rem;
 }
}
@media (min-width: 1560px) {
 .content-head:not(.no-image)::before,
 .content-head:not(.no-image) .wrap,
 .content-head-img {
  height: 400px;
 }
 .content-head.no-image {
  height: 160px;
 }
 .content-head:not(.no-image) h2 {
  margin: 124px 0 40px;
 }
}

.link-list {
 height: 120px;
}
.link-list ul {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 align-content: center;
 row-gap: 8px;
 column-gap: 24px;
 width: 100%;
 height: 100%;
}
.link-list li {
 display: flex;
 align-items: center;
}
.link-list .btn {
 background: var(--color-brand-1);
 color: #fff;
}
.link-list .btn::after {
 border-color: #fff;
 rotate: 90deg;
}
.link-list .btn:hover {
 color: var(--color-brand-1);
 background: transparent;
 border-color: var(--color-brand-1);
 translate: 0 2px;
}
.link-list .btn:hover::after {
 right: 16px;
 border-color: var(--color-brand-1);
}
@media (max-width: 767px) {
 .link-list ul {
  column-gap: 16px;
 }
 .link-list .btn {
  font-size: 0.8rem;
  padding: 4px 24px 3px 16px;
 }
 .link-list .btn::after,
 .link-list .btn:hover::after {
  scale: 0.6;
  right: 10px;
 }
}

.contact-container {
 padding: 48px 0;
}
.contact-container h4 {
 text-align: center;
 font-size: 1.16rem;
 color: var(--color-brand-1);
 margin-bottom: 32px;
}
.contact-container .btn-area .btn:hover {
 color: var(--color-or);
 border-color: var(--color-or);
}
.contact-container .btn-area .btn:hover::after {
 border-color: var(--color-or);
}
.contact-container p {
 width: 472px;
 max-width: 100%;
 margin: 2rem auto 0;
 font-weight: 500;
}

/* =================================
  LADIES TOURNAMENT
  ================================== */
.tennis-ladies {
 background-image: url(../img/tennis/bg-tournament.png);
 background-repeat: no-repeat;
 background-position: center;
 background-size: cover;
}

.tennis-ladies .wrap {
 position: relative;
}

.tennis-ladies .flex-img {
 position: absolute;
 width: 100%;
 height: 300px;
}
.tennis-ladies .flex-img img:first-child {
 position: absolute;
 top: -60%;
 left: -4%;
 width: 16em;
}
.tennis-ladies .flex-img img:last-child {
 position: absolute;
 top: -45%;
 right: -2%;
 width: 10em;
}

.tennis-ladies .section-ttl {
 color: #d84040;
}

.tennis-ladies .info-card {
 background: #fff;
}
.tennis-ladies .info-card .btn {
 width: 400px;
 max-width: 90%;
 height: 64px;
}
.tennis-ladies .info-card dt {
 font-size: 1rem;
 color: #d84040;
}
.tennis-ladies .info-card dl:first-child .btn {
 background: #ebcc1d;
 border-color: #ebcc1d;
 color: #1e288f;
}
.tennis-ladies .info-card dl:last-child .btn {
 background: transparent linear-gradient(90deg, #ff3466 0%, #e0189b 100%) 0% 0% no-repeat padding-box;
 border-color: #e0189b;
}
.tennis-ladies .info-card dl:first-child .btn::after {
 border-color: #1e288f;
}
.tennis-ladies .info-card dl .btn:hover {
 background: transparent;
 border-color: var(--color-brand-1);
 color: var(--color-brand-1);
}
.tennis-ladies .info-card dl .btn:hover::after {
 border-color: var(--color-brand-1);
}

@media (max-width: 1239px) {
 .tennis-ladies .flex-img img:first-child {
  position: absolute;
  top: -33%;
  left: -8%;
  width: 12em;
 }
 .tennis-ladies .flex-img img:last-child {
  position: absolute;
  top: -30%;
  right: -4%;
  width: 9em;
 }
}
@media (max-width: 767px) {
 .tennis-ladies .flex-img {
  display: none;
 }
 .tennis-ladies .info-card {
  flex-direction: column;
  background: #fff;
 }
 .tennis-ladies .info-card dd {
  width: 100%;
  margin: 0;
 }
 .tennis-ladies .info-card dl {
  min-width: 100%;
 }
 .tennis-ladies .info-card dl:first-child {
  border-right: 0;
  border-bottom: 2px dashed var(--color-brand-2);
 }
 .tennis-ladies .info-card dt {
  font-size: 0.8rem;
 }
 .tennis-ladies .info-card .btn {
  width: 100%;
  height: 56px;
  line-height: 1.4;
  font-size: 0.8rem;
 }
}

.division-container p {
 position: relative;
 padding: 16px;
 width: 100px;
 margin: auto;
 text-align: center;
 background: #d84040;
 color: #fff;
 letter-spacing: 0.4rem;
 text-indent: 0.4rem;
 border-radius: 50px;
 z-index: 1;
}

.division-container img {
 margin-top: -24px;
 width: 400px;
 max-width: 80%;
 height: 480px;
 object-position: top center;
}

.tournament-bracket img {
 display: block;
 width: 100%;
 max-width: 900px;
 height: auto;
 margin: 24px auto 0;
 object-fit: contain;
}

.tournament-result h4 {
 display: flex;
 align-items: center;
 gap: 1rem;
}
.tournament-result h4::before {
 content: "";
 background: var(--color-brand-1);
 width: 8px;
 height: 8px;
 border-radius: 100%;
}

@media (max-width: 767px) {
 .division-container img {
  height: 320px;
 }
}

/* ==========================================================================
   アコーディオン全体（<details>）
   ========================================================================== */
.lesson-accordion {
 width: 100%;
 margin-bottom: 24px;
}

/* デフォルトの矢印マークを消去 */
.lesson-accordion__summary::-webkit-details-marker {
 display: none;
}

/* 見出し部分（<summary>） */
.lesson-accordion__summary {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 16px 40px;
 background-color: #ffffff;
 border-top: 2px solid var(--color-brand-1);
 border-bottom: 2px solid var(--color-brand-1);
 cursor: pointer;
 list-style: none;
 user-select: none;
 transition: 0.3s;
}
.lesson-accordion__summary:hover {
 translate: 0 4px;
 color: var(--color-brand-1);
}

.lesson-accordion__title {
 letter-spacing: 0.1em;
}
@media (min-width: 768px) {
 .lesson-accordion__title {
  font-size: 1.24rem;
 }
}

/* 右端の矢印アイコン（CSSで作成） */
.lesson-accordion__summary::after {
 content: "";
 position: absolute;
 right: 24px;
 top: 50%;
 width: 10px;
 height: 10px;
 border-top: 2px solid var(--color-brand-1);
 border-right: 2px solid var(--color-brand-1);
 /* デフォルトは右向き「>」 */
 transform: translateY(-50%) rotate(45deg);
 transition: transform 0.3s ease;
}

/* 開いたときの矢印回転（下向き「∨」へ） */
.lesson-accordion[open] .lesson-accordion__summary::after {
 transform: translateY(-70%) rotate(135deg);
}

/* 滑らかな開閉アニメーションのためのCSS Grid設定 */
.lesson-accordion__content {
 display: grid;
 grid-template-rows: 0fr;
 transition:
  grid-template-rows 0.3s ease,
  padding 0.3s ease;
 overflow: hidden;
}

.lesson-accordion[open] .lesson-accordion__content {
 grid-template-rows: 1fr;
 padding-top: 16px;
}

.lesson-accordion__inner {
 min-height: 0;
 display: flex;
 flex-direction: column;
 gap: 12px;
}

/* ==========================================================================
   レッスンカード要素
   ========================================================================== */
.lesson-card {
 display: flex;
 background-color: #ffffff;
 border-radius: 8px;
 overflow: hidden;
}

.lesson-card h3 {
 margin: 0;
 padding: 8px 0;
}

/* 左側：青背景見出しエリア */
.lesson-card__header {
 flex-shrink: 0;
 width: 32%;
 padding: 16px 12px;
 background-color: var(--color-brand-1);
 color: #ffffff;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 8px;
 text-align: center;
}

.lesson-card__title {
 margin: 0;
 font-size: 0.95rem;
 font-weight: 700;
 line-height: 1.3;
}

/* 難易度バッジ */
.lesson-card__badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 background-color: #ffffff;
 padding: 8px 24px;
 border-radius: 50px;
 font-size: 0.75rem;
 font-weight: 700;
}

.lesson-card__label {
 color: var(--color-brand-1);
}

/* 星評価 */
.lesson-card__stars {
 display: inline-flex;
 gap: 2px;
 color: #d1d5db; /* 非アクティブ時の灰色 */
}

.lesson-card__stars .star.--active {
 color: #f59e0b; /* アクティブ時の黄色 */
}

/* 右側：説明テキストエリア */
.lesson-card__body {
 flex-grow: 1;
 padding: 16px 20px;
 display: flex;
 align-items: center;
}

.lesson-card__text {
 margin: 0;
 font-size: 0.875rem;
 line-height: 1.6;
 color: #333333;
}

@media (max-width: 767px) {
 .lesson-card {
  flex-direction: column;
 }
 .lesson-card h3 {
  font-size: 0.88rem;
 }
 .lesson-card__header {
  width: 100%;
 }
}

/* =================================
  schedule table
  ================================== */
.schedule-table {
 width: 100%;
 border-collapse: separate;
 border-spacing: 0;
 border-radius: 8px;
 overflow: hidden;
 text-align: center;
 background: #fff;
}

.schedule-table th,
.schedule-table td {
 padding: 24px 12px;
 border-right: 1px solid var(--color-lgy);
 border-bottom: 1px solid var(--color-lgy);
 vertical-align: middle;
 text-align: center;
 font-weight: 600;
}

.schedule-table tr td:last-child,
.schedule-table tr th:last-child {
 border-right: none;
}
.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
 border-bottom: none;
}

/* 曜日ヘッダー */
.schedule-table .time-label {
 background-color: #f4f4f4;
 font-weight: 600;
 width: 22%;
}

/* 時間表示 */
.schedule-table .col-bl {
 font-weight: 700;
}

@media (max-width: 767px) {
 .schedule-table th,
 .schedule-table td {
  padding: 12px 8px;
  font-size: 0.88rem;
 }
}

.wave-bg {
 position: relative;
 padding-bottom: 24px; /* 波の高さ分の余白 */
}

.wave-bg::after {
 content: "";
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 height: 24px; /* 波の上下幅 */

 /* SVGマスクで波型にくり抜く */
 -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0 C150,90 350,-40 500,40 C650,120 900,-20 1200,40 L1200,120 L0,120 Z" fill="%23000"/></svg>');
 mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 20" preserveAspectRatio="none"><path d="M0,10 Q15,0 30,10 T60,10 L60,20 L0,20 Z" fill="%23000"/></svg>');

 -webkit-mask-size: 60px 100%; /* 横幅60pxごとに波をリピート */
 mask-size: 60px 100%;
 -webkit-mask-repeat: repeat-x;
 mask-repeat: repeat-x;
}

.wave-bg-1 {
 background-color: #d6f1ff;
}
.wave-bg-2 {
 background-color: #fff8c5;
 padding-top: 40px;
}
.wave-bg-3 {
 background-color: #2f9af5;
 padding-top: 40px;
}
.wave-bg-4 {
 background-color: var(--color-bg-2);
}

.wave-bg-1::after {
 background-color: #fff8c5;
}
.wave-bg-2::after {
 background-color: #2f9af5;
}
.wave-bg-3::after {
 background-color: #d6f1ff;
}

/* 波線の区切り線 */
.wave-line {
 border: none;
 height: 12px; /* 波の全体の高さ */
 width: 100%;
 margin: 56px 0; /* 上下の余白（お好みで調整） */
 background-color: #fff8c5;
 /* インラインSVGで滑らかな青い波線を描画 */
 background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 12" fill="none"><path d="M0,6 Q10,0 20,6 T40,6" stroke="%230d6dcc" stroke-width="2.5" stroke-linecap="round"/></svg>');
 background-repeat: repeat-x;
 background-position: center;
 background-size: 32px 12px; /* 波1サイクルの幅(32px)と高さ(12px) */
}

/* =================================
  キャンペーン情報
  ================================== */
.campaign .grid a {
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
 padding: 8px;
}
.campaign .grid a:hover {
 translate: 0 -4px;
 scale: 1.02;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =================================
  KIDS DANCE
  ================================== */
.kids-dance-1 {
 background-image: url(../img/dance/bg.png);
 background-repeat: no-repeat;
 background-position: center;
 background-size: cover;
}
.kids-dance-2 {
 background: #2b2b2b;
}
.kids-dance-2 .img-container {
 aspect-ratio: 1 / 1;
}
@media (max-width: 767px) {
 .kids-dance-2 .img-container {
  aspect-ratio: 4 / 3;
 }
}

/* =================================
  PRICE
  ================================== */
.price th,
.price td {
 display: flex;
 justify-content: center;
 align-items: center;
 padding: 12px 8px;
}
.price table .font-s {
 font-weight: 500;
}
@media (max-width: 767px) {
 .price table .font-s {
  font-size: 0.72rem;
 }
 .price table .btn {
  width: 120px;
  white-space: wrap;
  line-height: 1.24;
  font-size: 0.7rem;
 }
}

/* =================================
  APPLY
  ================================== */
.apply .card-img-wrap {
 padding: 40px 0;
}
.apply .card img {
 object-fit: contain;
 width: 80px;
 left: 50%;
 top: 50%;
 translate: -50% -50%;
}
.apply .card:nth-child(2) img {
 left: 55.2%;
}

/* =================================
  INFORMATION
  ================================== */
.info .txt-container {
 width: 1080px;
}
.info .grid {
 gap: 24px;
}
.info .grid div {
 padding: 24px 8px;
}
.info .grid img {
 max-height: 64px;
}
.info .grid p {
 margin: 0;
 text-align: center;
 line-height: 1.4;
}

.info .table-card th:not(thead th) {
 min-width: 120px;
}

@media (max-width: 1439px) {
 .info .gtc-6 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
 }
}
@media (max-width: 767px) {
 .info .font-l {
  font-size: 1.16rem;
 }
 .info .grid {
  gap: 8px;
 }
 .info .gtc-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
 }
 .info .grid div {
  padding: 16px 4px;
 }
 .info .grid img {
  max-height: 40px;
  max-width: 48px;
  object-fit: contain;
 }
 .info .grid p {
  font-size: 0.64rem;
 }
 .info .table-card th:not(thead th) {
  min-width: 64px;
 }
}

/* =================================
  EVENT
  ================================== */
.event .grid {
 grid-auto-flow: dense;
}
.event a div {
 padding: 16px;
}
.event a img {
 border-radius: 8px;
}
.event a img:hover {
 scale: 1;
}
.event a:hover {
 translate: 0 -4px;
 filter: drop-shadow(0 0.2rem 0.6rem rgba(0, 0, 0, 0.08));
}

/* =================================
  CONTACT
  ================================== */
.custom-form-container {
 margin: auto;
 width: 100%;
}

.custom-form-container .form-row {
 margin-bottom: 16px;
}

.custom-form-container .form-label {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 8px;
}

.custom-form-container .required-badge {
 background-color: #d84040;
 color: #fff;
 font-size: 0.6rem;
 letter-spacing: 2px;
 text-indent: 2px;
 font-weight: 700;
 padding: 0 4px;
 border-radius: 4px;
 height: 18px;
 line-height: 18px;
}

.custom-form-container input[type="text"],
.custom-form-container input[type="tel"],
.custom-form-container input[type="email"],
.custom-form-container textarea {
 width: 100%;
 background-color: #fff;
 border: 2px solid transparent;
 border-radius: 8px;
 padding: 8px 12px;
 font-size: 1rem;
 line-height: 1.6;
 color: var(--color-bk);
 transition:
  border-color 0.3s ease,
  box-shadow 0.3s ease;
}

.custom-form-container textarea {
 height: 180px;
}

.custom-form-container ::placeholder {
 color: var(--color-gy);
}

.custom-form-container input[type="text"]:focus,
.custom-form-container input[type="tel"]:focus,
.custom-form-container input[type="email"]:focus,
.custom-form-container textarea:focus {
 border-color: var(--color-brand-1);
 box-shadow: 0 0 0 3px rgba(13, 109, 204, 0.2); /* --color-brand-1 の透過色 */
}
.submit-wrapper {
 min-width: 100%;
 height: 56px;
 position: relative;
}
.submit-wrapper .btn {
 position: absolute;
 top: 50%;
 left: 50%;
 translate: -50% -50%;
 font-size: 1rem;
 letter-spacing: 4px;
 text-indent: 4px;
 line-height: 16px;
 padding: 0;
 height: 42px;
 line-height: 40px;
 width: 240px;
 background: var(--color-or);
 border-color: var(--color-or);
 color: #fff;
 cursor: pointer;
}

.submit-wrapper .btn:hover,
.submit-wrapper .btn:active {
 background: transparent;
 color: var(--color-or);
 cursor: pointer;
}

/* =================================
  CF7 アラート・送信結果メッセージ
  ================================== */

/* --- 1. 入力エラー時のフィールド枠線・背景色 --- */
.custom-form-container .wpcf7-not-valid {
 border-color: #d84040 !important;
 background-color: #fff4f4;
}

/* --- 2. 各項目のエラーメッセージ（テキスト） --- */
.custom-form-container .wpcf7-not-valid-tip {
 color: #d84040;
 font-size: 0.8rem;
 font-weight: 600;
 margin-top: 8px;
 display: flex;
 align-items: center;
 gap: 6px;
}

/* エラーメッセージの先頭に「!」アイコンをCSSで追加して視認性アップ */
.custom-form-container .wpcf7-not-valid-tip::before {
 content: "!";
 display: inline-flex;
 justify-content: center;
 align-items: center;
 width: 16px;
 height: 16px;
 background-color: #d84040;
 color: #fff;
 border-radius: 50%;
 font-size: 0.75rem;
 font-weight: bold;
 line-height: 1;
}

/* --- 3. 送信完了 / フォーム全体エラー のメッセージボックス --- */
.custom-form-container .wpcf7-response-output {
 margin: 40px 0 0 0 !important; /* デフォルトのマージンをリセット */
 padding: 16px 24px !important;
 border-radius: 8px !important;
 font-size: 0.95rem;
 font-weight: 600;
 text-align: center;
 border: 1px solid transparent !important; /* デフォルトの太い枠線を消去 */
 line-height: 1.6;
}

/* 送信成功時のスタイル（サイトのブランドカラーに統一） */
form.sent .wpcf7-response-output,
.wpcf7-mail-sent-ok {
 background-color: #edf9ff !important; /* 共通CSSにある薄い青 */
 color: var(--color-brand-1) !important;
 border-color: var(--color-brand-1) !important;
}

/* エラー時（未入力や送信失敗など）のスタイル */
form.invalid .wpcf7-response-output,
form.failed .wpcf7-response-output,
form.aborted .wpcf7-response-output,
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
 background-color: #fff4f4 !important;
 color: #d84040 !important;
 border-color: #d84040 !important;
}

/* --- 4. スピナー（ローディングアイコン）の配置補正 --- */
/* 現在ボタンが absolute で中央配置されているため、スピナーが重ならないよう右側にオフセット */
.submit-wrapper .wpcf7-spinner {
 position: absolute;
 top: 50%;
 left: calc(50% + 140px); /* ボタンの幅の半分(120px) + 余白(20px) */
 translate: 0 -50%;
 margin: 0;
}

/* =================================
  送信完了時の表示切り替え
  ================================== */

/* 送信成功時、フォームの入力エリア（.custom-form-container）を非表示にする */
form.sent .custom-form-container,
form[data-status="sent"] .custom-form-container {
 display: none;
}

/* 送信成功時の完了メッセージを少し大きく・中央寄りに調整（任意） */
form.sent .wpcf7-response-output,
form[data-status="sent"] .wpcf7-response-output {
 padding: 40px;
 border-radius: 12px;
 max-width: 800px;
}

/* =================================
  サイトマップ
  ================================== */
.sitemap-link-1 li a::before {
 content: "";
 width: 4px;
 height: 4px;
 background: var(--color-brand-1);
 border-radius: 100%;
}
.sitemap-link-1 li a {
 display: flex;
 align-items: center;
 gap: 16px;
 background: #fff;
 color: var(--color-brand-1);
 border-radius: 12px;
 padding: 16px 24px;
 margin-bottom: 16px;
 border: 2px solid transparent;
}
.sitemap-link-1 li a:hover {
 background: transparent;
 border: 2px solid var(--color-brand-1);
}

.sitemap-link-2 li a {
 display: flex;
 align-items: center;
 gap: 16px;
 padding: 0 0 0 16px;
}
.sitemap-link-2 li:first-child a::before {
 content: "";
 width: 4px;
 height: 4px;
 background: var(--color-bk);
 border-radius: 100%;
}
.sitemap-link-2 li:not(:first-child) a::before {
 content: "";
 width: 4px;
 height: 1px;
 background: var(--color-bk);
 border-radius: 100%;
}
.sitemap-link-2 li:not(:first-child) a {
 font-weight: 500;
}
.sitemap-link-2 li:last-child {
 margin-bottom: 40px;
}

@media (max-width: 1240px) {
 .sitemap .gtc-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 16px;
 }
 .sitemap .grid ul:last-child {
  margin-bottom: 40px;
 }
 .sitemap-link-2 li:last-child {
  margin-bottom: 0px;
 }
}
@media (max-width: 767px) {
 .sitemap-link-1 li a {
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
 }
 .sitemap .grid {
  display: block;
 }
 .sitemap-link-2 li:last-child {
  margin-bottom: 16px;
 }
}

/* =================================
  Cookie Policy Specific Styles
  ================================== */
.cookie-policy p,
.cookie-policy dl,
.cookie-policy li,
.cookie-policy td {
 font-weight: 500;
}

.cookie-policy h2 {
 font-size: clamp(1.25rem, 2vw, 1.5rem);
}
.cookie-policy h3 {
 color: unset;
 font-size: clamp(1.125rem, 1.8vw, 1.25rem);
 margin: 40px 0 16px;
 padding: 0;
 border-bottom: 1px solid var(--color-bk);
 text-align: left;
}

/* アコーディオン内のカテゴリバッジ */
.service-category-badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 margin-left: auto;
 margin-right: 32px; /* 矢印アイコンと重ならないように余白を確保 */
 padding: 4px 16px;
 background-color: var(--color-brand-2);
 color: var(--color-brand-1);
 border-radius: 50px;
 font-size: 0.8rem;
 font-weight: 700;
}

/* 各サービスの説明（DLリスト） */
.service-info-dl {
 display: grid;
 grid-template-columns: 120px 1fr;
 gap: 16px 24px;
 margin-bottom: 24px;
}

.service-info-dl dt {
 font-weight: 700;
 color: var(--color-brand-1);
 border-bottom: 2px dotted var(--color-brand-2);
 padding-bottom: 8px;
}

.service-info-dl dd {
 margin: 0;
 padding-bottom: 8px;
 border-bottom: 1px solid var(--color-lgy);
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
 .service-category-badge {
  font-size: 0.7rem;
  padding: 2px 12px;
  margin-right: 24px;
 }

 .service-info-dl {
  grid-template-columns: 1fr;
  gap: 8px;
 }

 .service-info-dl dt {
  border-bottom: none;
  padding-bottom: 0;
 }

 .service-info-dl dd {
  margin-bottom: 16px;
 }
}

/* Cookie banner */
.cmplz-title {
 font-weight: 600 !important;
 font-size: 1.24rem !important;
 margin-bottom: -24px;
 letter-spacing: 1px;
}
.cmplz-body p {
 font-weight: 400;
 line-height: 1.4;
}
@media (min-width: 768px) {
}
@media (max-width: 767px) {
 .cmplz-cookiebanner {
  left: 50% !important;
  translate: -50%;
  bottom: 1rem !important;
  width: 94% !important;
 }
 .cmplz-title {
  display: block !important;
  font-size: 1rem !important;
 }
}

/* 再試行ボタンは読み込み失敗時のみ表示する。 */
[data-archive-more][hidden] {
    display: none !important;
}
