@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
img {
    width: 100%;
    vertical-align: bottom;
}
.wrap {
    width: 1300px;
    margin: 0 auto;
}
a {
    color: #000;
}
body {
    background-image: url(../img/back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
html {
    scroll-behavior: smooth;
}
@media (max-width:768px) {
    .wrap{
        width: 80%;
        margin: 0 auto;
    }
}
/* header */
header {
    width: 1300px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav ul {
    display: flex;
    width: 700px;
    justify-content: space-between;
}
nav ul a {
    color: #5b3626;
    transition: 0.5s;
}
nav ul a:hover {
    opacity: 0.5;
}
h1 img {
    width: 280px;
}
/* hero */
.hero {
    font-family: sans-serif;
    padding: 20px 0 40px 40px;
    background-image: url(img/back.jpg);
}
.wrapper {
    display: flex;
    width: 100%;
    height: 680px;
}
.left {
    color: #5b3626;
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl; /* 縦書き */
    font-size: 20px;
    font-weight: bold;
}
.frame {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 680px;
}
.slider {
    display: flex;
    animation: slide-left 60s linear infinite;
    gap: 20px;
    width: calc((454px + 20px) * 8);
}
.slide-item {
    flex: 0 0 auto;
    height: 680px;
}
.slide-item img {
    height: 100%;
    width: 454px;
    display: block;
}
@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* main */
h2 {
    width: 350px;
    margin: 0 auto 40px;
    padding-top: 40px;
}
h3 {
    color: #ff9494;
    font-size: 20px;
    margin-top: 8px;
}

/* about position */
.about {
    height: 1150px;
    background-image: url(../img/back2.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.about-inner {
    width: 1300px;
    margin: 0 auto;
}
.explain {
    position: relative;
    height: 800px;
}
.explain img {
    object-fit: cover;
    border-radius: 8px;
}
.box-item01 {
    width: 400px;
    position: absolute;
    left: 500px;
}
.box-item02 img {
    width: 350px;
    height: 280px;
}
.box-item02 {
    width: 350px;
    position: absolute;
    top: 100px;
    right: 20px;
}
.box-item03 {
    width: 450px;
    height: 510px;
    position: absolute;
    top: 80px;
    left: 30px;
    line-height: 2em;
    padding: 20px 50px;
    text-align: justify;
    background-color: #fff;
    border-radius: 8px;
}
.box-item03 h3 {
    padding-bottom: 20px;
}
.box-item03 .btn a {
    display: block;
    width: fit-content;
    margin: 20px auto 10px;
    background-color: #ff9494;
    color: #fff;
    border-radius: 30px;
    padding: 5px 30px;
    transition: 0.5s;
}
.box-item03 .btn a:hover {
    opacity: 0.7;
}
.box-item04 img {
    width: 700px;
    height: 400px;
    object-fit: cover;
    object-position: left bottom;
}
.box-item04 {
    position: absolute;
    bottom: -30px;
    right: 50px;
}
.box-item05 img {
    width: 400px;
}
.box-item05 {
    position: absolute;
    bottom: -80px;
    left: 60px;
}
/* service */
.service-box {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.service-item {
    width: 35%;
}
.service-item img {
    height: 266px;
    object-fit: cover;
}
.overflow {
    overflow: hidden;
    border-radius: 150px 150px 5px 5px;
}
.image-wrap img {
    width: 100%;
    height: 266px;
    object-fit: cover;
    transition: transform 0.7s, filter 0.7s;
    display: block;
}
.overflow a:hover img {
    transform: scale(1.1); /* 拡大する */
    filter: brightness(0.5); /* 暗くする */
}
/* H4を重ねる*/
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    white-space: nowrap; /* 改行させない */
}
.overflow a:hover .overlay-text {
    opacity: 1;
}
.service-item .overflow a {
    display: block;
    transition: 0.7s;
}
.service-item .overflow a:hover {
    transform: scale(1.1);
}
.viewmore a {
    display: block;
    background-color: #ffd1d1;
    color: #5b3626;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    border-radius: 20px;
    transition: 0.7s;
}
.viewmore a:hover {
    opacity: 0.7;
}
.service-box p {
    height: 130px;
    padding: 20px 30px;
    background-color: #fff;
    color: #5b3626;
}
@media (max-width:768px){
    .service-box{
        display: block;
    }
    .service-item{
        width: 100%;
        max-width: 450px;
    }
}
/* news flex-box*/
.news {
    width: 83%;
    height: 700px;
    margin: 0 auto;
}
.news-box01 {
    display: flex;
    position: relative;
}
.news-item01 {
    width: 500px;
    height: 180px;
    background-color: #edcdbb;
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
}
.news-item01:hover {
    background-color: #f6d9c8;
}
.news-item02 {
    width: 500px;
    height: 180px;
    position: absolute;
    top: 30px;
    right: 50px;
    background-color: rgb(245, 232, 216);
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
}
.news-item02:hover {
    background-color: #f4dcab;
}
a.illust-link {
    position: absolute;
    top: -150px;
    right: 30px;
    width: 200px;
    z-index: 10;
    display: block;
}
.illust-link img {
    width: 100%;
    height: auto;
    display: block;
}
a.illust-link:hover {
    opacity: 0.5;
}
.news-box02 {
    display: flex;
    position: relative;
}
.news-item03 {
    width: 500px;
    height: 180px;
    position: absolute;
    top: 50px;
    background-color: rgb(245, 232, 216);
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
}
.news-item03:hover {
    background-color: #f4dcab;
}
.news-item04 {
    width: 500px;
    height: 180px;
    position: absolute;
    top: 80px;
    right: 50px;
    background-color: #edcdbb;
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
}
.news-item04:hover {
    background-color: #f6d9c8;
}
/* newsの中身横並び */
dt {
    font-size: large;
    color: #5b3626;
    margin: 15px 0 10px 0;
    font-weight: bold;
}
.news-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 40px 20px 0 20px;
}
.news-contain h4 {
    color: #5b3626;
    border-bottom: #8f6a5c 2px dotted;
    width: fit-content;
}
.news-contain p {
    padding: 10px 10px 10px 0;
}
@media (max-width:768px) {
    
}
/* information */
/* calendar-box */
.calendar-box {
    display: flex;
    justify-content: center;
    gap: 150px;
}
.calendar-item {
    width: 380px;
}
@media (max-width:768px){
    .calendar-box{
        display: block;
    }
    .calendar-item{
        width: 80%;
        margin: 0 auto;
        padding-bottom: 30px;
    }
}
/* map */
.map {
    width: fit-content;
    margin: 70px 0 0 300px;
    padding-bottom: 70px;
    position: relative;
}
.map-box {
    width: 450px;
    height: 250px;
    position: absolute;
    top: 230px;
    left: 550px;
    background-color: #fff5e4;
    border: #5b3626 2px dashed;
    padding: 10px 20px;
    border-radius: 8px;
}
.map-box h5 {
    color: #5b3626;
    margin: 10px 0;
}
/* circle02 */
.band-clip02 {
    position: relative;
    height: 120px;
    align-items: center;
    overflow: visible;
}
.circle02 {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background-image: url(../img/back-koi_l.jpg);
    border-radius: 50%;
    clip-path: inset(0 0 50% 0);
    z-index: -999;
}
.coffee {
    width: 100px;
    position: absolute;
    top: 60px;
    left: 710px;
}
@media (max-width:768px) {
    .band-clip02{
        width: 100%;
    }
    .circle02{
        width: 80%;
    }
}
/* contact */
.contact {
    padding: 50px 0 0 0;
    background-image: url(../img/back-koi_l.jpg);
}
.contact p {
    color: #fff;
    font-size: 30px;
    letter-spacing: 0.2em;
    text-align: center;
    padding: 40px 0 40px;
}
.contact-box {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding-bottom: 30px;
}
.contact-btn a {
    color: #5b3626;
    display: block;
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    transition: 0.7s;
}
.contact-btn a:hover {
    opacity: 0.7;
}
@media (max-width:768px){
    .contact-box{
        display: block;
    }
    .contact-btn a{
        width: 50%;
        margin: 0 auto 20px;
        padding: 25px;
        border-radius: 50px;
    }
    .contact p{
        width: 90%;
        margin: 0 auto;
        padding: 0 10px 20px;
    }
}
/* footer */
footer {
    text-align: center;
    background-image: url(../img/back-koi_l.jpg);
}
.footer-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
}
.icon img {
    width: 30px;
}
footer img {
    width: 200px;
}
ul {
    display: flex;
    justify-content: center;
    gap: 20px;
}
ul a {
    color: #5b3626;
    transition: 0.5s;
}
ul a:hover {
    opacity: 0.7;
}
.copylight p {
    padding: 15px 0 10px;
}
/* topへ戻る */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: block;
}
.back-to-top img {
    width: 80px;
    height: 80px;
    transition: 0.5s;
}
.back-to-top img:hover {
    opacity: 0.8;
}
