@charset "utf-8";

/* ---
    Reset
--------------------------------- */
*{
    margin:0;
    padding:0;
}

html{
    scroll-behavior: smooth;
}

body{
    position: relative;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans", Meiryo, sans-serif;
}

ul,
ul li{
    list-style: none;
    margin: 0;
    padding: 0;
}

a:visited{
    color: #000;
}

/* ---
    Common Elements
--------------------------------- */

.pc_only{ display: block; }
.sp_only{ display: none; }

@media (width <= 768px){
    .pc_only{ display: none; }
    .sp_only{ display: block; }
}

img{
    /*対策*/
    pointer-events:none;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
}

.img_full{
    display: block;
    width:100%;
}

/* --- フェードイン --- */
.js-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1s,visibility 1s, transform 1s;
}

.inview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* ---
    Layout
--------------------------------- */

body{
    position: relative;
}

.container{
    width:100%;
}

.column{
    width:100%;
}

.column.column01{ background-color: #6fadc4; }
.column.column02{ background-color: #fffae6; }
.column.column03{ background-color: #dfedf2; }

/* 通常のrow 1920pxに対して1280px */
.column .row{
    max-width:66.6666%;
    padding:60px 0;
    margin:0 auto;
}

/* 少し大きいrow 1920pxに対して1400px */
/* SPは通常と同じ */
.column .row.wide{
    max-width:72.9166%;
}

/* フルワイドのrow */
.column .row.fullwide{
    max-width:100%;
}

@media (width <= 1440px){
    .column .row,
    .column .row.wide{
        max-width:89.3333%;
        padding:30px 0;
    }
}

.column .row.pb-0{ padding-bottom:0; }
.column .row.pt-0{ padding-top:0; }

.column .row.sp-pb15{ padding-bottom:0; }
.column .row.sp-pb30{ padding-bottom:0; }

@media (width <= 768px){
    .column .row.sp-pt0{ padding-top: 0px; }
    .column .row.sp-pb0{ padding-bottom: 0px; }
    .column .row.sp-pb15{ padding-bottom:15px; }
    .column .row.sp-pb30{ padding-bottom:30px; }
}

/* ---
    Header
--------------------------------- */

header{
    width:33.3333%;
    position: absolute;
    top:0;
    left:0;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items:center;
}

header h1{
    width:50%;
}
header h1 a,
header h1 a img{
    display: block;
    width:100%;
}

@media (width <= 768px){
    header h1{
        width:100%;
    }
}

/* ---
    Footer
--------------------------------- */
footer{
    background-color: #fff;
}

footer .footer_contents{
    width:100%;
    position: relative;
}

footer .footer_contents::before{
    content:"";
    display: block;
    width:465px;
    height:529px;
    background-image:url(../images/footer_shima.png);
    background-position: center top;
    background-repeat: no-repeat;
    position:absolute;
    left:10%;
    bottom:0;
}

footer .footer_contents.noimage::before{
    background-image:none;
}

footer .footer_contents > a{
    display:block;
    max-width:30%;
    margin:0 auto;
    padding:30px 0;
    text-decoration: none;
    font-weight: bold;
    color: #000;
}
footer .footer_contents > a .footer_logo{
    max-width: 100%;
    border:3px solid #5fa4bd;
    border-radius:40px;
    margin:0 auto 10px auto;
}
footer .footer_contents > a .footer_logo img{
    display: block;
    width:80%;
    margin:0 auto;
}
footer .footer_contents > a > p{
    text-align: center;
    font-size: 24px;
}

footer .copyright{
    width:100%;
    background-color: #5fa4bd;
    padding: 20px 0;
    text-align: center;
    color: #fff;
}

@media (768px <= width <= 1440px){
    footer .footer_contents::before{
        left:5%;
        background-size: contain;
        width: 232.5px;
        height: 264.5px;
    }
}

@media (width <= 768px){
    footer .footer_contents::before{
        width:40%;
        height: 100%;
        left:0;
        bottom:0;
        background-size: contain;
    }
    footer .footer_contents > a{
        display:block;
        max-width:60%;
        margin-left: 38%;
        padding: 15px 0;
    }
    footer .footer_contents > a .footer_logo{
        border:2px solid #5fa4bd;
        border-radius:20px;
        margin: 0 auto;
    }
    footer .footer_contents > a > p{
        font-size: 20px;
    }
}

/* -- 右側固定「事前相談はコチラ」ボタン -- */
.fixed_btn{
    width: auto;
    height: 100%;
    position: fixed;
    top:0;
    right: 0;
    z-index: 2;
    writing-mode: vertical-rl;
}
.fixed_btn a{
    display: inline-block;
    position: sticky;
    top: 50%;
    right: 0;
    background-color: #fff;
    border-top:5px solid #6fadc4;
    border-left:5px solid #6fadc4;
    border-bottom:5px solid #6fadc4;
    border-radius: 20px 0 0 20px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    padding: 20px 30px;
    cursor: pointer;
}
.fixed_btn a:hover{
    border-top:5px solid #fff;
    border-left:5px solid #fff;
    border-bottom:5px solid #fff;
    background-color: #6fadc4;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

@media (768px <= width <= 1440px){
    .fixed_btn a{
        top: 20%;
        padding: 20px 15px;
    }
}

@media (width <= 768px){
    .fixed_btn a{
        font-size: 16px;
        padding: 20px 15px;
        border-top:3px solid #6fadc4;
        border-left:3px solid #6fadc4;
        border-bottom:3px solid #6fadc4;
    }
    .fixed_btn a:hover{
        border-top:3px solid #fff;
        border-left:3px solid #fff;
        border-bottom:3px solid #fff;
    }
}

/* ---
    Contents
--------------------------------- */

.main-visual{
    max-width:75.5%;
    margin:0 auto;
    padding-top:50px;
}
.main-visual img{
    display: block;
    width:100%;
    margin:0 auto;
}

@media (width <= 768px){
    .main-visual{
        max-width:89.3333%;
        padding-top:25px;
    }
}

/* --- メッセージ --- */

.message_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-image:url(../images/column02_bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
}
.message_box > *{
    width:50%;
}
.message_box .message_text{
    background-color: #fff;
    margin-top:120px;
}
.message_box .message_text .inner{
    padding:5% 10%;
}
.message_box .message_text .inner p{
    text-align: center;
    font-size: 1.2vw;
    font-weight:bold;
}
.message_box .message_text .inner p:first-child{
    margin-bottom:30px;
}

.message_box .message_image{
    padding-top:50px;
}

.message_box .message_image img{
    display:block;
    width:100%;
}

@media (width <= 768px){
    .column.column_message{
        position: relative;
    }
    .column.column_message .row{
        background-position: center 40px;
        padding-bottom:30px;
    }
    .message_box .message_text{
        width:92%;
        margin-top:80px;
    }
    .message_box .message_text .inner{
        padding:5% 2.5%;
    }
    .message_box .message_text .inner p{
        text-align: left;
        font-size: 14px;
    }
    .message_box .message_image{
        position: absolute;
        right: 0;
        bottom: 0;
        padding-top:0;
        max-width:43.3333%;
    }
    .message_box .message_image img{
        width: 90%;
        float: right;
    }
}

/* --- 福祉葬祭って？ --- */

/* -- アンカーリンクリスト -- */
.anchor_list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius:60px;
    box-shadow:0 0 5px #000;
}
.anchor_list.fixed{
    position: fixed;
    z-index: 2;
    top:10px;
    left: 50%;
    max-width:66.6666%;
    margin:0 auto;
    transform: translateX(-50%);
}

.anchor_list li{
    width:auto;
    text-align: center;
    padding:0 3%;
}
.anchor_list li a{
    display: block;
    width:100%;
    font-size: 1.5vw;
    font-weight: bold;
    padding:30px 0;
    text-decoration: none;
}
.anchor_list li a:hover{
    cursor: pointer;
    text-decoration: underline;
}

@media (768px <= width <= 1440px){
    .anchor_list.fixed{
        max-width: 90%;
    }
}

@media (width <= 768px){
    .anchor_list{
        justify-content: center;
        padding:10px 0;
    }
    .anchor_list.fixed{
        max-width: 90%;
    }
    .anchor_list li{
        width:calc(33.3333% - 0);
    }
    .anchor_list li a{
        font-size: 14px;
        padding:5px 0;
    }
}

/* -- 福祉葬祭って？見出し -- */
h2.about{
    width:100%;
    background-image:url(../images/h2_about_bg.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100%;
    margin:30px auto;
    padding-top:16.71875%;
    position: relative;
}
h2.about span{
    display: block;
    color: #253871;
    font-size: 6vw;
    font-weight: bold;
    position: absolute;
    top:50%;
    left:0;
    transform: translate(0, -50%);
}

@media (width <= 768px){
    h2.about{
        margin:15px auto;
    }
    h2.about span{
        font-size: 8vw;
    }
}

/* -- 福祉葬祭って？コンテンツ内共通見出しh3 -- */
h3.h_box{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

h3.h_box > div{
    width: 50%;
}

h3.h_box .h_title .title{
    display: block;
    width:100%;
    background-color: #253871;
    color: #fff;
    font-size: 3vw;
    font-weight: bold;
    text-indent: 3rem;
    margin-bottom:15px;
}

h3.h_box .h_title.h02 .title,
h3.h_box .h_title.h04 .title{
    text-align: right;
    padding-right: 3rem;
}

h3.h_box .h_title.h02 > img,
h3.h_box .h_title.h04 > img{
    display: block;
    margin-left:32%;
}

/* 無料事前相談でできること 見出し */
h4{
    color: #fff;
    background-color: #253871;
    text-align: center;
    font-size: 2.3vw;
    font-weight: bold;
    padding:10px 0;
}

/* 無料事前相談お申し込みフォーム 見出し */
h2.application_title{
    font-size: 4vw;
    font-weight: bold;
    color: #253871;
    text-align: center;
}

@media (width <= 768px){
    h3.h_box > .h_title{
        width: 74.6666%;
    }
    h3.h_box > div:not(.h_title){
        width:25%;
    }
    h3.h_box .h_title .title{
        font-size: 8vw;
        margin-bottom:10px;
    }
    h3.h_box .h_title.h02 .title,
    h3.h_box .h_title.h04 .title{
        padding-right: 1.5rem;
    }
    h3.h_box .h_title.h02 > img,
    h3.h_box .h_title.h04 > img{
        margin-left:5%;
    }
    h4{
        font-size: 6vw;
        padding:0;
    }
    h2.application_title{
        font-size: 7.5vw;
        font-weight: bold;
        margin-bottom: 10px;
    }
}

/* -- 共通テキストボックス -- */
.about_box{
    width:100%;
    margin:30px auto;
}

.about_box .about_subtitle{
    font-size: 2.3vw;
    line-height: 1.2;
    margin-bottom:10px;

    color: #253871;
    font-weight: bold;
}
.about_box p{
    font-weight: bold;
    font-size: 2vw;
    line-height: 1.3;
}

.about_box.center .about_subtitle,
.about_box.center p{
    text-align: center;
}
.about_box.left .about_subtitle,
.about_box.left p{
    text-align: left;
}
.about_box.right .about_subtitle,
.about_box.right p{
    text-align: right;
}

@media (width <= 1440px){
    .about_box .about_subtitle{
        font-size: 3vw;
    }
}

@media (width <= 768px){
    .about_box{
        margin:15px auto;
    }
    .about_box p{
        font-size: 18px;
    }
    .about_box .about_subtitle{
        font-size: 6vw;
    }
}

/* -- 3つのプラン リスト -- */
.plan_list{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.plan_list li{
    width:33.3333%;
}
.plan_list li img{
    display: block;
    margin:0 auto;
    width:100%;
}

@media (width <= 768px){
    .plan_list li{
        width:100%;
        margin-bottom:15px;
    }
}

/* -- 島耕作フキダシBOX（３箇所） -- */

/* 右のフキダシ(grid) */
.shima_fukidashi.right{
    width:100%;
    display: grid;
    grid-template-columns:34% 1fr;
    grid-template-rows:auto auto;
}

.shima_fukidashi.right .img_box{
    grid-row:1 / 3;
    grid-column:1;
}

/* 左のフキダシ(flex) */
.shima_fukidashi.left{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.shima_fukidashi.left > div{
    width:50%;
}

.shima_fukidashi.left .fukidashi_box{
    display: flex;
    align-items: center;
}

@media (width <= 768px){
    .shima_fukidashi.right .img_box{
        grid-row:1;
        grid-column:1/1;
    }
    .shima_fukidashi.right .detail_link{
        grid-row:2;
        grid-column:1/3;
    }
}

.shima_fukidashi .img_box img{
    display: block;
    width:100%;
}

.shima_fukidashi .fukidashi,
.shima_fukidashi .detail_link{
    display: flex;
    align-items: center;
}

.shima_fukidashi .fukidashi{
    width:100%;

    background-repeat: no-repeat;
    background-position: left 50%;
    background-size: contain;
}
/* 右のフキダシ */
.shima_fukidashi.right .fukidashi{
    background-image: url(../images/fukidashi_right_bg.png);
}
/* 左のフキダシ */
.shima_fukidashi.left .fukidashi{
    height: 100%;
    background-image: url(../images/fukidashi_left_bg.png);
}

.shima_fukidashi .fukidashi p{
    width: 100%;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    color: #5fa4bd;
}

.shima_fukidashi .detail_link a{
    display: block;
    font-size: 24px;
    color: #fff;
    background-color: #5fa4bd;
    border:2px solid #5fa4bd;
    border-radius: 30px;
    padding: 10px 50px;
    text-decoration: none;
}
.shima_fukidashi .detail_link a:hover{
    background-color: #fff;
    color: #5fa4bd;
    transition: 0.3s;
}

@media (width <= 1440px){
    .shima_fukidashi.right .fukidashi p,
    .shima_fukidashi.left .fukidashi p{
        font-size: 2.4vw;
    }
}

@media (width <= 768px){
    .shima_fukidashi.right{
        grid-template-columns:50% 1fr;
    }
    .shima_fukidashi.left{
        margin-top:-20px;
    }
    .shima_fukidashi.right .fukidashi p{
        font-size: 3.5vw;
        padding-left:20px;
    }
    .shima_fukidashi.left .fukidashi p{
        font-size: 3.5vw;
        padding-left:0;
        padding-right:10px;
    }
    .shima_fukidashi .detail_link{
        display: block;
        width:100%;
        text-align: center;
        margin-top:-30px;
    }
    .shima_fukidashi.right02 .detail_link{
        margin-top:30px;
    }
    .shima_fukidashi .detail_link a{
        font-size: 32px;
        font-weight: bold;
    }
    /* 右のフキダシ */
    .shima_fukidashi.right .fukidashi{
        background-image: url(../images/fukidashi_right_bg_sp.png);
    }
    /* 左のフキダシ */
    .shima_fukidashi.left .fukidashi{
        height: 100%;
        background-image: url(../images/fukidashi_left_bg_sp.png);
    }
}

/* --- 225の式場 --- */
.hall_area{
    width:100%;
    height: 0;
    position: relative;
    background-image:url(../images/hall_area_bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top:72.66%;
}

.hall_area .about_box.p01{
    position: absolute;
    top:0;
    right:0;
}
.hall_area .about_box.p02{
    position: absolute;
    bottom:0;
    left:0;
}
.hall_area .about_box.p02 .about_subtitle > img{
    display: block;
    max-width:267px;
    margin-bottom:10px;
}

@media (width <= 768px){
    .hall_area{
        padding-top:0;
        height: auto;
    }
    .hall_area .about_box.p01,
    .hall_area .about_box.p02{
        position: relative;
    }
}

/* --- お客様の声 リスト --- */
.voice_list{
    position: relative;
}
.swiper-pagination{
    bottom:-40px!important;
}

.swiper{
    max-width:84.9%;
    width:100%;
    height: 470px;
    margin:0 auto;
}
.swiper-wrapper{
    width:100%;
}

.swiper-wrapper .swiper-slide a{
    height: 100%;
    display: block;
    background-color: #fff;
    text-decoration: none;
    padding: 20px;
}

.swiper-wrapper .swiper-slide a:hover{
    opacity: 0.75;
    transition: 0.3s;
}

.swiper-wrapper .swiper-slide a .date{
    color: #666;
}

.swiper-wrapper .swiper-slide a img{
    display: block;
    margin:0 auto;
    width: 100%;
}

.swiper-wrapper .swiper-slide a h3.title{
    color: #339999;
    margin:10px auto;
}

.swiper-wrapper .swiper-slide a p.text{
    color: #363636;
}

@media (max-width:768px){
    .swiper{
        height: 400px;
    }
}

/* --- 無料事前相談でできること --- */
.manga_box{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap:1%;
    margin:50px auto;
}
.manga_box > div{
    width:49%;
}
.manga_box .about_box > p{
    font-size: 26px;
}

@media (width <= 1440px){
    .manga_box{
        margin:25px auto;
    }
    .manga_box .about_box > p{
        font-size: 18px;
    }
}

@media (width <= 768px){
    .manga_box{
        margin:20px auto;
    }
    .manga_box:nth-child(odd){
        flex-direction: column-reverse;
    }
    .manga_box > div{
        width:100%;
    }
    .manga_box .about_box .about_subtitle{
        text-align: left;
    }
    .manga_box .about_box > p{
        font-size: 18px;
        text-align: left;
    }
}

/* --- アフターサポートも充実 --- */
.as_list{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin:30px auto 0 auto;
    gap: 40px;
}
.as_list li{
    width: calc(25% - 40px);
    text-align: center;
}
.as_list li p{
    font-size: 24px;
    font-weight: bold;
}

@media (width <= 1440px){
    .as_list li p{
        font-size: 16px;
    }
}

@media (width <= 768px){
    .as_list{
        gap: 10px;
    }
    .as_list li{
        width:calc(50% - 20px);
        margin-bottom: 15px;
    }
    .as_list li img{
        display: block;
        width:calc(100% - 20px);
        margin: 0 auto 10px auto;
    }
}

/* --- 無料事前相談お申し込み --- */
.application_form{
    width:100%;
    background-color: #fff;
    border-radius: 20px;
}
.application_form .form{
    padding:40px;
}
@media (width <= 768px){
    .application_form .form{
        padding:20px;
    }
}