



.top-txt-aria .text_01{
    color: #fff;
    display: block;
    font-size: 29px;
    text-align: end;
    margin: 270px 70px 0 0;
    line-height: 2em;
}
.top-txt-aria .text_01 .small{
    font-size: 22px;
}
.top-txt-aria .text_01 .yellow{
    color: #C8A96B;
}
.top-txt-aria .text_02{
    margin: 300px 0 100px 70px;
    color: #fff;
    line-height: 2em;
    font-size: 15px;
    font-weight: 100;
}
.scroll {
    position  : absolute;
    font-size : 13px;
    writing-mode : vertical-rl;
    left : 50%;
    transform: translateX(-50%) translateY(-50%);
}
.scroll::after {
    content : "";
    display : inline-block;
    position : absolute;
    background-color: #000;
    right : 50%;
    bottom : -115px;
    transform : translateX(-50%);
    width : 1px;
    height : 100px;
    animation: scroll 3s infinite;

}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.content_title{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.article_01 h3{
    position: relative;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 126px;
    margin: 0;
    -webkit-text-stroke: .5px #fff;
    color: #0A1321;
    opacity: .3;
    text-align: center;
    line-height: 15rem;
}
.h3_logo{
    width: 89px;
    object-fit: contain;
}
.article_01 h5{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.works_aria{
    display: grid;
    grid-template-columns: 47% 47%;
    justify-content: space-between;
}
#worksAria.works_aria{
    row-gap: 16px;
}
.works-aria-loading, .works-aria-error{
    color: #fff;
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 0;
}
.works-video-cell{
    position: relative;
}
.works-video-thumb{
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #000;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.works-video-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.works-video-thumb:hover img{
    transform: scale(1.05);
}
.works-video-play{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.works-video-iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}
.btn{
    display: flex;
    align-items: center;
    border: 1px solid #fff;
    padding: 10px 0;
    border-radius: 50px;
    justify-content: center;
    width: 292px;
    margin: 50px auto 100px;
    color: #fff;
    text-decoration: none;
    background-color: rgba(10, 19, 33, .97);
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover{
    background-color: #fff;
    border-color: #fff;
    color: #0A1321;
}
.btn > div{
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn img{
    width: 39px;
    flex-shrink: 0;
    margin: 0 10px;
    vertical-align: middle;
    transition: filter .3s ease;
}
.btn:hover img{
    filter: brightness(0);
}







.content{
    display: block;
    padding: 0 70px;
}









.map_aria{
    width: 100%;
    margin: 30px 0;
}

/* ---------- plan ---------- */
.plan_aria{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 40px;
}
.plan_detail{
    min-width: 0;
}
.plan_detail_head{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 0 10px;
    justify-content: space-around;
}
.plan_detail_head .diagonal_ine{
    display: block;
    width: 30px;
    flex-shrink: 0;
}
.plan_detail_head .plan_title{
    margin: 0;
    color: #fff;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    flex-shrink: 0;
}
.plan_detail_head .plan_number{
    margin: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 47px;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .5);
    line-height: 1;
}
.plan_card{
    background: #fff;
    padding: 0 10px 10px;
    min-width: 0;
    box-sizing: border-box;
}
.plan_name_box{
    background: rgba(11, 27, 52, .14);
    margin: 0 -10px 25px;
    padding: 15px 5px;
}
.plan_card .plan_name{
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #0A1321;
    margin: 0;
    line-height: 1.5;
}
.plan_card .plan_desc{
    font-size: 13px;
    line-height: 1.8rem;
    color: #0A1321;
    margin: 0 0 15px;
    height: 180px;
}
.plan_price_area{
    border-top: 1px solid #0A1321;
    padding-top: 10px;
    text-align: center;
}
.plan_price_inner{
    display: inline-block;
    text-align: left;
    max-width: 100%;
}
.plan_card .plan_price{
    font-size: 18px;
    font-weight: bold;
    color: #0A1321;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
.plan_card .plan_tax{
    display: block;
    font-size: 11px;
    font-weight: normal;
    margin-top: -5px;
    margin-left: -5px;
    color: #0B1B34;
}
/* PCの3列表示では、subgridで「見出し・タイトル・説明文・価格」を
   行ごとに揃える(各行は3枚のうち一番高いカードに合わせて自動で伸びる)。
   スマホの1列表示はカード間の余白(gap: 60px)を保つため対象外 */
@media (min-width: 768px){
    .plan_aria{
        row-gap: 0;
    }
    .plan_detail{
        display: grid;
        grid-row: span 4;
        grid-template-rows: subgrid;
    }
    .plan_card{
        display: grid;
        grid-row: span 3;
        grid-template-rows: subgrid;
    }
    /* タイトルが2行のカードは、3行のカードに合わせて伸びた箱の中で上下中央に置く */
    .plan_name_box{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .plan_card .plan_desc{
        height: auto;
    }
}
.topics_aria{
    padding: 50px 0;
}
@media (max-width: 767px){
    .plan_aria{
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .top-txt-aria .text_01 {
        font-size: 25px;
    }
    .article_01 h3 {
        font-size: 95px;
    }
    .txt-aria .text_01 {
        font-size: 25px;
    }
    .txt-aria .text_02 {
        font-size: 12px;
    }
    .top-txt-aria .text_01 {
        margin: 270px 20px 0 0;
    }
    .article_01 h5 {
        font-size: 14px;
    }
    .plan_detail_head {
        justify-content: flex-start;
    }
    .plan_card .plan_desc {
        height: 100px;
    }
    .top-txt-aria .text_02 {
        margin: 100px 0 100px 70px;
    }
    .article_01 h5 {
        margin: 50px 0;
    }
}

/* ---------- thread animation ---------- */
.site-center{
    isolation: isolate;
    z-index: 0;
}
#thread-layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1 !important; /* JS側で style="z-index:2" がインラインで付与される場合に備えて強制的に低くする */
}
/* コンテンツ本体は必ず糸(#thread-layer)より前面に出す */
.site-center > main{
    position: relative;
    z-index: 2;
}

/* ---------- 終点(ロゴ中央)到達時に糸を「煙のように消す」演出 ----------
   参考: https://web-motion-catalog.com/samples/disappearinglikesmoke/
   本来はmask-image + mask-composite: exclude, add でムラのある消え方を
   表現する手法だが、SVGのpath要素に対してはブラウザによって基準ボックスの
   扱いが不安定で確実に効かないことがあるため、より確実な
   「ぼかし(blur)+透明度フェード」の組み合わせで、輪郭が滲みながら
   消えていく=煙のように溶けて消える表現にしている。 */
#p-main, #p-glow{
    transition: opacity 1.1s ease-out, filter 1.1s ease-out;
}
#p-main.is-disappearing, #p-glow.is-disappearing{
    opacity: 0;
    filter: blur(18px);
}
