:root {
    --max-width: 1920px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.zen-kurenaido-regular {
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: 400;
    font-style: normal;
}
  
html {
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Serif JP", serif;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    color: inherit;
    text-decoration: none;
}
a, button {
    cursor: pointer;
}
ul, ol {
    list-style: none;
}

img, video {
    -webkit-touch-callout: none;
    user-select: none; 
    -webkit-user-select: none;
}

#dmm_ntgnavi {
    position: relative;
    top: 0;          
    left: 0;         
    width: 100%;     
    z-index: 999;
    background: url(../images/bg_navimain.gif) center center repeat-x;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    font-size: 12px;
    font-family: 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'ＭＳ Ｐゴシック', Verdana, sans-serif;
    display: flex;
    justify-content: space-between;
}
#dmm_ntgnavi ul {
    list-style: none;
    margin: 2px 0;
    padding: 0;
    display: flex;
    width: 50%;
}
#dmm_ntgnavi ul li {
    margin: 0 6px 0 0;
    line-height: 15px;
}
#dmm_ntgnavi .navi_left li > a {
    display: block;
    padding: 0 3px 0 8px;
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 3px;
}
#dmm_ntgnavi .navi_left li > a:hover {
    background: #eee;
    border: 1px solid #666;
    border-radius: 3px;
}
#dmm_ntgnavi .navi_left li > a span {
    display: block;
    padding: 9px 10px 7px 28px;
    color: #333;
    font-weight: bold;
}
#dmm_ntgnavi .navi_left li.dmm_top img { margin: 8px 5px 8px 0 }
#dmm_ntgnavi .navi_left li.ntg_top { margin-left: 10px; }
#dmm_ntgnavi .navi_left li.ntg_top span {
    background: url(../images/bg_bt_olgtop.gif) 0 center no-repeat;
    font-size: min(2.9vw,12px);
}
#dmm_ntgnavi .navi_right {
    justify-content: flex-end;
    font-size: 10px;
}
#dmm_ntgnavi .navi_right li { margin: 0 10px 0 0; padding: 8px 5px; }
#dmm_ntgnavi .arrow { padding-left: 14px; background: url(../images/arrow_common.gif) no-repeat left center; }
#dmm_ntgnavi .tx-point { font-size: 16px; font-weight: bold; color: #ff4b4b !important; }
#dmm_ntgnavi a { color: inherit; text-decoration: none; }
#dmm_ntgnavi p { margin: 0; line-height: 2.6em; }
#dmm_ntgnavi .clear { clear: both; }

.sub-main {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.sub-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/subpage/sub_bg.webp');
    background-image: image-set(url(../images/subpage/sub_bg.webp) 1x, url(../images/subpage/sub_bg@2x.webp) 2x);
    background-image: -webkit-image-set(url(../images/subpage/sub_bg.webp) 1x, url(../images/subpage/sub_bg@2x.webp) 2x);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.sub-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 4vw auto 6vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.sub-title {
    width: 100%;
    max-width: 751px;
    margin-bottom: -1vw; 
    z-index: 2;
}

.sub-title img {
    width: 100%;
    height: auto;
    display: block;
}

.sub-content {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    margin: 4vw auto 1vw;
    padding: clamp(30px, 5vw, 60px);
    color: #333;
    line-height: 1.8;
}

.sub-btn-top {
    width: 100%;
    max-width: 400px;
    margin-top: 5vw;
}

.sub-btn-top a {
    display: block;
    transition: transform 0.2s ease;
}

.sub-btn-top a:hover {
    transform: scale(1.05);
}

.sub-btn-top img {
    width: 100%;
    height: auto;
    display: block;
}



.sub-content h2 {
    font-size: clamp(16px, 2vw, 22px);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid #6a094b;
    padding-left: 12px;
}

.sub-content h3 {
    font-size: clamp(14px, 1.6vw, 18px);
    color: #6a094b;
    margin-top: 30px;
    margin-bottom: 15px;
}

.sub-content p {
    font-size: clamp(12px, 1.4vw, 15px);
    margin-bottom: 1.5em;
}

.sub-content p a {
    text-decoration: underline;
}


.sub-content ul,
.sub-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.sub-content li {
    font-size: clamp(12px, 1.4vw, 15px);
    margin-bottom: 0.5em;
}

.sub-content ul {
    list-style-type: disc;
}

.sub-content ol {
    list-style-type: decimal;
}

.sub-footer {
    margin-top: 60px;
    text-align: right;
    font-size: clamp(10px, 1.2vw, 13px);
    color: #666;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}

.sub-footer p {
    margin-bottom: 5px;
}




@media (max-width: 768px) {
    .sub-container {
        width: 95%;
        margin-top: 15vw;
        margin-bottom: 10vw;
    }
    
    .sub-title {
        width: 80%;
        margin-bottom: 5vw;
    }
    
    .sub-btn-top {
        width: 70%;
    }
    
}




