.main {
    font-family: 'Noto Sans CJK JP', sans-serif;
    width: 100%;
    max-width: 128rem;
    padding: 10rem 0 0 0;
}

.title,
.form_title {
    color: #000;
    font-size: 3rem;
    font-weight: 700;
}
.title::before {
    background-repeat: no-repeat;
    background-position: center;
}
.btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 27rem;
    height: 5rem;
    color: #F4A805;
    background-color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto;
    border-radius: 2.5rem;
    padding-left: 3.4rem;
}

.btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 3rem;
    color: #fff;
    background-color: #F4A805;
    border-radius: 1.7rem;
    margin: 0 3.3rem 0 auto;
}

.section_back1 {
    background-color: #FFF7E2;
    border-radius: 0 0 10rem 10rem;
    padding: 0 0 3.5rem;
}

.section_back2 {
    background-color: #F8C14B;
    border-radius: 0 0 10rem 10rem;
    padding: 0 0 3.5rem;
}

.section_back3 {
    background-color: #FFF7E2;
    padding: 0 0 5rem;
    position: relative;
    overflow: hidden;
}

.section_back4 {
    background-color: #F2A604;
    padding: 0 0 10rem;
}

.section_back5 {
    position: absolute;
    left: -3.7rem;
    top: 65rem;
    width: 170rem;
    height: 170rem;
    border-radius: 50%;
    background-color: #F4A805;
    z-index: 1;
}

.keyvisual {
    width: 126rem;
    height: 68rem;
    border-radius: 0 0 15rem 0;
    overflow: hidden;
    position: relative;
    margin: 0 auto 4rem 0;
}

.swiper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.swiper_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.swiper_item.is-active {
    opacity: 1;
}

.swiper_item.slide-out {
    animation: slideOut 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.swiper_item.slide-in {
    animation: slideIn 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideOut {
    0%   { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-103%); opacity: 1; }
}

@keyframes slideIn {
    0%   { transform: translateX(103%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}


.slogan {
    position: absolute;
    background-color: #F4A805;
    padding: 1rem;
    color: #fff;
    z-index: 5;
    font-size: 3rem;
    font-weight: 500;
    left: 5rem;
}

.slogan1 {
    bottom: 15.5rem;
}

.slogan2 {
    bottom: 7.5rem;
}

.news .title {
    margin: 4rem auto 4rem 4rem;
}
.news .title::before {
    content: "";
    display: inline-block;
    background-image: url('../img/top/news_title_icon.svg');
    background-size: 5rem auto;
    margin-right: 1.5rem;
    transform: translateY(1.5rem);
    width: 5rem;
    height: 5rem;
}
.news_container {
    width: 94.8rem;
    margin: 0 auto 3rem;
    display: flex;
    gap: 3rem;
}

.news_content {
    width: 29.6rem;
    padding: 1rem 1rem 4rem;
    background-color: #fff;
    border-radius: 2rem;
}

.news_img {
    border-radius: 2rem;
    overflow: hidden;
    width: 27.6rem;
    height: 24rem;
    margin: 0 auto 0.8rem;
}

.news_img:hover img{
    transform:scale(1.2,1.2);
    transition-duration: 0.3s;
}

.news_date {
    display: flex;
    font-size: 1.6rem;
    font-weight: 500;
    color: #000;
    margin: 0 0 0.7rem;
}

.news_day {
    border-right: 1px solid #F4A805;
    padding: 0 0.7rem 0 0;
}
.news_tag a{
    color: #F4A805;
    margin: 0 0 0 0.7rem;
}

.news_text {
    font-size: 1.7rem;
    font-weight: 500;
    color: #000;
    overflow-wrap: break-word;
    word-break: break-word;
}

.news_link {
    overflow-wrap: break-word;
    word-break: break-word;
}
.news .btn:hover {
    color: #FFF7E2;
    background-color: #5B2A08;
}
.news .btn:hover span{
    color: #5B2A08;
    background-color: #FFF7E2;
}


.instagram .title {
    margin: 4rem auto 4rem 4rem;
}
.instagram .title::before {
    content: "";
    display: inline-block;
    background-image: url('../img/top/instagram_title_icon.svg');
    background-size: 5rem auto;
    margin-right: 1.5rem;
    transform: translateY(1.5rem);
    width: 5rem;
    height: 5rem;
}

.instagram_list {
    display: flex;
    gap: 3rem;
    width: 94.8rem;
    margin: 0 auto 3rem;
}
.instagram_item {
    width: 29.6rem;
    height: 29.6rem;
    min-width: 29.6rem;
    border-radius: 2rem;
    overflow: hidden;
}
.instagram .btn:hover {
    color: #fff;
    background-color: #F4A805;
}
.instagram .btn:hover span{
    color: #F4A805;
    background-color: #fff;
}

.service .title {
    margin: 4rem auto 5.6rem 4rem;
}
.service .title::before {
    content: "";
    display: inline-block;
    background-image: url('../img/top/service_title_icon.svg');
    background-size: 5rem auto;
    margin-right: 1.5rem;
    transform: translateY(1.5rem);
    width: 5rem;
    height: 5rem;
}

.service_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    width: 108rem;
    margin: 0 auto 7rem;
}

.service_item {
    width: 51.5rem;
}

.service_img {
    width: 51.5rem;
    height: 51.5rem;
    border-radius: 3rem;
    overflow: hidden;
    margin: 0 0 2rem;
}

.service_name.btn {
    width: 36.5rem;
    background-color: #FFF7E2;
}

.service_name.btn span {
    margin: 0 3.3rem 0 auto;
}

.service_name.btn:hover {
    color: #fff;
    background-color: #F4A805;
}
.service_name.btn:hover span{
    color: #F4A805;
    background-color: #fff;
}


.recruit {
    width: 100%;
    height: 55rem;
    background-image: url('../img/top/recruit_bg.jpg');
    border-radius: 0 0 10rem 10rem;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2.4rem 5.2rem;
    margin: 0 0 5rem;
}

.recruit .title {
    font-size: 12rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.74;
}

.recruit_btn.btn {
    margin: 0;
    background-color: #FFF7E2;
}

.recruit_btn.btn:hover {
    color: #fff;
    background-color: #F4A805;
}
.recruit_btn.btn:hover span{
    color: #F4A805;
    background-color: #fff;
}


.about,
.history {
    position: relative;
    width: 112rem;
    margin: 0 auto 5rem;
    padding: 4rem 6rem;
    border-radius: 6rem;
    background-color: #fff;
    z-index:3;
}

.history {
    margin-bottom: 0;
}
.about .title,
.history .title {
    text-align: center;
}
.about_box,
.history_box {
    display: flex;
    color: #000;
    border-bottom: 2px solid #000;
    font-size: 1.8rem;
    font-weight: 500;
    gap: 2rem;
}

.about_box:last-child {
    border-bottom: none;
}

.about_date,
.history_date {
    box-sizing: border-box;
    width: 18rem;
    padding: 2rem 3rem 1rem;
}

.about_content,
.history_content {
    padding: 2rem 3rem 1rem;
}

.about_item {
    position: relative;
    padding-left: 1.5rem; /* ここで距離を調整 */
    margin-bottom: 1.5rem;
}
.about_item::before {
    content: '•';
    position: absolute;
    left: 0;
}

.history_chigsa {
    display: flex;
    gap: 2rem;
}
.chigsa_name {
    width: 8rem;
}
.chigsa_content {
    width: 64rem;
}

.contact {
    position: relative;
}

.contact_img {
    margin: 4rem auto;
    width: 112rem;
    height: 40rem;
    overflow: hidden;
    border-radius: 6rem;
}

.contact .title {
    display: flex;
    align-self: center;
    width: 30rem;
    height: 7rem;
    color: #fff;
    background-color: #F4A805;
    padding: 1.3rem 3.5rem 1.3rem 2rem;
    border-radius: 0 12rem 12rem 0;
    position: absolute;
    top: 8rem;
    left: 0;
}

.contact .title::before {
    content: "";
    display: inline-block;
    background-image: url('../img/top/contact_title_icon.svg');
    background-size: 5rem auto;
    transform: translateY(1rem);
    width: 5rem;
    height: 3rem;
    margin-right: 1.1rem;
}

.contact_container {
    width: 112rem;
    margin: 0 auto;
    background-color: #fff;
    padding: 4rem 6rem;
    border-radius: 6rem;
}

.form_title {
    text-align: center;
    border-bottom: 2px solid #000;
    width: 100%;
    padding-bottom: 1.5rem;
}

.contact_text {
    font-size: 1.8rem;
    color: #000;
    line-height: 1.5;
    margin: 1.5rem 0;
}

.form_name {
    font-size: 1.8rem;
    font-weight: 500;
    color: #000;
    margin: 3rem 0 1.1rem;
    display: flex;
    align-items: center;
}

.form_required {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    background-color: #F4A805;
    width: 6rem;
    height: 2.5rem;
    text-align: center;
    margin-left: 2rem;
}

.form_content input,
.form_content textarea,
.form_content select,
.form_content .bl_form_control {
    box-sizing: border-box;
    width: 100%;
    height: 5rem;
    padding: 1.2rem 2rem;
    font-size: 1.8rem;
    color: #000;
    font-weight: 500;
    border: 1px solid #000;
    border-radius: 1rem;
}

.select_wrap {
    position: relative;
}

.select_wrap::after {
    content: '▼';
    font-size: 2rem;
    color: #333;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* クリックをselectに透過 */
}

.form_content .bl_form_control {
    background-color: #FFFCF5;
}
.form_content textarea,
.form_content .bl_form_control.textarea{
    height: 50rem;
    overflow-y: auto;
}

.form_btn_wrap {
    display: flex;
    align-items: center;
    width: 42rem;
    height: 5rem;
    background-color: #F4A805;
    border-radius: 2.5rem;
    margin: 4rem auto 0;
    position: relative;
}

.form_btn {
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    padding-left: 3.4rem;
    text-align: left;
    cursor: pointer;
}

.form_btn_wrap::after {
    content: '→';
    text-align: center;
    font-size: 1.6rem;
    width: 6rem;
    height: 3rem;
    color: #F4A805;
    background-color: #fff;
    border-radius: 1.7rem;
    margin: 0 1rem 0 auto;
    line-height: 3rem;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.form_content input.wpcf7-not-valid,
.form_content textarea.wpcf7-not-valid,
.form_content select.wpcf7-not-valid  {
    border: 2px solid red;
}

.form_error {
    color: red;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.submit_btns {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
}

.btn.back,
.btn.next {
    background-color: #F4A805;
    color: #fff;
    width: 24.5rem;
    height: 5rem;
}
.btn.back {
    padding-left: 0;
    margin: 0;
}

.btn.back span {
    background-color: #fff;
    color: #F4A805;
}

.bl_formConfirm .form_btn_wrap {
    width: 24.5rem;
    height: 5rem;
    margin: 0;
}
.bl_formConfirm .form_btn_wrap::after {
    content: '→';
    text-align: center;
    font-size: 1.6rem;
    width: 6rem;
    height: 3rem;
    color: #F4A805;
    background-color: #fff;
    border-radius: 1.7rem;
    margin: 0 1rem 0 auto;
    line-height: 3rem;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.btn.back span {
    margin: 0 9rem 0 1rem;
}

.btn.next span {
    margin: 0 1rem 0 auto;
}

.bl_formConfirm,
.bl_formComplete {
    display: none;
}

.bl_formConfirm .bl_form_control.textarea p {
    white-space: pre-wrap;
}

.wpcf7-response-output {
    display: none !important;
}

.bl_formComplete .form_title {
    text-align: center;
    border-bottom: 2px solid #000;
    width: 100%;
    padding-bottom: 1.5rem;
}

.complete_text {
    font-size: 1.8rem;
    color: #000;
    line-height: 2;
    text-align: left;
    margin: 1.5rem 0 4rem;
}
.complete_btn {
    width: 42rem;
    height: 5rem;
    color: #fff;
    background-color: #F4A805;
    margin-bottom: 4rem;
}

.complete_btn span {
    color: #F4A805;
    background-color: #fff;
    margin: 0 1rem 0 auto;
}
.news_container::-webkit-scrollbar,
.instagram_list::-webkit-scrollbar {
    display: none;
}

select.placeholder {                                                                                                
    color: #999;
}

select option {
    color: #333;
}

@media screen and (max-width:699.98px) {
    .main {
        max-width: 37.5rem;
        padding: 0;
    }

    .btn {
        width: 34.5rem;
        height: 5rem;
        padding-left: 2rem;
    }

    .btn span {
        margin: 0 2rem 0 auto;

    }
    .section_back1 {
        border-radius: 0 0 5rem 5rem;
        padding: 0 0 4rem;
    }
    .section_back2 {
        border-radius: 0 0 5rem 5rem;
        padding: 0 0 5.8rem;
    }

    .section_back3 {
        padding: 0 0 4.5rem;
    }

    .section_back4 {
        padding: 0 0 5rem;
        margin-top: -40rem;
        padding-top: 40rem; 
    }
    .section_back5 {
        left: -2rem;
        top: 52rem;
        width: 60rem;
        height: 60rem;
        border-radius: 50% 50%  0 0;
        background-color: #F4A805;
    }
    .keyvisual {
        width: 37.5rem;
        height: 59.7rem;
        border-radius: 0 0 8rem 0;
        margin: 0;
    }
    .slogan {
        font-size: 1.8rem;
        padding: 0.5rem 0rem 0.5rem 0.5rem;
        left: 0;
    }
    .slogan1 {
        bottom: 11.1rem;
    }
    .slogan2 {
        bottom: 6.1rem;
    }
    .news .title {
        margin: 3rem 1.5rem;
    }
    .news_container {
        width: 36rem;
        margin-left: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* iOS向けスムーズスクロール */
        scrollbar-width: none; /* Firefox スクロールバー非表示 */
    }
    .news_content:last-child {
        margin-right: 1.5rem;
    }

    .instagram .title  {
        font-size: 2.5rem;
        margin: 3rem 1.5rem;
    }
    .instagram .title::before {
        background-size: 4rem auto;
    }
    .instagram_list {
        width: 36rem;
        margin-left: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* iOS向けスムーズスクロール */
        scrollbar-width: none; /* Firefox スクロールバー非表示 */
    }
    .instagram_item:last-child {
        margin-right: 1.5rem;
    }
    .service .title {
        font-size: 2.5rem;
        margin: 1.9rem 1.5rem;
    }
    .service .title::before {
        background-size: 4rem auto;
    }

    .service_list {
        grid-template-columns: 1fr;
        width: 34.5rem;
        gap: 2.5rem;
        margin:0 auto 4rem;
    }

    .service_item {
        width: 34.5rem;
    }

    .service_img {
        width: 34.5rem;
        height: 34.5rem;
    }

    .service_name.btn {
        width: 34.5rem;
    }

    .service_name.btn span {
        margin: 0 2rem 0 auto;
    }

    .recruit {
        width: 37.5rem;
        height: 50rem;
        padding: 0 1.5rem;
        border-radius: 0 0 5rem 5rem;
        overflow: hidden;
        margin: 0 0 5.3rem;
        background-position: center;
    }

    .recruit .title {
        font-size: 5rem;
        margin: 30rem 0 1.5rem;
    }

    .recruit_btn.btn {
        width: 20.3rem;
    }

    .about,
    .history {
        margin: 0 auto;
        width: 34.5rem;
        padding: 3.2rem 1rem;
        border-radius: 3rem;
    }
    .about {
        margin-bottom: 3.5rem;
    }

    .about .title,
    .history .title {
        font-size: 1.8rem;
    }

    .about_box,
    .history_box {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .about_date, 
    .history_date,
    .about_content,
    .history_content {
        border-bottom: 1px solid #000;
    }

    .border_none {
        border-bottom: none;
    }

    .about_date, 
    .history_date {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.6rem;
    }
    .about_content,
    .history_content {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.4rem;
    }
    .about_item {
        margin-bottom: 0;
        padding-left: 1rem;
    }

    .history_chigsa  {
        display: block;
    }

    .chigsa_name,
    .chigsa_content {
        width: 100%;
    }
    .contact_img {
        width: 34.5rem;
        height: 30rem;
        margin: 3rem auto 2rem;
    }
    .contact .title {
        top: 0;
        font-size: 2.5rem;
        width: 24.5rem;
        height: 5rem;
        padding: 0.7rem 0rem 0.7rem 1.5rem
    }
    .contact .title::before {
        background-size: 4rem auto;
        width: 4rem;
        height: 2.6rem;
        margin-top: -0.5rem;
    }
    .contact_container {
        width: 34.5rem;
        padding: 3rem 1rem 4.5rem;
        margin: 0 auto;
        border-radius: 5rem;
    }
    .form_title {
        font-size: 2rem;
        border-bottom: 1px solid #000;
    }

    .contact_text {
        font-size: 1.4rem;
    }

    .form_name {
        font-size: 1.4rem;
    }

    .form_required {
        font-size: 1.4rem;
        width: 3.3rem;
        height: 1.5rem;
        margin-left: 0.5rem;
    }

    .form_content input,
    .form_content textarea,
    .form_content select,
    .form_content .bl_form_control {
        font-size: 1.4rem;
        border-color: #122444;
    }

    .form_content textarea,
    .form_content .bl_form_control.textarea {
        height: 26.5rem;
    }

    .form_btn_wrap {
        width: 32.5rem;
        border-radius: 2.5rem;
        margin: 2rem auto 0;
    }

    .form_btn {
        padding-left: 2rem;
    }

    .submit_btns {
        flex-direction: column;
        gap: 2rem;
    }
    .btn.back,
    .bl_formConfirm .form_btn_wrap {
        width: 32.5rem;
        margin: 0 auto;
    }

    .btn.back span {
        margin: 0 7rem 0 1rem;
    }

    .complete_btn {
        width: 32.5rem;
        margin-bottom: 0;
    }

    .bl_formConfirm .form_btn_wrap {
        padding-left: 11rem;
    }

    .bl_formConfirm .form_btn_wrap::after {
        margin: 0 1rem 0 2rem;
    }


}


