/*====================
下層
 ====================*/
section.pages-header {
  background: #ddd;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  xbackground-attachment: fixed;
}
section.pages-header:before {
  content: ""; /* 擬似要素にはcontentプロパティが必要 */
  position: absolute; /* 親要素を基準に配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25); /* 薄い黒 (透明度30%) */
  mix-blend-mode: multiply; /* 乗算モードを適用 */
  z-index: 1; /* コンテンツよりも下に配置 */
}
.pages_title_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 2;
  width: 100%;
}
main.under.tokushoku_educational section.pages-header {
  background-image: url(../img/tokushoku_educational_fv.jpg);
}
main.under.tokushoku_lunch section.pages-header {
  background-image: url(../img/tokushoku_lunch_fv.jpg);
}
main.under.tokushoku_book section.pages-header {
  background-image: url(../img/tokushoku_book_fv.jpg);
}
main.under.tokushoku_exercise section.pages-header {
  background-image: url(../img/tokushoku_exercise_fv.jpg);
}
main.under.tokushoku_asobi-manabi section.pages-header {
  background-image: url(../img/tokushoku_asobi-manabi_fv.jpg);
}
main.under.about section.pages-header {
  background-image: url(../img/about_fv.jpg);
}
main.under.calendar section.pages-header {
  background-image: url(../img/calendar_fv.jpg);
}
main.under.question section.pages-header {
  background-image: url(../img/question_fv.jpg);
}
main.under.letter section.pages-header {
  background-image: url(../img/letter_fv.jpg);
}
main.under.privacy section.pages-header {
  background-image: url(../img/privacy_fv.jpg);
}

.pages_ttl {
  width: 100%;
  text-align: center;
}
.pages_ttl h2 {
  font-size: 56px;
  margin-bottom: 0.5rem;
}
.pages_ttl h3 {
  font-size: 32px;
}
.en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}
.ja {
}
.title_box h2 {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  flex-flow: column;
}

.title_box h2::before {
  content: "";
  background-image: url(../img/icon_logo.svg);
  background-repeat: no-repeat;
  width: 48px;
  height: 28px;
  margin-bottom: 20px;
}
.title_box h2 span.en {
  font-size: var(--size_4l);
  margin-bottom: 10px;
}
.title_box h3 {
  font-size: var(--size_2l);
  position: relative;
  padding-left: 86px;
  margin-bottom: 30px;
}
/* ① 初期状態：幅を0にする */
.title_box h3::before {
  content: "";
  width: 0; /* ← ここ重要：70pxではなく0にする */
  height: 1px;
  background-color: #707070;
  position: absolute;
  top: 50%;
  left: 0;
  /* ここに animation を書かないこと！ */
}

/* ② JavaScriptでクラスがついた時にアニメーション発動 */
.title_box h3.is-active::before {
  animation: extendLine 2s ease-out forwards;
}

/* ③ アニメーションの定義 */
@keyframes extendLine {
  0% {
    width: 0;
  }
  100% {
    width: 70px;
  }
}

.title_box h2 span.ja {
  font-size: var(--size_3l);
}

p.catch {
  font-size: var(--size_2l);
  text-align: center;
  margin-bottom: 50px;
  line-height: 2em;
}
p.read {
  font-size: var(--size_1l);
  line-height: 2em;
}
p.detail {
  font-size: var(--size_1s);
}

table.office_table {
  margin: 0 auto;
  width: 100%;
}
.office_table tr {
  border: solid 1px #707070;
}
.office_table th {
  background-color: #f6f6f6;
  border-right: solid 1px #707070;
  padding: 30px 20px;
  text-align: center;
  width: 25%;
}
.office_table td {
  padding: 30px 20px;
  background-color: #fff;
}
.office_table.small th {
  padding: 12px;
}
.office_table.small td {
  padding: 15px;
}
section.contents {
  padding: 80px 0px;
  overflow: hidden;
}
/*====================
about
 ====================*/
.map iframe {
  height: 400px;
  width: 100%;
}
section#contact {
  background-image: url(../img/contact_bg.jpg);
  background-position: center;
  background-size: cover;
}
.contact_box {
  color: #fff;
  text-align: center;
}
h3.contact_title {
  font-size: 32px;
  margin-bottom: 6px;
}
p.contact_txt {
  font-size: 18px;
  margin-bottom: 28px;
}
a.contact_tel {
  color: #fff;
  font-size: 54px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
a.contact_tel::before {
  content: "";
  background-image: url(../img/icon_tel.svg);
  width: 54px;
  height: 54px;
  background-size: contain;
  background-repeat: no-repeat;
}
.contact_detail {
  width: 220px;
  margin: 0 auto;
  text-align: left;
}
.contact_detail dl {
  display: flex;
  align-items: center;
}
.contact_detail dl dt {
  width: 80px;
}
/*====================
calendar
 ====================*/
.month_item {
  background-size: cover;
  height: 320px;
  width: 320px;
  border-radius: 160px;
  box-shadow: 0 4px 6px rgb(0 0 0 / 16%);
  background-color: #fff;
  margin-bottom: 32px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
}
.month_item h3 {
  height: 41%;
  align-items: center;
  color: #fff;
  text-shadow: 0 4px 4px #000;
  font-size: 32px;
  line-height: 130px;
}
.month_item h3 span {
  font-size: 16px;
}
.month_item ul {
  height: 59%;
  width: 175px;
  padding: 20px 0;
}
.month_04 {
  background-image: url(../img/month_04.png);
}
.month_05 {
  background-image: url(../img/month_05.png);
}
.month_06 {
  background-image: url(../img/month_06.png);
}
.month_07 {
  background-image: url(../img/month_07.png);
}
.month_08 {
  background-image: url(../img/month_08.png);
}
.month_09 {
  background-image: url(../img/month_09.png);
}
.month_10 {
  background-image: url(../img/month_10.png);
}
.month_11 {
  background-image: url(../img/month_11.png);
}
.month_12 {
  background-image: url(../img/month_12.png);
}
.month_01 {
  background-image: url(../img/month_01.png);
}
.month_02 {
  background-image: url(../img/month_02.png);
}
.month_03 {
  background-image: url(../img/month_03.png);
}
/*よくある質問*/
.faq {
  max-width: 100%;
  margin-bottom: 40px;
  border: 1px solid #707070;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1.5em 2em 1.5em 58px;
  background-color: #f6f6f6;
  cursor: pointer;
}

.faq summary::before,
.faq p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
  font-size: 16px;
  background: #fff;
  border-radius: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq summary::before {
  content: "Q";
  background: #fff;
}

.faq summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  min-height: 7px;
  min-width: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: "";
  transition: transform 0.5s;
}

.faq[open] summary::after {
  transform: rotate(225deg);
}

.faq p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1.5em 3em 1.5em 58px;
  color: #333;
  transition: transform 0.5s, opacity 0.5s;
}

.faq[open] p {
  transform: none;
  opacity: 1;
}

.faq p::before {
  background-color: #eeeeee;
  content: "A";
}
/*個人情報保護方針
*/
.privacy_box dl {
  margin-bottom: 2rem;
}
.privacy_title_box h3 {
  font-weight: 400;
  margin-bottom: 10px;
}
/*こばとだより*/

/*	お知らせ
------------------------------------------------------------*/

.letter table.letter_table td {
  display: block;
  width: 100%;
}

.letter table.letter_table tr {
  padding: 50px;
  width: 100%;
  background-color: #fff;
  border: 1px solid #707070;
  margin-bottom: 80px;
  display: block;
}
.letter .letter_title {
  font-size: 1.3rem;
  border-bottom: 1px solid #999;
  font-weight: 700;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.letter .letter_title span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0;
  font-weight: 200;
}

.letter table.letter_table td .icon {
  margin-bottom: 12px;
}

.letter table.letter_table td .icon img {
  width: 120px;
  height: 36px;
}
.letter p.pager {
  text-align: center;
}
