html{
    font-size:100px;
    background-color:#fefafb;
    overflow-x: clip;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 768px){
    html{
    font-size:50px
    }
}

body{
    font-family:"kaisei-harunoumi","AB-yurumin regure",sans-serif;
    font-weight:400;
    font-size:medium;
    color:#daebd7;
    overflow-x: clip;
    padding: 0;
    margin: 0;
}

header{
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #faf0e6;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.header .logo{
    width:.5rem
}

@media screen and (max-width: 500px){
    header{
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 70px;
    left: 0;
    right: 0;
    background-color: #faf0e6;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    }
}

@keyframes UpAnime{
    from{
        opacity:1;
        transform:translateY(0)
    }
    to{
        opacity:0;
        transform:translateY(-100px)
    }
}

@keyframes DownAnime{
    from{
        opacity:0;
        transform:translateY(-100px)
    }
    
    to{
        opacity:1;
        transform:translateY(0)
    }
}

header .UpMove{
    position:fixed;
    width:100%;animation:
    UpAnime .5s forwards
}

.header .DownMove{
    position:fixed;
    width:100%;
    animation:DownAnime .5s forwards
}

.header-content{
    display:flex;
    align-items:center;
}

@media screen and (max-width: 500px) {
    .header-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        padding-top: 15px;
    }
}

.logo-link{
    display:block;
    margin-right:.1rem
}

.logo-link img {
    pointer-events: auto;
}

.header-title{
    font-size:35px;
    color:#3b6e82;
    padding-left: 120px;
    padding-top: 30px;
}

@media screen and (max-width: 450px){
    .header-title {
        font-size: 20px;
        padding-left: 40px;
        padding-top: 5px;
        text-align: left;
        line-height: 1.2;
    }
}

h1{
    font-size:.65rem;
    text-align:center;
    font-weight:normal;
}

h2{
    font-size:.55rem;
    text-align:center;
    margin:0 0 .2rem 0;
    font-weight:normal;
    color: #6bc8f2;
}

p{
    line-height:.3rem;
    font-size:.3rem;
    margin-top:.2rem;
}

img{
    pointer-events: none;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
}

.worries{
    padding:0px 20px;
    text-align:center;
}

.worries h2{
    font-size:28px;
    margin-bottom:50px;
    line-height:1.6;
}

.worries h2 span{
    color:#4aa3c2;
}

.worry-list{
    display:flex;
    justify-content:space-between;
    gap:30px;
    max-width:1000px;
    margin:0 auto 50px;
}

.worry-item, .worry-item2, .worry-item3{
    background:#fce4d6;
    border-radius:50%;
    width:220px;
    height:190px;
    padding:20px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
}

.worry-item .text, .worry-item2 .text, .worry-item3 .text{
    font-size:28px;
    line-height:1.6;
    padding-top: 30px;
}

.worry-item .text span, .worry-item2 .text span, .worry-item3 .text span{
    color:#e94c5a;
    font-weight:bold;
    display: inline;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

@media screen and (max-width: 500px) {
    .worry-list{
        gap:10px;
        max-width:1000px;
        margin:0 auto 20px;
    }

    .worry-item, .worry-item2, .worry-item3{
        width:150px;
        height:90px;
        padding:10px 10px;
    }

    .worry-item .text{
        font-size:15px;
        line-height:1.6;
        padding-top: 0px;
    }

    .worry-item2 .text{
        font-size:15px;
        line-height:1.6;
        padding-top: 7px;
    }

    .worry-item3 .text{
        font-size:15px;
        line-height:1.6;
        padding-top: 0px;
    }

    .worry-item .text span, .worry-item2 .text span, .worry-item3 .text span{
        white-space: nowrap;
        font-weight:bold;
        display: inline;
        line-height: 1.2;
        letter-spacing: -0.05em;
    }
}

.overview h2{
    font-size:70px;
    text-align:center;
    margin:0 0 .2rem 0;
    font-weight:normal;
    color: #6bc8f2;
}

@media screen and (max-width: 500px) {
    .overview h2{
        font-size:40px;
        margin:0;
    }
}

.service-card {
    background: #fff;
    border: 4px solid #f8cbca;
    border-radius: 16px;
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 線＋文字 */
.service-title-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 40px;
    text-align: center;
    transform: translateY(-50%);
}

/* 中央の文字 */
.service-title-line span {
    background: #fff6e5; 
    padding: 0 14px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

/* 枠線の横線 */
.service-title-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 5px;
    background: #f2c6b3;
    z-index: -1;
}

/* 中身 */
.service-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
}

.service-icon {
    font-size: 30px;
    background: #ffe2d4;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-text {
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
}

.service-text ul {
    display: inline-block;
    text-align: left;
    padding-left: 0.8em;
    margin-left: -0.3em;
    margin-top: 0;
    margin-bottom: 0;
}

.service-text li {
    text-align: left;
}

.service-text span {
    display: inline;
    text-align: left;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 500px) {
    .service-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .service-title-line {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding-top: 23px;
        text-align: center;
        transform: translateY(-50%);
    }

    .service-title-line span {
        padding: 0 14px;
        font-size: 18px;
        font-weight: bold;
    }

    .service-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-top: -10px;
        padding-top: 0px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-card {
        width: 48%;
        box-sizing: border-box;
        margin: 0;
        padding: 40px 15px;
        padding-bottom: 10px;
    }

    .service-text {
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
    }

    .service-text ul {
        padding-left: 17px;
        margin-left: -10px;
    }

    .service-text .linkText {
        white-space: nowrap;
    }
}

.hizuke{
    display: inline;
    color:red;
}

.gaiuoulogo{
    width: 43px;
    height: auto;
}

@media screen and (max-width: 500px) {
    .gaiuoulogo{
        width: 37px;
        height: auto;
    }
}
.img-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 10000;
}

.img-modal.show {
    opacity: 1;
    visibility: visible;
}

.img-modal .modal-content {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    transform: scale(0.95);
    overflow: auto;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease; /* 拡大縮小＋フェード */
}

.img-modal.show .modal-content {
    transform: scale(1); /* フェードと同時に少し拡大 */
    opacity: 1;
}

.img-modal .modal-img {
    width: 700px;
    height: 1100px;
}

.img-modal .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.img-open-btn {
    width: 100%;
    max-width: 220px;
    margin: 10px auto 0;
    padding: 10px 0;
    font-size: 22px;
    font-weight: bold;
    color: #50BDBF;
    background: transparent;
    border: 2px solid #50BDBF;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media screen and (max-width: 500px) {
    .img-open-btn {
        font-size: 12px;
        margin: 0;
        padding: 0;
    }

    .img-modal .modal-img {
        width: 330px;
        height: 600px;
    }
}

.img-open-btn:hover {
    background: #50BDBF;
    color: #fff;
}

.cta{
    display:inline-block;
    background:#e46b3f;
    color:#fff;
    padding:15px 40px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
}

small{
    background:#333;
    color:#fff;
    display:block;
    text-align:center;
    padding:.2rem
}

.head{
    font-size:.5rem;
    text-align:center;
    margin-bottom:.3rem;
    padding:.1rem;
    line-height:initial;
}

.sentence{
    font-size:.24rem;
    margin:10px;
    line-height:.34rem;
    z-index: 2;
}

.seki .aisatu {
    background: #fce4d6;
    padding: 20px;
    border-radius: 12px;
    max-width: 1100px;
    margin: 20px auto 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 2;
}
.seki .aisatu p{
    font-size: 35px;
    line-height:1.0;
}

@media screen and (max-width: 500px){
    .seki h2{
        font-size: 40px;
    }

    .aisatu{
        padding:0px 10px;
    }

    .seki .aisatu p {
        font-size: 22px;
        line-height: 1.2;
    }
}

nav ul{
    list-style:none;
    display:flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content:flex-end;
    gap: 20px;
    position:fixed;
    top:0;
    right:20px;
    z-index: 4;
    font-size: 20px;
    padding: 0;
}

@media screen and (max-width: 500px){
    nav ul{
        display:flex;
        flex-wrap: nowrap;
        white-space: nowrap;
        justify-content:flex-end;
        gap: 5px;
        font-size: 15px;
        position:fixed;
        top:0;
        right:0px;
        z-index: 4;
        padding: 0;
    }
}

nav ul li a{
    display:block;
    text-decoration:none;
    color:#3b6e82;
    padding:.2rem;
    transition:all .3s
}

nav ul li ahover,nav ul li aactive{
    color:#50bdbf;
}

@media screen and (max-width: 768px){
    nav ul li a{
        font-size:12px
    }
}

nav ul li .current a{
    color:#50bdbf;
}

section{
    padding:.3rem;
    color:#3b6e82;
}

.logo{
    position: absolute;
    color:#3b6e82;
    text-decoration:none;
    height: auto;
    max-width: 110px;
    padding-left: 10px;
    transform: translate(5%, 5%);
    position:fixed;
    top:0;
    z-index: 4;
}

@media screen and (max-width: 500px){
    .logo{
        position: fixed;
        top: 10px;
        left: 0px;
        width: 60px;
        height: auto;
        transform: none;
        z-index: 4;
    }
}

span{
    display:block;
    text-align:center
}

span.main{
    font-size:.1rem
}

span.sub{
    padding:.1rem;
    font-size:.1rem
}

.top-img img{
    width:80%;
    display:block;
    margin:0 auto
}

@media screen and (max-width: 768px){
    .top-img img{
        width:75%
    }
}

.kanji{
    font-family:"kaisei-harunoumi";
    font-weight:bold
}

.kanji2{
    font-family:"kaisei-harunoumi";
    font-weight:bold;
    font-size: 0.75rem;
    color: #6bc8f2;
}

.slider{
    padding-top: 110px;
    z-index: 1;
}

@media screen and (max-width: 767px){
    .slider{
        padding-top: 70px;
        z-index: 1;
    }
}

.slider img{
    width:100%;
    height:auto
}

.slider .slick-slide{
    margin:0 10px;
    overflow:visible
}

.contact-div{
    text-align:center
}

.contact-div span{
    font-size:.3rem
}

.details{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    z-index: 3;
}

.loading {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.loading img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    display: block;
}

@media (max-width: 500px) {
    .loading {
        padding: 0;
    }

    .loading img {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }
}

body > *:not(.loading){
    transition: opacity 1.5s ease, transform 1.5s ease;
}

body.is-loading > *:not(.loading){
    opacity: 0;
    transform: translateY(20px);
}

body.is-loaded > *:not(.loading){
    opacity: 1;
    transform: translateY(0);
}

.schedule-hidden{
    display:inline-block
}

.alt-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
}

.alt-section h2{
    font-size:70px;
    text-align:center;
    margin:0px;
    font-weight:normal;
    color: #6bc8f2;
}

.alt-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
}

/* 偶数行だけ左右反転 */
.alt-item:nth-of-type(even) {
    flex-direction: row-reverse;
}

.alt-image, .alt-text {
    width: 50%;
}

.alt-image img {
    width: 450px;
    height: auto;
    display: block;
    border-radius: 12px;
}

.alt-text h3 {
    font-size: 45px;
    margin-bottom: 20px;
}

.alt-text p {
    font-size: 27px;
    line-height: 1.8;
}

@media (max-width: 500px) {
    .alt-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .alt-section h2{
        font-size:40px;
    }

    .alt-item:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    .alt-image,
    .alt-text {
        width: 50%;
    }

    .alt-image img {
        width: 100%;
        max-width: 100%;
    }

    .alt-text h3 {
        font-size: 24px;
        margin-bottom: 0px;
        white-space: nowrap;
        letter-spacing: -0.06em;
    }

    .alt-text p {
        font-size: 16px;
        line-height: 1.8;
    }
}

.entry-cta {
    display: block;
    text-align: center; /* 中央寄せ */
    margin: 0px 0 40px;
}

.entry-cta h2{
    font-size: 70px;
}

.entry-cta a{
    font-size: 30px;
}

.entry-btn {
    display: inline-block;
    padding: 22px 60px;  /* 横幅・縦幅を少し大きく */
    font-size: 22px;     /* フォントサイズを大きめに */
    font-weight: bold;
    border-radius: 8px;  /* 角丸を少なくして四角っぽく */
    text-decoration: none;
    color: #000;
    background: #f8cbca;
    border: 2px solid #50BDBF;
    box-shadow: 0 6px 0 #50BDBF;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-btn:hover,
.entry-btn:focus {
    transform: translate(8px, -11px);
    box-shadow: 0 10px 0 #50BDBF;
}

.entry-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 0 #50BDBF;
}

@media (max-width: 500px) {
    .entry-cta {
        margin: 0px 0 30px;
        padding: 0 16px;
    }

    .entry-cta a{
        font-size: 22px;
    }

    .entry-cta h2{
        font-size: 40px;
    }

    .entry-btn {
        width: 100%;
        padding: 20px 0;
    }

    .entry-btn:hover,
    .entry-btn:focus {
        transform: translate(5px, -8px);
        box-shadow: 0 10px 0 #50BDBF;
    }
}

.sns {
    display: flex;
    gap: 15px; /* ボタン間の隙間 */
    margin-top: 0;
    justify-content: center;
    width: auto;
    height: 90px;
}

.sns-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 1.2rem;
    text-decoration: none;
    color: snow;
    font-weight: bold;
    font-size: 25px;
    overflow: hidden;
    transition: background 0.3s, filter 0.3s, transform 0.3s, box-shadow 0.3s;
    /*will-change: transform;
    isolation: isolate;*/
}

.sns-btn img {
    height: 40px;
    width: auto;
}

.sns-btn.x img {
    height: 35px;
    width: auto;
}

/* 個別色 */
.sns-btn.instagram {
    background: linear-gradient(45deg, #e6c100, #e66e00, #e6005e, #be00b1, #6a32e1); /* Instagram ピンク */
    isolation: isolate;
}
.sns-btn.instagram::before {
    content: "";
    position: absolute;
    background: linear-gradient(45deg, #ffd600, #ff7a00, #ff0069, #d300c5, #7638fa); /* Instagram ピンク */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: inherit;
    clip-path: inset(0 100% 0 0);
    transition: clip-path .3s ease;
}
.sns-btn.instagram:hover {
    /*filter: brightness(1.3);*/
    transform: scale(1.05, 1.05);
    box-shadow: 0 0 .5rem rgba(0, 0, 0, .8);
}
.sns-btn.instagram:hover::before, .sns-btn.x:hover::before {
    clip-path: inset(0 0 0 0);
}

.sns-btn.x {
    background-color: black;
}

.sns-btn.x::before {
    content: "";
    position: absolute;
    background-color: snow;
    mix-blend-mode: difference;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    border-radius: inherit;
    /*transform: scaleX(0);
    transform-origin: -50% 0;*/
    clip-path: inset(0 100% 0 0);
    transition: clip-path .3s ease;
}

.sns-btn.x:hover {
    /*background-color: #1DA1F2; */
    transform: scale(1.05);
    box-shadow: 0 0 .5rem rgba(0, 0, 0, .8);
}

@media screen and (max-width: 480px) {
    footer .sns {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding-right: 25px;
    }

    footer .sns .sns-btn {
        padding: 23px 25px;
    }

    footer .bottom p,
    footer .bottom address {
        font-size: 18px;
        line-height: 1.8;
        margin: 30px 0;
        text-align: center;
    }
}

.information {
    position: relative;
    background: #1E8EA4;
    padding-top: 15px;
    padding-bottom: 10px;
    z-index: 900;
    width: 100%;
    left: 0;
}

@media screen and (max-width: 480px) {
    .information {
        padding: 10px 10px;
        font-size: 0.8rem;
    }

        .information h2 {
        padding-right: 18px;
    }
}

address {
    font-style: normal;
}

address ul {
    padding: 0;
}
address ul li {
    list-style: none;
}
address a {
    border-color: snow;
}

.bottom p {
    color: inherit;
    text-align: center;
    font-size: 20px;
}

@media screen and (max-width: 480px) {
    .bottom p {
        padding-right: 25px;
    }
}

.linkText {
    transition: opacity 0.2s ease;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px dashed;
}
.linkText:hover {
    opacity: .6;
}

.font-noto-sans-jp {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding-top: 20px;
}
.followme {
    font-weight: bold;
}

.textNoBreak {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.btnContent {
    position: relative;
    z-index: 1;
}

.g-navi {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

.g-navi li {
    list-style: none;
}

.g-navi li a {
    text-decoration: none;
    color: #3b6e82;
    padding: 0.2rem;
    display: block;
    transition: all 0.3s ease;
}

.g-navi li a:hover,
.g-navi li a:active {
    color: #50bdbf;
}

.br-pc {
    display: none;
}

@media screen and (min-width: 769px) {
    .br-pc {
        display: block;
        content: "";
    }
}

.br-m {
    display: none;
}

@media screen and (max-width: 480px) {
    .br-m {
        display: block;
        content: "";
    }
}