/* 共通スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: "Noto Sans JP", Arial, sans-serif;
    overflow: hidden;
    position: relative;
}
a{
    color: #4C4948;
}
a,button{
opacity: 1;
transition: 0.3s;
}
a:hover,button:hover{
opacity: 0.8!important;
}
.container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* テキストアニメーション */
.text {
    font-size: 30px;
    font-weight: 500;
    color: #4C4948;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.line {
    clip-path: inset(0 100% 0 0); /* 初期状態は右側が切り取られている */
    opacity: 0; /* 初期は透明 */
    transition: clip-path 3s ease-out, opacity 1s ease-out; /* 時間を増やす */
}

/* ロゴ */
.logo {
    opacity: 0;
    transition: opacity 0.5s ease-in; /* フェードインをゆっくり */
    position: absolute;
    width: 100%;
    max-width: 200px;
}
.logo img{
    width: 100%;
}
.btn-wrap{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none; /* 初期はクリックを無効化 */
}
.btn-wrap.active {
    pointer-events: auto; /* アニメーション後にクリックを有効化 */
}
.btn-txt{
    max-width: 600px;
    width: 100%;
    font-size: 24px;
    color: #4C4948;
    font-weight: 500;
}
/* ボタン全体のスタイル */
.buttons {
    display: flex;
    gap: 3vw;
    /* width: 100%; */
    margin-top: 30px;
    position: relative;
    justify-content: center;
}

/* ボタンの個別スタイル */
.btn {
    display: inline-block;
    max-width: 450px;
    width: 40vw;
    height: 65vh;
    max-height: 580px;
    position: relative;
    text-decoration: none;
}


/* ホバー時のスタイル */
.btn:hover .default {
    opacity: 0; /* デフォルト画像をフェードアウト */
}

.btn:hover .hover {
    opacity: 1; /* ホバー画像をフェードイン */
}

/* 背景画像 */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F7F7F7;
    opacity: 0;
    z-index: -1; /* 他の要素の後ろに配置 */
}
.background-left {
    position: absolute;
    width: 45vw;
    height: 42vw;
    opacity: 0;
    margin: auto;
    z-index: 0;
    left: 0;
    top: 0;
}

.background-right{
    position: absolute;
    width: 55vw;
    height: 50vw;
    opacity: 0;
    margin: auto;
    z-index: 0;
    right: 0;
    bottom: 0%;
}

#skipBtn{
    position: absolute;
    right: 50px;
    bottom: 50px;
    z-index: 99999999;
    cursor: pointer;
    color: #4C4948;
    font-weight: bold;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 21px;
    background-color: #F1F1F1;
    border:none;
    letter-spacing: 2px;
}

.btn-area-izawa{
    border: solid 1px #70BD18;
    border-radius: 20px;
    background-color: #F3FAEE;
    padding: 15px;
}
.btn-area-izawa img{
    width: 25vw;
    max-width: 300px;
    min-width: 250px;
    margin-top: 5%;
    margin-bottom: 10px;
}
.btn-area-izawa ul{
    width: 100%;
    max-width: 256px;
    text-align: left;
    margin: 0 auto 0;
}
.btn-area-izawa ul li{
    position: relative;
    padding-left: 40px;
    list-style: none;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
    padding-bottom: 1vw;
    color: #4C4948;
}
.btn-area-izawa ul li:last-child{
    padding-bottom: 20px;
}
.btn-area-izawa ul li:before{
    position: absolute;
    content: "■";
    color: #70BD18;
    left: 0;
}
.btn-area-izawa .btn-block{
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 8px;
    background-color: #70BD18;
    color: #fff;
    padding: 25px 5px;
    width: 100%;
    text-align: center;
    display: block;
}

.btn-area-atoz{
    border: solid 1px #EB6100;
    border-radius: 20px;
    background-color: #FFF2E8;
    padding: 15px;
}
.btn-area-atoz img{
    width: 25vw;
    max-width: 300px;
    min-width: 250px;
    margin-top: 5%;
    margin-bottom: 10px;
}
.btn-area-atoz ul{
    width: 100%;
    max-width: 256px;
    text-align: left;
    margin: 0 auto 0;
}
.btn-area-atoz ul li{
    position: relative;
    padding-left: 40px;
    list-style: none;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
    padding-bottom: 1vw;
    color: #4C4948;
}
.btn-area-atoz ul li:last-child{
    padding-bottom: 20px;
}
.btn-area-atoz ul li:before{
    position: absolute;
    content: "■";
    color: #EB6100;
    left: 0;
}
.btn-area-atoz .btn-block{
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 8px;
    background-color: #EB6100;
    color: #fff;
    padding: 25px 5px;
    width: 100%;
    text-align: center;
    display: block;
}
.text-line {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-align: left;
}
.text-inner {
    position: relative;
    display: inline-block;
    color: #4C4948; /* 本文色 */
    z-index: 1;
}
.mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* 背景と同じ色に */
    z-index: 2;
    transform: translateX(0%);
}
  
@media screen and (max-width:1100px) {
.btn-area-izawa ul li,
.btn-area-atoz ul li{
    font-size: 18px;
}
.btn-area-izawa .btn-block,
.btn-area-atoz .btn-block{
    font-size: 18px;
}
}
@media screen and (max-width:767px) {
html,body{
    overflow: unset;
    overflow-x: hidden;
}
.container{
    height: calc(100vh - 30vw);
    display: block;
}
.btn-txt{
    width: 90%;
    display: block;
    margin: 30px auto 10px;
    font-size: calc(min(16px, 4.2666vw));
}
.btn-txt img{
    width: 100%;
}
.buttons{
   width: 90%;
   margin: auto;
   flex-wrap: wrap; 
   gap: 5px;
}
.btn{
    width: 100%;
    max-height: fit-content;
    height: auto;
}
.background{
    display: none;
}
.text{
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    font-size: 18px;
    width: fit-content;
}
#skipBtn {
    position: absolute;
    right: 30px;
    bottom: 0;
    font-size: 20px;
}
.logo {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    height: fit-content;
    max-width: 100px;
}
.btn-area-izawa img,
.btn-area-atoz img{
    width: 70%;
    margin-top: 0;
    margin-bottom: 10px;
}
.btn-area-izawa ul,
.btn-area-atoz ul{
    width: 80%;
    margin: 5px auto 10px;
    max-width: 192px;
}
.btn-area-izawa ul li,
.btn-area-atoz ul li{
    padding-bottom: 5px;
    font-size: calc(min(16px, 4.2666vw));
    padding-left: 30px;
}
.btn-area-izawa .btn-block,
.btn-area-atoz .btn-block{
    padding: 10px 10px;
    font-size: 17.27px;
}

.btn-area-izawa ul li:before,.btn-area-atoz ul li:before {
    font-size: 14px;
    top: 2px;
}

}
@media screen and (max-width:360px) {
    .btn-area-izawa img, .btn-area-atoz img {
        min-width: 200px;
    }
    .btn-area-izawa .btn-block, .btn-area-atoz .btn-block {
        font-size: 16px;
    }
}

@media screen and (max-width:320px) {

    .btn-area-izawa ul li, .btn-area-atoz ul li {
        padding-left: 25px;
        white-space: nowrap;
    }

}