@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: 3.5vw;
    padding-bottom: 3%;
    border-bottom: 1px solid #2F665A;
}

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

section:nth-of-type(1) div {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    animation: section1-anime 4s infinite alternate-reverse;
}

section:nth-of-type(1) div img {
    width: 100%;
}

.section1-image{
    
}

@keyframes section1-anime {
    0% {
        transform: translateY(-3%);
    }
    50% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(3%);
    }
}

section:nth-of-type(1) ul {
    margin-top: 6%;
}

section:nth-of-type(1) ul li {
    list-style-type: none;
    line-height: 2;
    font-size: 2.5vw;
    color: #665b2f;
}

section:nth-of-type(1) p {
    margin-top: 7%;
    line-height: 1.8;
    font-size: 2vw;
    color: #202020;
}

.maker {
    background: linear-gradient(transparent 70%, #89a39d 70%);
}

/* ここからセクション2(吹き出しのとこ)///////////////////////// */
section:nth-of-type(2) h3 {
    margin-top: 4%;
    margin-bottom: 5%;
    font-size: 3.3vw;
}

.question {
    display: block;
}

.fukidashi-box {
    width: 80%;
    margin-bottom: 10%;
    margin-left: auto;
    margin-right: auto;
    padding: 4%;
    border-radius: 3vw;
    background-color: #d4f0e9;
    border: 1px solid #2F665A;
}

.fukidashi-box p:nth-of-type(1) {
    text-align: center;
    margin-bottom: 10%;
    font-size: 2.3vw;
    color: #2F665A;
    font-family: Noto Sans Japanese;
}

.fukidashi-image1 {
    width: 70%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
}

.fukidashi-image1 img {
    width: 100%;
}

.fukidashi-box p:nth-of-type(2) {
    margin-top: 15%;
    text-align: center;
    font-size: 2.3vw;
    color: #2F665A;
    font-family: Noto Sans Japanese;
    font-weight: 500;
}

.fukidashi-box2 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 4%;
    border-radius: 3vw;
    background-color: #d4f0e9;
    border: 1px solid #2F665A;
}

.fukidashi-box2 p:nth-of-type(1) {
    text-align: center;
    margin-bottom: 7%;
    font-size: 2.3vw;
    color: #2F665A;
    font-family: Noto Sans Japanese;
}

.fukidashi-image2 {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.fukidashi-image2 img {
    width: 100%;
}

.fukidashi-box2 p:nth-of-type(2) {
    margin-top: 4%;
    text-align: center;
    font-size: 2.3vw;
    color: #2F665A;
    font-family: Noto Sans Japanese;
    font-weight: 400;
}

/* ここからフッター領域　固定写真 */
.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;
}

