@charset "utf-8";

/* Reset */
html {
    font-size: 62.5%;
}

body {
    color: #333333;
    line-height: 1.6;
    word-spacing: 0;
    font-size: 1.6rem;
    font-family: "Noto Serif JP", serif;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: bold;
    line-height: 1.3;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
    }

    .sp {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .pc {
        display: none !important;
    }
}

@media print {
    body {
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Animate */
.fade-in {
    opacity: 0;
    transition: opacity 2s ease;
}

.fade-in.is-view {
    opacity: 1;
    filter: blur(0) brightness(100%);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    -webkit-transform: translateY(40px);
    transition: opacity 2s ease, transform 2s ease;
}

.fade-up.is-view {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

@media (min-width: 768px) {
    .delay1 {
        transition-delay: .4s;
    }
}

/* Code main */

html {
    background: #91c6bb;
}

body {
    background: url('../img/bg.jpg') top left / auto 100% repeat;
    position: relative;
}

.header {
    position: relative;
    display: flex;
    justify-content: center;
}

.header .txt {
    position: absolute;
    top: 11%;
    width: 80.6%;
    text-align: center;
}

.wrap {
    width: calc(100% - 40px);
    max-width: 585px;
    margin: 0 auto;
    box-shadow: 3px 3px 21px rgba(32, 23, 20, 0.3);
}

.main {
    background: url('../img/bg-body.jpg') left top / 100% 100% no-repeat;
    padding-bottom: 40px;
}

.box {
    width: calc(100% - 40px);
    max-width: 516px;
    margin: -35px auto 0;
    padding: 50px 18px;
    border: 6px solid #9cc6bc;
    background: #faf6f0;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.box .txt {
    text-align: center;
}

.box .txt .photo {
    margin-top: 20px;
}

.box .txt:not(:last-of-type) {
    margin-bottom: 70px;
}

@media (max-width: 767px) {
    .box .txt:not(:last-of-type) {
        margin-bottom: 35px;
    }
}

@media (max-width: 640px) {
    .box {
        padding: 30px 10px;
    }
}