@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  list-style: none;
  text-decoration: none;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

ol, ul {
  list-style: none;
}

ul, ol, li {
  list-style-type: none;
  padding: 0;
}

dl, dt, dd {
  margin: 0;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*画像*/
img {
  width: 100%;
  height: auto;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/*アンカー*/
a {
  outline: none;
  text-decoration: none;
}

a img {
  outline: none;
  border: 0;
}

:focus {
  outline: 0;
}

/*フォーム*/
input,
textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-width: 0;
}

::-webkit-input-placeholder {
  color: #999;
}

::-moz-placeholder {
  color: #999;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #999;
}

/*iOS用にスタイルをリセット*/
input[type=submit],
input[type=button] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input[type=submit]::-webkit-search-decoration,
input[type=button]::-webkit-search-decoration {
  display: none;
}

input[type=submit]::focus,
input[type=button]::focus {
  outline-offset: -2px;
}

/******************************************************************************
*
* カラー変数
*
******************************************************************************/
/******************************************************************************
*
* フォント設定
*
******************************************************************************/
/* サブタイトル用フォントサイズ（SP→PC） */
/* サブタイトル強調用 */
/******************************************************************************
*
* レイアウト・余白設定
*
******************************************************************************/
/******************************************************************************
*
* z-index 管理
*
******************************************************************************/
/******************************************************************************
*
* レスポンシブ設定
*
******************************************************************************/
/******************************************************************************
*
* フォントサイズ + 行間 設定
*
******************************************************************************/
h1 {
  font-size: 32px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  h1 {
    font-size: 28px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 768px) {
  h1 {
    font-size: 32px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 992px) {
  h1 {
    font-size: 40px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1200px) {
  h1 {
    font-size: 36px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1600px) {
  h1 {
    font-size: 44px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 2500px) {
  h1 {
    font-size: 44px;
    line-height: 1.4;
  }
}

h2 {
  font-size: 28px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  h2 {
    font-size: 24px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 768px) {
  h2 {
    font-size: 26px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 992px) {
  h2 {
    font-size: 28px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1200px) {
  h2 {
    font-size: 32px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1600px) {
  h2 {
    font-size: 36px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 2500px) {
  h2 {
    font-size: 36px;
    line-height: 1.4;
  }
}

h3 {
  font-size: 24px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  h3 {
    font-size: 20px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 768px) {
  h3 {
    font-size: 28px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 992px) {
  h3 {
    font-size: 34px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1200px) {
  h3 {
    font-size: 40px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1600px) {
  h3 {
    font-size: 40px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 2500px) {
  h3 {
    font-size: 40px;
    line-height: 1.4;
  }
}

h4 {
  font-size: 16px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  h4 {
    font-size: 16px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 768px) {
  h4 {
    font-size: 22px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 992px) {
  h4 {
    font-size: 22px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1200px) {
  h4 {
    font-size: 22px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1600px) {
  h4 {
    font-size: 22px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 2500px) {
  h4 {
    font-size: 22px;
    line-height: 1.4;
  }
}

h5 {
  font-size: 18px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  h5 {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 768px) {
  h5 {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 992px) {
  h5 {
    font-size: 18px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1200px) {
  h5 {
    font-size: 20px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1600px) {
  h5 {
    font-size: 20px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 2500px) {
  h5 {
    font-size: 20px;
    line-height: 1.6;
  }
}

h6 {
  font-size: 14px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  h6 {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 768px) {
  h6 {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 992px) {
  h6 {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1200px) {
  h6 {
    font-size: 20px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1600px) {
  h6 {
    font-size: 20px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 2500px) {
  h6 {
    font-size: 20px;
    line-height: 1.6;
  }
}

p {
  font-size: 12px;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  p {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (max-width: 767px) {
  p {
    font-size: 12px;
    line-height: 2;
  }
}
@media screen and (min-width: 992px) {
  p {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (min-width: 1200px) {
  p {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 1600px) {
  p {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 2500px) {
  p {
    font-size: 16px;
    line-height: 2;
  }
}

a {
  font-size: 14px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  a {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 992px) {
  a {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1200px) {
  a {
    font-size: 22px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1600px) {
  a {
    font-size: 22px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 2500px) {
  a {
    font-size: 22px;
    line-height: 1.6;
  }
}

div {
  font-size: 14px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  div {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 992px) {
  div {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1200px) {
  div {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1600px) {
  div {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 2500px) {
  div {
    font-size: 16px;
    line-height: 1.6;
  }
}

/******************************************************************************
*
* 画像の表示切替
*
******************************************************************************/
.sp-only {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

.pc-only {
  display: none;
}
@media screen and (min-width: 1200px) {
  .pc-only {
    display: block;
  }
}

.md-only {
  display: none;
}
@media screen and (min-width: 768px) {
  .md-only {
    display: block;
  }
}

.lg-only {
  display: none;
}
@media screen and (min-width: 992px) {
  .lg-only {
    display: block;
  }
}

/******************************************************************************
*
* ベーススタイル（要素初期化・共通設定）
*
******************************************************************************/
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: "Zen Maru Gothic", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.8;
  max-width: 1920px;
  margin: 0 auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0;
  color: #333333;
  background-color: #FDFDFD;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Zen Maru Gothic", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 700;
  display: block;
  line-height: 1;
  color: #333333;
  margin: 0;
  text-align: center;
}

p {
  text-align: center;
}

a {
  color: #FFC800;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover, a:focus {
  opacity: 0.7;
}

img {
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  appearance: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  border-radius: 0;
  outline: none;
}

iframe {
  max-width: 100%;
  border: none;
  display: block;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/******************************************************************************
*
* コンテナ（レイアウトのベース幅・余白）
*
******************************************************************************/
.l-container {
  width: 90%;
  max-width: 1000px;
  padding-block: 16px;
  margin-inline: auto;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .l-container {
    padding-block: 80px;
  }
}
.l-container-sm {
  width: 90%;
  padding-block: 20px;
  margin-inline: auto;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .l-container-sm {
    padding-block: 40px;
  }
}
.l-container-xl {
  width: 90%;
  max-width: 1440px;
  padding-block: 16px;
  margin-inline: auto;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .l-container-xl {
    padding-block: 80px;
  }
}

/******************************************************************************
*
* セクション間の余白
*
******************************************************************************/
.l-section {
  padding-block: 25px;
}
@media screen and (min-width: 768px) {
  .l-section {
    padding-block: 60px;
  }
}

/******************************************************************************
*
* 横並び用（flex）
*
******************************************************************************/
.l-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.l-flex.-center {
  justify-content: center;
  align-items: center;
}
.l-flex.-between {
  justify-content: space-between;
}
.l-flex.-column {
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .l-flex {
    flex-wrap: nowrap;
  }
}

/******************************************************************************
*
* header
*
******************************************************************************/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.site-header__inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 1rem;
}
.site-header__logo {
  position: relative;
  z-index: 9998;
}
.site-header__logo img {
  display: block;
  width: 50px;
  height: auto;
}
.site-header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fdfdfd;
  flex-direction: column;
  padding: 4rem 2rem;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
}
.site-header__nav.is-open {
  right: 0;
}
.site-header__toggle {
  display: block;
  z-index: 1000;
  background: #FFC800;
  border: none;
  width: 60px;
  height: 60px;
  padding: 0.5rem;
  cursor: pointer;
}
.site-header__toggle-icon {
  display: block;
  width: 15px;
  height: 1.5px;
  background: #fff;
  margin: 4px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header__toggle.is-open .site-header__toggle-icon:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.site-header__toggle.is-open .site-header__toggle-icon:nth-child(2) {
  opacity: 0;
}
.site-header__toggle.is-open .site-header__toggle-icon:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.site-header__list {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
}
.site-header__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 1rem 1rem;
}
.site-header__item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: #30b1bb;
  left: 0;
  bottom: 0;
}
.site-header__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 1px #FFC800;
  border-right: solid 1px #FFC800;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 1rem;
  bottom: 0;
  margin: auto;
}
.site-header__item a {
  color: #333333;
  font-family: "Zen Maru Gothic", cursive;
  transition: 0.3s;
  display: block;
  white-space: nowrap;
}
.site-header__item :hover {
  color: var(--accent-color);
  transition: 0.3s;
}
.site-header__item-demo {
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: #fff;
  border-radius: 9999px;
  white-space: nowrap;
  font-weight: 600;
  margin: 1rem 0;
}
.site-header__item-demo a {
  color: #fff;
}
@media screen and (min-width: 1200px) {
  .site-header__logo img {
    width: 80px;
  }
  .site-header__nav {
    width: 20vw;
    padding: 6rem 2rem 0;
  }
  .site-header__toggle {
    width: 80px;
    height: 80px;
  }
  .site-header__toggle-icon {
    display: block;
    width: 30px;
    height: 1.5px;
    margin: 8px auto;
  }
  .site-header__toggle.is-open .site-header__toggle-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .site-header__toggle.is-open .site-header__toggle-icon:nth-child(2) {
    opacity: 0;
  }
  .site-header__toggle.is-open .site-header__toggle-icon:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
}

.l-footer {
  text-align: center;
}
.l-footer__copyright {
  font-size: 0.75em;
  font-family: "Zen Maru Gothic", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #333333;
  line-height: 1.2;
  display: block;
  padding: 16px;
}
.l-footer__banner {
  background: url("../images/s4-bg-sp.png") center no-repeat;
  background-size: 100%;
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}
.l-footer__banner img {
  max-width: 615px;
}
.l-footer__banner__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  align-items: center;
}
.l-footer__banner__item {
  width: 49%;
}
@media screen and (min-width: 768px) {
  .l-footer__banner__item {
    width: 24%;
  }
}
.l-footer__contact {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background-color: #FDFDFD;
  border-radius: 4px;
  padding: 12px 40px;
}
@media screen and (min-width: 768px) {
  .l-footer__contact {
    border-radius: 8px;
  }
}
.l-footer__contact img {
  display: block;
  width: auto;
  height: 2em;
}
.l-footer__contact p {
  color: #333333;
  margin: 0;
  line-height: 1.2;
  text-align: left;
}

.c-cta {
  text-align: center;
}
.c-cta__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
  max-width: 768px;
}
@media screen and (min-width: 768px) {
  .c-cta__list {
    gap: 60px;
  }
}
.c-cta__item {
  margin: 0 auto;
}
.c-cta__plan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (min-width: 992px) {
  .c-cta__plan {
    gap: 30px;
  }
}
.c-cta__plan::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 1px;
  background: #FFC800;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 992px) {
  .c-cta__plan::before {
    gap: 30px;
  }
}
.c-cta__plan::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 10px;
  background: #FFC800;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.c-cta__btn {
  margin: 0 auto;
  width: 80%;
  max-width: 600px;
}

.fixed-cta {
  position: fixed;
  z-index: 9999;
  left: auto;
  right: 4px;
  width: max-content;
  transition: bottom 0.3s ease, opacity 0.3s ease;
  bottom: -120px;
}
.fixed-cta__container {
  width: auto;
}
.fixed-cta img {
  width: 212px;
  display: block;
}
@media screen and (min-width: 768px) {
  .fixed-cta img {
    width: 425px;
  }
}
.fixed-cta.is-visible {
  bottom: 1vh;
  opacity: 1;
}

/******************************************************************************
*
* セクション共通スタイル（タイトル・説明文など）
*
******************************************************************************/
.c-section {
  padding-block: 56px;
}
@media screen and (min-width: 768px) {
  .c-section {
    padding-block: 88px;
  }
}
.c-section__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 16px;
  text-align: center;
}
@media screen and (min-width: 1200px) {
  .c-section__inner {
    padding-inline: 0;
  }
}
.c-section__head {
  text-align: center;
  margin-bottom: 2.25rem;
}
@media screen and (min-width: 768px) {
  .c-section__head {
    margin-bottom: 4.5rem;
  }
}
.c-section__wrapper {
  display: inline-block;
}
.c-section__title {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: #333333;
  display: block;
  margin-bottom: 2.25rem;
}
@media screen and (max-width: 767px) {
  .c-section__title {
    font-size: 20px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 768px) {
  .c-section__title {
    font-size: 28px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 992px) {
  .c-section__title {
    font-size: 34px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1200px) {
  .c-section__title {
    font-size: 40px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 1600px) {
  .c-section__title {
    font-size: 40px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 2500px) {
  .c-section__title {
    font-size: 40px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 768px) {
  .c-section__title {
    margin-bottom: 4.5rem;
  }
}
.c-section__subtitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
@media screen and (min-width: 768px) {
  .c-section__subtitle {
    font-size: 26px;
  }
}
.c-section__small {
  font-size: 12px;
  line-height: 2;
  font-family: "Zen Maru Gothic", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 500;
  text-align: right;
}
@media screen and (min-width: 768px) {
  .c-section__small {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (max-width: 767px) {
  .c-section__small {
    font-size: 12px;
    line-height: 2;
  }
}
@media screen and (min-width: 992px) {
  .c-section__small {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (min-width: 1200px) {
  .c-section__small {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 1600px) {
  .c-section__small {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 2500px) {
  .c-section__small {
    font-size: 16px;
    line-height: 2;
  }
}
.c-section__en {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #30b1bb;
}
.c-section__lead {
  font-size: 16px;
  font-weight: 700;
  color: #30b1bb;
}
@media screen and (min-width: 768px) {
  .c-section__lead {
    font-size: 26px;
  }
}

/******************************************************************************
*
* Utility（!importantなし）
*
******************************************************************************/
/* テキスト配置 */
.u-text-left {
  text-align: left;
}

.u-text-center {
  text-align: center;
}

.u-text-right {
  text-align: right;
}

/* SPのときだけ改行するユーティリティ */
.u-br-sp {
  display: block;
}
@media screen and (min-width: 992px) {
  .u-br-sp {
    display: none;
  }
}

/* 表示制御 */
.u-hidden {
  display: none;
}

.u-block {
  display: block;
}

.u-inline {
  display: inline;
}

.u-inline-block {
  display: inline-block;
}

/* フォントウェイト */
.u-fw-bold {
  font-weight: 700;
}

.u-fw-medium {
  font-weight: 500;
}

.u-fw-regular {
  font-weight: 400;
}

/* フォントサイズ */
/* 親要素に対して85%サイズ */
.u-fs-85 {
  font-size: 0.85em;
}

/* マージンボトム */
.u-mb-0 {
  margin-bottom: 0;
}

.u-mb-16 {
  margin-bottom: 1rem;
}

.u-mb-24 {
  margin-bottom: 1.5rem;
}

.u-mb-32 {
  margin-bottom: 2rem;
}

.u-mb-40 {
  margin-bottom: 2.5rem;
}

/* パディング */
.u-pt-40 {
  padding-top: 2.5rem;
}

.u-pb-40 {
  padding-bottom: 2.5rem;
}

/* 幅 */
.u-w-100 {
  width: 100%;
}

/* テキストカラー */
.u-color-main {
  color: #FFC800;
}

.u-color-sub {
  color: #30b1bb;
}

.u-color-white {
  color: #fdfdfd;
}

/* 背景色 */
.u-bg-main {
  background-color: #FFC800;
}

.u-bg-sub {
  background-color: #30b1bb;
}

/* その他 */
.u-nowrap {
  white-space: nowrap;
}

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

/* ボーダー */
.u-border {
  position: relative;
}
.u-border::before {
  content: "";
  position: absolute;
  width: 10%;
  height: 1px;
  background: #FFC800;
  left: 0;
  bottom: 0;
  z-index: 5;
}
.u-border::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #30b1bb;
  left: 0;
  bottom: 0;
  z-index: 4;
}

/* 視覚的にのみ非表示（スクリーンリーダーには読み上げ） */
.u-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Decoration images (共通装飾用画像スタイル)
========================= */
.u-deco {
  display: inline;
  width: auto;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.p-fv {
  position: relative;
  width: 100%;
  text-align: center;
  padding-block: 1rem;
  background-color: rgba(255, 200, 0, 0.1);
}
@media screen and (min-width: 992px) {
  .p-fv {
    padding-inline: 60px;
  }
}
.p-fv__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
.p-fv__lead--top {
  padding-block: 0 1rem;
}
.p-fv__lead--bottom {
  padding-block: 1rem;
  line-height: 1.2em;
}
.p-fv__num {
  font-size: 18px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-fv__num {
    font-size: 36px;
  }
}
.p-fv__image {
  position: relative;
}
.p-fv__image picture,
.p-fv__image img {
  display: block;
  width: 100%;
  height: auto;
}
.p-fv__image img {
  max-width: 1800px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .p-fv__image img {
    border-radius: 30px;
  }
}

.p-navi {
  background: url("../images/navi-bg.jpg") center/cover no-repeat;
}
.p-navi__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .p-navi__list {
    gap: 16px 24px;
    padding-inline: 0;
  }
}
.p-navi__item {
  flex: 0 1 calc(50% - 10px);
}
@media screen and (min-width: 768px) {
  .p-navi__item {
    flex: 0 1 calc((100% - 48px) / 3);
  }
}
.p-navi__link {
  display: block;
  text-decoration: none;
}
.p-navi__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 307px;
  margin-inline: auto;
  user-select: none;
}

#rules {
  scroll-margin-top: 4.5rem;
}

/* =========================
   Sectio1: Intro
========================= */
.p-intro {
  position: relative;
  overflow-x: hidden;
  /* ---------- PC以上：横並び（必要に応じて） ---------- */
}
.p-intro__stage {
  position: relative;
  width: 100%;
  display: block;
  padding-inline: 16px;
}
.p-intro__boximg {
  position: relative;
  width: 100%;
  max-width: 800px;
  z-index: 10;
}
.p-intro__boximg picture,
.p-intro__boximg img {
  display: block;
  width: 100%;
  height: auto;
}
.p-intro__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.p-intro__title {
  position: relative;
  z-index: 10;
}
.p-intro__title::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 70%;
  height: 50%;
  background: url("../images/deco-line.png") right bottom no-repeat;
  background-size: contain;
  z-index: -1;
}
.p-intro__deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  width: clamp(40px, 24vw, 100px);
}
.p-intro__deco--l {
  left: -10%;
}
.p-intro__deco--r {
  right: -10%;
}
@media screen and (min-width: 992px) {
  .p-intro__stage {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .p-intro__deco {
    position: static;
    transform: none;
    width: clamp(100px, 18vw, 240px);
  }
  .p-intro__overlay {
    padding: 64px;
  }
}

/* =========================
   Section2: #こどもええ顔
========================= */
.p-hash {
  position: relative;
  background-color: rgba(48, 177, 187, 0.1);
  /* 上下のカーブ境界 */
  /* 内側 */
  /* タイトル */
  /* 本文 */
  /* SP用デコ（左上・右上に配置） */
}
.p-hash__edge {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  opacity: 0.1;
}
.p-hash__inner {
  position: relative;
  z-index: 0;
  padding-block: 56px;
  text-align: center;
}
@media screen and (min-width: 1200px) {
  .p-hash__inner {
    width: 1000px;
    padding-block: 88px;
    margin-inline: auto;
  }
}
.p-hash__head {
  position: relative;
  text-align: center;
  margin-bottom: 2.25rem;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .p-hash__head {
    margin-bottom: 4.5rem;
  }
}
.p-hash__title {
  display: inline-block;
  width: 180px;
}
@media screen and (min-width: 768px) {
  .p-hash__title {
    width: auto;
  }
}
.p-hash__body {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.p-hash__body p {
  line-height: 1.9;
  color: #333333;
}
.p-hash__deco {
  position: absolute;
  height: auto;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.p-hash__deco--l {
  left: 0;
  top: 12%;
  width: 24%;
}
@media screen and (min-width: 768px) {
  .p-hash__deco--l {
    top: 20%;
  }
}
.p-hash__deco--r {
  right: 0;
  bottom: 18%;
  width: 30%;
}
@media screen and (min-width: 768px) {
  .p-hash__deco--r {
    bottom: 16%;
  }
}
@media screen and (min-width: 768px) {
  .p-hash__deco {
    width: auto;
    margin: 0;
  }
}

/* =========================
   Section3: #書き下ろしミュージック
========================= */
.p-music {
  position: relative;
  text-align: center;
  overflow-x: hidden;
  /* 装飾（音符・雲などの画像）は擬似要素 or デコクラスで管理 */
}
.p-music::before, .p-music::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.p-music__sub {
  position: relative;
  display: inline-block;
  z-index: 10;
  line-height: 1;
}
.p-music__sub::after {
  content: "";
  position: absolute;
  right: 0px;
  bottom: -4px;
  width: 102%;
  height: 50%;
  background: url("../images/s3-decoline.png") right bottom no-repeat;
  background-size: contain;
  z-index: -1;
}
.p-music__video iframe,
.p-music__video video {
  display: block;
  width: 90%;
  max-width: 720px;
  margin-inline: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/9;
  height: auto;
}
.p-music__video iframe {
  margin-block: 2.25rem;
}
@media screen and (min-width: 768px) {
  .p-music__video iframe {
    margin-block: 4.5rem;
  }
}
.p-music__stage {
  position: relative;
  width: 100%;
  display: block;
  padding-inline: 16px;
  /* ベースライン隙間防止 */
  user-select: none;
  pointer-events: none;
}
.p-music__deco {
  position: absolute;
  z-index: 0;
  width: auto;
}
.p-music__deco--l {
  width: 24%;
  top: 100px;
  left: -16px;
}
@media screen and (min-width: 992px) {
  .p-music__deco--l {
    left: -14%;
    transform: translateY(16%);
  }
}
.p-music__deco--r {
  width: 20%;
  top: 60px;
  right: -16px;
}
@media screen and (min-width: 992px) {
  .p-music__deco--r {
    right: -14%;
  }
}
.p-music__deco--pen {
  width: 33px;
  bottom: 0.25em;
  right: -30px;
}
@media screen and (min-width: 768px) {
  .p-music__deco--pen {
    width: 66px;
    bottom: 1.5em;
    right: calc(-66px - 1em);
  }
}
.p-music__deco--dot {
  display: block;
  width: auto;
  height: auto;
  max-width: 163px;
  margin: 0 auto 2.5rem;
}
.p-music__deco--3 {
  width: 42px;
  top: -6px;
  left: -5px;
}
@media screen and (min-width: 768px) {
  .p-music__deco--3 {
    width: 84px;
    top: -12px;
    left: -10px;
  }
}
.p-music__deco--4 {
  width: 42px;
  bottom: -6px;
  right: -5px;
}
@media screen and (min-width: 768px) {
  .p-music__deco--4 {
    width: 84px;
    bottom: -12px;
    right: -10px;
  }
}
.p-music__wrapper {
  position: relative;
  background-color: rgba(48, 177, 187, 0.1);
  width: 100%;
  text-align: center;
  padding-block: 56px;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .p-music__wrapper {
    width: 90%;
    padding-block: 88px;
    margin-inline: auto;
  }
}
@media screen and (min-width: 1200px) {
  .p-music__wrapper {
    width: 100%;
  }
}
.p-music__head {
  position: relative;
  display: inline-block;
  overflow: visible;
}
.p-music__sub2 {
  text-align: center;
  z-index: 10;
  line-height: 1;
}

/* =========================
   Section4: 応募
========================= */
.p-apply {
  position: relative;
  /* セクション内 背景 */
  background: url("../images/s4-bg-sp.png") center no-repeat;
  background-size: 100%;
  /* 境界画像（セクション外） */
  /* タイトル一式 */
  /* 「応募」の上にデコ×2（s4-deco1.png） */
  /* 右下デコ（s4-deco.png） */
  /* カード群 */
  /* ステップ */
  /* 追記文 */
}
.p-apply__edge {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  line-height: 0;
  font-size: 0;
}
.p-apply__edge img {
  display: block;
}
.p-apply__edge--top {
  margin-bottom: -1px;
}
.p-apply__edge--bottom {
  margin-top: -1px;
}
.p-apply .c-section {
  padding-block: 0;
}
.p-apply__head {
  text-align: center;
  margin-bottom: 2.25rem;
}
.p-apply__acc {
  margin-top: 0.5rem;
  color: white;
}
@media screen and (min-width: 768px) {
  .p-apply__acc {
    margin-top: 1rem;
  }
}
.p-apply__title {
  position: relative;
  color: #fdfdfd;
  position: relative;
  display: inline-block;
  margin: 0;
}
.p-apply__title-ja {
  position: relative;
  display: inline-block;
}
.p-apply__title-ja::before {
  content: "";
  position: absolute;
  bottom: 100%;
  width: 8px;
  height: 8.5px;
  background: url("../images/s4-deco1.png") center/contain no-repeat;
  left: 30%;
}
@media screen and (min-width: 768px) {
  .p-apply__title-ja::before {
    width: 14px;
    height: 15px;
  }
}
.p-apply__deco {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  right: -0.9em;
  bottom: -0.2em;
  width: 64%;
  z-index: 0;
}
.p-apply__stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}
@media screen and (min-width: 1200px) {
  .p-apply__stage {
    margin-inline: auto;
    margin-bottom: 4.5rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.p-apply__card {
  background: #fff;
  border-radius: 30px;
  padding: clamp(16px, 4vw, 24px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 620px;
  text-align: center;
  /* SP寄せ：左／右 */
  /* PCは横並び中央 */
}
.p-apply__card--left {
  margin-right: auto;
}
@media screen and (max-width: 767px) {
  .p-apply__card--left {
    border-radius: 0 15px 15px 0;
  }
}
.p-apply__card--right {
  margin-left: auto;
}
@media screen and (max-width: 767px) {
  .p-apply__card--right {
    border-radius: 15px 0 0 15px;
  }
}
@media screen and (min-width: 768px) {
  .p-apply__card {
    margin: 0 auto;
  }
}
.p-apply__cardTitle {
  font-weight: 700;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  /* 下線っぽいアクセント */
}
.p-apply__cardTitle--small {
  font-size: 12px;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-apply__cardTitle--small {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (max-width: 767px) {
  .p-apply__cardTitle--small {
    font-size: 12px;
    line-height: 2;
  }
}
@media screen and (min-width: 992px) {
  .p-apply__cardTitle--small {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (min-width: 1200px) {
  .p-apply__cardTitle--small {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 1600px) {
  .p-apply__cardTitle--small {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 2500px) {
  .p-apply__cardTitle--small {
    font-size: 16px;
    line-height: 2;
  }
}
.p-apply__cardTitle::after {
  content: "";
  position: absolute;
  right: 0px;
  bottom: 4px;
  width: 100%;
  height: 14%;
  background: url("../images/s3-decoline.png") right bottom no-repeat;
  background-size: 100% 100%;
  z-index: 1;
}
.p-apply__steps {
  display: grid;
  gap: 12px;
}
.p-apply__step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}
.p-apply__step p {
  text-align: left;
}
.p-apply__stepIcon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  user-select: none;
}
.p-apply__note {
  color: #fdfdfd;
  line-height: 2em;
  text-align: center;
}

/* =========================
   Section5: プレゼント
========================= */
.p-gift {
  position: relative;
  /* タイトル周り */
  /* タイトルのデコ */
  /* リード文 & メッセージ画像 */
  /* グリッド：SP1列 / PC2列 */
  /* カード */
  /* プレゼント名（バー） */
  /* 補足見出し */
  /* ダウンロードボタン群 */
}
.p-gift__head {
  display: inline-block;
  position: relative;
  text-align: center;
  margin-inline: auto;
}
.p-gift__title {
  display: inline-block;
  position: relative;
}
.p-gift__title-ja {
  position: relative;
  display: inline-block;
}
.p-gift__title-ja::before {
  content: "";
  position: absolute;
  top: 0.1em;
  left: -0.2em;
  width: 12px;
  height: 8px;
  background: url("../images/s5-deco3.png") center/contain no-repeat;
}
@media screen and (min-width: 768px) {
  .p-gift__title-ja::before {
    width: 25px;
    height: 17px;
  }
}
.p-gift__title-ja::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -0.3em;
  /* 文字の上側 */
  width: 12px;
  height: 8px;
  background: url("../images/s5-deco4.png") center/contain no-repeat;
}
@media screen and (min-width: 768px) {
  .p-gift__title-ja::after {
    width: 25px;
    height: 17px;
  }
}
.p-gift__deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.p-gift__deco--lt {
  /* 左上 */
  width: 22px;
  top: -12px;
  left: -22px;
}
@media screen and (min-width: 768px) {
  .p-gift__deco--lt {
    width: 42px;
    top: -20px;
    left: -46px;
  }
}
.p-gift__deco--rb {
  /* 右下 */
  width: 35px;
  right: -8px;
  bottom: 26px;
}
@media screen and (min-width: 768px) {
  .p-gift__deco--rb {
    width: 69px;
    right: -16px;
    bottom: 40px;
  }
}
.p-gift__lead {
  text-align: center;
  margin-bottom: 2.25rem;
}
@media screen and (min-width: 768px) {
  .p-gift__lead {
    margin: 0 auto 4.5rem;
  }
}
.p-gift__message {
  position: relative;
  width: min(600px, 92%);
  margin: 0 auto -20px;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .p-gift__message {
    margin: 0 auto -50px;
  }
}
.p-gift__message img {
  display: block;
  width: 100%;
  height: auto;
}
.p-gift__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}
@media screen and (min-width: 992px) {
  .p-gift__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    margin: 0 auto 4.5rem;
  }
}
.p-gift__thumb {
  position: relative;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .p-gift__thumb {
    border-radius: 30px;
  }
}
.p-gift__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 768px) {
  .p-gift__thumb img {
    border-radius: 30px;
  }
}
.p-gift .p-gift__label {
  position: absolute;
  bottom: 0.5rem;
  margin: 0;
  padding: 4px 24px;
  color: #FDFDFD;
  background: #30b1bb;
  border-radius: 5px;
  font-weight: 700;
  display: inline-block;
  width: max-content;
  line-height: 1.3;
}
@media screen and (min-width: 768px) {
  .p-gift .p-gift__label {
    bottom: 2rem;
  }
}
.p-gift .p-gift__label::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -10px;
  width: 18.5px;
  height: 32px;
  background: url("../images/s5-deco5.png") center/contain no-repeat;
}
@media screen and (min-width: 768px) {
  .p-gift .p-gift__label::before {
    width: 25px;
    height: 100%;
  }
}
.p-gift .p-gift__label--left {
  left: 5%;
}
@media screen and (min-width: 768px) {
  .p-gift .p-gift__label--left {
    left: 15%;
  }
}
.p-gift .p-gift__label--right {
  right: 5%;
}
@media screen and (min-width: 768px) {
  .p-gift .p-gift__label--right {
    right: 15%;
  }
}
.p-gift__other {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 30px;
  border: 2px solid #30b1bb;
}
.p-gift__note {
  position: relative;
  margin: 0 auto;
  text-align: center;
  background: #30b1bb;
  border: 2px solid #30b1bb;
  color: #fff;
  padding: 20px 0;
  border-radius: 27px 27px 0 0;
}
.p-gift__note::before {
  position: absolute;
  content: "";
  background-image: url(../images/gift_deco_01.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 5px;
}
@media screen and (min-width: 768px) {
  .p-gift__note::before {
    width: 30px;
    height: 30px;
    left: 20%;
    top: 10px;
  }
}
.p-gift__note::after {
  position: absolute;
  content: "";
  background-image: url(../images/gift_deco_02.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  right: 3px;
  bottom: 5px;
}
@media screen and (min-width: 768px) {
  .p-gift__note::after {
    width: 30px;
    height: 30px;
    right: 20%;
    bottom: 10px;
  }
}
.p-gift__presents {
  position: relative;
  padding: 1rem 0;
}
@media screen and (min-width: 768px) {
  .p-gift__presents {
    padding: 2rem 0;
  }
}
.p-gift__presents::before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  background-image: url(../images/gift_deco_04.png);
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 8px;
  left: 12px;
}
@media screen and (min-width: 768px) {
  .p-gift__presents::before {
    width: 80px;
    height: 80px;
    top: 10px;
    left: 15px;
  }
}
.p-gift__presents::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  background-image: url(../images/gift_deco_03.png);
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 5px;
  right: 8px;
}
@media screen and (min-width: 768px) {
  .p-gift__presents::after {
    width: 100px;
    height: 100px;
    bottom: 3px;
    right: 20px;
  }
}
.p-gift__actions {
  display: inline-block;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: auto;
  background: #FFC800;
  border-radius: 20px;
  padding-inline: 16px;
  padding: 20px 40px;
}
@media screen and (min-width: 1200px) {
  .p-gift__actions {
    gap: 18px;
    border-radius: 30px;
  }
}
.p-gift__btn {
  position: relative;
  display: inline-flex;
  align-items: center; /* 縦方向を中央揃え */
  justify-content: center; /* 横方向も中央揃え */
  color: #333333;
  text-decoration: none;
  font-weight: 700;
  line-height: 2;
  /* 下線画像（デコライン） */
}
.p-gift__btn:hover {
  opacity: 0.9;
}
.p-gift__btnUnderline {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.p-gift__btnIcon {
  width: 18px;
  height: auto;
  margin-right: 8px;
}

/* =========================
   Section6: 募集イメージ
========================= */
.p-image {
  /* ギャラリー：SP=横スライド / PC=2×3グリッド */
  /* 角デコ */
  /* SPページドット */
}
.p-image__title {
  position: relative;
  display: inline-block;
  color: #FDFDFD;
}
.p-image__title::before {
  content: "";
  position: absolute;
  top: 0.1em;
  left: -1.2em;
  aspect-ratio: 31/36;
  width: auto;
  height: 90%;
  background: url("../images/s6-deco1.png") center/contain no-repeat;
}
.p-image__title::after {
  content: "";
  position: absolute;
  bottom: 0.1em;
  right: -1.1em;
  aspect-ratio: 30/36;
  width: auto;
  height: 90%;
  background: url("../images/s6-deco2.png") center/contain no-repeat;
}
.p-image__gallery {
  /* SP: 横スライド */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80vw;
  gap: clamp(16px, 4vw, 20px);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-inline: -16px;
  padding-inline: 10vw;
  scroll-padding-inline: 10vw;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.p-image__gallery::-webkit-scrollbar {
  display: none;
}
@media screen and (min-width: 768px) {
  .p-image__gallery {
    /* PC: 2×3グリッドに切替 */
    overflow: visible;
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: clamp(20px, 3vw, 32px);
    margin-inline: 0;
    padding-inline: 0;
  }
}
.p-image__card {
  scroll-snap-align: center;
  background: #fdfdfd;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: clamp(14px, 3.5vw, 18px);
  position: relative;
}
.p-image__thumb {
  border-radius: 22px;
  margin-bottom: clamp(10px, 2.5vw, 14px);
}
.p-image__thumb img {
  border-radius: 15px;
  aspect-ratio: 5/3;
  object-fit: cover;
  display: block;
  width: 100%;
  height: auto;
}
.p-image__corn {
  position: absolute;
  width: 45px;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.p-image__corn--tl {
  left: 0;
  top: 0;
  transform: translate(-10%, -10%);
}
.p-image__corn--br {
  right: 0;
  bottom: 0;
  transform: translate(10%, 10%);
}
.p-image__desc {
  font-size: 12px;
  line-height: 2;
  color: #333333;
  line-height: 1.9;
  text-align: center;
  padding: 0 8px;
}
@media screen and (min-width: 768px) {
  .p-image__desc {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (max-width: 767px) {
  .p-image__desc {
    font-size: 12px;
    line-height: 2;
  }
}
@media screen and (min-width: 992px) {
  .p-image__desc {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (min-width: 1200px) {
  .p-image__desc {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 1600px) {
  .p-image__desc {
    font-size: 16px;
    line-height: 2;
  }
}
@media screen and (min-width: 2500px) {
  .p-image__desc {
    font-size: 16px;
    line-height: 2;
  }
}
.p-image__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
@media screen and (min-width: 768px) {
  .p-image__dots {
    display: none;
  }
}
.p-image__dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fdfdfd;
  opacity: 0.8;
}
.p-image__dots li.is-active {
  background: #FFC800;
  opacity: 1;
}

/* =========================
   Section７: シェア
========================= */
.p-share {
  /* Block: frame scales to inner content */
  position: relative;
  display: inline-grid; /* center with grid; width fits content */
  place-items: center;
  padding: 8px 16px; /* inner padding for the frame inset */
  width: auto; /* fit to content */
  max-width: 100%; /* don't overflow narrow containers */
  box-sizing: border-box;
}
.p-share__bg {
  /* Make the decorative frame fill the container box */
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: fill; /* stretch to box (no aspect lock) */
  display: block;
  pointer-events: none;
  user-select: none;
}
.p-share__text {
  position: relative; /* sits above the frame */
  transform: none; /* no translate centering needed with grid */
  text-align: center;
  color: #333333;
  font-size: 20px;
  font-weight: bold;
  padding: 0 1em;
  box-sizing: border-box;
  line-height: 1.2;
  /* Optional shadow for legibility */
  /* text-shadow: 0 1px 2px rgba(0,0,0,.2); */
}
@media screen and (min-width: 768px) {
  .p-share__text {
    font-size: 40px;
  }
}

/* --------------------------------------------
 * Animation Utility
 * フェード・スライド・拡大・波紋・スクロールアイコン等
 * ------------------------------------------ */
/* === 1. スケールバウンス === */
@keyframes a-scale-bounce {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  25% {
    transform: scale(1.03);
  }
  40% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.02);
  }
  60% {
    transform: scale(0.93);
  }
  70% {
    transform: scale(1.01);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  90% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}
.a-scale-bounce {
  animation: a-scale-bounce 1.8s linear infinite;
}

/* === 2. 上下アニメーション === */
@keyframes a-updown {
  0%, 50%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(5px);
  }
  80% {
    transform: translateY(-5px);
  }
}
.a-updown {
  animation: a-updown 1.2s linear infinite;
}

/* === 3. フェードイン（スクロール連動用） === */
.a-fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.5s ease;
}
.a-fade-in.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* === 4. 帯アニメーション（テキスト・画像共通） === */
.a-wipe-container {
  overflow: hidden;
  position: relative;
}
.a-wipe-container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  transform: translateX(-101%);
  transition: transform 0.8s ease;
  z-index: 1;
}
.a-wipe-container.is-inview::before {
  transform: translateX(101%);
}
.a-wipe-container .a-wipe-text {
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
}
.a-wipe-container.is-inview .a-wipe-text {
  opacity: 1;
}

/* === 5. 波紋アニメーション === */
@keyframes a-ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}
.a-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #666;
  box-shadow: 0 0 5px #666;
  animation: a-ripple 2s infinite;
  top: 0;
  left: 0;
}

/* === 6. スクロールアイコン（マウス型） === */
@keyframes a-scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.a-scroll-icon {
  position: relative;
  text-align: center;
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1px;
}
.a-scroll-icon::before {
  content: "";
  width: 18px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 50px;
  display: block;
  margin: 0 auto 8px;
}
.a-scroll-icon::after {
  content: "";
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  animation: a-scroll-dot 2s infinite;
}

.scroll_down {
  position: absolute;
  bottom: 260px;
  right: 50%;
  animation: arrowmove 1s ease-in-out infinite;
}

.scroll_down a {
  position: absolute;
  left: -24px;
  bottom: 30px;
  color: #000;
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: 24px;
  height: 24px;
  text-decoration: none;
}

.text {
  display: block;
  margin-top: 70px;
  margin-left: -14px;
  font-size: 12px;
  color: #000;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 2px;
}

.arrow {
  position: absolute;
  width: 28px;
  height: 5px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.arrow:first-child {
  animation: move 3s ease-out 1s infinite;
}

.arrow:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.arrow:before,
.arrow:after {
  content: " ";
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #FFC800;
}

.arrow:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.arrow:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}