body{
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  letter-spacing: 0.05em ;
  min-width: 1000px;
    -webkit-text-size-adjust: 100%;
    margin:0;
  /* overflow-x: hidden;追記 */
}

.sp-none
{
    display: none;
}
/*ファーストビュー背景*/
header {
    clear: both;
    width: 100%;
    border-bottom: 5px solid #25c49f;
    max-height: 800px;
    height: 100vh;
    background: url(img/25274831_m.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

/*ファーストビュー上のボタン*/
.logo {
    text-align: center;
    margin: auto;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.point {
    text-align: center;
    margin: auto;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
}

.point img {
    margin: 0 20px;
}

/*グロナビの設定*/
.g-nav {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, .9);
    color: #333;
    bottom: 0;
}

.g-nav ul  {
    display: flex;
    gap: 10px;
    list-style: none;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0;
}

.g-nav ul li {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

/*ホバー時にフォントカラー変更*/
.g-nav ul li :hover {
    color: #9c9c9c;
    cursor:pointer;
}

.g-nav ul li a {
    text-decoration: none;
    color:#333;
    font-size: 0.9em;
    font-weight: bold;
}

/*ハンバーガーメニュー*/
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #ffa71c;
    border-radius: 50%;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);

}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}

/*ハンバーガーメニュー内*/
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #25c49f;
    transition: all 0.5s;/*アニメーション設定*/

    overflow: auto;
}

.menu-content ul {
    /* padding: 70px 10px 0; */
    padding: 70px 10px 70px;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    margin: 0 30px;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 20px 30px;
    position: relative;
    font-size: 18px;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 40px;
    top: 28px;
}


/*院長のご挨拶の設定*/
.wrapper-top {
    display: flex;
    width: 1000px;
    margin: 0 auto;
    padding-top: 50px;
}

.one-word{
    text-align: center;
    padding: 90px 50px 0 30px;
    order: 1;
}

.wrapper-top-pict {
    order: 2;
}


/*診療時間の設定*/
/*背景の設定*/
.background {
    background-image: url(img/background1_20251120.jpg);
    /*background-size: 1280px 384px;*/
    width: 100%;
    /*height: 470px;*/
    margin-top: 20px;
    padding: 70px 0;
}

/*白角丸の設定*/
.medical-hours {
    width: 1000px;
    /*height:340px;*/
    padding:30px 0;
    margin: 0 auto;
    border-radius: 20px;
    font-weight: 700;
    background-color:white;
}

/* 診療時間のフォント設定 */
.medical-hours p {
    font-size: 25px;
    text-align: center;
}
.medical-hours p span {
    color:#25c49f;
    display: block;
    font-size: 14px;
    margin-top: 1em;
}
.medical-hours div {
    font-size: 1em;
    margin: 1em 0;
    text-align: center;
}

/* グラフのボーダーの設定 */
table {
    border-collapse: collapse;
    margin: 30px 50px;
}

/* グラフ内の数字や線の設定 */
table td {
    padding: 22px 33px;
    text-align: center;
    border-color: gray;
    border-style: solid;
    border-width: 1px 0;
    line-height: 1.3;
}

span {
    color:#25c49f;
}

/* 定休日 */
p2{
    margin-left: 27.5em;
}
/*診療時間の設定終わり*/

/*初めての方へ*/
.section2 {
    width: 1000px;
    margin: 50px auto;
    display: flex;
}


.first-person  {
    margin-right: 30px;
}

.li2 {
    font-size: 27px;
    font-weight: 700;
    color: #25c49f;
    margin-bottom: 50px;
}

.first-person a {
    text-decoration-line: none;
}

p3 span {
    border-radius: 5px ;
    background: #25c49f;
    box-shadow: 2px 2px 2px #9c9c9c;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    transition: 0.3s;
}

p3 span:hover {
    background-color: #89ddc9; /* 背景色 */
    cursor:pointer
}


/*施術のご案内*/
.treatment  {
    margin-right: 30px;
    margin-top: 100px;
}

.li3 {
    font-size: 27px;
    font-weight: 700;
    color: #25c49f;
    margin-bottom: 50px;
}

.treatment a {
    text-decoration-line: none;
}

p4 span {
    border-radius: 5px ;
    background: #25c49f;
    box-shadow: 2px 2px 2px #9c9c9c;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    transition: 0.3s;
}

p4 span:hover {
    background-color: #89ddc9; /* 背景色 */
    cursor:pointer
}

.pict-pc {
    display: block !important;
}
.pict-res {
    display: none !important;
}

/*３項目のボタン　事故にあわれた方へ、保険のご案内、料金のご案内*/
.background2 {
    background-color: #d6f4ed;
}

.section3 {
    width : 1000px;
    margin:50px auto;
    display: flex;
    padding-top: 100px;
    padding-bottom: 100px;
}

.section3 a {
    text-decoration-line: none;
}

/*３項目のボタン　事故にあわれた方へ*/
.li4, .li5, .li6 {
    list-style: none;
    text-align: center;
    padding: 30px;
    width: 260px;
}

.li4 {
    font-size: 22px;
    font-weight: 700;
    color: #25c49f;
    background: white;
    border: solid 1px #ffffff;
    box-shadow: 2px 2px 2px #c0c0c0;
    transition: 0.3s;

}

.li4:hover {
    color: #89ddc9; /* 文字色 */
    cursor:pointer
}

/*３項目のボタン 保険のご案内*/
.li5 {
    font-size: 22px;
    font-weight: 700;
    color: #25c49f;
    background: white;
    border: solid 1px #ffffff;
    margin-left: 20px;
    box-shadow: 2px 2px 2px #c0c0c0;
    transition: 0.3s;
}

.li5:hover {
    color: #89ddc9; /* 文字色 */
    cursor:pointer
}

/*３項目のボタン　料金のご案内*/
.li6 {
    font-size: 22px;
    font-weight: 700;
    color: #25c49f;
    background: white;
    border: solid 1px #ffffff;
    margin-left: 20px;
    box-shadow: 2px 2px 2px #c0c0c0;
    transition: 0.3s;
}

.li6:hover {
    color: #89ddc9; /* 文字色 */
    cursor:pointer
}


/*アクセスの設定*/
.li7 {
    width : 1000px;
    margin: 20px auto;
    font-size: 27px;
    font-weight: 700;
    color: #25c49f;
}

.section4 {
    width : 1000px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}

.access {
    width: 50%;
}
.section4 > img
{
    width: 45%;
}
.section4 .buttons
{
    display: flex;
    justify-content: flex-end;
}
.section4 > .buttons
{
    display: none; /*スマホのみ表示*/
}
.section4 .buttons a
{
    border-radius: 5px ;
    box-shadow: 2px 2px 2px #9c9c9c;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    padding: 10px 20px;
    transition: 0.3s;
    text-decoration: none;
    word-break: keep-all;
    white-space: pre;
    width: fit-content;
}
.section4 .buttons a:first-of-type
{
    background: #ffa71c;
    margin-right: 20px;
}
.section4 .buttons a:first-of-type:hover
{
    background-color: #ffce81; /* 背景色 */
}
.section4 .buttons a:nth-of-type(2)
{
    background: #1477e7;
}
.section4 .buttons a:nth-of-type(2):hover
{
    background-color: #6ba6e9;
}
.access img
{
    margin-top: 2em;
}



/* バナー */
.banner
{
    margin: 4em 0 0 0;
    text-align: center;
}
.banner img
{
    max-width: 75%;
    width: 600px;
}



/* お問い合わせ */
.otoiawase
{
    background: url('img/bg-otoiawase.png');
    /*background-size: 29px 24px;*/
    box-sizing: border-box;
    margin: 2em 0 0 0;
    padding: 40px 0;
}
.otoiawase dl
{
    box-sizing: border-box;
    font-weight: bold;
    list-style: none;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0;
    text-align: center;
}
.otoiawase dt
{
    background: #25c49f;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    font-size: 18px;
    margin: 0;
    padding: 20px;
}
.otoiawase dd
{
    align-items: center;
    background: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-sizing: border-box;
    color: #000;
    display: flex;
    margin: 0;
    padding: 20px;
}
.otoiawase dd .comment
{
    font-size: 12px;
    width: 50%;
}
.otoiawase dd .comment div
{
    display: inline-block;
    text-align: left;
}
.otoiawase dd .tel
{
    font-size: 30px;
    width: 50%;
}


/*フッターの設定*/

.footer-background{
    background-color: #25c49f;
    /*margin-top :50px;*/
    padding:40px 0 20px 0;
}
.footer {
    width : 1000px;
    margin: 0 auto;
}

.logo3 {
    margin-left: 25em;
}

.address {
    margin-left: 4em;
    color: white;
    text-align: center;
}

.border-bottom2 {
    border-bottom: 1px solid #ffffff;
}

.copyright {
    margin-left: 32.5em;
    color: white;
    font-size: 10px;
}



/* AGA鍼治療バナー追加 20251128 */

.aga-acupuncture-content
{
    width: 1000px;
    margin: 50px auto;
    background: #FFF5E7;
    border-radius: 10px;
    padding-top: 30px;
    position: relative;
}
.aga-acupuncture
{
    width: 90%;
    margin: 0 auto;
    border-radius: 10px;

    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 20px;
    padding-bottom: 20px;
    position: relative;
}
.aga-acupuncture .aga-acupuncture_img
{
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.aga-acupuncture .aga-acupuncture_img img
{
    width: 100%;
    display: block;
}

.aga-acupuncture-content a
{
    border-radius: 0 0 10px 10px;
    background: url("img/aga/dot-bg_01.png");
    /* box-shadow: 2px 2px 2px #9c9c9c; */
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding: 15px 0px;
    transition: 0.3s;
    text-decoration: none;
    width: 100%;
    display: block;
    text-align: center;
}
.aga-acupuncture-content a:hover
{
    /* background-color: rgb(137, 221, 201); */
    opacity: 0.8;
    cursor: pointer;
}
.aga-acupuncture_title 
{
    display: flex;
    align-items: flex-end;
    gap: 25px;
}
.aga-acupuncture_title  img
{
    height: 65px;
    width: auto;
}
.aga-acupuncture_title span.sub-text
{
    background: #fff;
    border: 1px solid #3D312D;
    border-radius: 50px;
    color: #3D312D;
    width: 100%;
    display: inline-block;
    padding:2px 10px;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: bold;
}
span.sub-text_02
{
    font-size: 18px;
    margin: 8px 0 7px 0 ;
    display: inline-block;
    /* width: 100%; */
    border-bottom: 2px solid #25c49f;
    /* text-decoration: underline; */
    padding-bottom: 5px;
    font-weight: bold;
    line-height: 1;
}
.aga-acupuncture_title_right
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.aga-acupuncture_title h3
{
    font-size: 30px;
    margin: 0;
    margin-top: 1px;
    /* letter-spacing: 3px; */
    line-height: 1;
    text-align: center;
    color: #3D312D;
}
p.aga-acupuncture_text
{
    margin-bottom: 30px;
    /* color: #fff;s */
}
/* .absolute-text
{
    position: absolute;
    top: -8%;
    left: -2%;
    background: #ffff;
    background: #25c49f;
    padding: 10px 15px;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transform: rotate(-10deg);
} */




/* ここからレスポンシブの調整。 ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。
ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。
ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。
ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。
ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。ここからレスポンシブの調整。*/



/* PC用のCSSはメディアクエリの外に記述する */
@media screen and(max-width:959px) {
}


/* 959px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 480px) {
    /* 480px以下に適用されるCSS（スマホ用） */
    body {
        font-size: 16px;
        width: auto;/*???*/
        min-width: 0;
    }
    .sp-none
{
    display: block;
}
    /*???*/
    .hidden {
        overflow: hidden;
    }

    header {
        width: 100vw;
        border-bottom: none;
        max-height: 150vw;
        height: 100vh;
    }

    /*グロナビを削除*/
    .g-nav {
        display: none;
    }

    /*ハンバーガーメニューの調整*/
    .hamburger {
        width: 20vw;
        height: 20vw;
    }

    .menu1 {
        margin-top: -1vw;
    }

    .menu2 {
        margin-top: 2.5vw;
    }

    .menu3 {
        margin-top: 6vw;
    }

    /*ロゴの調整*/
    .logo {
        top: 50%;
        left:42vw;
    }

    .logo img {
        width: 130%;
    }

    /*３つのポイントの調整*/
    .point {
        display: flex;
        margin: 0 auto;
        height: 20%;
        top: 85%;
        /*left: 51vw;*/
        justify-content: space-around;
    }

    .point img {
        height: 29vw;
        margin: 0;
        padding: 0;
        width: 29vw;
    }
    /*３つのポイントの調整*/

    /*ご挨拶と院長写真*/
    .wrapper-top{
        width:100vw;
        display: block;
        margin: 0;
    }

    .wrapper-top-pict{
        width: 90vw;
        margin-left: 2vw;
    }

    .one-word {
        margin-top: -18vw;
        margin-bottom: 12vw;
        line-height: 25px;
        letter-spacing: -1px;
        padding: 21vw 5vw 0 5vw;
    }
    /*ご挨拶と院長写真*/

    /*診療時間*/
    .background {
        box-sizing: border-box;
        width:100vw;
        /*height: 70vw;*/
        padding: 12vw 0;
    }

    .medical-hours {
        width: 95%;
        /*height: 54vw;*/
        /*margin-top: -12vw;*/
    }

    /* 診療時間のフォント設定 */
    p1{
        font-size: 20px;
        margin-left: 37vw;
    }

    /* グラフのボーダーの設定 */
    table {
        margin: 4vw auto;
        width: 90%;
    }

    /* グラフ内の数字や線の設定 */
    table td {
        padding: 10px 5px;
        font-size: 11px;
    }

    /* 定休日 */
    p2{
        margin: 0 35vw;
        font-size: 11px;
    }
    /*診療時間の設定おわり*/



    .section2 {
        width: 95vw;
        display: block;
        margin: 10vw 2.5vw;
    }

    /*初めての方へ*/
    .li2 {
        margin-bottom: 5vw;
        letter-spacing: -1px;
        font-size: 24px;
        padding-left: 2.5vw;
    }

    .li2-word {
        margin: 0 2vw;
    }

    .first-person {
        margin-right: 0;
    }

    p3 span {
        padding: 3vw 29vw;
        margin-left: 1.5vw;
    }

    /*施術のご案内*/
    .treatment {
        margin-right: 0;
        margin-top: 13.5vw;
    }

    .li3 {
        margin-bottom: 5vw;
        letter-spacing: -1px;
        font-size: 24px;
        padding-left: 2.5vw;
    }

    p4 span {
        padding: 3vw 29vw;
        margin-left: 1.5vw;
    }

    .pict-pc {
        display: none !important;
    }
    .pict-res {
        display: block !important;
        width: 90vw;
        margin-top: 50px;
    }

    .pict-res {
        width: 94vw;
        margin-top: 14vw;
    }


    /*３項目のボタン　事故にあわれた方へ、保険のご案内、料金のご案内*/
    .background2 {
        width:100vw;
        height: 450px;
    }

    .section3 {
        display: block;
    }

    /*３項目のボタン　事故にあわれた方へ*/
    .li4,.li5, .li6 {
        font-size: 20px;
        margin: 30px 1em;
        width: 74vw
    }

    .li4 {
        margin-top: -50px;
    }

    /*アクセス*/
    .access2 {
        position: relative;
        width: 100vw;
    }

    /*アクセスの文字*/
    .li7 {
        list-style: none;
        margin: 10vw auto 0;
        padding: 0;
        width: 90vw;
    }

    /*住所とマップイラストとショップ写真のflexを削除*/
    .section4 {
        display: block;
        margin: 0 auto;
        width: 90vw;
    }
    .section4 .access,
    .section4 img
    {
        width: 100%;
    }
    .section4 img
    {
        margin: 1em 0 0 0;
    }
    .section4 .access .buttons
    {
        display: none; /*スマホで非表示*/
    }
    .section4 > .buttons
    {
        display: block; /*スマホのみ表示*/
    }
    .section4 > .buttons a
    {
        margin-top: 1em;
        text-align: center;
        width: 100%;
    }
    
    
    /* バナー */
    .banner
    {
        margin: 2em auto;
        width: 90vw;
    }
    .banner a
    {
        display: block;
        margin: 1em 0 0 0;
    }
    .banner img
    {
        max-width: 100%;
        width: 100%;
    }
    
    
    /* お問い合わせ */
    .otoiawase dl
    {
        width: 90vw;
    }
    .otoiawase dd
    {
        flex-wrap: wrap;
    }
    .otoiawase dd .comment
    {
        font-size: 0.6em;
        width: 100%;
    }
    .otoiawase dd .tel
    {
        font-size: 1.5em;
        margin: 10px 0 0 0;
        width: 100%;
    }


    /*フッター*/
    /*フッターの背景*/
    .footer-background {
        width:100vw;
        height: 50vw;
        /*margin-top: 218vw;*/
        padding-top: 7vw;
    }

    .footer {
        margin-left: -81.5vw;
        width:0;
    }

    .logo3 {
        margin-left: 101vw;
    }

    .address {
        font-size: 12px;
        width:90vw;
        margin-left: 86vw;
    }

    .border-bottom2{
        margin: 5vw;
        width:90vw;
        margin-left: 86vw;
    }

    .copyright {
        font-size: 7px;
        margin-left: 89vw;
        width:90vw;

    }




    /* AGA鍼治療バナー追加 20251128 */
    .aga-acupuncture-content
    {
        width: 90%;
    }
    .aga-acupuncture
    {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    p.aga-acupuncture_text
    {
        margin-bottom: 10px;
        margin-top: 15px;
    }
    .aga-acupuncture-content a
    {
        font-size: 16px;
        padding: 12px 0px;
    }
    .aga-acupuncture_title h3
    {
        font-size: 26px;
        line-height: 1.2;
    }
    .aga-acupuncture_title img
    {
        height: 60px;
    }
    .aga-acupuncture_title
    {
        gap: 15px;
    }
}
