@charset "UTF-8";


/* ===========================================================
お知らせ・行事予定（サイト共通）
=========================================================== */
.p-news-section {
    padding: 60px 0 120px;
    background: #F0FBF0;
}
@media screen and (max-width: 880px) {
    .p-news-section {
        padding: 60px 0 60px;
        background: none;
    }
}

.p-news-contents {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    width: 93%;
    max-width: 1772px;
    margin-inline: auto;
}
@media screen and (max-width: 980px) {
    .p-news-contents {
        gap: 60px;
        width: 100%;
    }
}
/*---- 各教室毎のページのお知らせ ----*/
.p-news-contents.--classroom {
    align-items: stretch;
    flex-direction: row;
    gap: 5px;
}
@media screen and (max-width: 980px) {
    .p-news-contents.--classroom {
        align-items: center;
        flex-direction: column;
        gap: 60px;
    }
}

/*---- .p-news ----*/
.p-news {
  position: relative;
  max-width: 1070px;
  width: 100%;
  border-radius: 30px;
  background-color: #fff;
  padding: 50px;
}
@media screen and (max-width: 880px) {
    .p-news {
        border-radius: clamp(15px, 1.5vw, 30px);
        padding: clamp(10px, 2.6vw, 50px) clamp(10px, 1vw, 50px);
    }
}
/*---- 各教室毎のページのお知らせ ----*/
.p-news.--classroom {
    width: 48.7%;
    border-radius: clamp(15px, 1.5vw, 30px);
    padding: clamp(10px, 2.6vw, 50px) clamp(20px, 2vw, 50px);
}
@media screen and (max-width: 1024px) {
    .p-news.--classroom {
        width: 100%;
        padding: clamp(10px, 2.6vw, 50px) clamp(10px, 1vw, 50px);
    }
}

.p-news__inner {
  position: relative;
  z-index: 1;
  max-width: 727px;
  width: 100%;
  margin: 0 auto;
}
/*---- 各教室毎のページのお知らせ ----*/
.p-news__inner.--classroom {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.p-news__imgBox.item1 {
  position: absolute;
  top: calc(0% - clamp(10px, 2.6vw, 50px));
  left: clamp(10px, 6.2vw, 120px);
  width: 10.1%;
  min-width: 50px;
  max-width: 95px;
}
.p-news-section .p-news__imgBox.item1 {
    left: clamp(10px, 2.2vw, 40px);
}

.p-news__imgBox.item1.--right {
  left: auto;
  right: clamp(10px, 6.2vw, 120px);
}
.p-news-section .p-news__imgBox.item1.--right {
    right: -3.6%;
}
@media screen and (max-width: 880px) {
    .p-news-section .p-news__imgBox.item1.--right {
        right: 0;
    }
}

.p-news .p-news__inner li{
  /* font-size: 18px; */
  font-size: clamp(0.75rem, 0.9vw, 1.125rem);
}
.p-news .news h3 {
  margin-bottom: 24px;
  padding-left: 22px;
  font-size: 30px;
  color: #2E9000;
}

.p-news .topSection__link{
  max-width: 312px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 980px) {
  /*---- .p-news ----*/
  .p-news {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px 20px;
  }
  .p-news__imgBox.item1 {
    position: absolute;
    top: -50px;
    left: 67vw;
  }
  .p-news__imgBox.item1.--right {
    right: 67vw;
  }
  .p-news .p-news__inner{
    width: auto;
    margin: 0 auto;
  }
  .p-news .newsBox__list {
    margin: 0 auto 30px;
  }
  .p-news .p-news__inner li{
    font-size: 18px;
  }
  .p-news h3 {
    margin-bottom: 20px;
  }
}


/* ===========================================================
行事予定
=========================================================== */
.contents .ContentPage h3.p-topics-archive__content-title {
    margin-bottom: 60px;
}
@media screen and (max-width: 880px) {
    .contents .ContentPage h3.p-topics-archive__content-title {
        margin-bottom: 40px;
    }
}

.p-event-cat__container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
}
@media screen and (max-width: 880px) {
    .p-event-cat__container {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
.Detail .p-event-cat__container {
    flex-direction: row;
    flex-wrap: wrap;
}

.p-topics-archive__heading {
    text-align: center;
    color: #2E9000;
    line-height: 1.5;
    font-size: clamp(1.25rem, 2.1vw, 2.375rem);
    font-weight: 700;
}
@media screen and (max-width: 880px) {
    .p-topics-archive__heading {
        font-size: clamp(1.25rem, 4.3vw, 2.375rem);
    }
}

/* カテゴリーバッジ（archive / taxonomy / TOP 共通） */
.p-event-cat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100px;
    min-height: 26px;
    box-sizing: border-box;
    padding: 8px 2px;
    border-radius: 11px;
    font-size: 10px;
    /* font-weight: 400; */
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    background-color: #ccc;
}
/* .p-topics-archive__filter-item .p-event-cat-badge{
    width: 100%;
} */

a.p-event-cat-badge {
    transition: opacity 0.3s;
}
@media (any-hover: hover) {
    a.p-event-cat-badge:hover {
        opacity: 0.7;
        transition: opacity 0.3s;
    }
}

.p-topics-archive__filter-item .p-event-cat-badge.is-active {
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s;
}
@media screen and (max-width: 880px) {
    .p-topics-archive__filter-item .p-event-cat-badge {
        height: 100%;
    }
}

.p-topics-archive {
    width: 100%;
    margin-bottom: 60px;
}
.p-topics-archive.--top {
    margin-bottom: 32px;
}
@media screen and (max-width: 880px) {
    .p-topics-archive {
        width: 100%;
        margin-bottom: 40px;
    }
    .p-topics-archive.--top {
        margin-bottom: 20px;
    }
}

/* archive / taxonomy ページのリストアイテム */
.p-topics-archive__item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    gap: clamp(12px, 1.4vw, 16px);
}
.p-topics-archive__item.--top{
    border-bottom: 1px solid #333;
}
@media screen and (max-width: 1280px) {
    .p-topics-archive__item.--top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
@media screen and (max-width: 880px) {
    .p-topics-archive__item {
        flex-wrap: wrap;
        gap: 16px;
    }
}

.p-topics-archive__tag {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.4vw, 16px);
}

.p-topics-archive__tag.--single {
    margin-bottom: 16px;
}

.p-topics-archive__item time {
    flex-shrink: 0;
    min-width: 100px;
    width: 13.2%;
    font-size: clamp(0.75rem, 1.4vw, 1rem);
    color: #777;
    /* font-weight: 400; */
    font-weight: 600;
}
.p-topics-archive__item.--top time {
    min-width: 1px;
    width: auto;
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    color: #333;
}
@media screen and (max-width: 880px) {
    .p-topics-archive__item time {
        min-width: 1px;
        width: auto;
        font-size: clamp(0.75rem, 1.8vw, 1rem);
    }
    .p-topics-archive__item.--top time {
        font-size: clamp(0.875rem, 2vw, 1.125rem);
    }
}

.p-topics-archive__title {
    font-size: clamp(0.875rem, 1.4vw, 1rem);
    /* font-weight: 400; */
    font-weight: 600;
    text-decoration: none;
    color: #333;
    flex: 1;
    line-height: 1.6;
    pointer-events: auto;
    transition: opacity 0.3s;
}
.p-topics-archive__title.--top {
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    /* font-weight: 400; */
    font-weight: 600;
    text-decoration: none;
    color: #333;
    flex: 1;
    line-height: 1.6;
    pointer-events: auto;
    transition: opacity 0.3s;
}
@media screen and (max-width: 880px) {
    .p-topics-archive__title {
        flex: 1 1 100%;
        font-size: clamp(0.875rem, 1.8vw, 1rem);
    }
    .p-topics-archive__title.--top {
        flex: 1 1 100%;
        font-size: clamp(0.875rem, 2vw, 1.125rem);
    }
}
@media (any-hover: hover) {
    .p-topics-archive__title:hover {
        opacity: 0.7;
        transition: opacity 0.3s;
    }
}

/* カテゴリーフィルター（archive / taxonomy ページ） */
.p-topics-archive__filter {
    margin-bottom: 40px;
}
@media screen and (max-width: 880px) {
    .p-topics-archive__filter {
        margin-bottom: 20px;
    }
}

.p-topics-archive__filter-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); */
    gap: clamp(4px, 0.6vw, 8px);
    list-style: none;
    padding: 0;
    margin: 0;
    width: fit-content;
    margin-inline: auto;
}
.p-topics-archive__filter-list.--class-topics {
    grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 540px) {
    .p-topics-archive__filter-list,
    .p-topics-archive__filter-list.--class-topics {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.p-topics-archive__filter-item {
    display: flex;
}

/* ===========================================================
MV
=========================================================== */
.p-common-mv {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1920 / 450;
    min-height: 425px;
    margin-top: 90px;
    overflow: hidden;
}
.p-common-mv.--event,
.p-common-mv.--news {
    margin-top: 90px;
}

/* メイン画像 */
.p-common-mv__cover {
    position: absolute;
    height: 100%;
    top: 0;
    right: 8vw;
    width: 58vw;
}
.p-kalmia0-6-mv .p-common-mv__cover {
    right: 0;     
    width: 62vw;   
}
.p-beatle-mv .p-common-mv__cover {
    right: 0;
    width: 62vw;  
}

.p-common-mv__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 75%;
}
.p-common-mv__cover.--event img {
    object-position: right 0%;
}
.p-common-mv__cover.--news img {
    object-position: right 30%;
}
.p-kalmia0-6-mv .p-common-mv__cover img {
    object-position: center bottom; 
}
.p-company-mv .p-common-mv__cover img,
.p-beatle-mv .p-common-mv__cover img {
    object-position: center center;
}
.p-company_detail-mv .p-common-mv__cover img {
    object-position: right 20%;
}
.p-contact-mv .p-common-mv__cover img,
.p-dayservice-mv .p-common-mv__cover img,
.p-mirai-mv .p-common-mv__cover img,
.p-shirakabe-mv .p-common-mv__cover img,
.p-stepminou-mv .p-common-mv__cover img,
.p-faq-mv .p-common-mv__cover img,
.p-flow-mv .p-common-mv__cover img,
.p-someday-mv .p-common-mv__cover img,
.p-voice-mv .p-common-mv__cover img {
    object-position: right 40%;
}
.p-minou-mv .p-common-mv__cover img {
    object-position: right 10%;
}

.p-common-mv__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.p-common-mv__item {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    left: 8%;
    min-width: 32%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-common-mv__mirai-logo {
    width: 70%;
    max-width: 260px;
    height: auto;
    display: block;
}
@media screen and (max-width: 880px) {
    .p-common-mv__mirai-logo {
        width: 100%;
        max-width: clamp(160px, 29.5vw, 260px);
    }
}

.p-common-mv__mirai-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.p-common-mv__title-img {
    width: 100%;
    max-width: 152px;
    height: auto;
    display: block;
    margin-top: 8px;
}
.p-common-mv__title-img.--kabutomushiclub {
    max-width: 255px;
}
.p-common-mv__title-img.--step {
    max-width: 255px;
}
@media screen and (max-width: 980px) {
    .p-common-mv__title-img {
        max-width: 120px;
    }
    .p-common-mv__title-img.--kabutomushiclub {
        max-width: 200px;
    }
    .p-common-mv__title-img.--step {
        max-width: 200px;
    }
}
@media screen and (max-width: 880px) {
    .p-common-mv__title-img {
        max-width: 152px;
    }
    .p-common-mv__title-img.--kabutomushiclub {
        max-width: clamp(155px, 28.9vw, 255px);
    }
}
@media screen and (max-width: 600px) {
    .p-common-mv__title-img {
        max-width: 120px;
    }
}

.p-common-mv__content .item1 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8%;
    width: 30%;/* ここの幅微調整 */

}

.p-common-mv__content .item1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.p-common-mv__content .item2 {
    position: absolute;
    bottom: 12%;
    left: 6%;
    width: clamp(55px, 5.4vw, 104px);
    z-index: 3;
}

.p-common-mv__content .item3 {
    position: absolute;
    left: 32%;/* ここの幅微調整 */
    bottom: 30%;
    width: clamp(41px, 3.9vw, 75px);
    z-index: 3;
}
.p-beatle-mv .item3 {
    left: 27%;
    bottom: 23%;
    width: clamp(41px, 3.9vw, 75px);
}
.p-kalmia0-6-mv .item3 {
    left: 35%;
    bottom: 23%;
    width: clamp(41px, 3.9vw, 75px);
}
.p-kalmia-mv .item3 {
    left: 32%;
    bottom: 25%;
    width: clamp(41px, 3.9vw, 75px);
}
.p-company-mv .item3 {
    left: 32%;
    bottom: 30%;
    width: clamp(41px, 3.9vw, 75px);
}

.p-common-mv__title {
    font-size: clamp(28px, 2vw, 38px);
}

.p-beatle-mv .p-beatle-mv-logo {
    width: clamp(148px, 41.67vw - 218.67px, 208px);
    aspect-ratio: 208 / 92;
}

.p-beatle-mv .p-beatle-mv-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.p-common-mv__decoration {
    position: absolute;
}

.p-common-mv__decoration img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 880px) {
    .p-common-mv {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        aspect-ratio: auto;
        justify-content: flex-start;
        margin-top: 45px;
    }

    .p-common-mv__content {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px 0 20px;
        /* z-index: 10; */
        z-index: -1;
    }

    .p-common-mv__content .item1 {
        position: absolute;
        top: 20px;
        left: -30px;
        width: 90%;
        max-width: none;
        justify-content: unset;
    }

    .p-common-mv__content .item1 img {
        height:auto;

    }

    .p-common-mv__item {
        position: relative;
        top: 34px;
        left: 0;
        width: 100%;
        margin: 40px auto;
        padding: 20px 10px;
        transform: none;
        text-align: center;
        z-index: 10;
    }

    .p-common-mv__title {
        font-size: clamp(1.625rem, 3.6vw, 2rem);
        line-height: 1.5;
    }

    .p-common-mv__cover {
        position: relative;
        width: 85%;
        height: auto;
        min-height: auto;
        margin-left: auto;
        right: -5%;
        z-index: 0;
    }
    .p-kalmia0-6-mv .p-common-mv__cover {
        width: 85%;
        right: -5%;
    }
    .p-beatle-mv .p-common-mv__cover {
        width: 85%;
        right: 0;       
    }

    .p-common-mv__cover img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
    .p-beatle-mv .p-common-mv__cover img {
        object-position: 40% center; 
    }

    .p-common-mv__content .item3 {
        position: absolute;
        bottom: 10%;
        left: 83%;
        width: 50px;
        z-index: 5;
    }
    .p-beatle-mv .item3 {
        bottom: 10%;
        left: 83%;
        width: 50px;
    }
    .p-kalmia0-6-mv .item3 {
        bottom: 10%;
        left: 83%;
        width: 50px;
    }
    .p-kalmia-mv .item3 {
        bottom: 10%;
        left: 83%;
        width: 50px;
    }
    .p-company-mv .item3 {
        bottom: 10%;
        left: 83%;
        width: 50px;
    }

    .p-common-mv__content .item2 {
        display: none;
    }
}

/* ===========================================================
相談支援びーとる様
=========================================================== */
/* 施設長のご挨拶　セクション */

.p-greeting {
    margin-top: 72px;
    padding-top: 72px;
    padding-bottom: 48px;
    background-color: #e3f8e6;
}

.p-greeting__inner {
    max-width: 1016px;
    margin: 0 auto;
    padding: 0 20px;
}

.p-greeting__content {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 53px;
    padding-left: 84px;
    padding-right: 15px;
}

.p-greeting__img {
    flex-shrink: 0;
}

.p-greeting__img img {
    width: 247px;
    height: 247px;
    border-radius: 50%;
    object-fit: cover;
}

.p-greeting__text p {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.5em;
}

@media screen and (max-width: 880px) {
    .p-greeting {
        padding: 60px 0;

    }

    .p-greeting__content {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    .p-greeting__img {
        text-align: center;
    }

    .p-greeting__img img {
        width: 80%;
        height: auto;
        margin: 0 auto;
    }

    .p-greeting__text {
        max-width: none;
        width: 100%;
        margin-top: 20px;
        text-align: left;

    }

    .p-greeting__text br {
        display: none;
    }

    .p-greeting__text p {
        line-height: 1.8;
        letter-spacing: 0.1em;
    }
}

/* ===========================================================
放課後等デイサービスkalmia教室様
=========================================================== */
@media screen and (max-width: 880px) {
    /*挨拶：リーダー */
    .aisatsu .content_box.leader .pageContent__img {
        max-width: 247px;

    }
}

/* ===========================================================
企業概要
=========================================================== */
/* ボタンリンク */
.Company_detail .content__tab ul li {
    width: 49%;
}

.ContentPage .company_tabmenu ul li:last-child {
    width: 49%;
}

.p-leader-message__text {
    margin-bottom: 20px;
}
.p-leader-message__text:last-child {
    margin-bottom: 0;
}

/* 代表会社と代表名 */
.Company_detail .leader_message .p-company-name {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 12px;
}

.Company_detail .leader_message .p-company-name img {
    width: 260px;
    margin-top: 10px;
    display: block;
}

.Company_detail .leader_message .p-company-name img.p-company-name__sign {
    width: 140px;
}

.Company_detail .daihyo.p-daihyo {
    padding-bottom: 20px;

}
@media screen and (max-width: 880px) {
    .Company_detail .content__tab ul li {
        width: 100%;

    }

    .ContentPage .company_tabmenu ul li:last-child {
        width: 100%;
    }

    .Company_detail .leader_message .p-company-name img {
        width: 180px;

    }

    .Company_detail .leader_message .p-company-name img.p-company-name__sign {
        width: 125px;
    }
}
/* 企業概要・役員紹介 */
.p-company-officers__list {
    display: flex;
    flex-direction: column;
}
@media screen and (max-width: 880px) {
    .p-company-officers__list {
        gap: 10px;
    }
}
.p-company-officers__list li {
    display: flex;
    align-items: center;
    gap: 1em;
}
@media screen and (max-width: 880px) {
    .p-company-officers__list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
}

/* 役員紹介 */
.p-company-officers {
    padding-bottom: 80px;
    width: 100%;
}
@media screen and (max-width: 880px) {
    .p-company-officers {
        padding-bottom: 60px;
        padding-inline: 0;
    }
}

.p-company-officers__inner {
    max-width: 1136px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.p-company-officers__heading {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-company-officers__heading-label {
    margin-bottom: 40px;
    margin-inline: auto;
    padding: 10px 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #62A439;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-align: center;
}
@media screen and (max-width: 880px) {
    .p-company-officers__heading-label {
        font-size: 1.125rem;
        padding: 10px 40px;
    }
}

.p-company-officers__item {
    display: flex;
    align-items: start;
    justify-content: flex-end;
    gap: clamp(24px, 2.8vw, 32px);
    padding-left: calc(clamp(164px, 20.7vw, 236px) * 0.15 / 2);
}
.p-company-officers__item.--textlong {
    display: flex;
    align-items: start;
    justify-content: flex-end;
    gap: clamp(24px, 2.8vw, 32px);
    padding-left: calc(clamp(164px, 20.7vw, 236px) * 0.275 / 2);
}

.p-company-officers__item + .p-company-officers__item {
    margin-top: 64px;
}

.p-company-officers__item.--reverse {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-left: 0;
}

@media screen and (max-width: 880px) {
    .p-company-officers__item,
    .p-company-officers__item.--textlong,
    .p-company-officers__item.--reverse {
        padding-left: 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
    }
}

.p-company-officers__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #62A439;
    width: 31%;
    max-width: 338px;
    min-width: 265px;
}
@media screen and (max-width: 880px) {
    .p-company-officers__profile {
        width: 100%;
        max-width: 100%;
        min-width: 1px;
    }
}

.p-company-officers__profile.--textlong {
    width: 27.5%;
    max-width: 302px;
}
@media screen and (max-width: 880px) {
    .p-company-officers__profile.--textlong {
        width: 100%;
        max-width: 100%;
    }
}

.p-company-officers__photo-wrap {
    position: relative;
    max-width: clamp(164px, 20.7vw, 236px);
    width: 100%;
}
@media screen and (max-width: 880px) {
    .p-company-officers__photo-wrap {
        max-width: clamp(180px, 26.8vw, 236px);
    }
}

.p-company-officers__photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.p-company-officers__badge {
    position: absolute;
    /* top: -27px;
    left: -65px; */
    top: -11.4%;
    left: -27.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #62A439;
    width: clamp(88px, 10.5vw, 125px);
    height: clamp(88px, 10.5vw, 125px);
}
@media screen and (max-width: 880px) {
    .p-company-officers__badge {
        width: clamp(86px, 13.6vw, 125px);
        height: clamp(86px, 13.6vw, 125px);
    }
}

.p-company-officers__position {
    margin-top: 20px;
    color: #62A439;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    font-weight: 700;
}
@media screen and (max-width: 880px) {
    .p-company-officers__position {
        font-size: clamp(0.875rem, 2vw, 1.125rem);
    }
}

.p-company-officers__qualification {
    margin-top: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.p-company-officers__qualification dt {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    position: relative;
    padding-inline: 1em;
}
@media screen and (max-width: 880px) {
    .p-company-officers__qualification dt {
        font-size: clamp(0.75rem, 1.59vw, 0.875rem);
    }
}

.p-company-officers__qualification dt::before {
    content: '<';
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
}
@media screen and (max-width: 880px) {
    .p-company-officers__qualification dt::before {
        font-size: clamp(0.75rem, 1.59vw, 0.875rem);
    }
}

.p-company-officers__qualification dt::after {
    content: '>';
    position: absolute;
    top: 0;
    right: 0;
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
}
@media screen and (max-width: 880px) {
    .p-company-officers__qualification dt::after {
        font-size: clamp(0.75rem, 1.59vw, 0.875rem);
    }
}

.p-company-officers__qualification dd {
    font-size: clamp(0.625rem, 1.05vw, 0.75rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
}
@media screen and (max-width: 880px) {
    .p-company-officers__qualification dd {
        font-size: clamp(0.625rem, 1.36vw, 0.75rem);
    }
}

.p-company-officers__message {
    margin-top: 5px;
    border: 3px solid #63BB75;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 4px 4px 0 #62A439;
    padding: 10px 16px;
    width: calc(100% - 31% - clamp(16px, 2.8vw, 32px));
    display: flex;
    align-items: center;
    min-height: 301px;
}
@media screen and (max-width: 880px) {
    .p-company-officers__message {
        margin-top: 0;
        width: 100%;
        min-height: 1px;
        padding: clamp(10px, 2.2vw, 20px);
    }
}

.p-company-officers__message.--textlong {
    width: calc(100% - 27.5% - clamp(16px, 2.8vw, 32px));
}
@media screen and (max-width: 880px) {
    .p-company-officers__message.--textlong {
        width: 100%;
    }
}

.p-company-officers__textarea {
    color: #62A439;
    font-size: clamp(0.75rem, 1.5vw, 1.125rem);
    line-height: 2;
    letter-spacing: 0.04em;
    font-weight: 600;
}
@media screen and (max-width: 880px) {
    .p-company-officers__textarea {
        font-size: clamp(0.75rem, 2vw, 1.125rem);
    }
}

.p-company-history {
    padding-block: 60px;
    background-color: #E3F8E6;
}
@media screen and (max-width: 880px) {
    .p-company-history {
        padding-block: 0;
        background-color: transparent;
    }
}

/* rinen */

.p-rinen {
    padding-top: 50px;
    padding-bottom: 100px;
    background-color: #E3F8E6;

}

.p-rinen__inner {
    max-width: 1338px;
    margin: 0 auto;
    padding: 0 20px;
}

.p-rinen__title {
    font-size: 28px;
    line-height: calc(42 / 28);
    letter-spacing: 0.1em;
    text-align: center;
    color: #2E9000;
}

.p-rinen__list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.p-rinen__item {
    display: flex;
    width: 100%;
}

.p-rinen__item:nth-child(n+2) {
    margin-top: 70px;
}

.p-rinen__item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 0;

}

.p-rinen__item:nth-child(even) .p-rinen__box {
    max-width: 962px;
}

.p-rinen__box {
    position: relative;
    width: 100%;
    min-height: 427px;

}

.p-rinen__circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-color: #CBF0D5;
    border-radius: 50%;
    z-index: 1;
}

.p-rinen__content {
    position: relative;
    z-index: 10;
    padding-top: 27px;
    text-align: left;
}

.p-rinen__label {
    display: flex;
    align-items: center;
    padding-left: 93px;
    height: 39px;
}

.p-rinen__line {
    width: 30px;
    height: 1px;
    background-color: #2E9000;
}

/* .p-rinen__sub {
    font-size: 22px;
    line-height: calc(39 / 22);
    color: #2E9000;
    margin: 0 20px;
} */

.p-rinen__itemTitle {
    font-size: 42px;
    line-height: calc(75 / 42);
    color: #2E9000;
    /* padding-left: 130px; */
    margin: 0 20px;
}

.p-rinen__lead {
    font-size: 30px;
    line-height: calc(57 / 32);
    letter-spacing: 0.08em;
    color: #2E9000;
    padding-left: 95px;
    margin-top: 4px;
}

.p-rinen__text {
    font-size: 24px;
    line-height: calc(57 / 24);
    color: #000000;
    padding-left: 95px;
    margin-top: 20px;

}

.p-rinen__item:nth-child(1) .p-rinen__box {
    max-width: 936px;
}

.p-rinen__item:nth-child(even) .p-rinen__circle {
    left: auto;
    right: 0;
}

.p-rinen__item:nth-child(even) .p-rinen__label {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 93px;

}

.p-rinen__item:nth-child(even) .p-rinen__itemTitle {
    text-align: right;
    /* padding-left: 0;
    padding-right: 130px; */

}

.p-rinen__item:nth-child(even) .p-rinen__lead {
    text-align: left;
    padding-left: 0;
    padding-right: 33px;
    margin-left: auto;
    width: 100%;
    max-width: 876px;
}

.p-rinen__item:nth-child(even) .p-rinen__text {
    text-align: left;
    padding-left: 0;
    margin-left: auto;
    padding-right: 130px;
    max-width: 866px;
}

.p-rinen__item:nth-child(even) .p-rinen__text {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    width: 100%;
    max-width: 876px;
}

.ComponentSection .wave__top_img--green {
    background-color: #E3F8E6;
}

.contents .ContentPage.p-color {
    padding-top: 0;
    padding-bottom: 0;

}

.ComponentSection .ComponentSection__inner .tree.tree--sm {
    top: -80px;
}

@media screen and (max-width: 1140px) {
    .p-rinen__lead {
        letter-spacing: 0;
    }

    .p-rinen__text {
        font-size: 22px;
    }
}

@media screen and (max-width: 880px) {
    .p-rinen {
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
    }

    .p-rinen__item,
    .p-rinen__item:nth-child(even) {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .p-rinen__item:nth-child(n+2) {
        margin-top: 50px;

    }

    .p-rinen__box,
    .p-rinen__item:nth-child(even) .p-rinen__box {
        max-width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .p-rinen__circle,
    .p-rinen__item:nth-child(even) .p-rinen__circle {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 250px;

        height: 250px;
        right: auto;

    }

    .p-rinen__content {
        width: 100%;
        padding-top: 40px;
        text-align: center;

    }

    .p-rinen__label,
    .p-rinen__lead,
    .p-rinen__text,
    .p-rinen__item:nth-child(even) .p-rinen__label,
    .p-rinen__item:nth-child(even) .p-rinen__lead,
    .p-rinen__item:nth-child(even) .p-rinen__text {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .p-rinen__item:nth-child(even) .p-rinen__label {
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

    .p-rinen__item:nth-child(even) .p-rinen__itemTitle,
    .p-rinen__item:nth-child(even) .p-rinen__lead {
        text-align: center;
        /* padding-right: 0; */
    }

    .p-rinen__label {
        justify-content: center;
    }

    /* .p-rinen__sub {
        margin: 0 10px;
    } */
    .p-rinen__itemTitle {
        margin: 0 10px;
        max-width: 100%;
    } 

    /* .p-rinen__sub, */
    .p-rinen__itemTitle,
    .p-rinen__lead {
        font-size: 18px;
        line-height: 1.5;
    }

    .p-rinen__text {
        font-size: 16px;
        line-height: 1.6;
        margin-top: 15px;
        text-align: left;
        padding: 0 10px;
    }

    .p-rinen__text br {
        display: none;
    }
}

/* ===========================================================
TOPページ カテゴリーフィルターボタン（お知らせ・行事予定）
=========================================================== */
button.p-event-cat-badge {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    padding-block: 0;
}

@media (any-hover: hover) {
    button.p-event-cat-badge:hover {
        opacity: 0.7;
        transition: all 0.3s;
    }
    button.p-event-cat-badge.is-active:hover {
        opacity: 1;
    }
}

.p-news-contents .p-topics-archive__filter {
    margin-top: 12px;
    margin-bottom: 16px;
}

.p-topics-archive__filter-btn {
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    /* font-weight: 400; */
    font-weight: 600;
    transition: opacity 0.3s;
}
@media (any-hover: hover) {
    .p-topics-archive__filter-btn:hover {
        opacity: 0.7;
        transition: opacity 0.3s;
    }
}

/* ===========================================================
TOPページ 各教室一覧セクション
=========================================================== */
/* p-classroom-list */
.p-classroom-list {
    padding: 141px 0 0;
}
@media screen and (max-width: 880px) {
    .p-classroom-list {
        padding: 60px 0 0;
    }
}

.p-classroom-list__inner {
    margin: 0;
    padding: 0 25px 72px;
    background-color: #FFFFFF99;
}
@media screen and (max-width: 880px) {
    .p-classroom-list__inner {
        padding: 0 25px 40px;
    }
}

.p-classroom-list__grid {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(60px, 6.6vw, 128px) clamp(20px, 2vw, 40px);
    list-style: none;
    padding: 32px 0 64px;
    margin: 0 auto;
}
@media screen and (max-width: 880px) {
    .p-classroom-list__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 20px 0 40px;
        width: fit-content;
        margin-inline: auto;
    }
}
@media screen and (max-width: 560px) {
    .p-classroom-list__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.p-classroom-list__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: calc(32px + 2em);
    font-size: clamp(0.75rem, 2.2vw, 1.25rem);
}
@media screen and (max-width: 880px) {
    .p-classroom-list__link {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding-bottom: 0;
    }
}

.p-classroom-list__img {
    max-width: 360px;
    width: 100%;
    flex-shrink: 0;
    transition: opacity 0.3s;
}
@media screen and (max-width: 880px) {
    .p-classroom-list__img {
        width: 80px;
        height: 80px;
    }
}
@media (any-hover: hover) {
    .p-classroom-list__link:hover .p-classroom-list__img {
        opacity: 0.7;
        transition: opacity 0.3s;
    }
}

.p-classroom-list__img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.p-classroom-list__body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
@media screen and (max-width: 880px) {
    .p-classroom-list__body {
        justify-content: flex-start;
        gap: 10px;
        position: static;
    }
}

.p-classroom-list__name {
    font-size: 14px;
    font-size: clamp(0.875rem, 1.2vw, 1.5rem);
    /* font-weight: 400; */
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: #333;
    margin: 0;
    white-space: nowrap;
}
@media screen and (max-width: 880px) {
    .p-classroom-list__name {
        font-size: clamp(0.75rem, 2.2vw, 1.25rem);
        white-space: normal;
    }
}
@media screen and (max-width: 560px) {
    .p-classroom-list__name {
        font-size: clamp(0.875rem, 3.5vw, 1.25rem);
    }
}

.p-classroom-list__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.2%;
    max-width: 26px;
    min-width: 16px;
    flex-shrink: 0;
    transition: all 0.3s;

}
@media (any-hover: hover) {
    .p-classroom-list__link:hover .p-classroom-list__arrow {
        transform: translateX(4px);
        transition: all 0.3s;
    }
}


.p-classroom-list__arrow img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.p-classroom-list__more {
    text-align: center;
    max-width: 364px;
    width: 100%;
    margin-inline: auto;
}


/* ==========================================
    School MAP セクション
   ========================================== */

html {
    scroll-behavior: smooth;
}

.p-school-map {
    width: 100%;
    background-color: #fefaff;
    overflow: hidden;
}
@media (max-width: 880px) {
    .p-school-map {
        margin-top: -40px;
    }
}

.p-school-map__inner {
    position: relative;
    max-width: 1395px;
    width: calc(90% - 360px);
    margin-inline: auto;
    aspect-ratio: 1395 / 930;
    container-type: inline-size;
}
@media (max-width: 880px) {
    .p-school-map__inner {
        width: 100%;
        aspect-ratio: 1472 / 1860;
    }
}

.p-school-map__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 880px) {
    .p-school-map__img {
        left: 0;
        width: 100%;
    }
}

/* 教室ピン
    left は アイコン中心 = 地点マーカーに合わせる
    cqw = コンテナ幅基準なので、ブラウザ幅が変わっても縮尺が常に一致する */
.p-school-map__pin {
    position: absolute;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}
@media (max-width: 880px) {
    .p-school-map__pin {
        left: calc(var(--left-sp) - 3cqw);
        top: var(--top-sp);
        flex-direction: column;
        align-items: flex-start;
    }
}

.p-school-map__pin.--kalmia {
    left: calc(51% - 2.15cqw);
    top: 50%;
}
@media (max-width: 880px) {
    .p-school-map__pin.--kalmia {
        flex-direction: column-reverse;
        left: calc(9% - 3cqw);
        top: 45%;
    }
}

.p-school-map__pin.--minou {
    left: calc(56% - 2.15cqw);
    top: 58%;
}
@media (max-width: 880px) {
    .p-school-map__pin.--minou {
        left: calc(18% - 3cqw);
        top: 59%;
    }
}

.p-school-map__pin.--southminou {
    left: calc(79% - 2.15cqw);
    top: 49%;
}
@media (max-width: 880px) {
    .p-school-map__pin.--southminou {
        left: calc(61% - 3cqw);
        top: 50%;
    }
}

.p-school-map__pin.--stepminou {
    left: calc(80% - 2.15cqw);
    top: 59%;
}
@media (max-width: 880px) {
    .p-school-map__pin.--stepminou {
        left: calc(65% - 3cqw);
        top: 61%;
    }
}

.p-school-map__pin.--beatle {
    left: calc(79% - 2.15cqw);
    top: 41%;
}
@media (max-width: 880px) {
    .p-school-map__pin.--beatle {
        flex-direction: column-reverse;
        left: calc(62% - 3cqw);
        top: 36%;
    }
}

.p-school-map__pin.--shirakabe {
    left: calc(89% - 2.15cqw);
    top: 70%;
}
@media (max-width: 880px) {
    .p-school-map__pin.--shirakabe {
        left: calc(81% - 3cqw);
        top: 71%;
    }
}

.p-school-map__pin-icon {
    width: 4.3cqw;
    height: auto;
    display: block;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
@media (max-width: 880px) {
    .p-school-map__pin-icon {
        width: 6cqw;
    }
}

.p-school-map__pin-name {
    font-size: 1.6cqw;
    color: #000;
    /* font-weight: 400; */
    font-weight: 600;
    white-space: nowrap;
    border-radius: 3px;
    transition: transform 0.3s ease;
    line-height: 1.2;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
@media (max-width: 880px) {
    .p-school-map__pin-name {
        font-size: 3.2cqw;
    }
}

.p-school-map__pin-location {
    /* font-weight: 400; */
    font-weight: 600;
    font-size: 1.4cqw;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0.1em;
}
@media (max-width: 880px) {
    .p-school-map__pin-location {
        font-size: 2.8cqw;
    }
}

@media (any-hover: hover) {
    .p-school-map__pin:hover .p-school-map__pin-icon,
    .p-school-map__pin:hover .p-school-map__pin-name {
        transform: translateY(-6px);
    }
}

/* スクロールターゲットのオフセット（固定ヘッダー分） */
.p-school__block {
    scroll-margin-top: 80px;
}

@media screen and (max-width: 880px) {
    /* SP: 教室一覧の矢印をテキストの前に配置 */
    .p-classroom-list__arrow {
        order: -1;
    }
}

/* ===========================================================
改行位置の調整
共通
=========================================================== */
.p-footer__instagram {
    width: 100%;
    padding-bottom: 72px;
}
@media screen and (max-width: 880px) {
    .p-footer__instagram {
        padding-bottom: 40px;
    }
}

.p-footer__instagram-feed {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    max-width: 1098px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 15px;
}
@media screen and (max-width: 880px) {
    .p-footer__instagram-feed {
        width: 95%;
        padding: 10px;
    }
}


/* ===========================================================
改行位置の調整
共通
=========================================================== */
.l-sm-space {
    display: none; 
}
@media screen and (max-width: 880px) {
    .l-sm-space {
        display: block;
    }
}

.l-md-space {
    display: none; 
}
@media screen and (max-width: 1024px) {

    .l-md-space {
        display: block; 
    }
}

.l-sp-br {
    display: none;
}
@media screen and (max-width: 880px) {
    .l-sp-br {
        display: block;
    }
}

.l-tablet-br {
    display: none;
}
@media screen and (max-width: 1140px) {
    .l-tablet-br {
        display: block;
    }
}
@media screen and (max-width: 880px) {
    .l-tablet-br {
        display: none;
    }
}

.l-pc-br {
    display: block;
}
@media screen and (max-width: 880px) {
    .l-pc-br {
        display: none;
    }
}

/* ===========================================================
共通パーツ
=========================================================== */
.c-section__title {
    text-align: center;
    color: #2e9000;
    font-size: 28px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 30px;
}
@media screen and (max-width: 880px) {
    .c-section__title {
        font-size: 22px;
        letter-spacing: 0.1em;
        margin-bottom: 0;
    }
}
