@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Zen Old Mincho;
    src: url(../font/ZenOldMincho-SemiBold.ttf);
}

@font-face {
    font-family: Noto Sans Japanese;
    src: url(../font/NotoSansJP-VariableFont_wght.ttf);
}

html {
    scroll-behavior: smooth;
    /* ボタン押したら滑らかにヘッダーへ戻る動き */
}

/* フォントの指定 */
body {
    font-family: Zen Old Mincho;
}


h1 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

h1 img {
    width: 100%;
    vertical-align: bottom;
    backdrop-filter: blur(4px);
}

header {
    background-attachment: fixed;
    display: block;
    width: 96%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
    align-items: baseline;
    position: relative;
    min-height: 100vh;
    background-image: url(../images/plan03-gray.jpg);
    background-size: cover;
    background-position: center center;
    center / cover;
}

nav {
    width: 100%;
    margin-left: auto;
    align-items: baseline;

}

nav ul {
    display: block;
    list-style-type: none;
    align-items: baseline;

}

nav ul li {
    margin-left: auto;
    margin-right: auto;
   
}

nav ul li a {
    display: block;
    text-align: center;
    line-height: 3;
    text-decoration: none;
    color: #fff;
    font-size: 5vw;
    align-items: baseline;
    transition: 1s;
}

nav ul li a:hover {
    color: #c2c2c2;
    backdrop-filter: blur(2px);
    transition: 1s;
}

body header div;nth-of-type(1) {
    font-size: 12vw;
    color: #fff;
}


.buton {
    position: fixed;
    bottom: 5%;
    right: 20%;
    width: 3%;
    animation: engel-anime 2s infinite alternate-reverse;
}

@keyframes engel-anime {
    0% {
        transform: translateY(1vw);
    }
    100% {
        transform: translateY(-1vw);
    }
}

main {
    width: 70%;
    margin-top: 5%;
    margin-bottom: 10%;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    color: #2F665A;
    text-align: center;
    text-shadow: 0 0 4px #ffffff;
    font-size: 4vw;
    padding-bottom: 3%;
    border-bottom: 1px solid #2F665A;
}

h3 {
    color: #2F665A;
    font-size: 2.7vw;
    text-align: center;
    padding-top: 3%;
}

.sentakushi-box {
    display: block;
    width: 70%;
    margin-top: 10%;
    margin-bottom: 20%;
    margin-left: auto;
    margin-right: auto;
}

.child-box2 {
    margin-top: 10%;
    margin-bottom: 10%;
}


/* ここからセクション2(吹き出しのとこ)///////////////////////// */
h4 {
    font-size: 4vw;
    padding-bottom: 7%;
    border-bottom: 2px dotted #2F665A;
    color: #2F665A;
    font-weight: 800;
}

section:nth-of-type(2) {
    margin-bottom: 30%;
}

.zyoushiki {
    display: block;
    margin-bottom: 30%;
}

.flex-box1 p {
    margin-top: 5%;
    margin-bottom: 7%;
    font-size: 3.5vw;
    color: #05251e;
}

.flex-box2 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.flex-box2 img {
    width: 100%;
    vertical-align: bottom;
}

.kansou {
    display: block;
}

.flex-box3 p {
    margin-top: 4%;
    margin-bottom: 7%;
    font-size: 3.5vw;
    color: #05251e;
}

.flex-box4 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.flex-box4 img {
    width: 100%;
    vertical-align: bottom;
}


/* ここからフッター領域　固定写真 */
.footer-top {
    width: 100%;
    height: 30vw;
    padding-top: 4%;
    background-attachment: fixed;
    background-image: url(../images/new-bg_funeral.png);
    background-size: 100% 100%;
}

.footer-top h2 {
    font-size: 5vw;
    color: #fff;
}

.tel {
    display: block;
    /* justify-content: space-around; */
    width: 70%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    font-size: 3vw;
    color: #fff;
    text-shadow: 0 0 3px #ffffff;
}

.sapporo {
    display: flex;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
    color: #ffffff;
    
}

.sapporo p {

}

.sapporo address {
    font-style: normal;
}

.hakodate {
    display: flex;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;

}

.hakodate p {

}

.hakodate address {
    font-style: normal;
}
/* 固定写真フッター終わり */


/* 文字のみフッター領域 */
footer {
    color: #ffffff;
    background-color: #2F665A;
}

footer p {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 10%;
    text-align: center;
    font-size: 3vw;
}

.copy {
    padding: 1%;
    text-align: center;
    color: #2F665A;
    font-size: 2.5vw;
    background-color: #ffffff;
}
