@charset "UTF-8";

:root{
    --pcrightmargin:246px;
    --fontkaku: "Zen Kaku Gothic New", sans-serif;
    --mainheight :500px;
    --pcmarginbm:80px;
}



#topvisial {
    position: relative;
    height:var(--mainheight);
    display: block;
    max-width: 1200px;
    margin: 0px auto 80px auto;
    transform: translateY(0px); 
    animation: expandCover2 1s  cubic-bezier(0.16, 1, 0.3, 1) forwards; /* 高さを広げるアニメーション */
    
}
@keyframes expandCover2{
    0% {
        transform: translateY(0px); 
    }
    100% {
        transform: translateY(0px); 
    }
}
#topvisial .slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:var(--mainheight);
    opacity: 0; /* 初め透明 */
    animation: fadeIn 2s ease-out forwards; /* 2秒かけてフェードイン */
}
/* フェードインアニメーション */
@keyframes fadeIn {
    0% {
        opacity: 0; /* 最初は透明 */
    }
    100% {
        opacity: 1; /* 最後は完全に表示 */
    }
}
@keyframes fadeIn2 {
    0% {
        opacity: 0; /* 最初は透明 */
        transform: translateY(50px); 
    }
    100% {
        opacity: 1; /* 最後は完全に表示 */
        transform: translateY(0);
    }
}

#topvisial .slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    border-radius: 0 0 50px 50px;
    transition: opacity 1.5s ease-in-out;
}

#topvisial .slideshow img.active {
    opacity: 1;
}

#topvisial .txt {
    position: absolute;
    bottom:30px;
    transform:translate(0,0%);
    left:50px;
    max-width:100%;
    display:block!important;
    color: #000;
    background:#fff;

    /*border:solid 1px #625a56;*/
/*    background: linear-gradient(90deg, rgb(202, 42,62), rgb(161, 5,29));*/
    padding: 30px;
    max-width:50%;
    border-radius: 0px;
    opacity: 0; /* 初めは非表示 */
    transition: opacity 1.5s ease-in-out;
    
}
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(100%); /* 右側から外れている位置 */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* 元の位置に戻る */
    }
}


#topvisial .txt.active {
    opacity: 1; /* activeクラスが付いたら表示 */
}
#topvisial .title {
    font-size: 24px;
    font-weight:600;
    margin-bottom:14px;
}

#topvisial p.coment {
    font-size: 15px;
    line-height:1.7;
    font-family: var(--fontkaku);
    margin-left:0px;
}


/* ボタンのスタイル */
#topvisial button {
    position: absolute;
    bottom:-14px;/*    transform: translateY(-50%);*/
    background:#F4F3E7;
    color: white;
    border: none;
    width:56px;
    height:56px;
    padding: 0px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 20px;
    z-index: 10;
    display:none;
    transition: background 0.3s ease;
}

#topvisial button:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* prevボタンの位置 */
#topvisial .prev {
    left: 10px;
}
#topvisial button.prev{
    background:#F4F3E7 url(../../images/arrow-l2.png) center center no-repeat;
    background-size:25px auto;
}
#topvisial button.prev:hover{
    background:#bc2c3c url(../../images/arrow-l.png) center center no-repeat;
    background-size:25px auto;
}



/* nextボタンの位置 */
#topvisial .next {
    left: 70px;
}
#topvisial button.next{
    background:#F4F3E7 url(../../images/arrow.png) center center no-repeat;
    background-size:25px auto;
}
#topvisial button.next:hover{
    background:#bc2c3c url(../../images/arrow_w.png) center center no-repeat;
    background-size:25px auto;
}


#topmain{
    max-width:1100px;
    margin:0px auto;
}
#top .maininner{
    max-width:1200px;
    margin:0px auto;
    position:relative;
    z-index:100;
    --mainheightcover:calc(var(--mainheight) + 60px);
}
#top .maininner .cover{
    position:absolute;
    top:0px;
    left:0px;
    background:#fff;
    animation: expandCover 2s ease-in-out forwards;
    display:block;
    width:100%;
    z-index:200;
    height: var(--mainheightcover);
}
@keyframes expandCover {
    0% {
        top:0px;
        opacity:1;
    }
    100% {
        opacity:0;
        display:none;
 
    }
}
@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#topmain h3{
    color:#9D3838;
    font-size:30px;
    font-weight:600;
    text-align:left;
    margin-bottom:30px;
    display:block;
    /*
    margin:0px auto 30px auto;*/
    margin-bottom:30px;
    letter-spacing: 0.04em;
}
#topmain .topics{
    /*display:table;
    margin:0px auto 40px auto;*/
    margin-bottom:40px;
    width:100%;
    box-sizing:border-box;
    padding-right:var(--pcrightmargin);
    font-size:var(--main-font-size);
}
#topmain .topics dt,
#topmain .topics dd{
    line-height:1.7;
    color:#222;
    font-size:var(--main-font-size);
}
#topmain .topics dt{
    color:#9D3838;
    margin-bottom:8px;
    text-align:left;
}
#topmain .topics dt span{
    background:#eee;
    display:inline-block;
    padding:5px 10px;
    line-height:1;
    font-size:12px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight:600;
}
#topmain .topics dt span.cate{
    background:#9D3838;
    color:#fff;
    font-weight:500;
}
#topmain .topics dd{
    padding-bottom:20px;
    font-weight:400;
}
#topmain .topics dl{
    
    /*border-bottom:solid 1px #ddd;*/
    border-bottom:dotted 1px #A39681;
    margin-bottom:20px;
}
#topmain .topics dd .topi_link{
    text-align:right;
    display:block;
    margin-top:6px;
    margin-bottom:-3px;
}
#topmain .topics dd .topi_link a{
    display:inline-block;
    word-break: break-all;
    padding:0 0 0 20px;
    background:url(../../images/arrow.png) left 0.26em no-repeat;
    background-size:14px auto;
    line-height:1.3;
    max-width: 23.5em;
    box-sizing:border-box;
    white-space: nowrap;
    overflow: hidden;
    margin:0px;
    text-overflow: ellipsis;
}
#topmain .topics dd .topi_link a:hover{
    text-decoration:none;
}
#topmain .toplayout1{
    display:flex;
    width:100%;
    max-width:1100px;
    /*margin-right:auto;
    margin-left:auto;*/
    padding-right:var(--pcrightmargin);
    margin-bottom:var(--pcmarginbm);
}
#topmain .toplayout1 .layout{
    width:40%;
    padding-left:10px;
    padding-right:10px;
}
#topmain .toplayout1 .layout:nth-child(2){
    width:60%;
}
#topmain .toplayout1 .layout a{
    color:#222;
}

#topmain .toplayout1 .layout_inner{
    background:#F4F3E7;
    height:100%;
    text-align:center;
    display:block;
    border-radius:20px;
    padding:20px 20px 30px 20px;
}
#topmain .toplayout1 .layout_inner h4{
    color:#9D3838;
    font-size:24px;
    margin-bottom:20px;
    font-weight:600;
    letter-spacing: 0.02em;
}
#topmain .toplayout1 .layout_inner p.att{
    margin-top:20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-style: normal;
    font-weight:500;
    font-size:12px;
    color:#222;
}
#topmain .toplayout1 .layout_inner dl.time1{
    display:flex;
    margin: 0 auto; 
    flex-wrap:wrap;
   
}
#topmain .toplayout1 .layout_inner dl.time1 dt,
#topmain .toplayout1 .layout_inner dl.time1 dd{
    /*width:80px;
    float:left;
    font-size:16px;
    text-align:right;
    width:80px;
    padding-right:1em;*/
    display: inline-block;
    vertical-align: top;
    margin: 0;
}
#topmain .toplayout1 .layout_inner dl.time1 dt{
    width: 45%;
    padding-right: 1em;
}
#topmain .toplayout1 .layout_inner dl.time1 dd {
    width: calc(100% - 45% - 1em); /* 残りのスペース */
    text-align: left;
}
/* ペアごとに改行させるため */
#topmain .toplayout1 .layout_inner dl.time1 dt::after,
#topmain .toplayout1 .layout_inner dl.time1 dd::after {
    content: "";
    display: block;
}
/*
#topmain .toplayout1 .layout_inner dl.time1 dd{
    text-align:left;
    flex:1;
}*/

#topmain .toplayout1 .layout_inner dl.time1 dd em{
    font-size:14px;
    display:block;
    line-height:1.2;
    padding:0px;
    margin:8px 8px 0 0;
}

#topmain .toplayout1 .layout_inner dl.time2{
    display:flex;
    flex-wrap:wrap;
    width:100%;
    max-width:420px;
    align-items:center;
    margin-right:auto;
    margin-left:auto;
}
#topmain .toplayout1 .layout_inner dl.time2 dt.youbi{
    width:35%;
}
#topmain .toplayout1 .layout_inner dl.time2 dt.kamoku{
    width:40%;
    text-align:left;
}
#topmain .toplayout1 .layout_inner dl.time2 dd{
    width:25%;
}


#topmain .contentslist{
    display:flex;
    flex-wrap:wrap;
    width:100%;
}

#topmain .contentslist .contents-naiyo{
    width:25%;
    box-sizing:border-box;
    margin-bottom:24px;
    padding-right:6px;
    padding-left:6px;
}

#topmain .contentslist .contents-naiyo a{
    display:block;
    text-decoration:none;
}
#topmain .contentslist .contents-naiyo img{
    margin-bottom:5px;
    width:100%;
    transition: all 0.5s ease-out;
    height:120px;
    border-radius:10px;
    object-fit: cover;
}
#topmain .contentslist .contents-naiyo a:hover img{
    opacity:0.6;
}
#topmain .contentslist .contents-naiyo p{
    font-size:15px;
    font-weight:600;
}

/*お申し込みフォーム追加20250312*/
#topmain .toplayout1 .miniform{
    display:inline-block;
    line-height:1;
    position:relative;
    top:-3px;
    margin-left:10px;
}
#topmain .toplayout1 .miniform a{
    border-radius:12px;
    background:#bc2c3c;
    padding:3px 10px 5px 10px;
    color:#fff;
    text-decoration:none;
    font-size:11px;
    line-height:1.1;
}
#topmain .toplayout1 .miniform a .material-symbols-outlined{
    font-size:10px;
    vertical-align:middle;
    position:relative;
    top:-1px;
}
#topmain .toplayout1 .miniform a:hover{
    background:#9D3838;
}

#topmain .toplayout1 .layout_inner dl.time1 dd.w100{
    margin-left:0px;
    font-size:12px;
    width:100%;
    box-sizing:border-box;
    padding-left:45%;
}

#topmain .toplayout1 .layout_inner dl.time1 dd.w100.att{
    margin-top:14px;
    text-indent:-1em;
    padding-left:1em;
}
#topmain .toplayout1 .layout_inner dl dt,
#topmain .toplayout1 .layout_inner dl dd{
    line-height:1.7;
}
#topmain .toplayout1 .layout_inner dl.time1 dt,
#topmain .toplayout1 .layout_inner dl.time1 dd{
    line-height:1.5;
}

#topmain #toplayout2{
    display:block;
    width:100%;

}
#topmain .toplayout2 .txt{
    line-height:1.7;
    margin-bottom:24px;
}
/*renraku*/
#topmain .renraku_layout_inner{
    position: relative;
    margin: 0em auto;
    padding:40px 1.5em 20px 1.5em;
    border: solid 2px #9D3838;
    border-radius: 8px;
    max-width:700px;
}
#topmain .renraku_layout_inner h3{
    position: absolute;
    display: inline-block;
    top: -16px;
    left: 50%;
    font-size:24px;
    transform:translate(-50%,0);
    padding: 0 9px;
    line-height: 1;
    margin-bottom:20px;
    background: #fff;
}
#topmain .renraku_layout{
    display:flex;
    max-width:500px;
    align-items:center;
    justify-content: center;
    margin-right:auto;
    margin-left:auto;
}
#topmain .renraku_layout div{
    width:50%;
    text-align:center;
    padding:0 10px;
}
#topmain .renraku_layout div a{
    background:#9D3838;
    color:#fff;
    border-radius:10px;
    display:block;
    text-decoration:none;
    padding:18px 10px 20px 10px;
}
#topmain .renraku_layout div a:hover{
    background:#c34250;
}
#topmain .renraku_layout div h5{
    font-weight:600;
    font-size:18px;
    margin-bottom:14px;
}
.pager {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    list-style: none;
    padding: 0;
    clear:both;
    position:absolute;
    bottom:-30px;
    left:50%;
    transform: translate(-50%,0);
}

.pager li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.pager li.active {
    background-color: #333;
}
#topmain .toplayout2 p.txt{
    font-size:var(--main-font-size);
}
@media screen and (max-width:1100px){
    #topmain{
        padding-right:20px;
        padding-left:20px;
    }
}
@media screen and (max-width:960px){
    #topmain .moviearea{
        margin-bottom:10vw;
    }
    #topmain .spinner2.youtube{
        box-sizing:border-box;
        width:100%;
        padding-right:0px;
        padding-left:0px;
        overflow:hidden;
    }
    #topmain .spinner2.youtube .youtube {
      width: 100%;
      position: relative;
      padding-top: 56.25%;
    }
    #topmain .spinner2.youtube .youtube iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
}
@media screen and (max-width:840px){
   /*#topmain{
        padding-right:0px;
        padding-left:0px;
    }
    #topmain .topics{
        padding-right:20px;
        padding-left:20px;
    }*/
}
@media screen and (max-width:768px){
    :root{
        --pcrightmargin:0px;
        --mainheight :350px;
 /*       --fontkaku: "Zen Kaku Gothic New", sans-serif;*/
        --pcmarginbm:14vw;
        --midachisize:20px;
    }

   
    #topvisial {
        margin-bottom:10vw;
    }
    #topvisial .txt {
        bottom:-100px;
        left:20px;
        max-width:calc(100% - 40px);
        padding: 20px 20px 0px 20px;  
    }
    #topvisial .slideshow {
        height:calc(var(--mainheight) - 100px);
    }
    #topvisial .slideshow img {
        border-radius: 0 0 0px 0px;
    }
    
    #topmain h3{
        font-size:24px;
        font-weight:600;
        margin-bottom:0px;
        margin-left:0px;
    }
    #topmain .toplayout1{
        flex-wrap:wrap;
        font-size:var(--main-font-size);
        width:auto;
        margin-right:0px;
        margin-left:0px;
    }
    #topmain .toplayout1 .layout,
    #topmain .toplayout1 .layout:nth-child(2){
        width:100%;
        padding-left:0px;
        padding-right:0px;
    }
    #topmain .toplayout1 .layout:nth-child(1){
        margin-bottom:20px;
    }
    #topmain .toplayout1 .layout_inner dl.time2 dt.kamoku{
        width:40%;
        text-align:left;
    }
    #topmain .toplayout1 .layout_inner dl.time2 dt.youbi{
        width:25%;
        text-align:right;
    }
   
    #topmain .toplayout1 .layout_inner dl.time2 dd{
        width:35%;
    }
    #topmain .toplayout2{
        display:block;
        margin-right:0px;
        margin-left:0px;
        margin-bottom:0vw;
        clear:both;
    }
    #topmain .toplayout2 p.txt{
        margin-left:0px;
        margin-right:0px;
        padding-top:20px;
        font-size:var(--main-font-size);
    }
    #topmain .contentslist{
        margin-right:0px;
        margin-left:0px;
        width:auto;
    }
    #topmain .contentslist .contents-naiyo{
        width:50%;
        box-sizing:border-box;
        margin-bottom:24px;
        padding-right:6px;
        padding-left:6px;
    }
    
    #topmain .toplayout1 .layout_inner h4{
       font-size:24px;
    }
    #topmain .contentslist .contents-naiyo p{
        font-size:var(--main-font-size);
    }
  
    /*#topmain .toplayout2 div{
        width:100%;
        text-align:center;
        padding:0 10px;
        text-align:center;
        max-width:280px;
        font-size:14px;
    }
    #topmain .toplayout2 div:nth-child(2){
        margin-top:10px;
    }*/
    #topmain .toplayout3{
        flex-wrap:wrap;
    }
    #topmain .toplayout3 .photo{
        height:200px;
    }
    #topmain .toplayout3 .v{
        height:210px;
    }
    #topmain .toplayout3 .photo img{
        object-fit:cover;
        width:100%;
        height:200px;
    }
    #topmain .toplayout3 .menu_inner{
        width:100%;
    }
    #topmain .toplayout3 .menu_inner:nth-child(2n+1){
        padding-right:0px;
        padding-left:0px;
        padding-bottom:24px;
    }
    #topmain .toplayout3 .menu_inner:nth-child(2n+2){
        padding-left:0px;
        padding-right:0px;
    }
    #topmain .toplayout3 a p{
        margin-right:20px;
        margin-left:20px;
        font-family: "Zen Kaku Gothic New","Hiragino Kaku Gothic Pro", 'メイリオ', Meiryo, "游ゴシック体", "Yu Gothic", YuGothic, Osaka, sans-serif!important;
    }
    
    #topmain .toplayout3 h4{
        font-size:20px;
        line-height:1!important;
        padding:8px 9px 10px 12px;
    }
    #topmain .toplayout3 p{
        font-size:var(--main-font-size);
    }
    #topmain .renraku_layout_inner{
        position: relative;
        margin: 5em 20px 0 20px;
        padding:26px 20px 16px 20px;
    }
    #topmain .renraku_layout_inner h3{
        font-size:18px;
        width:80%;
        max-width:240px;
    }
    #topmain .renraku_layout div a{
        font-size:2.7vw;
        padding:18px 10px 20px 10px;

    }
    #topmain .renraku_layout div h5{
        font-size:14px;
        margin-bottom:10px;
    }
    #topmain .renraku_layout div:nth-child(1){
        padding:0px 5px 0 0;
    }
    #topmain .renraku_layout div:nth-child(2){
        padding:0px 0px 0 5px;
    }
    #topmain{
        margin-bottom:0px;
    }
    #topmain .topics{
        font-family: "Zen Kaku Gothic New","Hiragino Kaku Gothic Pro", 'メイリオ', Meiryo, "游ゴシック体", "Yu Gothic", YuGothic, Osaka, sans-serif!important;
        padding-top:20px;
        margin-top:10px;
        border-top:dotted 1px #A39681;
    }
    #topmain .topics dd .topi_link a{
        display:inline-block;
        word-break: break-all;
        padding:0 0 0 20px;
        background:url(../../images/arrow.png) left 0.26em no-repeat;
        background-size:14px auto;
        line-height:1.3;
        max-width: 16em;
        box-sizing:border-box;
        white-space: nowrap;
        overflow: hidden;
        margin:0px;
        text-overflow: ellipsis;
    }
    /* フェードイン＆スライドアニメーション */
    @keyframes slideInBounce {
        0% {
            opacity: 0; /* 最初は透明 */
            transform: translateY(20px); /* 左側から出てくる */
        }

        100% {
            opacity: 1;
            transform: translateY(0); /* 元の位置に戻る */
        }
    }
    .pager {
        bottom:-30px;

    }
    #topmain .toplayout1 .layout_inner dl.time1 dt,
    #topmain .toplayout1 .layout_inner dl.time1 dd{
        line-height:1.7;
    }
}




@media screen and (max-width:468px){
 :root{
    font-size:14px;
 }
    #topvisial p.coment {
        font-size:14px;
    }
       
    #topmain h3{
        font-size:20px;
    }
    #topvisial .title {
        font-size: 20px;
    }
    #topmain .toplayout1 .layout_inner h4{
        font-size:20px;
    }
    #topmain .toplayout2 p.txt{
        font-size:14px;
    }
    #topmain .topics dt,
    #topmain .topics dd{
        font-size:var(--main-font-size);
    }
    #topvisial .coment {
        font-size: 14px;
    }
    #topmain .contentslist .contents-naiyo p{
        font-size:14px;
        line-height:1.4;
    }
    #topmain .toplayout1 .layout_inner dl.time2 dt.kamoku{
        width:100%;
        font-weight:600;
    }
    #topmain .toplayout1 .layout_inner dl.time2 dt.kamoku.custom{
        margin-top:0.5em;
    }
    #topmain .toplayout1 .layout_inner dl.time2 dt.youbi{
        width:50%;
        text-align:left;
    }
   
    #topmain .toplayout1 .layout_inner dl.time2 dd{
        width:50%;
    }
}

