/* General Styles */
*{
    list-style-type: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    padding: 0;
}
img{
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    color: #4b2f20;
    /* background-color: #fdf9f4; */
    line-height: 1.8;

}
a{
    color: #4b2f20;
}
a:hover{
    opacity: 0.5;
}



/* スマホ対応 */
@media (max-width: 768px) {

    .philosophy-header img{
        padding: 15px;
        margin: 10px auto;
        max-width: 100%; /* 幅を画面全体に合わせる */
        min-height: 200px; /* 最小高さを調整 */
    }
    
    #access iframe{
        max-width: 80vw;
    }
    #access p,#access div{
        text-align: left;
    }
    

    .arias-header img{
        padding: 15px;
        margin: 10px auto;
        max-width: 100%; /* 幅を画面全体に合わせる */
        min-height: 200px; /* 最小高さを調整 */
    }
    .aboutUs dd{
        text-decoration: underline;
        margin-top: 20px;
        font-weight: bold;
    }
    .aboutUs div img{
        width: 300px;
        height: 250px;
        border-radius: 63px;
    }
    .option img{
        max-width: 385px;
        object-fit: contain;
    }

    .offer-banner a{
        position: absolute;
        top: 10%;
        right: 2%;
        transform: scale(0.6);
        max-width: 32%;
    }
    .offer-banner img{
        background-color: rgba(255, 255, 255, 0.5);
        padding: 3px;
        border-radius: 10px;
    }


}

/* PC対応 */
@media screen and (min-width: 768px) {

    #philo_service{
        max-width: 1000px;
        display: flex;
        margin-top: 50px;
        margin-bottom: 50px;
        align-items: center;
    }
    #anzenseiFlex{
        max-width: 1000px;
        display: flex;
        margin-top: 50px;
        margin-bottom: 50px;
        align-items: center;
    }
    #gentleFlex{
        max-width: 1000px;
        display: flex;
        margin-top: 50px;
        margin-bottom: 50px;
        align-items: center;
    }

    #specialPrice{
        margin-top: 50px;
        display: flex;
        max-width: 1000px;
        flex-wrap: wrap; /* 要素を折り返し可能にする */
        gap: 50px; /* 要素間のスペース */
        align-items: center;
    }

    .option{
        display: flex;
        max-width: 900px;
        align-items: flex-start;;
        gap: 30px;
        margin-top: 15px;
    }


    .aboutUs dl{
        display: grid;
        grid-template-columns: 25% 75%;
        row-gap: 15px;
        align-items: center;
        max-width: 1000px;
        text-align: center;
        padding: 0 200px;
        margin-bottom: 100px;
    
    }
    .aboutUs dd{
        font-weight: bold;
    }
    
    .aboutUs dt{
        text-align: right; /* 定義を右揃え */

    }
    #topicsFlex{
        display: flex;
        flex-direction: column; /* 縦並びに配置 */
        align-items: flex-start; /* 左揃え */
        gap: 20px; /* 各ニュース項目の間隔を設定 */
        padding: 10px; /* コンテナ全体に余白を追加 */
        max-width: 1000px;
    }
    .topics {
        display: flex;
        justify-content: space-between; /* タイトルと日時を左右に配置 */
        align-items: center; /* 縦方向で中央揃え */
        width: 100%; /* コンテナの幅いっぱいに広げる */
        border-bottom: 1px dotted #ccc; /* 項目の区切り線（必要に応じて削除） */
        padding: 10px 0; /* 各項目の上下余白 */
    }
    .topics time{
        margin-left: auto; /* タイトルの右側に日付を配置 */
    }

    .offer-banner a{
        position: absolute;
        top: 88%;
        right: 12%;
        max-width: 32%;
    }
    .offer-banner img{
        background-color: rgba(255, 255, 255, 0.5);
        padding: 3px;
        border-radius: 10px;
    }
    
  }
  


/* Header */
.header {
    background: linear-gradient(to bottom,#482217,#692d1c);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header a{
    display: block;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#logo{
    max-width: 100px;

}

.menu-icon {
    font-size: 59px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto; /* メニューアイコンを右端に配置 */
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #5c3826;
    border-radius: 8px;
    padding: 15px;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 10px 0;
}

.mobile-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.mobile-menu.active {
    display: block;
}

/* Home */

.home h1{
    font-size: 16px;
    font-family: 'Kaisei Tokumin',serif;
    text-align: center;
    margin-top: 25px;
}
#homePP {
    width: 100%;
    height: 100px;
    font-family: 'Kaisei Tokumin',serif;
    text-align: center;
    position: relative;
    padding: 20px;
    z-index: 1; /* 背景より前面に表示 */
}
#homeP p{
    font-size: 21px;
}

.home #homeP::before {
    content: '';
    position: absolute;
    width: 105%;
    height: 105%;
    background-image: url('images/kirakira.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    z-index: -1;
    display: block;
    top: 20px;
    left: 114px;
}

#topIllust {
    position: relative;
    width: 79%;
    padding-top: 35.25%;
    background-image: url('images/topIllust1.png'); /* 初期画像 */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: none;
    width: 100%;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    user-select: none;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #717171;
}



/* Section */
.section {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-family: "Leander Script Pro",serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.divider {
    width: 240px;
    height: 37px;
    background-image:url(images/underh2.png);
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -20px;
    margin-bottom: 30px;
}

#underTop{
    margin-top: 150px;

}


/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
}

/* Philosophy Section */


/* Topics */



/* Content */
.philosophy-header{
    margin-top: 70px;
}

.philosophy-content p {
    font-size: 18px;
    line-height: 1.8;
    margin: 20px 0;
    width: auto;
    height: 100%; /* 高さを親要素にフィット */
    object-fit: contain; /* アスペクト比を保ちながら収める */
}

#philosophy p{
    margin-top:50px;
    text-align: center;
    font-weight: bold;
    text-decoration: underline dotted;
}

#philosophy span{
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

#contact p{
    font-size: 24px;
}





/* See More Link */
.see-more {
    margin-top: 1px;
    text-align: center;

}

.see-more a {
    text-decoration: none;
    font-family: 'Leander Script Pro', sans-serif;
    color: #e3d6c9;
    font-size:37px;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s;
    
}

.see-more a:hover {
    color: #ffffff;
}

.see-more::after{
    content: "";
    display: block;
    width: 145px;
    height: 13px;
    background-image: url(images/seemoreLine.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    margin-top: -20px;
    margin-bottom: 100px;
}


.title_div{
    font-weight: bold;
    font-size: 22px;
    position: relative;
    margin-top: 60px;
    margin-bottom: 20px;
}

.title_div::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -5px; /* 親要素の底辺から少し下に配置 */
    left: 50%; /* 左端を親要素の中央に揃える */
    transform: translateX(-50%); /* 幅の半分だけ左にずらして中央揃えにする */
    width: 300px; /* アンダーラインの幅 */
    height: 3px; /* アンダーラインの太さ */
    background-color: #e3d6c9; /* アンダーラインの色 */
}


.title_div img{
    margin-top: 20px;
}


table{
    font-family: "小塚ゴシック Pr6N",serif;
    border-spacing: 30px;
    font-size: 20px;
}
table th{
    font-size: 14px;
}

.phone{
    font-family: "Leander Script Pro",serif;
    font-size: 30px;
}

/* access */






/* Footer */
.footer {
    background: linear-gradient(to bottom,#482217,#692d1c);
    color: #e3d6c9;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}
#footerSem{
    max-width: 600px;
}

#footerContainer{
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

#footerRight p{
    font-size: 18px;
    font-style: italic;


}

/* styles.css */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* philosophy.html */


.philo_service_div{
    max-width: 450px;
    background-image: url(images/nanobuble_back.png);
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    text-align: left;
}

#philo_service span{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

#anzensei{
    margin-top: 50px;
}








/* price.html */

table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
th {
    background-color: #f4f4f4;
    font-weight: bold;
    font-size: 9px;
}

td {
    font-size: 14px;

}
.category {
    font-weight: bold;
    text-align: center;
}
.category-small {
    background-color: #e0f7fa;
}
.category-medium {
    background-color: #ffe0b2;
}

#priceMemo{
    margin-top: 20px;
    max-width: 800px;
    font-size: 12px;
    text-align: left;
}

#priceMemo2{
    color: #692d1c;
    margin-top: 20px;
    text-decoration: underline solid;
}



.specialPriceS{
    margin-top: 20px;
    max-width: 450px;
    text-align: left;

}
.specialPriceS div img{
    max-width: 300px;
    max-height: 200px;
    margin-bottom: 30px;
}

.specialPriceS :nth-of-type(2){
    font-weight: bold;
    font-size: larger;
    margin-top: 10px;

}

.specialPriceS :nth-of-type(3){
    font-size: 14px;
    margin-top: 15px;
}


/* reserve.html */

#reserveSem{
    max-width: 800px;
    text-align: left;
    font-size: 14px;

}

#reserveSem div{
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}


#reserveSem li::before{
    content: "";
    display: inline-block;
    background-image: url(images/checkbox.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 53px;
    height: 37px;
    margin-right: 10px;
    margin-top: 10px;
    vertical-align: bottom;
}

#phone{
    font-size: 30px;
}

#reserveMemo{
    font-weight: lighter;
}

.reserveTime{
    font-weight: bold;
    font-size: 18px;
    margin-top:10px
}

/* option.html */


.optionTitle{
    font-size: 24px;
    margin-top: 50px;
    margin-bottom: 5px;
    font-weight: 500;
}

.optionPrice{
    font-size: 14px;
    text-decoration: underline double #5c3826;
    margin-bottom: 20px;

}

.optionS1{
    text-align: left;
}

.optionS2{
    text-align: left;
    font-size: 14px;
}


/* company.html */

.aboutUs div{
    max-width: 600px;
    text-align: center;
    margin-bottom: 50px;
    font-size: 19px;
}

.form-wrapper {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #4b2f20;
}

.form-wrapper form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

.form-wrapper form input,
.form-wrapper form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-wrapper form button {
    width: 100%;
    background-color: #692d1c;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
}

.form-wrapper form button:hover {
    background-color: #4b2f20;
}