@charset "utf-8";
/*----------------------------------------------------
    共通css
----------------------------------------------------*/
.ybi {
    border: solid 4px #396abf;
    padding: 2rem 4rem;
    margin: 4rem;
}

.ybi .ttl {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    border-bottom: solid 2px #7f7f7f;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.l-parts02-white__information table.information td iframe {
    max-width: 100%;
}

.l-main-area .lower-bottom.tyhs {
    background: none;
}

.l-main-area--low .lower-bottom.tyhs h3 {
    margin-top: 0;
}

.lower-bottom.tyhs .l-parts03-column3__line .l-number-wrapper dl:nth-child(3),
.lower-bottom.tyhs .l-parts03-column3__line .l-number-wrapper dl:nth-child(4) {
    display: none;
}

.l-contents-area.l-contents-area--low .l-parts02-white .infoArea .gmap {
    margin-top: 3rem;
}

.l-footer-area {
    padding: unset !important;
}

/* oki_20220509 */
.kanren {
    /* border: 3px solid #ff5252; */
    /* padding: 20px 30px ; */
    margin: 30px 0;
    position: relative;
    box-sizing: border-box;
    z-index: 0;
}

.l-main-area.l-main-area--low #osusume .l-common-title02 {
    text-align: center;
    color: #fff;
    background: #3567bf;
}

.midasi {
    font-size: 16px;
    font-weight: bold;
    /* text-align: center; */
    text-align: left;
    margin-bottom: 15px;
    margin: 7rem 0 1.5rem;

    padding: 1.5rem 6rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: #396ABF;
    border-bottom: 3px solid #396ABF;
    line-height: 1.4;
    position: relative;
    z-index: 5;
    background: #bbe2ff;
}

.kanren br {
    display: none;
}

.kanren ul {
    margin: 2rem;
}

.kanren ul li {
    margin: 0 0 1em 0;
    padding: 0 0 0 25px;
    background: url(img/icon_li.svg) no-repeat 0 8px;
    background-size: 10px auto;
    list-style-position: outside;
}

/* アコーディオンのときに下記追加 */
.readmore-content {
    position: relative;
    overflow: hidden;
    height: 100px;
}

.readmore-content::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    content: "";
    /*以下お好み グラデーションの色と高さ 高さはreadmoreのheight以下にすること*/
    height: 50px;
    z-index: 1;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.8) 50%, #fff 100%);
    background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.8) 50%, #fff 100%);
}

/* 続きを読むボタン */
.readmore-label {
    display: table;
    bottom: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin: 5px auto;
    z-index: 2;
    padding: 6px 15px;
    /* background-color: #ff7777; */
    background-color: #fffa85;
    border-radius: 20px;
    /* color: #FFF; */
    color: #3567BE;
    font-weight: bold;
    border: 2px solid #3567BE;
}

.readmore-label:before {
    content: "\7D9A\304D\3092\8AAD\3080";
}

.readmore-check {
    display: none;
}

/*チェック時にボタンを非表示*/
.readmore-check:checked~.readmore-label {
    position: static;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    /* 「続きを読む」を押した後、元に戻す必要がない場合は、上のオプションを消してこの1行だけにする */
    /* display: none; */
}

.readmore-check:checked~.readmore-label:before {
    content: "\9589\3058\308B";
}

/*チェック時に高さを自動に戻す*/
.readmore-check:checked~.readmore-content {
    height: auto;
}

/*チェック時グラデーション等を削除*/
.readmore-check:checked~.readmore-content::before {
    display: none;
}

/* oki_20220509 */

.l-header-sitename::before {
    background: #000;
    color: #fff;
    content: "PR";
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    margin-right: 2px;
    padding: 0 1rem;
}

.l-footer-bottom__copy__link::before {
    content: "【PR】";
}

.select-area {
    margin-top: 3rem;
}

.select-area .l-section-inner {
    max-width: 1100px;
}

.select-area .l-parts03-column3__box .catch {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    background: #3567bf;
    color: #fff;
    padding: 10px;
    margin: 0rem;
    border-radius: 15px 15px 0 0;
}

.l-main-area--low .select-area h3 {
    margin-top: 0;
}

.select-area .future ul li span {
    font-weight: bold;
    color: #ff7c4b;
}

.select-area .l-parts03-column3__box .costArea .l-number-wrapper {
    min-height: 370px;
}

.select-area .catchcopy {
    text-align: center;
    background: #3567be;
    font-size: 3rem;
    line-height: 1.5;
    padding: 10px;
    color: #fff;
    font-weight: bold;
    display: block;
}


.lower-bottom-column3__box .future .ttl {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 2rem;
}

.lower-bottom-column3__box .future ul {
    margin: 0;
}

.lower-bottom-column3__box .future ul li span {
    font-weight: bold;
    color: #ff7c4b;
}

.lower-bottom-column3__box .catch {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    background: #3567bf;
    color: #fff;
    padding: 10px;
    margin: 0rem;
    border-radius: 15px 15px 0 0;
}

.l-parts03-column3__box .catch {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    background: #3567bf;
    color: #fff;
    padding: 10px;
    margin: 0rem;
    border-radius: 15px 15px 0 0;
}

.future .ttl {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 2rem;
}

.l-parts03 ul:not([class]) li {
    margin: 0 0 1em 0;
    padding: 0 0 0 25px;
    background: url(img/icon_li.svg) no-repeat 0 8px;
    background-size: 10px auto;
    list-style-position: outside;
}

.l-parts03 .future ul li span {
    font-weight: bold;
    color: #ff7c4b;
}

.l-parts03 table {
    width: 100%;
    margin: 30px 0;
    padding: 0;
    border-collapse: collapse;
    text-align: left;
}

.l-parts03 table th {
    padding: 10px 15px;
    background: #F7F7F7;
    color: #565656;
    border: 1px #ccc solid;
    min-width: 80px;
    font-size: 1.4rem;
    font-weight: 500;
}

.l-parts03 table td {
    padding: 10px 15px;
    background: #fff;
    border: 1px #ccc solid;
    font-size: 1.4rem;
}

.l-main-area--low .l-parts03 h3.l-parts03-column3__title {
    margin: 0 0 2rem;
    padding: 0.2em 0 0.7em;
    border-bottom: solid 1px #B1B1B1;
    font-size: 2.4rem;
}

.l-main-area--low .l-parts03 h3.l-parts03-column3__title:before {
    display: none;
}

.l-main-area--low .l-parts03 .future .ttl {
    background: none;
    color: unset;
    margin: 0;
    padding: 0;
    margin-top: 2rem;
}

.l-main-area--low .l-parts03 ul {
    margin: 0;
}

.hitokoto,
.kuchikomi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.kuchikomitext_left,
.kuchikomitext_right {
    width: 85%;
    border: 3px solid #396ABF;
    border-radius: 20px;
    padding: 15px;
    position: relative;
}

.kuchikomitext_right {
    margin-left: 3rem;
}

.kuchikomitext_left {
    margin-right: 3rem;
}

.kuchikomitext_right:before,
.kuchikomitext_left:before {
    content: "";
    position: absolute;
    top: 55%;
    border-style: solid;
    border-width: 0 0 18px 18px;
    border-color: transparent transparent transparent #fff;
    translate: 100% calc(-50% - 0.4px);
    transform: skew(0, -10deg);
}

.kuchikomitext_left:before {
    right: 0;
}

.kuchikomitext_right:before {
    left: -4.9%;
    transform: scale(-1, 1) skew(0, -10deg);
}

.kuchikomitext_right:after,
.kuchikomitext_left:after {
    content: "";
    position: absolute;
    top: 56%;
    border-style: solid;
    border-width: 0 0 24px 24px;
    border-color: transparent transparent transparent #396ABF;
    translate: 100% calc(-50% - 0.4px);
    transform: skew(0, -10deg);
    transform-origin: left;
    z-index: -1;
}

.kuchikomitext_left:after {
    right: 0;
}

.kuchikomitext_right:after {
    left: -3.3%;
    transform: scale(-1, 1) skew(0, -10deg);
}

.hitokototitle,
.kuchikomi .title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #396ABF;
}

.hitokoto_right,
.kuchikomi_img {
    width: 15%;
}

.caption a {
    text-decoration: none;
}

.caption a:hover {
    opacity: unset;
}

.hitokoto {
    border: 3px solid #396ABF;
    padding: 15px;
    background: #F7F7F7;
}

.hitokoto_left {
    width: 85%;
    margin-right: 3rem;
}

.hitokoto_right {
    text-align: center;
}

/*2025.08.19*/
.map-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-area {
    width: 800px;
}

.l-parts.part01 .img-area {
    width: 700px;
}


.map-area .btn-web a {
    width: 100%;
}

.map-area .voice-catch {
    margin: 0 0 2rem;
    padding: 0 0 1.5rem 4rem;
    color: #3567BE;
    font-weight: 500;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    width: 100%;
    background: url(https://www.hamaibu.com/wp/wp-content/themes/SE036/img/icon_hexagon01.png) no-repeat 5% 30%;
    background-size: 12%;
    border-bottom: 1px solid #D3D8DC;
}


/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/
@media screen and (min-width: 600px) {

    .l-parts03-column3 ul {
        height: 250px;
    }

    .l-main-area--low .l-parts03 table th {
        width: 115px;
    }

    .gmap {
        text-align: center;
    }


    .title01 {
        display: flex;
        max-width: 100%;
    }


    .gmap iframe {
        margin: auto;
        max-width: 100%;
    }

    .frame .gmap {
        margin-top: 10px;
    }

    .white {
        color: #fff;
        text-align: center;
        margin: 0 auto;
        padding-bottom: 10px;
    }

    .l-parts02-white__column2 .school {
        padding-top: 15px;
    }

    /*  .lower-bottom-column3__line {
    height: 942px !important;
  }*/

    .lower-bottom-column3__info dl dt {
        width: 56%;
    }

    .l-parts02-white__column3__box {
        width: 100%;
    }

    .l-parts02-white__column3__box .voice-catch {
        background: url(img/icon_hexagon02.png) no-repeat 3% 0%;
        background-size: 4%;

    }

    .l-main-area .lower-bottom {
        background: #FFFEE8;
        padding: 0 0 10rem;
        margin: 60px auto 0px;
    }



    .bnr {
        display: block;
        position: fixed;
        bottom: 15rem;
        right: 0px;
        z-index: 9999;
    }


}

/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/
@media screen and (max-width: 599px) {

    .l-mv-box02_title {
        font-size: 2.8rem;
    }

    .l-parts04-image:first-child {
        transform: translateY(-80%);
    }

    .gmap {
        text-align: center;
    }

    .gmap iframe {
        border: 0;
        margin: auto;
        width: 100%;
    }

    .frame .gmap {
        margin-top: 10px;
    }

    .white {
        color: #fff;
        text-align: center;
        margin: 0 auto;
        padding-bottom: 10px;
    }

    .l-parts02-white__column2 .school {
        padding-top: 15px;
    }

    .l-header-sitename {
        text-align: center;
    }

    .l-header-sitename::before {
        display: block;
        margin: 0 auto 2px;
        width: 2rem;
    }

    .l-footer-bottom {
        padding: 0 0 60px;
    }

    .l-parts02-white__information table.information td iframe {
        height: 20rem;
    }


    .bnr {
        display: block;
        position: fixed;
        bottom: 53px;
        right: 0px;
        z-index: 9999;
    }

    .l-pagetop.is-fixed {
        bottom: 12.5rem;
    }

    .l-parts02-white__information table.information th {
        width: 100%;
    }


    .select-area .l-parts02-white-inner {
        padding: 1rem;
        box-shadow: 0px 1px 6px 1px #cacacadb;
    }

    .select-area .catchcopy {
        font-size: 2.2rem;
    }

    .select-area .l-parts03-column3__box .costArea .l-number-wrapper {
        min-height: auto;
    }

    .l-main-area.l-main-area--low .select-area .l-parts04-image:first-child {
        left: 5%;
        bottom: auto;
        top: 20%;
    }

    .select-area .l-parts02-white__column3__box .voice-catch {
        padding-left: 5rem;
    }

    .select-area .l-parts05-image {
        float: none;
        display: block;
        text-align: center;
        margin: 0 auto;
    }

    .l-parts03 table {
        width: 100%;
        margin: 30px auto 20px;
        display: block;
        border-top: 1px #d3d3d3 solid;
        font-size: 1.4rem;
    }

    .l-parts03 table tr {
        width: 100%;
        display: block;
    }

    .l-parts03 table th {
        width: 100%;
        display: block;
        border-top: none;
    }

    .l-parts03 table td {
        width: 100%;
        display: block;
        border-top: none;
    }

    .l-parts03 table thead {
        width: 100%;
        display: block;
    }

    .l-parts03 table thead th {
        width: 100%;
        display: block;
    }

    .l-parts03 table thead td {
        width: 100%;
        display: block;
    }

    .l-parts03 table tbody {
        width: 100%;
        display: block;
    }

    .l-parts03 table tbody th {
        width: 100%;
        display: block;
    }

    .l-parts03 table tbody td {
        width: 100%;
        display: block;
    }

    .l-main-area.l-main-area--low #osusume .l-common-title02 {
        text-align: center;
        color: #fff;
        background: #3567bf;
    }

    .kuchikomitext_right {
        margin-left: 1.5rem;
    }

    .kuchikomitext_left {
        margin-right: 1.5rem;
    }

    .kuchikomitext_right:before {
        left: -11%;
        border-width: 0 0 16px 16px;
    }

    .kuchikomitext_right:after {
        left: -7%;
        border-width: 0 0 22px 20px;
        top: 55.6%;
    }

    .kuchikomitext_left:before {
        border-width: 0 0 16px 16px;
        right: 1px;
    }

    .kuchikomitext_left:after {
        border-width: 0 0 22px 20px;
        right: -1px;
        top: 55.6%;
    }

    .hitokoto {
        flex-wrap: wrap;
    }

    .hitokoto_left {
        width: 100%;
        margin-right: 0;
    }

    .hitokoto_right {
        width: 100%;
        justify-content: right;
        margin-left: 58%;
    }

    .hitokoto_right img {
        width: 80px;
    }

    /*2025.08.19*/
    .map-area {
        display: block;
    }

    .img-area,
	.l-parts.part01 .img-area{
        width: 100%;
        overflow-x: auto;
    }

    .img-area img {
        display: block;
        height: 500px;
        width: auto;
        max-width: none;
    }

    .map-area .voice-catch {
        padding: 1.5rem 0 1.5rem 7rem;
    }
.ybi {
    margin: 4rem 1rem;
    padding: 2rem;
}
}