@charset "UTF-8";





/* 全体設定 */
body {
    background-color: #fcf7ef;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #5a4a42;
    line-height: 1.8;
}

h2 {
    font-weight: bold;
}



/* コンテンツ幅 */
.container_all {
    max-width: 1080px;
    margin: 0 auto 0;
    padding: 0 40px;
}


/* 画像全体設定 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;

}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up-active {
    opacity: 1;
    transform: translateY(0);

}

/* navメニュー */



nav a:hover {
    border-bottom: 2px solid #ddbea9;

}

/* ナビメニュー　ハンバーガー非表示 */
.hamburger {
    display: none;
}

.menu {
    display: none;
}

/* #menu-toggle{
    display: none;
}

.menu-icon{
    display: block;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 10;
} */



/* ブログの設定 */
.blogtitle {
    font-weight: bold;

}

/* 相談ページ */

.soudan dl dt {
    margin-bottom: 20px;


}

.soudan dl dd {
    margin-bottom: 10px;
}

.soudan dl {

    margin-bottom: 30px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* テキストボックスの設定 */
.textbox {
    margin-top: 100px;

}


/* リンクのデザイン */
.kochira {
    position: relative;
    display: block;
    background-color: #ddbea9;
    padding: 10px;
    margin-top: 50px;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.6s ease;
}

.kochira::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fceae8, #ddbea9, #b99286);
    opacity: 0;
    transition: opacity 1s ease;
    z-index: -1;
}

.kochira:hover::before {
    opacity: 1;

}


/* トップ画像設定 */
/* ★画像の下だけ丸める方法を確認する */

.wrapper_top {
    position: relative;
    display: inline-block;
}

.wrapper_top img {
    border-radius: 0 0 5px;
    margin-top: 50px;

}

.rogo_img {
    position: absolute;
    z-index: 50;
    left: 2rem;
    bottom: 2rem;
    width: clamp(80px, 10vw, 150px);
    height: auto;
    object-fit: contain;

}



.wrapper_top #mozi1,
.wrapper_top #mozi2 {
    font-size: clamp(20px, 4vw, 36px);

    line-height: 1;
    border-radius: 2px;
    padding: 10px;
    background-color: #f5e1da;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: absolute;
    z-index: 50;
}

.wrapper_top #mozi1 {
    top: clamp(80px, 20vh, 150px);
    right: clamp(10px, 12vw, 30px)
}

.wrapper_top #mozi2 {
    top: clamp(120px, 25vh, 210px);
    right: clamp(60px, 12vw, 120px)
}



/* トップ画の字間 */
.wrapper_top #mozi1 span,
#mozi2 span {
    padding: 5px;
}


/* #kokoro{
    position: absolute;
    top: 0;
    right:30px;
    z-index: 999;
}

#yasashii{
    position: absolute;

} */

/* ヘッダーの設定 */
header {
    background-color: #a3b18a;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

header nav {
    max-width: 1080px;
    margin: 0 auto 0;
    padding: 25px 40px;
}


header nav ul {
    display: flex;
    justify-content: space-between;
}

h2 {
    font-size: 24px;
    padding: 10px 0;
}

p {
    font-size: 20px;
}

dd {
    font-size: 20px;

}




/* aboutパートの写真をずらす設定 */
.zurashi {
    display: flex;
    justify-content: space-between;
    height: auto;
    margin-top: 100px;
    margin-bottom: 100px;


}

.zurashi01 {
    transform: translate(0, 150px);
}

.zurashi02 {
    transform: translate(0, -150px);
}


/* セクション内の配置設定 */

.wrapper_soroeru {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 150px;
    margin-bottom: 100px;
    height: auto;
    gap: 50px;


}

/* ブログならべる */
.blog {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 100px;

}

/* 右にある画像を右揃えにする */
.migizoroe {
    justify-self: end;

}


/* フッターの設定 */
footer {
    background-color: #a3b18a;


}

footer .wrapper_map {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 50px;
}

footer .wrapper_map div {
    padding-top: 100px;

}

/* 固定ヘッダー時リンク位置の余白調整 */
:root {
    /* ヘッダーの幅を指定する
    root=html　定義をする--の名前は任意 */
    --header-h: 80px;
}

html {
    /* アンカージャンプ時にヘッダー分だけ余白を確保する */
    scroll-padding-top: var(--header-h);

    /* トップから下がって来る動作もつける場合 */
    /* scroll-behavior: smooth; */
}

.map {
    width: clamp(200px, 50vw, 600px) !important;
    height: auto;
    aspect-ratio: 4/3;
    position: static;
    border: 0;
    object-fit: contain;


}

/* 個別ページ設定 */

.pink {
    margin-bottom: 20px;
    background-color: #ddbea9;
    padding-left: 10px;
}

/* 鍼灸治療　form */



form div input,
form div select,
.time {
    background-color: #f5e1da;
    border: 2px solid #dfd1c5;
    border-radius: 4px;
    display: flex;
    padding: 8px 2px 5px 5px;

}

form div textarea {
    background-color: #f5e1da;
    border: 2px solid #dfd1c5;
    border-radius: 4px;
    padding: 5px 2px 5px 5px;
    max-width: 1000px;
    width: 100%;
}

form div {
    margin-bottom: 20px;
}

.time {
    margin-bottom: 20px;
}


.formtext {
    margin-bottom: 40px;
}

.formtext p {
    font-size: 16px;
}

.send_btn {
    padding: 5px 2px 5px 5px;
    position: relative;
    display: block;
    background: linear-gradient(to right, #fceae8, #ddbea9, #b99286);
    background-size: 200% auto;
    transition: background-position 0.6s ease;

}

form label p {
    font-size: 16px;
}

/* formの個人情報モーダル設定 */
.kozinzyouhou_link {
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);


}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.agree {
    display: flex;
    gap: 10px;


}

.kozinzyouhou_link:hover {
    color: #ddbea9;
}


.send_btn:hover {
    background-position: right center;
}

.send_btn:hover::before {
    opacity: 1;
}

form .iframesize {
    width: 100%;
    height: 400px;
}

/* 商品紹介ページ */
.shoukai h2 {
    font-size: 30px;
}

.shoukai .wrapper_soroeru .textbox {
    margin-top: 0px;
}

.shoukai h3 {
    font-weight: bold;
}

.shoukai h3,
.shoukai p,
.shoukai dt,
.shoukai dd,
.shoukai li {
    font-size: 20px;
}

.shoukai p {
    margin-bottom: 10px;
}

/* 会社情報ページ */
/* テーブルのデザイン */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;

}

tr {
    border: 2px solid #b99286;
    padding: 10px;

}

th {
    border: 2px solid #b99286;
    padding: 10px;
    text-align: center;
}

td {
    border: 2px solid #b99286;
    padding: 10px;

}

th:nth-child(1),
td:nth-child(1) {
    min-width: 6em;
    width: auto;
    white-space: nowrap;
}

.kaishazyouhou p {
    font-size: 20px;

}

.grid_gazou {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}


.grid_gazou img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
}


/* ブログ一覧ページ設定 */
.blog_ichiran .textbox {

    margin-top: 20px;
    margin-bottom: 50px;

}

.blog_ichiran .textbox h2 {
    font-size: 24px;
}


.blog_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.blog_ichiran h2 {
    font-size: clamp(16px, 5vh, 20px);

}

.blog_ichiran p {
    font-size: clamp(14px, 5vh, 16px)
}

.blog_btn {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.blog_btn a {
    text-align: center;
    padding: 5px 2px 5px 5px;
    margin-top: 50px;
    position: relative;
    display: block;
    background: linear-gradient(to right, #fceae8, #ddbea9, #b99286);
    background-size: 200% auto;
    transition: background-position 0.6s ease;
}

.blog_btn a:hover {
    background-position: right center;
}



.blog_btn a:hover::before {
    opacity: 1;
}

.campaign {
    margin-top: 50px;
    margin-bottom: 50px;
    border-top: 2px dashed #a3b18a;
    border-bottom: 2px dashed #a3b18a;
    padding-bottom: 10px;

}

article {
    margin-bottom: 100px;
}


/* Thankyouページの設定 */

.kanryou .textbox {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.kanryou h1 {

    font-size: 20px;
    font-weight: bold;
}

.kanryou p {
    margin: 30px 0;
}

.kanryou .send_btn {
    margin-top: 30px;
    margin-bottom: 50px;
}

/* ブログの個別ページ設定 */
.blog_kobetu h1 {

    font-size: 24px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 30px;
}

.blog_kobetu h2 {
    font-weight: normal;
    font-size: 20px;
}

.blog_kobetu p {
    font-size: 20px;
}

.blog_kobetu dt,
.blog_kobetu dd {
    font-weight: normal;
    font-size: 20px;
}




/* 採用ページ設定 */
.wrapper_bosyuu {
    border-top: 2px dashed #a3b18a;
    border-bottom: 2px dashed #a3b18a;
    padding: 20px;
    margin: 50px 0;
}

.wrapper_bosyuu h2 {
    margin-top: 30px;
}

.wrapper_bosyuu dt,
.wrapper_bosyuu dd,
.wrapper_bosyuu li,
.wrapper_bosyuu li {
    font-size: 20px;

}

.wrapper_bosyuu .shokugyou h3 {
    font-weight: bold;
    font-size: 20px;
}

.wrapper_bosyuu dl {
    display: flex;
    margin-bottom: 0;

}

.shokugyou {
    margin-bottom: 30px;
}

@media (max-width:778px) {

    .wrapper_top #mozi1,
    .wrapper_top #mozi2 {
        display: none;

    }

    .pcnav {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
        position: relative;
    }

    .menu {
        display: none;
        list-style: none;
        padding: 10px;
        margin-top: 10px;
        background-color: rgba(255, 255, 255);
        border-radius: 5px;
        overflow: hidden;
        position: absolute;
        left: 0;
        top: 42px;
        width: 100%;
        z-index: 100;
    }

    .menu li a {
        display: block;
        padding: 10px;
        color: #5a4a42;
        text-decoration: none;
    }

    .menu li a:hover {
        background-color: #f5e1da;
    }






    .zurashi {
        display: block;
    }

    .zurashi01 {
        transform: none;
    }

    .zurashi02 {
        transform: none;
    }

    .wrapper_soroeru {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 30px;
        margin-bottom: 30px;

    }

    body .wrapper_soroeru.reverse {
        display: flex;
        flex-direction: column;
    }

    .blog {
        grid-template-columns: 1fr;
        gap: 100px;

    }

    .textbox {
        margin-top: 20px;

    }





    footer .wrapper_map {
        display: grid;
        grid-template-columns: 1fr;
    }

    footer .wrapper_map div {
        padding-top: 0px;
    }

    /* .shoukai .wrapper_soroeru {
        display: flex;
        flex-direction: column;
    } */

    .blog_wrapper {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
        gap: 50px;
    }




}






@media (max-width:375px) {

    /* .wrapper_top {
        height: auto;
        overflow: hidden;
    }

     .wrapper_top img {
        width: 100%;
        height: 50%;
        object-fit: cover;

    } 

 .wrapper_top .rogo_img{
      width: 150px;
      height: auto;
 left: 0;
    bottom:0;
         */

}