/*
Theme Name: 訪問看護ステーションMOMO オフィシャル・サイト
Author: Shu Hamaji
Description: 訪問看護ステーションMOMO Original Theme
Version: 1.0.0
Requires at least: 5.0
*/

@charset "utf-8";

/* section_firstview */

@media screen and (max-width: 600px) {
    #top .section.section_firstview {
        margin-bottom: 50px;
    }
}

.section_firstview .firstview_wrapper {
    margin-right: 50px;
    margin-top: 120px;
}

@media screen and (max-width: 1024px) {
    .section_firstview .firstview_wrapper {
        margin-right: 20px;
    }
}

@media screen and (max-width: 810px) {
    .section_firstview .firstview_wrapper {
        margin-top: 100px;
    }
}

@media screen and (max-width: 600px) {
    .section_firstview .firstview_wrapper {
        margin-top: 65px;
    }
}

.section_firstview .firstview_bg {
    background: url(./img/top_firstview02.jpg) no-repeat;
    background-size: cover;
    padding-top: 40%;
    border-radius: 0 180px 180px 0;
    position: relative;
    background-attachment: fixed;
}

@media screen and (max-width: 1024px) {
    .section_firstview .firstview_bg {
        border-radius: 0 130px 130px 0;
    }
}

@media screen and (max-width: 810px) {
    .section_firstview .firstview_bg {
        border-radius: 0 80px 80px 0;
        background-position: -80px 0;
    }
}

@media screen and (max-width: 600px) {
    .section_firstview .firstview_bg {
        background-position: -180px -4px;
        padding-top: 150%;
        background-size: 260%;
        border-radius: 0 50px 50px 0;
    }
}

.section_firstview .firstview_bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0 180px 180px 0;
    background-color: rgba(33, 123, 126, 0.2);
}

@media screen and (max-width: 1024px) {
    .section_firstview .firstview_bg::before {
        border-radius: 0 130px 130px 0;
    }
}

@media screen and (max-width: 810px) {
    .section_firstview .firstview_bg::before {
        border-radius: 0 80px 80px 0;
    }
}

@media screen and (max-width: 600px) {
    .section_firstview .firstview_bg::before {
        border-radius: 0 50px 50px 0;
    }
}

.section_firstview .firstview_copy {
    position: absolute;
    top: 350px;
    right: 0;
    padding: 15px 50px;
    text-align: right;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .section_firstview .firstview_copy {
        top: 280px;
    }
}

@media screen and (max-width: 810px) {
    .section_firstview .firstview_copy {
        top: 130px;
        padding: 15px 20px;
    }
}

@media screen and (max-width: 600px) {
    .section_firstview .firstview_copy {
        top: 330px;
        width: 100%;
        text-align: left;
        right: -20px;
        padding: 0;
    }
}

.firstview_copy_up_side {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 600;
    font-size: 50px;
    margin-bottom: 30px;
}

@media screen and (max-width: 1024px) {
    .firstview_copy_up_side {
        font-size: 40px;
    }
}

@media screen and (max-width: 810px) {
    .firstview_copy_up_side {
        font-size: 32px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    .firstview_copy_up_side {
        line-height: 1.3em;
        margin-bottom: 10px;
    }
}

.firstview_copy_down_side {
    font-size: 30px;
    letter-spacing: .15em;
}

@media screen and (max-width: 1440px) {
    .firstview_copy_down_side {
        font-size: 26px;
    }
}

@media screen and (max-width: 1024px) {
    .firstview_copy_down_side {
        font-size: 20px;
    }
}

@media screen and (max-width: 810px) {
    .firstview_copy_down_side {
        font-size: 22px;
    }
}

@media screen and (max-width: 600px) {
    .firstview_copy_down_side {
        font-size: 16px;
        line-height: 1.5em;
    }
}

.firstview_copy_addition {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Helvetica Neue", Arial, "Meiryo", sans-serif;
    font-weight: normal;
    line-height: 2em;
    margin-top: 30px;
}

@media screen and (max-width: 1024px) {
    .firstview_copy_addition {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media screen and (max-width: 600px) {
    .firstview_copy_addition {
        font-size: 16px;
        margin-top: 35px;
    }
}

.section_firstview .sp_block {
    display: none;
}

@media screen and (max-width: 600px) {
    .section_firstview .sp_block {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .section_firstview .sp_none {
        display: none;
    }
}


.section_firstview .firstview_copy p .firstview_copy_palt {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* section_intro */

.section_intro .top_intro_wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    .section_intro .top_intro_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    .section_intro .top_intro_wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    .section_intro .top_intro_wrapper {
        max-width: 650px;
    }
}

@media screen and (max-width: 600px) {
    .section_intro .top_intro_wrapper {
        margin-bottom: 80px;
    }
}

.section_intro .top_intro_bg {
    position: relative;
}

.section_intro .top_intro_bg::after {
    position: absolute;
    content: "";
    background: url(./img/momo_mark.png) no-repeat right/contain;
    height: 100%;
    width: 350px;
    opacity: .13;
    z-index: -1;
    right: 0;
    top: 20px;
}

@media screen and (max-width: 1024px) {
    .section_intro .top_intro_bg::after {
        width: 220px;
    }
}

@media screen and (max-width: 810px) {
    .section_intro .top_intro_bg::after {
        width: 180px;
    }
}

.section_intro .sub_title_1 p span {
    display: none;
}

@media screen and (max-width: 600px) {
    .section_intro .sub_title_1 p span {
        display: inline-block;
    }
}

@media screen and (max-width: 600px) {
    .section_intro .section_intro_sub_title_1_br {
        display: none;
    }
}

.section_intro .intro_text_box {
    font-size: 18px;
    text-align: center;
    letter-spacing: .25em;
    line-height: 2em;
}

@media screen and (max-width: 1024px) {
    .section_intro .intro_text_box {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    .section_intro .intro_text_box {
        text-align: left;
        letter-spacing: .13em;
    }
}

@media screen and (max-width: 600px) {
    .section_intro .intro_text_box .sp_none {
        display: none;
    }
}


/* section_about */

.section_about .top_about_wrapper {
    padding-left: 50px;
}

@media screen and (max-width: 1024px) {
    .section_about .top_about_wrapper {
        padding-left: 20px;
    }
}

.section_about .background_wall_1 {
    border-radius: 170px 0 0 170px;
}

@media screen and (max-width: 1024px) {
    .section_about .background_wall_1 {
        border-radius: 130px 0 0 130px;
    }
}

@media screen and (max-width: 810px) {
    .section_about .background_wall_1 {
        border-radius: 70px 0 0 70px;
    }
}

@media screen and (max-width: 810px) {
    .section_about .background_wall_1 {
        border-radius: 40px 0 0 40px;
    }
}

.section_about .top_about_content_box {
    padding: 100px 50px 100px 0;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .section_about .top_about_content_box {
        padding: 80px 20px 80px 0;
    }
}

@media screen and (max-width: 810px) {
    .section_about .top_about_content_box {
        padding: 50px 20px 50px 0;
    }
}

.section_about .heading_wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    .section_about .heading_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    .section_about .heading_wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    .section_about .heading_wrapper {
        max-width: 650px;
    }
}

@media screen and (max-width: 600px) {
    .section_about .heading_wrapper {
        padding: 0 0 0 20px;
    }
}

.section_about .heading {
    display: inline-block;
    text-align: left;
}

.section_about .decoration_block {
    background-color: #fff;
}

.section_about .decoration_01 {
    background-color: #F4CE20;
}

.section_about .top_about_content_box p {
    color: #fff;
}

.section_about .top_about_text_wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    .section_about .top_about_text_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    .section_about .top_about_text_wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    .section_about .top_about_text_wrapper {
        max-width: 650px;
    }
}

@media screen and (max-width: 600px) {
    .section_about .top_about_text_wrapper {
        padding: 0 0 0 20px;
    }
}

.section_about .btn_box {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    .section_about .btn_box {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    .section_about .btn_box {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    .section_about .btn_box {
        max-width: 650px;
    }
}

@media screen and (max-width: 600px) {
    .section_about .btn_box {
        padding: 0 0 0 20px;
        justify-content: space-around;
    }
}

.section_about .about_btn_l {
    margin-right: 50px;
}

@media screen and (max-width: 810px) {
    .section_about .about_btn_l {
        margin-right: 20px;
    }
}

@media screen and (max-width: 600px) {
    .section_about .about_btn_l {
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .section_about .about_btn_r {
        margin-right: 0;
    }
}

.section_about .btn_box .button {
    border-color: #fff;
}

@media screen and (max-width: 600px) {
    .section_about .btn_box .button {
        width: 143px;
    }
}

/* section_feature */

.section_feature .top_feature_wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    .section_feature .top_feature_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    .section_feature .top_feature_wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    .section_feature .top_feature_wrapper {
        max-width: 650px;
    }
}

.section_feature .feature_item02 {
    flex-direction: row-reverse;
}

.section_feature img {
    width: 41%;
    height: 300px;
    object-fit: cover;
    border-radius: 45px;
}

@media screen and (max-width: 1024px) {
    .section_feature img {
        height: 250px;
    }
}

@media screen and (max-width: 810px) {
    .section_feature img {
        height: 180px;
        margin-top: 15px;
        border-radius: 25px;
    }
}

@media screen and (max-width: 600px) {
    .section_feature img {
        width: 100%;
        height: 220px;
        margin-top: 0;
        margin-bottom: 20px;
    }
}

.section_feature .feature_item02 img {
    margin-right: 0;
}

.section_feature .feature_box_btn01 {
    text-align: right;
}

.section_feature .feature_box {
    width: 55%;
}

@media screen and (max-width: 600px) {
    .section_feature .feature_box {
        width: 100%;
    }
}

.section_feature .feature_box .button {
    margin-right: 0;
}

@media screen and (max-width: 600px) {
    .section_feature .feature_box .button {
        margin-right: auto;
    }
}

/* recruit */

#top .section_recruit .top_recruit_wrapper {
    padding-right: 50px;
}

@media screen and (max-width: 1024px) {
    #top .section_recruit .top_recruit_wrapper {
        padding-right: 20px;
    }
}

#top .section_recruit .background_wall_1 {
    border-radius: 0 170px 170px 0;
}

@media screen and (max-width: 1024px) {
    #top .section_recruit .background_wall_1 {
        border-radius: 0 130px 130px 0;
    }
}

@media screen and (max-width: 810px) {
    #top .section_recruit .background_wall_1 {
        border-radius: 0 70px 70px 0;
    }
}

@media screen and (max-width: 600px) {
    #top .section_recruit .background_wall_1 {
        border-radius: 0 40px 40px 0;
    }
}

#top .section_recruit .top_recruit_content_box {
    margin-left: 50px;
    padding: 100px 0;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    #top .section_recruit .top_recruit_content_box {
        margin-left: 20px;
        padding: 80px 0;
    }
}

@media screen and (max-width: 810px) {
    #top .section_recruit .top_recruit_content_box {
        padding: 50px 0;
    }
}

#top .section_recruit .heading_wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    #top .section_recruit .heading_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    #top .section_recruit .heading_wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    #top .section_recruit .heading_wrapper {
        max-width: 650px;
    }
}

@media screen and (max-width: 600px) {
    #top .section_recruit .heading_wrapper {
        padding: 0 20px 0 0;
    }
}

#top .section_recruit .heading {
    display: inline-block;
    text-align: left;
}

#top .section_recruit .top_recruit_content_box p {
    color: #fff;
}

#top .section_recruit .top_recruit_item_box {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    #top .section_recruit .top_recruit_item_box {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    #top .section_recruit .top_recruit_item_box {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    #top .section_recruit .top_recruit_item_box {
        max-width: 650px;
    }
}

@media screen and (max-width: 600px) {
    #top .section_recruit .top_recruit_item_box {
        max-width: 100%;
        padding: 0 20px 0 0;
    }
}

#top .section_recruit .top_recruit_item_box img {
    max-width: 46%;
    border-radius: 30px;
    object-fit: cover;
}

@media screen and (max-width: 1024px) {
    #top .section_recruit .top_recruit_item_box img {
        height: 270px;
    }
}

@media screen and (max-width: 810px) {
    #top .section_recruit .top_recruit_item_box img {
        height: 200px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 600px) {
    #top .section_recruit .top_recruit_item_box img {
        height: auto;
        margin-top: 0;
        max-width: 100%;
        width: 100%;
        margin-bottom: 20px;
    }
}

#top .section_recruit .recruit_text_box {
    max-width: 50%;
}

@media screen and (max-width: 600px) {
    #top .section_recruit .recruit_text_box {
        max-width: 100%;
    }
}

#top .section_recruit .button {
    border-color: #fff;
    margin-right: 0;
}

@media screen and (max-width: 600px) {
    #top .section_recruit .button {
        margin-right: auto;
    }
}

/* news */

.section_news .top_news_wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media screen and (max-width: 1440px) {
    .section_news .top_news_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    .section_news .top_news_wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 810px) {
    .section_news .top_news_wrapper {
        max-width: 650px;
    }
}

@media screen and (max-width: 600px) {
    .section_news .top_news_wrapper {
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .section_news .button {
        display: none;
    }
}

.section_news .flex_box_1 {
    align-items: center;
}

.section_news .top_news_right {
    width: 60%;
}

@media screen and (max-width: 600px) {
    .section_news .top_news_right {
        width: 100%;
        padding-bottom: 30px;
    }
}

.section_news .button_sp {
    display: none;
}

@media screen and (max-width: 600px) {
    .section_news .button_sp {
        display: block;
    }
}


/* Loading背景画面設定　*/

/* ローディング画面のスタイル */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background: #A3C2C7;
    text-align: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* ローディング画面が表示されている間はクリックやホバーが有効 */
    transition: opacity 2s ease-out, visibility 1s linear 2s;
}

/* hide クラスで opacity を 0 にしてフェードアウト */
#splash.hide {
    opacity: 0;
    visibility: hidden;  /* 完全に非表示 */
    pointer-events: none;  /* ローディング画面非表示時にクリックやホバーを無効化 */
}

/* ローディング画像の配置 */
#splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#splash_logo img {
    width: 260px;
}
