@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "HG行書体", monospace;
}

/* スマホ用 */
@media screen and (max-width: 375px) {
    /* スタイルを適用するCSS */
}

/* タブレット用 */
@media screen and (min-width: 376px) and (max-width: 768px) {
    /* スタイルを適用するCSS */
}

/* デスクトップ用 */
@media screen and (min-width: 769px) {
    /* スタイルを適用するCSS */
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

body {
    margin: 0 auto;
    max-width: 1360px;
}

#wrapper {
    width: 100%;
    height: 100%;
    background-color: #f5f0eb;
    margin: 0 auto;
}

.inner {
    width: 100%;
    height: 135px;
    margin:  auto;
    
}

h1 {
    width: 300px;
    height: 125px;
    padding: 0px 0 0 80px;

}

h1 img{
    width: auto;
    height: 125px;
}

ul li a {
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style-type: none;


}

nav ul li a {
    font-size: 1.7em;
    display: block;
    margin: 50px 15px;
}





h2 {
    text-align: center;
}

.kodawari {
    display: flex;
    
}

#access {
    display: flex;
}

#shindan,
#subvisual,
#access {
    max-width: 1160px;
    margin: 0 auto;
}

.container {
    background-color: #843f08;
}

#access {
    margin: 20px auto 0;
    display: flex;
    justify-content: space-around;
}

.add,
.map {

    font-size: 2em;
}

.map {
    width: 500px;
}

.add p {
    text-align: center;
}

#subvisual {
    color: #fff;
}

#subvisual h2,
#shindan h2 {
    padding: 20px;
    font-size: 3em;
}

.kodawari p {
    font-size: 2.3em;
    
}

#kodawari_2 {
    flex-direction: row-reverse;
}

#keyvisual,
.kodawari {
    display: flex;
    justify-content: center;
    /*左右中央揃え*/
    align-items: center;
    /*上下中央揃え*/
    
}
.kodawari img{
    border-radius: 20px;
}


#subvisual p,
#shindan {
    margin-bottom: -5px;
}

/*ここからは料金案内*/
#annai {
    text-align: center;
}

#annai h2 {
    font-size: 3em;
    border-bottom: 5px solid #843f08;
    display: inline-block;
}

.ryoukin_hyou caption {
    margin-top: 30px;
    font-size: 2em;
}

th,
td {
    width: 900px;
    height: 80px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid #333;
    font-size: 1.5em;
}

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

#ryoukin_waku {
    padding: 0 100px 50px;
    text-align: center;
}

#ryoukin_waku p {
    font-size: 2em;
}

/*ここからはご相談の流れ*/
.contents {
    width: 1100px;
    height: 300px;
    background-color: #cce198;
    margin: 40px auto;
    padding: 20px;
    border-radius: 30px;
}

img.img_contents {
    width: 300px;
    height: auto;
    border-radius: 50%;
}

.contents h2 {
    text-align: left;
    padding-left: 30px;
}

.contents h2,
.contents p {
    font-size: 30px;
    font-family: monospace;
    margin-bottom: 20px;
}

.c_contents {
    align-items: center;
    display: flex;
}

.c_contents p {
    padding-left: 30px;
}

#soudan_nagare {
    text-align: center;
}

#soudan_nagare h2 {
    font-size: 3em;
    border-bottom: 5px solid #843f08;
    display: inline-block;
    margin-top: 30px;
}

/*ここからは漢方について*/

#s_about_kanpo {
    text-align: center;
    padding-bottom: 10px;
}

#s_about_kanpo h2 {
    font-size: 3em;
    border-bottom: 5px solid #843f08;
    display: inline-block;
    margin-top: 30px;

}

#difference {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #e1a16d;

}

#difference p {
    font-family: monospace;
    font-size: 1.5em;
}

#difference h2 {font-size: 1.5em;
    margin: 20px;
}

#difference h3 {
    font-size: 2em;
    text-align: center;
    margin: 10px;
}

#d_top {
    margin: 20px auto;
    padding-bottom: 20px;
    border-radius: 30px;
    width: 80%;
    border: 1px solid #333;
    background-color: #f5f0eb;
}

.merit {
    font-size: 1em;
    background-color: #f5efd8;
    width: 50%;
    border-radius: 30px;
    border: 1px solid #333;

}

.merit_tag {
    text-align: center;
}

.d_contents {
    display: flex;
    justify-content: center;
}

img.img_d_contents {
    width: 300px;
    height: auto;
    border-radius: 50%;
}


/*ここからは漢方診断*/
#yakuzaishi {
    margin: 0 auto;
    width: 80%;
    height: 80%;
    position: relative;

}



#item {
    margin: 0 auto;
    width: 80%;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 3em;


}

#item li a,
.buy a {
    padding: 20px 20px;
    display: inline-block;
    color: #333;
    text-decoration: none;
    text-align: center;
    font-family: monospace;
    border-radius: 20px;
    background-color: #f2cbd2;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    width: 300px;
    margin: 30px 30px 30px 30px;
    font-size: 0.8em;
}

@media screen and (max-width:900px) {
    #item li {
        margin: 0 auto;
        font-size: 0.7em;
    }

    #item li a {
        margin: 10px;
    }
}

.buy a {
    background-color: #f18597;
    color: #f3ecec;
    font-size: 1.3em;
    width: 450px;
}

#item li a:hover,
.buy a:hover {
    background-color: #f0dce0;
    color: #b1afac;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}

/*#answer p{text-align: center;
    background-color: #f6f461;
    border-radius: 50px;
    padding: 20px 0;
    border: 5px solid #ed6981;
    font-size: 5em;
    margin: 0 auto;
    width: 50%;
    
}*/
#answer p {
    text-align: center;
    background-color: #f6f461;
    border-radius: 50px;
    padding: 20px;
    /* 上下左右のパディングを設定 */
    border: 5px solid #ed6981;
    font-size: 4em;
    margin: 0 auto;
    width: 60vw;
    /* 最大幅を設定 */
}



#answer {
    position: absolute;
    height: auto;
    left: -100%;
    /* 画面外の左側から開始 */
    top: 40%;
    transform: translate(-50%, -50%);
    /* 中央に移動 */
    animation: slideIn 5s forwards;
    /* アニメーションの時間と停止状態で終了 */
    animation-delay: 0s;
}

@keyframes slideIn {
    0% {
        left: -100%;
    }

    50% {
        left: 50%;
        /* 途中で中央に移動 */
    }

    99.9%,
    to {
        left: 50%;
        /* 真ん中に止まる */
    }
}

@-webkit-keyframes slideIn {
    0% {
        left: -100%;
    }

    50% {
        left: 50%;
        /* 途中で中央に移動 */
    }

    99.9%,
    to {
        left: 50%;
        /* 真ん中に止まる */
    }
}


footer{
    display: none;
}
#mainfooter {
    background-color: #843f08;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

nav{
    display: none;
}

#sp_menu {
    display: none;
}