:root {
  --header-height: 0px;
}


.main_ttl {
  background-color: #ffffff;
  position: relative;
  margin-top: var(--header-height, 0px);
}

.main_ttl h2 {
  position: relative;
  display: block;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  left: 50%;
  align-items: center;
  position: absolute;
  justify-content: center;
  z-index: 100;
}

.main_ttl h2::after {
  content: '';
  position: absolute;
  opacity: 0.7;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: -1;
  display: inline;
  background-image: url('../images/common/cloud_01.svg');
  width: 300px;
  background-repeat: no-repeat;
  height: 200px;
}

.main_ttl .txt {
  font-size: 50px;
  position: relative;
  font-weight: 700;
  z-index: 2;
  line-height: 1;
  color: #257db7;
  display: table;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 1),
    0 0 16px rgba(255, 255, 255, 0.9),
    0 0 24px rgba(255, 255, 255, 0.8),
    0 0 36px rgba(255, 255, 255, 0.7);
}

.main_ttl .txt::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  bottom: -20px;
  height: 4px;
  border-radius: 10px;
  background-color: #257db7;
}

.main_ttl .bg {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
}

/* 読み込み前の状態 */
.main_ttl .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  opacity: 0;
  transform: scale(1.05);
  /* ちょい拡大から */
  transition: opacity .5s ease, transform .5s ease;
}

/* 読み込み完了後 */
.main_ttl .bg img.is-loaded {
  opacity: 1;
  transform: scale(1);
  /* 元のサイズに */
}

.main_ttl_text_box {
  height: 100%;
  z-index: 100;
}

.main-ttl-box {
  height: 100%;
  display: block;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  align-items: center;
  position: absolute;
  justify-content: center;
}

.main-ttl-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 400px;
  height: auto;
  margin: 0 auto;
}

.main_ttl>.bg::before {
  content: '';
  position: absolute;
  width: 169px;
  height: 200px;
  background-size: contain;
  right: 0;
  background-repeat: no-repeat;
}

.main_ttl>.bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 300px;
  background-size: contain;
  left: 0;
  background-repeat: no-repeat;
}

.detail-btn-list .flex-box {
  display: flex;
  justify-content: center;
  gap: 0 20px;
}



@media (max-width: 1200px) {
  .main-ttl-wrap {
    margin-bottom: min(calc(80px + (100 - 80) * (100vw - 992px) / (1500 - 992)),
        100px);
  }

  .main_ttl .fs-en {
    font-size: min(calc(32px + (56 - 32) * (100vw - 992px) / (1500 - 992)),
        56px);
    margin-bottom: 15px;
  }

  .main-ttl-bg {
    width: min(calc(300px + (400 - 300) * (100vw - 992px) / (1500 - 992)),
        400px);
  }

  .main_ttl>.bg {
    width: 100%;
    height: min(calc(300px + (380 - 300) * (100vw - 992px) / (1500 - 992)),
        380px);
  }

  .section-box .sec-title {
    font-weight: 700;
    color: #00b98f;
    font-size: min(calc(48px + (72 - 48) * (100vw - 992px) / (1500 - 992)),
        72px);
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: min(calc(40px + (60 - 40) * (100vw - 992px) / (1500 - 992)),
        60px);
  }

  .section-box .sub-title {
    font-size: min(calc(16px + (20 - 16) * (100vw - 992px) / (1500 - 992)),
        20px);
  }

}

@media (max-width: 991px) {

  .main-ttl-wrap {
    margin-bottom: min(calc(60px + (80 - 60) * (100vw - 320px) / (991 - 320)),
        80px);
  }

  .main_ttl .fs-en {
    font-size: 32px;
  }

  .main_ttl .txt {
    font-size: 40px;
  }

  .main-ttl-bg {
    width: min(calc(260px + (300 - 260) * (100vw - 320px) / (991 - 320)),
        260px);
  }

  .main_ttl>.bg {
    width: 100%;
    height: 300px;
  }


  .section-box .sec-title {
    font-size: min(calc(40px + (60 - 40) * (100vw - 320px) / (991 - 320)),
        60px);
    margin-bottom: min(calc(20px + (40 - 20) * (100vw - 320px) / (991 - 320)),
        40px);
  }

  .section-box .sub-title {
    font-size: min(calc(16px + (20 - 16) * (100vw - 320px) / (991 - 320)),
        20px);
  }

  .detail-btn-list .flex-box {
    display: block;
  }

  .achievements.main_ttl .fs-en {
    font-size: 33px;
  }
}

@media (max-width: 768px) {

  .main_ttl .txt {
    font-size: 35px;
  }

  .main_ttl h2::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(50% + 10px);
    transform: translateY(-50%) translateX(-50%);
    z-index: -1;
    display: inline;
    background-image: url('../images/common/cloud_01.svg');
    width: 260px;
    height: 160px;
  }

}

@media (max-width: 480px) {
  .main_ttl>.bg {
    width: 100%;
    height: 250px;
  }

  .main_ttl h2 {
    top: calc(50% - 10px);
  }

  .main_ttl .txt {
    font-size: 28px;
  }

  .main_ttl h2::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(50% + 10px);
    transform: translateY(-50%) translateX(-50%);
    z-index: -1;
    display: inline;
    background-image: url('../images/common/cloud_01.svg');
    width: 220px;
    height: 160px;
  }

  .main_ttl .txt::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    bottom: -20px;
    height: 3px;
    border-radius: 10px;
    background-color: #257db7;
  }
}

/* =======================================
パンくず
======================================== */
.breadcrumb_wrap {
  position: static;
  padding-right: min(2.5vw, 50px);
  padding-top: 20px;
  padding-bottom: 20px;
  bottom: 20px;
  right: calc(15px + 50 * (100vw - 320px) / 1180);
}

.contact .breadcrumb_wrap {
  background-color: #ecf5fb;
}

.breadcrumb_wrap .panlist {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow-y: hidden;
  overflow-x: auto;
}

.breadcrumb_wrap .panlist>li {
  display: flex;
  align-items: center;
}


.breadcrumb_wrap .panlist>li {
  font-size: 11px;
  text-align: right;
}

.breadcrumb_wrap .panlist>li>a {
  white-space: nowrap;
  font-size: 11px;
}

.breadcrumb_wrap .panlist>li.active {
  text-decoration: none;
  pointer-events: none;
}

.breadcrumb_wrap .panlist>li+li:before {
  content: ">";
  letter-spacing: normal;
  display: block;
  padding: 0 0.5em;
}

.breadcrumb_wrap .panlist>li+li:before {
  transform: translateY(-0.1em);
}

/* =======================================
共通
======================================== */
.page-content {
  padding-top: 100px;
}

.contact .page-content,
.daily-life .page-content,
.admission .page-content,
.extraclass .page-content,
.event .page-content,
.facility .page-content,
.about .page-content,
.info .page-content {
  padding-top: 0;
  background-color: transparent;
}

.sec-ttl {
  font-size: 55px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 30px;
}


.page-sec-ttl h3 {
  color: #257db7;
  line-height: 1.5;
  position: relative;
  padding-bottom: 50px;
  margin-bottom: 50px;
  font-size: 40px;
}

.page-sec-ttl h3::after {
  content: '';
  height: 40px;
  width: 240px;
  background-repeat: no-repeat;
  background-image: url('../images/common/sec-ttl-obj.svg');
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .page-sec-ttl h3 {
    padding-bottom: 50px;
    margin-bottom: 40px;
    font-size: 35px;
  }

}

@media (max-width: 480px) {
  .page-sec-ttl h3 {
    padding-bottom: 40px;
    margin-bottom: 40px;
    font-size: 28px;
  }

  .page-sec-ttl h3::after {
    content: '';
    height: 30px;
    width: 180px;
    background-repeat: no-repeat;
    background-image: url('../images/common/sec-ttl-obj.svg');
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}


/* =======================================
お知らせ
======================================== */
.info-detail-area {
  position: relative;
  padding: 100px 0 180px;
}

.info-detail-area .new {
  margin-left: 18px;
  color: #e50202;
  font-weight: 500;
  font-size: 16px;
}

.info-detail-area h3 {
  color: var(--main-color);
  word-break: break-all;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.info-news-meta {
  margin-bottom: 20px;
  display: flex;
}

.info-detail-area .cat {
  margin-left: 20px;
  color: rgb(255, 255, 255);
  line-height: 1;
  display: table;
  align-items: center;
  font-size: 14px;
  background-color: rgb(37, 125, 183);
  border-radius: 11px;
  padding: 5px 14px;
}

.info-detail-area .kirin {
  position: absolute;
  width: 150px;
  left: 20px;
  bottom: 20px;
  z-index: 100;
}

.info-detail-area .zou {
  position: absolute;
  width: 200px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}

.info-detail-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.info-detail-area .text {
  word-break: break-all;
  line-height: 1.8;
  font-size: 16px;
}

.attached-btn-list {
  margin-top: 50px;
}

.attached-btn-list .flex-box {
  gap: 0 20px;
  justify-content: center;
  display: flex;
}

.attached-btn {
  position: relative;
  color: var(--red-color);
  max-width: 330px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #fe9c10;
  cursor: pointer;
  ;
  box-shadow: 0 2px 12px rgba(143, 133, 134, 0.35);
  font-size: 16px;
  color: #fff;
  transition: 0.7s;
  font-weight: 700;
  line-height: 1;
  padding: 24px 0;
  border-radius: 16px;
  border: 2px solid var(--red-color);
}

.attached-btn:hover {
  font-size: 18px;
}

.attached-btn span::after {
  position: absolute;
  right: 20px;
  content: '';
  display: block;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 26px;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: none;
  filter: none;
}

.attached-btn span {
  display: block;
  width: 100%;
  text-align: center;
  height: 100%;
}

.attached-btn.pdf span::after {
  filter: none;
  content: '';
  background-image: url(../images/page/info/pdf-icon.svg);
}

.attached-btn.excel span::after {
  filter: none;
  content: '';
  background-image: url(../images/page/info/excel-icon.svg);
}

.attached-btn.word span::after {
  filter: none;
  content: '';
  background-image: url(../images/page/info/word-icon.svg);
}

@media (max-width: 1240px) {
  .info-detail-wrap {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

@media (max-width: 768px) {
  .info-detail-area {
    position: relative;
    padding: 80px 0 180px;
  }

  .info-detail-area h3 {
    color: var(--main-color);
    word-break: break-all;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-detail-area .kirin {
    position: absolute;
    width: 90px;
    left: 20px;
    z-index: 100;
  }

  .info-detail-area .zou {
    position: absolute;
    width: 150px;
    right: 20px;
    bottom: 20px;
    z-index: 100;
  }

  .info-detail-area .new {
    margin-left: 16px;
    color: #e50202;
    font-weight: 500;
    font-size: 16px;
  }

  .info-detail-area h3 {
    color: var(--main-color);
    word-break: break-all;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .info-news-meta {
    margin-bottom: 20px;
    display: flex;
  }

  .info-detail-area .cat {
    font-size: 14px;
  }

  .attached-btn-list .flex-box {
    gap: 0 20px;
    justify-content: center;
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .attached-btn {
    position: relative;
    color: var(--red-color);
    max-width: 330px;
    width: 100%;
    display: table;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #fe9c10;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(143, 133, 134, 0.35);
    font-size: 16px;
    color: #fff;
    transition: 0.7s;
    font-weight: 700;
    line-height: 1;
    padding: 24px 0;
    border-radius: 16px;
    border: 2px solid var(--red-color);
  }

  .attached-btn+.attached-btn {
    margin: 20px auto 0;
  }
}

@media (max-width: 480px) {
  .info-detail-area {
    position: relative;
    padding: 60px 0 180px;
  }

  .info-detail-area .text {
    word-break: break-all;
    line-height: 1.8;
    font-size: 14px;
  }

  .attached-btn {
    position: relative;
    color: var(--red-color);
    max-width: 280px;
    width: 100%;
    display: table;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #fe9c10;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(143, 133, 134, 0.35);
    font-size: 14px;
    color: #fff;
    transition: 0.7s;
    font-weight: 700;
    line-height: 1;
    padding: 20px 0;
    border-radius: 16px;
    border: 2px solid var(--red-color);
  }
}

/* =======================================
施設紹介・園歌・アクセス
======================================== */
.facilities-list-area {
  padding: 100px 0;
}

.facilities-head-text {
  font-size: 18px;
  margin-bottom: 50px;
  line-height: 2;
  text-align: center;
}

.facilities-img {
  margin-bottom: 15px;
}

.facilities-list h4 {
  font-size: 28px;
  color: #ff9cbc;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center
}

.facilities-list p {
  line-height: 1.8;
  font-size: 16px;
  text-align: justify;
}

.facilities-list-area .row {
  gap: 50px 0;
}

.zouri-area {
  padding: 100px 0;
  background-color: #ecf5fb;
}

.zouri-text {
  padding-top: 20px;
  font-size: 18px;
  line-height: 2;
}

.zouri-blue-text {
  text-align: center;
  color: #2589ed;
  font-size: 24px;
  margin: 30px 0 20px;
  font-weight: 700;
  line-height: 1.8;
}

.zouri-point-list {
  display: flex;
  gap: 24px 16px;
  justify-content: center;
  flex-wrap: wrap;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 30px;
  background-color: #ecf5fb;
  background-image: url('../images/top/news-bg.png');
}

.zouri-point-list h4 {
  padding: 16px 0;
  font-size: 20px;
  font-weight: 700;
  border-radius: 16px;
  text-align: center;
  width: calc(33.33333% - 16px);
  background-color: #2589ed;
  color: #fff;
}

.enka-area {
  padding: 100px 0;
}

.enka-img {
  max-width: 800px;
  margin: 0 auto;
}

.page-enka-btn,
.map-btn {
  margin: 0;
  margin: 30px auto 0;
  text-align: center;
  display: table;
  height: 100%;
  padding: 20px 0;
  max-width: 300px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  border-radius: 16px;
  background-color: rgba(37, 125, 183, 0.3);
  color: #0b0c0c;
  transition: 0.7s;
}

.page-enka-btn:hover,
.map-btn:hover {
  background-color: rgb(37, 125, 183);
  color: #fff !important;
  font-size: 18px;
}

.access-area {
  padding: 100px 0;
  background-color: #ecf5fb;
}

.map iframe {
  width: 100%;
}

.map {
  margin-bottom: 20px;
}

.access-area p {
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 1280px) {
  .zouri-point-list {
    display: flex;
    gap: 24px 16px;
    justify-content: center;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 30px;
    background-color: #ecf5fb;
    background-image: url('../images/top/news-bg.png');
  }

  .zouri-point-list h4 {
    padding: 16px 0;
    font-size: 20px;
    font-weight: 700;
    border-radius: 16px;
    text-align: center;
    width: calc(50% - 16px);
    background-color: #2589ed;
    color: #fff;
  }
}

@media (max-width: 991px) {
  .zouri-point-list {
    display: flex;
    gap: 24px 16px;
    justify-content: center;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 20px;
    background-color: #ecf5fb;
    background-image: url('../images/top/news-bg.png');
  }

  .zouri-point-list h4 {
    padding: 16px 0;
    font-size: 17px;
    font-weight: 700;
    border-radius: 16px;
    text-align: center;
    width: calc(50% - 16px);
    background-color: #2589ed;
    color: #fff;
  }

}

@media (max-width: 768px) {
  .zouri-point-list {
    display: block;
    gap: 24px 16px;
    justify-content: center;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 20px;
    background-color: #ecf5fb;
    background-image: url('../images/top/news-bg.png');
  }

  .zouri-point-list h4 {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 700;
    border-radius: 16px;
    text-align: center;
    background-color: #2589ed;
    color: #fff;
  }

  .zouri-point-list h4+h4 {
    margin-top: 20px;
  }

  .zouri-area {
    padding: 80px 0;
    background-color: #ecf5fb;
  }

  .facilities-list-area {
    padding: 80px 0;
  }

  .access-area {
    padding: 80px 0;
  }

  .facilities-head-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 2;
    text-align: center;
  }

  .zouri-area {
    padding: 80px 0;
    background-color: #ecf5fb;
  }

  .zouri-text {
    padding-top: 20px;
    font-size: 16px;
    line-height: 2;
  }

  .zouri-blue-text {
    text-align: center;
    color: #2589ed;
    font-size: 22px;
    margin: 30px 0 20px;
    font-weight: 700;
    line-height: 1.8;
  }

  .enka-area {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .facilities-list-area {
    padding: 60px 0;
  }

  .zouri-area {
    padding: 60px 0;
  }

  .access-area {
    padding: 60px 0;
  }

  .facilities-list-area .row {
    gap: 40px 0;
  }

  .facilities-list h4 {
    font-size: 22px;
    color: #ff9cbc;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center
  }

  .facilities-list p {
    line-height: 1.8;
    font-size: 14px;
  }

  .zouri-blue-text {
    text-align: center;
    color: #2589ed;
    font-size: 18px;
    margin: 30px 0 20px;
    font-weight: 700;
    line-height: 1.8;
  }

  .enka-area {
    padding: 60px 0;
  }

  .page-enka-btn,
  .map-btn {
    margin: 0;
    margin: 30px auto 0;
    text-align: center;
    display: table;
    height: 100%;
    padding: 16px 0;
    max-width: 260px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 16px;
    background-color: rgba(37, 125, 183, 0.3);
    color: #0b0c0c;
    transition: 0.7s;
  }

  .page-enka-btn:hover,
  .map-btn:hover {
    background-color: rgb(37, 125, 183);
    color: #fff !important;
    font-size: 16px;
  }

  .access-area p {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* =======================================
幼稚園の一日
======================================== */
.flow-area,
.after-care-area {
  padding: 100px 0;
  position: relative;
  background-color: #ecf5fb;
  background-image: radial-gradient(circle, #ffffff 3.5px, transparent 3.5px), radial-gradient(circle, #ffffff 3.5px, transparent 3.5px), radial-gradient(circle, #ffffff 3.5px, transparent 3.5px), radial-gradient(circle, #ffffff 3.5px, transparent 3.5px);
  background-position: 0 0, 27px 0, 13.5px 27px, 40.5px 27px;
  background-size: 54px 54px;
}

.flow-wrap {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.flow-box .box {
  position: relative;
  padding-left: 40px;
}

.flow-box .box:nth-child(n+2) {
  border-top: 3px dotted #ff9cbc;
  margin-top: 20px;
  padding-top: 20px;
  position: relative;
  padding-left: 40px;
}

.flow-box .box:before {
  content: '';
  position: absolute;
  top: 33px;
  left: -15px;
  border: 1px solid var(--main-color);
  width: 30px;
  height: 30px;
  z-index: 100;
  background-color: #ff9cbc;
  border-radius: 50px;
}

.flow-box .box.first:before {
  content: '';
  position: absolute;
  top: 10px;
  left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50px;
}

.flow-box .box:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 21px;
  width: 3px;
  height: calc(100% + 35px);
  background: var(--main-color);
  border-radius: 50px;
}

.day-title {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #55b8ff;
  /* 青線 */
  border-radius: 14px;
  background-color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

/* 左の矢印（枠にくっつく吹き出し） */
.day-title::before {
  content: "";
  position: absolute;
  left: -9px;
  /* ← ココがポイント：ほぼゼロ距離でくっつける */
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-left: 2px solid #55b8ff;
  border-bottom: 2px solid #55b8ff;
}

.day-title h3 {
  font-size: 20px;
  color: var(--main-color);
  font-weight: 700;
}

.flow-box .in {
  font-size: 16px;
  margin-top: 10px;
  line-height: 2;
}

.flow-img {
  max-width: 400px;
  width: 100%;
}

.flow-area .kirin-img {
  width: 200px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.flow-area .zou-img {
  width: 240px;
  position: absolute;
  left: 20px;
  top: 20px;
}

.daily-life-content {
  overflow: hidden;
}

.wrapper.daily-life {
  overflow: hidden;
}

.weekly-life-area {
  padding: 100px 0;
}

.weekly-life-area .c-table--class {
  margin-bottom: 20px;
}

.weekly-life-area .note {
  font-size: 16px;
  line-height: 2;
  text-indent: -1em;
  padding-left: 1em;
}

.weekly-life-area .note a {
  color: #257db7;
  text-decoration: underline;
}

.after-care-area {
  position: relative;
}

.after-care-area p {
  font-size: 16px;
  line-height: 2;
}

.after-care-area .text-box {
  position: relative;
}

.child-illust {
  width: 200px;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .flow-area {
    padding: 200px 0 100px;
  }

  .flow-area .kirin-img {
    width: 160px;
    position: absolute;
    top: 20px;
  }

  .flow-area .zou-img {
    width: 180px;
    position: absolute;
    top: 20px;
  }


}

@media (max-width: 768px) {
  .flow-area .kirin-img {
    width: 120px;
    position: absolute;
    top: 20px;
  }

  .flow-area .zou-img {
    width: 130px;
    position: absolute;
    top: 20px;
  }

  .after-care-area .text-box {
    margin-top: 20px;
  }

  .flow-area,
  .weekly-life-area,
  .after-care-area {
    padding: 80px 0;
    position: relative;
  }

  .flow-area {
    padding: 130px 0 80px;
  }

  .weekly-life-area .c-table--class colgroup col:nth-child(1) {
    width: 32%;
  }

  .weekly-life-area .c-table--class colgroup col:nth-child(2) {
    width: 56%;
  }

  .weekly-life-area .c-table--class colgroup col:nth-child(3) {
    width: 32%;
  }

  .weekly-life-area .c-table th,
  .weekly-life-area .c-table td {
    padding: 10px 10px;
  }

  .weekly-life-area .c-table--class {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .day-title h3 {
    font-size: 18px;
    color: var(--main-color);
    font-weight: 700;
  }

  .day-title {
    position: relative;
    display: inline-block;
    padding: 10px 10px;
    border: 2px solid #55b8ff;
    /* 青線 */
    border-radius: 14px;
    background-color: #fff;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 20px;
  }

  .flow-box .in p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.8;
  }

  .child-illust {
    width: 140px;
    margin-top: 30px;
  }

  .weekly-life-area .note {
    font-size: 14px;
    line-height: 1.8;
  }

  .weekly-life-area .note a {
    font-size: 14px;
  }

  .after-care-area p {
    font-size: 14px;
    line-height: 1.8;
  }

  .weekly-life-area .c-table th,
  .weekly-life-area .c-table td {
    font-size: 14px;
    line-height: 1.8;
  }

  .flow-area .kirin-img {
    width: 100px;
    position: absolute;
    top: 20px;
  }

  .flow-area,
  .weekly-life-area,
  .after-care-area {
    padding: 60px 0;
    position: relative;
  }

  .flow-area {
    padding: 130px 0 60px;
  }
}

/* =======================================
入園案内
======================================== */

.admission .cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
}

.admission .cat-list li {
  margin: 0;
  max-width: calc(25% - 15px);
  width: 100%;
  display: table;
  cursor: pointer;
  text-align: center;
}

.admission .custom-table td {
  background-color: #ffffff;
}

/* 共通テーブル */
.c-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;
  border: 1px solid #d6d6d6;
  /* 外枠の薄いグレー */
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;

  /* ★ 外枠を青で角丸に */
  border: 2px solid #257db7;
  border-radius: 10px;
  overflow: hidden;
  /* ← 角から内容がはみ出ないように */
}

/* セル共通 */
.c-table th,
.c-table td {
  padding: 14px 20px;
  border-bottom: 2px dotted #ff9cbc;
  /* ★ 横の境目（ピンク） */
  border-right: 2px dotted #ff9cbc;
  /* ★ 縦の境目（ピンク） */
  color: #333;
}

.c-table th {
  border-right: 2px dotted #ffffff;
  /* ★ 縦の境目（ピンク） */
}

/* 最右列の右線消し */
.c-table tr th:last-child,
.c-table tr td:last-child {
  border-right: none;
}

/* 最終行の下線消し（外枠だけ残す） */
.c-table tr:last-child th,
.c-table tr:last-child td {
  border-bottom: none;
}

/* 1つ目テーブル：ヘッダー */
.c-table--class thead th {
  background-color: #257db7;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

/* 1つ目テーブル：ボディ中央寄せ */
.c-table--class tbody td {
  text-align: center;
}

/* 2つ目テーブル：左列を水色＋太字に */
.c-table--info .c-table__label {
  width: 180px;
  /* お好みで調整 */
  background-color: #d7eef5;
  font-weight: bold;
  text-align: center;
}

/* 2つ目テーブル：右列は通常 */
.c-table--info td:not(.c-table__label) {
  text-align: left;
}

/* リンク色（右下の青文字） */
.c-table--info a {
  color: #257db7;
  text-decoration: underline;
}

/* 列幅指定（1つ目のテーブル） */
.c-table--class colgroup col:nth-child(1) {
  width: 25%;
}

.c-table--class colgroup col:nth-child(2) {
  width: 65%;
}

.c-table--class colgroup col:nth-child(3) {
  width: 25%;
}

.category-bottom-box {
  margin-top: 50px;
}

.c-table--class tbody tr:nth-child(even) td {
  background-color: #ecf5fb;
}


@media (max-width: 768px) {

  /* テーブル解除してブロック化（上のテーブルだけ） */
  .category-box-area .c-table--class {
    border-radius: 12px;
  }

  .category-box-area .c-table--class colgroup {
    display: none;
  }

  .category-box-area .c-table--class thead {
    display: none;
  }

  .category-box-area .c-table--class tbody,
  .category-box-area .c-table--class tr,
  .category-box-area .c-table--class td {
    display: block;
    width: 100%;
  }

  /* 行ごとにカードっぽく */
  .category-box-area .c-table--class tbody tr {
    border-bottom: 2px dotted #ff9cbc;
  }

  .category-box-area .c-table--class tbody tr:last-child {
    border-bottom: none;
  }

  /* 各セルを縦並び＋左にラベル */
  .category-box-area .c-table--class tbody td {
    position: relative;
    padding: 10px 16px 10px 120px;
    /* 左にラベル分のスペース */
    border-right: none;
    border-bottom: 1px dotted #ff9cbc;
    text-align: left;
  }

  .category-box-area .c-table--class tbody td:last-child {
    border-bottom: none;
  }

  /* ラベル（クラス／対象／人数） */
  .category-box-area .c-table--class tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #257db7;
    white-space: nowrap;
  }

  .category-box-area .c-table--class tbody tr:nth-child(even) td {
    background: none;
  }

  /* 偶数行の背景色（スマホ時） */
  .category-box-area .c-table--class tbody tr:nth-child(even) {
    background-color: #ecf5fb;
  }

  /* セル背景は透明にして親の色をそのまま見せる */
  .c-table--class tbody tr:nth-child(even) td {
    background-color: transparent !important;
  }

  .c-table tr th,
  .c-table tr td {
    border-bottom: 2px dotted #ff9cbc;
  }

  .c-table tr:last-child th,
  .c-table tr:last-child td {
    border-bottom: 2px dotted #ff9cbc;
  }

  .c-table tr:last-child td:last-child {
    border-bottom: none;
  }
}


/* =======================================
園について
======================================== */
.cat-list-area {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
  background-color: #ecf5fb;
  background-image: url('../images/top/news-bg.png');
}

.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px;
  background-color: #fff;
}

.cat-list li {
  margin: 0;
  max-width: calc(33.33333% - 12px);
  width: 100%;
  display: table;
  cursor: pointer;
  text-align: center;
}

.cat-list li a {
  height: 62px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: rgba(37, 125, 183, 0.3);
  justify-content: center;
  color: #0b0c0c;
  transition: 0.7s;
}

.cat-list li:hover a {
  background-color: rgb(37, 125, 183);
  color: #fff !important;
  font-size: 18px;
}

.cat-list li.active a {
  background-color: rgb(37, 125, 183);
  color: #fff !important;
  font-size: 18px;
}



.category-head-text {
  line-height: 1.8;
  word-break: break-all;
  font-size: 18px;
  margin-bottom: 30px;
}

.category-box {
  padding: 20px;
  background-color: #fff;
}

.category-box-area {
  position: relative;
}

.category-box-area {
  background-color: #ecf5fb;
  padding: 100px 0;
}

.category-box-area .child-illust {
  width: 200px;
  position: absolute;
  right: 20px;
  top: 20px
}

.category-box-area .category-img img {
  height: 350px;
  width: 100%;
  object-fit: cover;
}

.category-box-area .category-img {
  margin-bottom: 20px;
}

.category-box-area .category-box {
  height: 100%;
}

.category-box-area .category-box h3 {
  color: #ff9cbc;
  text-align: center;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 15px;
}

.category-box-area .text {
  font-size: 16px;
  line-height: 1.8;
  word-break: break-all;
}

.item-box-area {
  padding: 100px 0 0;
}


.custom-table {
  width: 100%;
  border-collapse: separate;
  /* ← 角丸に必須 */
  border-spacing: 0;
  /* ← 隙間をなくす */
  table-layout: fixed;
  font-size: 16px;

  /* ★ 外枠を青で角丸に */
  border: 2px solid #257db7;
  border-radius: 10px;
  overflow: hidden;
  /* ← 角から内容がはみ出ないように */
}


/* 左の列（Word） */
.custom-table th {
  width: 260px;
  text-align: center;
  background-color: #257db7;
  color: #fff;
  padding: 12px 20px;
  font-weight: bold;

  /* 内側の境目（下線・縦線）はピンクのドット */
  border-bottom: 2px dotted #ffffff;
  font-size: 16px;

  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

/* 右列（説明文） */

.custom-table td {
  padding: 12px 20px;
  font-size: 16px;
  color: #333;

  /* 下線だけピンクドット */
  border-bottom: 2px dotted #ff9cbc;
}

.about .custom-table tr:nth-child(even) td {
  background-color: #ecf5fb;
}

/* 最終行だけ下線なし */
.custom-table tr:last-child th,
.custom-table tr:last-child td {
  border-bottom: none;
}

.item-box-list {
  margin-top: 80px
}

.item-img img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.item-img img {
  width: 100%;
  height: auto;          /* ← 縦を切らない */
  max-height: 300px;     /* ← 縦長すぎるのを防ぐ */
  object-fit: contain;  /* ← 絶対に切らない */
  display: block;
}

.item-img {
  margin-bottom: 20px;
}

.item-box-list h3 {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--main-color);
}

.item-box-list .text {
  line-height: 1.8;
  word-break: break-all;
  font-size: 16px;
}

.item-box-area {
  position: relative;
}

.tree-right-img {
  position: absolute;
  right: 0;
  width: 250px;
  top: 0;
}

.tree-left-img {
  position: absolute;
  left: 0;
  width: 250px;
  top: 0;
}

.bottom-text {
  word-break: break-all;
  line-height: 1.8;
  font-size: 18px;
  margin-top: 30px;
}

.item-main-img-box {
  margin-top: 60px;
}

.item-main-img-box p.text-right {
  word-break: break-all;
  line-height: 1.8;
  font-size: 18px;
}

@media (max-width: 1500px) {
  .category-box-area .category-img img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1200px) {
  .category-box-area .category-box h3 {
    color: #ff9cbc;
    text-align: center;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 15px;
  }

  .category-box-area .category-img img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 991px) {
  .tree-right-img {
    position: absolute;
    right: 0;
    width: 200px;
    top: 0;
  }

  .tree-left-img {
    position: absolute;
    left: 0;
    width: 200px;
    top: 0;
  }

  .cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px !important;
    padding: 20px;
    background-color: #fff;
  }

  .cat-list li {
    margin: 0;
    max-width: calc(50% - 9px) !important;
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .cat-list li a {
    height: 62px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: rgba(37, 125, 183, 0.3);
    justify-content: center;
    color: #0b0c0c;
    transition: 0.7s;
  }

  .category-box-area {
    background-color: #ecf5fb;
    padding: 160px 0 100px;
  }

  .category-box-area .child-illust {
    width: 160px;
    position: absolute;
    right: 20px;
    top: 20px
  }

  .item-img img {
    height: 280px;
    width: 100%;
  }

  .item-box-list h3 {
    font-size: 22px;
  }

  .item-main-img-box p.text-right {
    word-break: break-all;
    line-height: 1.8;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px;
    background-color: #fff;
  }

  .cat-list li {
    margin: 0;
    max-width: 100%;
    width: 100%;
    max-width: 330px !important;
    width: 100%;
    margin: 0 auto !important;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .cat-list li a {
    height: 52px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: rgba(37, 125, 183, 0.3);
    justify-content: center;
    color: #0b0c0c;
    transition: 0.7s;
  }

  .cat-list li:hover a {
    background-color: rgb(37, 125, 183);
    color: #fff !important;
    font-size: 17px;
  }

  .cat-list li.active a {
    background-color: rgb(37, 125, 183);
    color: #fff !important;
    font-size: 17px;
  }

  .category-box-area .row div+div {
    margin-top: 30px;
  }

  .category-head-text {
    line-height: 1.8;
    word-break: break-all;
    font-size: 16px;
    margin-bottom: 30px;
  }

  .tree-right-img {
    position: absolute;
    right: 0;
    top: 0;
  }

  .tree-left-img {
    position: absolute;
    left: 0;
    top: 0;
  }

  .custom-table th {
    width: 180px;
    text-align: center;
    background-color: #257db7;
    color: #fff;
    padding: 12px 20px;
    font-weight: bold;
    border-bottom: 2px dotted #ffffff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  }

  /* ▼ テーブルレイアウトを無効化（テーブル組解除） */
  .custom-table,
  .custom-table tbody {
    display: block;
    border-collapse: separate;
    border-spacing: 0;
  }

  .custom-table tr {
    display: block;
    /* 1行＝1ブロック */
    position: relative;
  }

  /* th / td をただのブロック要素にする */
  .custom-table th,
  .custom-table td {
    display: block;
    width: auto;
    border: none;
  }

  .item-box-list .row>div+div {
    margin-top: 30px;
  }

  .item-box-list .row>div {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .bottom-text {
    word-break: break-all;
    line-height: 1.8;
    font-size: 16px;
    margin-top: 30px;
  }

  .item-main-img-box p.text-right {
    word-break: break-all;
    line-height: 1.8;
    margin-top: 20px;
    font-size: 16px;
  }

  .item-box-list h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .category-box-area .category-img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .tree-right-img {
    position: absolute;
    right: 0;
    width: 130px;
    top: 0;
  }

  .tree-left-img {
    position: absolute;
    left: 0;
    width: 130px;
    top: 0;
  }

  .category-box-area {
    background-color: #ecf5fb;
    padding: 120px 0 60px;
  }

  .category-box-area .child-illust {
    width: 120px;
    position: absolute;
    right: 20px;
    top: 20px
  }

  .category-box-area .category-box h3 {
    color: #ff9cbc;
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 15px;
  }

  .category-box-area .text {
    font-size: 14px;
  }

  .cat-list li a {
    height: 52px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: rgba(37, 125, 183, 0.3);
    justify-content: center;
    color: #0b0c0c;
    transition: 0.7s;
  }

  .cat-list li:hover a {
    background-color: rgb(37, 125, 183);
    color: #fff !important;
    font-size: 16px;
  }

  .cat-list li.active a {
    background-color: rgb(37, 125, 183);
    color: #fff !important;
    font-size: 16px;
  }

  .custom-table th {
    font-size: 14px;
  }

  /* 右列（説明文） */
  .custom-table td {
    font-size: 14px;
  }

  .category-bottom-box {
    margin-top: 40px;
  }

  .item-box-list .text {
    line-height: 1.8;
    word-break: break-all;
    font-size: 14px;
  }
}



/* =======================================
ゆたかっ子広場詳細
======================================== */
.square-detail-area {
  background-color: #ecf5fb;
  padding-top: 100px;
  padding-bottom: 100px;
}

.square-detail-area .square-news-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.item-gallery {
  margin-bottom: 20px;
}

.gallery-main {
  margin: 0 0 1rem;
  background: var(--blue-color);
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.main-image-wrap img.is-fading {
  opacity: 0;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.thumb {
  cursor: pointer;
  border: 4px solid transparent;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.gallery-thumbs > .thumb.is-selected {
  border-color: #ff9cbc;
}

.thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.square-detail-area {
  position: relative;
}

.square-detail-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

}

.square-detail-wrap .text {
  word-break: break-all;
  font-size: 18px;
  line-height: 1.8;
  text-align:justify;
}

.square-detail-wrap .square-news-date {
  color: #131314;
  font-size: 16px;
  margin-left: 20px;
  font-weight: 500;
}

.square-detail-wrap .square-news-cat {
  color: #fff;
  line-height: 1;
  display: table;
  border-radius: 11px;
  align-items: center;
  font-size: 16px;
  padding: 5px 14px;
  background-color: #257db7;
}

.back-btn {
  margin: 50px auto 0;
  max-width: 320px;
  width: 100%;
  display: table;
  cursor: pointer;
  text-align: center;
}

.back-btn {
  height: 62px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  position: relative;
  gap: 0 16px;
  align-items: center;
  background-color: rgba(37, 125, 183, 0.3);
  justify-content: center;
  color: #0b0c0c;
  transition: 0.7s;
}

.back-btn:hover {
  background-color: rgb(37, 125, 183);
  color: #fff !important;
  font-size: 18px;
}

.back-btn .arrow {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(37, 125, 183);
  border-radius: 50%;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.back-btn:hover .arrow {
  background-color: rgba(122, 189, 234);
}

.back-btn .arrow img {
  width: 14px;
  height: auto;
}

.square-detail-area .kirin {
  position: absolute;
  width: 150px;
  left: 20px;
  top: 20px;
  z-index: 100;
}

.square-detail-area .zou {
  position: absolute;
  width: 200px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}

@media (max-width: 1240px) {
  .square-detail-wrap {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

@media (max-width: 768px) {
  .square-detail-area {
    background-color: #ecf5fb;
    padding-top: 100px;
    padding-bottom: 180px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .square-detail-area .kirin {
    position: absolute;
    width: 100px;
    left: 20px;
    top: -65px;
    z-index: 100;
  }

  .square-detail-area .zou {
    position: absolute;
    width: 150px;
    right: 20px;
    bottom: 20px;
    z-index: 100;
  }

  .square-detail-wrap .text {
    word-break: break-all;
    font-size: 16px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .square-detail-area {
    background-color: #ecf5fb;
    padding-top: 100px;
    padding-bottom: 140px;
  }

  .square-detail-wrap .text {
    word-break: break-all;
    font-size: 14px;
    line-height: 1.8;
  }

  .square-detail-area .kirin {
    position: absolute;
    width: 80px;
    left: 20px;
    z-index: 100;
  }

  .back-btn {
    margin: 40px auto 0;
    max-width: 280px;
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .back-btn {
    height: 50px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    position: relative;
    gap: 0 16px;
    align-items: center;
    background-color: rgba(37, 125, 183, 0.3);
    justify-content: center;
    color: #0b0c0c;
    transition: 0.7s;
  }

  .back-btn:hover {
    background-color: rgb(37, 125, 183);
    color: #fff !important;
    font-size: 16px;
  }

  .back-btn .arrow {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(37, 125, 183);
    border-radius: 50%;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
  }

  .back-btn:hover .arrow {
    background-color: rgba(122, 189, 234);
  }

  .back-btn .arrow img {
    width: 12px;
    height: auto;
  }

  .square-detail-area .zou {
    position: absolute;
    width: 120px;
    right: 20px;
    bottom: 20px;
    z-index: 100;
  }

  .square-detail-wrap .square-news-date {
    color: #131314;
    font-size: 14px;
    margin-left: 20px;
    font-weight: 500;
  }

  .square-detail-wrap .square-news-cat {
    color: #fff;
    line-height: 1;
    display: table;
    border-radius: 11px;
    align-items: center;
    font-size: 14px;
    padding: 5px 14px;
    background-color: #257db7;
  }
}

/* =======================================
ゆたかっ子広場一覧
======================================== */
.square-cat-list-area {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
  background-color: #ecf5fb;
  background-image: url('../images/top/news-bg.png');
}

.square-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
}

.square-cat-list li {
  margin: 0;
  max-width: calc(20% - 16px);
  width: 100%;
  display: table;
  cursor: pointer;
  text-align: center;
}

.square-cat-list li a {
  height: 62px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: rgba(37, 125, 183, 0.3);
  justify-content: center;
  color: #0b0c0c;
  transition: 0.7s;
}

.square-cat-list li:hover a {
  background-color: rgb(37, 125, 183);
  color: #fff !important;
  font-size: 18px;
}

.square-cat-list li.active a {
  background-color: rgb(37, 125, 183);
  color: #fff !important;
  font-size: 18px;
}

.square-news-list-area {
  padding: 100px 0;
  background-color: #ecf5fb;
}

.square-news-item {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 3px dotted #ff9cbc;
}

/* 左の画像 */
.square-news-thumb img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 右側テキスト部分 */
.square-news-body {
  flex: 1;
}

/* 年＋日付 */
.square-news-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* 本文 */
.square-news-text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 16px;
}

.square-news-more a:hover {
  opacity: 0.8;
}

.square-news-date {
  color: #131314;
  font-size: 16px;
  margin-left: 20px;
  font-weight: 500;
}

.square-news-cat {
  color: #fff;
  line-height: 1;
  display: table;
  border-radius: 11px;
  align-items: center;
  font-size: 14px;
  padding: 5px 14px;
  background-color: #257db7;
}

.square-news-more {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 0 30px;
  margin-top: 20px;
}

.square-news-more:hover .arrow-icon {
  transform: translateX(0);
}

.square-news-more .arrow-icon {
  transition: 0.7s;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fe9c10;
  transform: translateX(-11px);
}

.square-news-more .arrow-icon img {
  width: 16px;
}

/* ページング */
div.paging {
  text-align: center;
  font-size: 90%;
  margin-top: 20px;
  line-height: 1.4em;
  font-weight: 400;
}

div.paging span.current,
div.paging span.paging-text {
  margin: 0px 0.5px;
  color: #333;
  display: inline;
  zoom: 1;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
}

div.paging span.current,
div.paging span.paging-text {
  margin: 0px 0.5px;
  color: #333;
  display: inline;
  zoom: 1;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
}

div.paging span.paging-text a {
  padding: 5px 8.5px;
  display: block;
  color: #333;
  background-color: #fde8ff;
  border-radius: 5px;
  cursor: pointer;
}

div.paging span.current {
  background: var(--main-color) !important;
  color: #fff;
  zoom: 1;
  padding: 5px 8.5px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
}

div.paging a,
div.paging a:visited {
  text-decoration: underline !important;
}

div.paging a {
  transition: 0.7s;
}

div.paging a:hover {
  background-color: var(--main-color) !important;
  color: #fff !important;
}


@media (max-width: 991px) {
  .square-cat-list li {
    margin: 0;
    max-width: calc(25% - 15px);
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .square-cat-list li a {
    height: 52px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: rgba(37, 125, 183, 0.3);
    justify-content: center;
    color: #0b0c0c;
    transition: 0.7s;
  }

}

@media (max-width: 768px) {

  .square-news-list-area {
    padding: 80px 0;
  }

  .square-cat-list li {
    margin: 0;
    max-width: calc(33.33333% - 15px);
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .square-news-text-box {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .square-cat-list-area {
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 0;
    background-image: url('../images/top/news-bg.png');
  }

  .square-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 15px;
    background-color: #fff;
  }

  .square-cat-list li {
    margin: 0;
    max-width: calc(50% - 10px);
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .square-cat-list li a {
    height: 46px;
    font-size: 14px;
  }

  .square-cat-list li:hover a {
    font-size: 16px;
  }

  .square-news-list-area {
    padding: 60px 0;
  }

  .square-news-text {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 16px;
  }

  .square-news-more {
    font-size: 14px;
  }

  .square-news-more .arrow-icon {
    transition: 0.7s;
    width: 34px;
    height: 34px;
  }

  .square-news-more .arrow-icon img {
    width: 14px;
  }

  .square-news-cat {
    font-size: 14px;
  }

  .square-news-date {
    color: #131314;
    font-size: 14px;
    margin-left: 15px;
    font-weight: 500;
  }

  .square-news-text-box {
    margin-top: 20px;
  }
}

/* =======================================
年間行事
======================================== */
.event-img {
  margin-bottom: 20px;
}

.month {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.event-spring-area .month {
  color: #ff3f7c;
}

.event-summer-area .month {
  color: #1994ebf4;
}

.event-autumn-area .month {
  color: #ff8b17f1;
}

.event-winter-area .month {
  color: #c82fcdf1;
}

.season-ttl {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 220px;
  z-index: 999;
  width: 100%;
  font-size: 0;
}

.event-winter-area .season-ttl {
  width: 180px;
}

.event-wrap {
  position: relative;
}

.event-spring-area {
  background-color: #ffe5ed;
  padding: 150px 0 100px;
}

.event-summer-area {
  background-color: #ecf5fb;
  padding: 150px 0 100px;
}

.event-autumn-area {
  background-color: #fafaec;
  padding: 150px 0 100px;
}

.event-winter-area {
  background-color: #eddef0;
  padding: 150px 0 100px;
}

.event-text-box {
  padding: 0 20px;
}

.event-text li {
  line-height: 1.8;
  font-size: 18px;
}

.event-text li {
  list-style: none;
  position: relative;
  padding-left: 1em;
  /* 余白調整 */
}

.event-text li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.event-wrap .cloud-img {
  width: 220px;
  position: absolute;
  right: 20px;
  top: 20px;
}

@media (max-width: 1280px) {
  .season-ttl {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 180px;
    z-index: 1000;
    width: 100%;
    font-size: 0;
  }
}

@media (max-width: 991px) {
  .season-ttl {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 160px;
    z-index: 1000;
    width: 100%;
    font-size: 0;
  }

  .event-wrap .cloud-img {
    width: 180px;
    position: absolute;
    right: 20px;
    top: 20px;
  }
}

@media (max-width: 768px) {
  .event-img {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .event-list>div+div {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .month {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
  }

  .event-text li {
    line-height: 1.8;
    font-size: 16px;
  }

  .season-ttl {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 120px;
    z-index: 1000;
    width: 100%;
    font-size: 0;
  }

  .event-wrap .cloud-img {
    width: 120px;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .event-spring-area {
    background-color: #ffe5ed;
    padding: 150px 0 80px;
  }

  .event-summer-area {
    background-color: #ecf5fb;
    padding: 150px 0 80px;
  }

  .event-autumn-area {
    background-color: #fafaec;
    padding: 150px 0 80px;
  }

  .event-winter-area {
    background-color: #eddef0;
    padding: 150px 0 80px;
  }
}

/* =======================================
課外事業
======================================== */
.gym-class-area {
  position: relative;
  background-color: #ecf5fb;
  padding: 100px 0 100px;
}

.en-class-area {
  position: relative;
  background-color: #ffe5ed;
  padding: 100px 0 100px;
}

.pen-class-area {
  position: relative;
  background-color: #fafaec;
  padding: 100px 0 100px;
}

.piano-class-area {
  position: relative;
  background-color: #e9fde7;
  padding: 100px 0 100px;
}

.extraclass-content .container {
  position: relative;
}

.taisou-illust {
  bottom: 20px;
  right: 20px;
  position: absolute;
  max-width: 240px;
  width: 100%;
}

.en-illust {
  top: 20px;
  left: 20px;
  position: absolute;
  max-width: 240px;
  width: 100%;
}

.pen-illust {
  bottom: 20px;
  right: 20px;
  position: absolute;
  max-width: 240px;
  width: 100%;
}

.piano-illust {
  bottom: 20px;
  right: 20px;
  position: absolute;
  max-width: 240px;
  width: 100%;
}

.extraclass-content h3 {
  color: #257db7;
  position: relative;
  padding-bottom: 50px;
  margin-bottom: 50px;
}

.extraclass-content h3::after {
  content: '';
  height: 40px;
  width: 240px;
  background-repeat: no-repeat;
  background-image: url('../images/common/sec-ttl-obj.svg');
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ========= ここが本題：表＋ドットライン ========== */

.schedule-table {
  width: 100%;
  border-collapse: separate;
  /* ← ここ重要！角丸対応 */
  border-spacing: 0;
  /* ← テーブルの隙間なし */
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  border-radius: 16px;
  /* ← 角丸 */
  overflow: hidden;
  /* ← 角丸を効かせるために必要 */
  background: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  /* 少し可愛い影 */
}

/* セル */
.schedule-table th,
.schedule-table td {
  padding: 14px 16px;
  font-size: 16px;
  text-align: center;
}

/* 見出し */
.schedule-table th {
  background: #dff6ff;
  font-weight: 700;
  white-space: nowrap;
}

/* データ */
.gscheduletable td {
  background: #fff;
}

/* ★ 横方向ドット（区切り線） */
.schedule-table tr th,
.schedule-table tr td {
  border-bottom: 3px dotted #ff9cbc;
}

/* 最終行は線なし */
.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom: none;
}

.extraclass-text-box {
  font-size: 18px;
  max-width: 1000px;
  margin: 50px auto 0;
  width: 100%;
  line-height: 2;
}

.extraclass-text {
  text-align:justify;
}

.extraclass .cloud-img {
  max-width: 280px;
  position: absolute;
  top: 0;
  width: 100%;
}

.en-class-area .cloud-img {
  position: absolute;
  right: 0;
}

.piano-class-area .cloud-img {
  position: absolute;
  right: 0;
}

.extraclass-head-text {
  text-align: center;
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 2;
}

@media (max-width: 1200px) {

  .en-illust {
    max-width: 200px;
  }
}

@media (max-width: 991px) {
  .piano-class-area {
    position: relative;
    background-color: #e9fde7;
    padding: 100px 0 120px;
  }

  .pen-class-area {
    position: relative;
    background-color: #fafaec;
    padding: 100px 0 120px;
  }

  .taisou-illust {
    bottom: 20px;
    right: 20px;
    position: absolute;
    max-width: 200px;
    width: 100%;
  }


  .piano-illust {
    bottom: 20px;
    right: 20px;
    position: absolute;
    max-width: 200px;
    width: 100%;
  }

  .pen-illust {
    bottom: 20px;
    right: 20px;
    position: absolute;
    max-width: 200px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .extraclass .row>* {
    padding-left: 0;
    padding-right: 0;
  }

  .extraclass .cloud-img {
    max-width: 200px;
    width: 100%;
  }

  .gym-class-img-list>div {
    max-width: 500px;
    width: 100%;
    margin: 20px auto;
  }

  .gym-class-area {
    position: relative;
    background-color: #ecf5fb;
    padding: 80px 0 140px;
  }

  .en-class-area {
    position: relative;
    background-color: #ffe5ed;
    padding: 80px 0 220px;
  }

  .pen-class-area {
    position: relative;
    background-color: #fafaec;
    padding: 80px 0 150px;
  }

  .piano-class-area {
    position: relative;
    background-color: #e9fde7;
    padding: 80px 0 80px;
  }

  .extraclass-content h3 {
    color: #51a7dd;
    position: relative;
    font-size: 45px;
    margin-bottom: 30px;
  }

  .extraclass-content h3::after {
    content: '';
    height: 35px;
    width: 200px;
    background-repeat: no-repeat;
    background-image: url(../images/common/sec-ttl-obj.svg);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .extraclass-text {
    margin-top: 30px;
  }

  .extraclass-text-box {
    font-size: 18px;
    max-width: 1000px;
    margin: 30px auto 0;
    width: 100%;
    line-height: 2;
  }

  .pen-illust {
    bottom: 20px;
    right: 20px;
    position: absolute;
    max-width: 160px;
    width: 100%;
  }

  .en-illust {
    top: auto;
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 160px;
  }

}

@media (max-width: 480px) {
  .extraclass-content h3 {
    color: #51a7dd;
    position: relative;
    font-size: 38px;
    margin-bottom: 20px;
  }

  .schedule-table th {
    background: #dff6ff;
    font-weight: 700;
    width: 150px;
    white-space: nowrap;
  }

  .gym-class-img-list>div {
    max-width: 500px;
    width: 100%;
    margin: 10px auto;
  }

  .schedule-table {
    display: block;
  }

  .extraclass .cloud-img {
    max-width: 160px;
    width: 100%;
  }

  .extraclass-text-box {
    font-size: 16px;
    max-width: 1000px;
    margin: 30px auto 0;
    width: 100%;
    line-height: 2;
  }

  .extraclass-text {
    font-size: 16px;
  }

  .piano-class-area {
    position: relative;
    background-color: #e9fde7;
    padding: 100px 0 200px;
  }

  /* ▼ テーブルレイアウトを無効化（テーブル組解除） */
  .schedule-table,
  .schedule-table tbody {
    display: block;
    border-collapse: separate;
    border-spacing: 0;
  }

  .schedule-table tr {
    display: block;
    /* 1行＝1ブロック */
    position: relative;
  }

  /* th / td をただのブロック要素にする */
  .schedule-table th,
  .schedule-table td {
    display: block;
    width: auto;
    border: none;
    padding: 0;
  }

  /* タイトル（左側だった th） */
  .schedule-table th {
    font-weight: 700;
    margin-bottom: 4px;
  }


  .schedule-table tr th {
    padding: 5px 0;
    border-bottom: 3px dotted #ff9cbc !important;
  }

  .schedule-table tr td {
    border-bottom: none;
    padding: 5px 0;
  }

  .gym-class-img-list>div {
    max-width: 330px;
  }
}


/* =======================================
お問い合わせ
======================================== */
.entry-form-area {
  padding: 100px 0;
  background-color: #ecf5fb;
  position: relative;
}

.entry-form-area h3 {
  font-size: 40px;
  position: relative;
  font-weight: 700;
  color: #257db7;
  padding-left: 50px;
}

.entry-form-area h3::after {
  width: 40px;
  height: 2px;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  background-color: var(--main-color);
}

.entry-form-area .head-text {
  line-height: 2;
  font-size: 18px;
}

.contactform {
  margin-top: 50px;
}

.optional {
  color: #fff;
  font-weight: 400;
  background: #999;
  font-size: 12px;
  padding: 0.2em 0.5em;
}

.required {
  font-weight: 400;
  font-size: 12px;
  padding: 0.2em 0.5em;
  transform: translateY(-0.1em);
  color: #fff;
  margin-right: 3px;
  display: inline-block;
  background-color: #ff9cbc;
}

.entry-form-area .text-center .required {
  margin-right: 5px;
}

.entry-form-area .area-ttl-box {
  margin-bottom: 40px;
}

.entry-form-area .area-ttl-box .ttl-en {
  margin: 0 auto;
}



.radio-line .row {
  gap: 8px 2px;
}

.entry-form-area .radio-line label {
  display: flex;
  margin-bottom: 0;
  align-items: center;
  line-height: 1;
  gap: 3px;
}

.notes {
  margin-top: 5px;
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

#policy h4 {
  font-size: 25px;
  color: #204483;
  margin-bottom: 20px;
  font-weight: 700;
}

.buttons {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

textarea.form-control {
  height: auto;
}

#policy {
  margin-top: 50px;
}

#policy a.url {
  color: var(--main-color);
  text-decoration: underline;
}

#policy a span {
  color: #000;
  text-decoration: none;
}

#policy .contents {
  padding: 1.5% 3.5%;
  border: solid 1px #ccc;
  max-height: 300px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: auto;
  background-color: #fff;
}

#policy .contents h5 {
  font-size: 18px;
  font-weight: bold;
  margin: 2em 0 0;
}

#policy .contents p,
#policy .contents ol {
  font-size: 18px;
  margin: 1em 0;
}

#policy .contents>ol {
  counter-reset: number;
  /* カウンター初期化 */
}

#policy .contents>ol>li {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 2.5em;
  /* 番号分の余白 */
}

#policy .contents>ol>li::before {
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: number;
  content: "(" counter(number) ") ";
  /* ← カッコで囲む */
}

.confirm-only {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  justify-content: center;
  display: flex;
  gap: 0 20px;
}

.buttons {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.agree {
  text-align: center;
  margin-top: 20px;
}

.agree label {
  font-size: 18px;
  display: inline-block;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;

}

.agree input[type="checkbox"] {
  margin-right: 5px;
}

.sei {
  padding-right: 20px;
}

.contactform .name-box {
  display: flex;
  /* divを横並びに */
  gap: 20px;
  /* 間隔 */
}

.contactform .name-box div {
  display: flex;
  align-items: center;
  /* ラベルと入力欄を縦位置そろえ */
  gap: 5px;
}

.table-contact {
  line-height: 1.75;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  border-top: 1px solid #BCBEBF;
  margin-bottom: 30px;
}

.table-contact>tbody>tr {
  border-bottom: 1px solid #ccc;
}

.table-contact>tbody>tr>th {
  width: 16em;
  padding-left: 1em;
}

.table-contact>tbody>tr>td {
  padding-left: 2em;
}

/* テーブルの基本 */
.table-contact {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  /* 線のズレ防止 */
  border-spacing: 0;
}

/* th / td の揃えと余白を統一 */
.table-contact th,
.table-contact td {
  vertical-align: top;
  /* ← ここが肝（Safari対策） */
  padding: 12px 16px;
  line-height: 1.6;
}

/* 任意：左の見出し幅 */
.table-contact th {
  width: 15em;
  /* 使っているなら固定幅はここで */
  white-space: nowrap;
}

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

.table-contact th,
.table-contact td {
  vertical-align: top;
  /* ← Safariでも確実に上揃え */
}

.table-contact>tbody>tr>th,
.table-contact>tbody>tr>td {
  padding: 1em 0;
  font-size: 18px;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(2em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
}

#element {
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
}

/* inputを非表示にして自作UIに置き換える */
.file-upload input[type="file"] {
  display: none;
}

.file-upload {
  display: inline-flex;
  align-items: center;
  border: 1px solid #000;
  padding: 12px 12px;
  cursor: pointer;
  gap: 10px;
}

/* 本物のファイル入力は非表示にして label 経由でクリック */
.file-upload input[type="file"] {
  display: none;
}

.file-btn {
  background-color: #eee;
  border: 1px solid #000;
  padding: 4px 8px;
  white-space: nowrap;
}

#statusMsg {
  color: #999;
  font-size: 16px;
  font-weight: 400;
}

/* 共通 */
.entry-form-area ::placeholder {
  color: #ccc !important;
  font-weight: 400;
}

.p-postal-code {
  width: 30%;
}

.input-name {
  display: block;
  width: 100%;
}

.input-name {
  margin-bottom: 10px;
}

.contactform {
  font-size: 18px;
}

.form-line+.form-line {
  margin-top: 20px;
}

.send-btn {
  position: relative;
}

.send-btn .more-white-icon,
.btn-primary .more-white-icon {
  position: absolute;
  right: 16px;
  width: 20px;
  top: 50%;
  font-size: 0;
  transform: translateY(-50%);
  justify-content: center;
}

.send-btn:hover,
.btn-primary:hover {
  color: var(--main-color);
}


.btn-primary .fa-arrow-right,
.send-btn .fa-arrow-right {
  color: var(--main-color);
  font-size: 16px;
}

.btn-primary:hover .fa-arrow-right,
.send-btn:hover .fa-arrow-right {
  color: #fff;
}

.return-btn .more-white-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.return-btn .fa-arrow-right {
  color: #999999;
  font-size: 16px;
}

.return-btn:hover .fa-arrow-right {
  color: #333333;
}

.btn-primary,
.send-btn,
.return-btn,
.user-add-btn {
  position: relative;
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  font-weight: 500;
  padding: 20px 0;
  line-height: 1;
  overflow: hidden;
  color: #257db7;
  border: none;
  line-height: 1.5;
  background-color: #b4d7ee;
  font-size: 18px;
  transition: 0.7s !important;
  border-radius: 16px;
}


.btn-primary:hover {
  font-size: 18px;
}

.return-btn {
  color: #fff;
}

.btn-primary {
  max-width: 400px;
  display: table;
}

.user-add-btn {
  margin: 0;
}

.send-btn,
.return-btn {
  margin: 0;
}

.btn-primary:hover,
.send-btn:hover {
  color: #fff;
  background-color: rgb(37, 125, 183);
}

.return-btn {
  border: 1px solid #999999;
  background: #999999;
}

.return-btn:hover {
  border: 1px solid #333333;
  background-color: #333333;
}

.more-btn {
  position: relative;
  /* アイコン分の余白 */
}

/*
.btn-primary::after {
  content: "\f061"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color:var(--main-color);
  position: absolute;
  right: 0.8em;
  width: 30px;
  height: 30px;
  line-height: 2;
  background-color: #fff;
  top: 50%;
  border-radius: 50% 50%;
  transform: translateY(-50%);
}
*/
/* 既存の .custom-select に“追記”するだけでOK */
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url('../images/common/triangle.svg') no-repeat right 0.75rem center / 12px 8px;
  border: 1px solid #ced4da;
  color: #222;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-weight: 500;
  line-height: 1.75;
  width: auto;
}

/* 状態別（任意） */
.custom-select:hover {
  border-color: #999;
}

.custom-select:focus {
  outline: none;
  border-color: #333;
}

/* 無効時は文字色を薄く → 矢印も自動で薄くなる（currentColor連動） */
.custom-select:disabled {
  color: #999;
  background-color: #f8f9fa;
  border-color: #e1e5ea;
}

@media (max-width: 1500px) {

  .tel-fax-area .container,
  .entry-form-area .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

@media (max-width: 991px) {

  .tel-fax-area h3,
  .entry-form-area h3 {
    font-size: 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 991px) {
  .entry-form-area .head-text {
    line-height: 2;
    font-size: 16px;
  }
}

@media (max-width: 480px) {

  .entry-form-area h3 {
    line-height: 1.5;
    font-size: 26px;
    margin-bottom: 20px;
    padding-left: 40px;
  }

  .tel-fax-area .sp {
    display: block;
  }

  .entry-form-area h3::after {
    width: 30px;
    height: 2px;
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    background-color: var(--main-color);
  }

  .entry-form-area .area-ttl-box {
    margin-bottom: 30px;
  }
}

@media (max-width: 1500px) {
  .tel-fax-ttl {
    font-size: min(calc(22px + (26 - 22) * (100vw - 992px) / (1500 - 992)),
        26px);
    background-color: #fff;
    padding: min(calc(8px + (10 - 8) * (100vw - 992px) / (1500 - 992)),
        10px);
    margin-bottom: 20px;
  }


  .tel-fax-area .number-text {
    font-size: 38px;
  }

  .tel-fax-area .number-text a {
    font-size: 38px;
  }

  .tel-fax-area .text {
    font-size: min(calc(18px + (22 - 18) * (100vw - 992px) / (1500 - 992)),
        22px);
    margin-top: min(calc(5px + (10 - 5) * (100vw - 992px) / (1500 - 992)),
        10px);
  }

  .tel-fax-area .container,
  .entry-form-area .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }

  .entry-form-area .text-center {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .required {
    font-size: min(calc(14px + (16 - 14) * (100vw - 992px) / (1500 - 992)),
        16px);
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .form-control {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .table-contact>tbody>tr>th {
    width: 17em;
  }

  /* 共通 */
  .entry-form-area ::placeholder {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  #policy h4 {
    font-size: min(calc(22px + (25 - 22) * (100vw - 992px) / (1500 - 992)),
        25px);
    margin-bottom: min(calc(15px + (20 - 15) * (100vw - 992px) / (1500 - 992)),
        20px);
  }

  #policy .contents p,
  #policy .contents ol {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  #policy .contents h5 {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
    margin: 2em 0 0;
  }

  #policy .contents>ol>li {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
    margin-bottom: 5px;
  }

  .agree label {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .btn-primary,
  .send-btn,
  .return-btn {
    font-size: 16px;
    padding: 15px 0;
  }
}

@media (max-width: 991px) {

  .tel-fax-area h3 {
    font-size: min(calc(24px + (28 - 24) * (100vw - 320px) / (991 - 320)),
        28px);
  }

  .tel-fax-area h3::after {
    width: min(calc(60px + (80 - 60) * (100vw - 320px) / (991 - 320)),
        80px);
  }

  .tel-fax-ttl {
    padding: min(calc(6px + (10 - 6) * (100vw - 320px) / (991 - 320)),
        10px);
  }

  .fax-box {
    margin-top: 20px;
  }

  .fax-wrap {
    margin-top: min(calc(20px + (30 - 20) * (100vw - 320px) / (991 - 320)),
        30px);
  }

  .tel-fax-area {
    margin-bottom: 0
  }

  .tel-fax-area .icon {
    height: auto;
    line-height: 1;
  }

  .tel-fax-area .number-text {
    font-size: min(calc(26px + (50 - 26) * (100vw - 320px) / (991 - 320)),
        50px);
  }

  .tel-fax-area .number-text a {
    font-size: min(calc(26px + (50 - 26) * (100vw - 320px) / (991 - 320)),
        50px);
  }

  .entry-form-area .text-center {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .required {
    font-size: min(calc(12px + (14 - 12) * (100vw - 320px) / (991 - 320)),
        14px);
  }

  .notes {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .entry-form-area ::placeholder {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  #policy h4 {
    line-height: 1.5;
    font-size: min(calc(18px + (22 - 18) * (100vw - 320px) / (991 - 320)),
        22px);
    margin-bottom: 20px;
  }

  #policy .contents p,
  #policy .contents ol {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  #policy .contents h5 {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    margin: 2em 0 0;
  }

  #policy .contents>ol>li {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    margin-bottom: 5px;
  }

  .agree label {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .btn-primary .fa-arrow-right,
  .send-btn .fa-arrow-right {
    color: var(--main-color);
    font-size: 12px;
  }

  .confirm-only .send-btn,
  .confirm-only .return-btn {
    margin-left: 0;
    margin-right: 0;
  }

  .confirm-only {
    gap: 0 min(calc(15px + (20 - 15) * (100vw - 320px) / (991 - 320)),
        20px);
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .form-control {
    display: block;
    width: 100%;
    height: calc(1.75em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    font-weight: 500;
    line-height: 1.75;
    color: #222222;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
  }

  .entry-form-area .radio-line label {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .form-control.p-postal-code {
    width: 200px;
  }

  .custom-select {
    width: 200px;
  }

  #element {
    display: block;
    width: 100%;
    height: calc(1.75em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
  }

  .entry-form-area {
    padding: 100px 0;
    position: relative;
  }
}

@media (max-width: 768px) {
  .entry-form-area {
    padding: 80px 0;
    position: relative;
  }

  .entry-form-area .text-center {
    text-align: left !important;
  }

  .fa-arrow-right:before {
    font-size: 14px;
  }

  .table-contact>tbody>tr {
    width: 100%;
    display: block;
    padding: 1em 0.5em;
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    width: 100%;
    display: block;
    padding: 0;
  }

  .table-contact>tbody>tr>th+td,
  .table-contact>tbody>tr>td+td {
    margin-top: .5em;
  }

  .tel-fax-box .icon {
    font-size: 30px;
    margin-right: 7px;
  }

  .send-btn .more-white-icon,
  .btn-primary .more-white-icon {
    position: absolute;
    right: 16px;
    width: 16px;
    justify-content: center;
  }

  .return-btn .more-white-icon {
    width: 16px;
  }

  .tel-fax-area .text {
    margin-top: 10px;
  }

  .radio-line .row {
    gap: 14px 2px;
  }
}

@media (max-width: 480px) {
  .entry-form-area {
    padding: 60px 0;
    position: relative;
  }
}