@charset "utf-8";
/*--------------------------------
    created:      2025.03.03
    last updated: 2025.06.02
---------------------------------*/

#mainContents #cont h1 {
   background: linear-gradient(to bottom,  rgba(185,186,190,1) 0%,rgba(180,181,185,1) 25%,rgba(179,180,184,1) 50%,rgba(175,176,180,1) 75%,rgba(171,176,179,1) 100%);
}

@media (hover: hover) {
    #mainContents #firstCont #menu ul li:not(:last-child) a {
        opacity: 0.7;
    }

    #mainContents #firstCont #menu ul li:not(:last-child) a:hover {
        opacity: 1;
    }
    
    #mainContents #secondNavi ul li:not(:nth-child(4)) a {
        opacity: 0.7;
    }

    #mainContents #secondNavi ul li:not(:nth-child(4)) a:hover {
        opacity: 1;
    }
}

@media (hover: none) {
    #mainContents #firstCont #menu ul li:not(:last-child) a {
        opacity: 0.7;
    }
    
    #mainContents #firstCont #menu ul li:not(:last-child) a:active {
        opacity: 1;
    }

}

/* layout */
#mainContents .article .box {
    width: calc(50% - 25px);
}

#mainContents .article .box div.scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
}

#mainContents #menu h2 {
    background: url("../images/ttl_b.png") no-repeat;
    background-size: contain;
    aspect-ratio: 425  / 326;
    width: 203px;
    color: white;
    padding: 33px 0 0 20px;
}

/* font */
#mainContents .article h3 {
    font-family: "Shin Go Bold", sans-serif;
}

#mainContents p {
    font-feature-settings: "palt";
    font-size: 1rem;
}

#mainContents #menu h2 {
    font-feature-settings: "palt";
}

/* table */
#mainContents .article .box .basicTable {
    font-size: 0.85rem;
    border: none;
	width: 100%;
}

#mainContents .article .box .basicTable caption {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#mainContents .article .box .basicTable caption span:first-child {
    float: left;
}

#mainContents .article .box .basicTable caption span:last-child {
    float: right;
}


#mainContents .article .box .basicTable tr:nth-child(2n) {
	background-color: #CCC;
}

#mainContents .article .box .basicTable tr:nth-child(2),
#mainContents .article .box .basicTable tr:nth-child(2) td:nth-child(2) {
    background-color: #999;
	color: black;
}

#mainContents .article .box .basicTable tr:nth-last-child(10) {
    border-top: 3px solid #666;
}

#mainContents .article .box .basicTable th,
#mainContents .article .box .basicTable td {
    text-align: center;
    line-height: 1.5;
    padding: 3px 5px;
}

#mainContents .article .box .basicTable th {
    background-color: #666;
	color: white;
}

#mainContents .article .box .basicTable th span {
    font-size: 0.80rem;
    display: inline-block;
    margin-left: auto;
}

#mainContents .article .box .basicTable tr td:nth-child(2) {
	background-color: #888;
	color: whitesmoke;
}


/* note */
#mainContents .article .box table + p {
    padding-top: 10px;
    text-align: right;
}

/* list */
#mainContents .article .box ul {
    padding: 0;
    margin-top: 1rem;
    font-size: 1rem;
}

#mainContents .article .box ul li::before {
    content: "※ ";
}

#mainContents .article .box ul li {
    padding-left: 1.25rem;
    text-indent: -1.25rem;
    margin-bottom: 0.5rem;
}

#mainContents .article .box ol {
    padding: 0;
    margin-top: 1rem;
    font-size: 1rem;
    counter-reset: number;
}

#mainContents .article .box ol li::before {
    counter-increment: number;
    content: "※" counter(number) "：";
}

#mainContents .article .box ol li {
    padding-left: 2.6rem;
    text-indent: -2.6rem;
    margin-bottom: 0.5rem;
}

/* figure */
#mainContents .article .box:nth-child(2) figure {
    margin-bottom: 20px;
}

#mainContents .article .box:nth-child(2) figure img {
    margin: 0 auto;
}

#mainContents .article .box:nth-child(2) figure figcaption {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

#mainContents .article .box:nth-child(3) figure {
    text-align: center;
}

#mainContents .article .box:nth-child(3) figure img {
    margin: 0 auto;
}

#mainContents .article .box:nth-child(4) {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

#mainContents .article .box:nth-child(4) figure {
    flex-shrink: 0;
}

#mainContents .article .box:nth-child(4) figure img {
    width: 200px;
}

#mainContents .article .box:nth-child(4) div {
    max-width: calc(100% - 220px);
}

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


@media screen and (max-width: 1180px) {
    #mainContents .article .box {
        width: 100%;
    }
}

/* - tablet以下 - */
@media screen and (max-width: 961px) {

    #mainContents .article .box:nth-child(4) {
        gap: 30px;
    }
    
    #mainContents .article .box:nth-child(4) div {
        max-width: calc(100% - 230px);
    }
    
    #mainContents .article .box:nth-child(4) figure img {
        margin: 0 auto;
    }
    
}

/* - 例外 - */
@media screen and (max-width: 545px) {
    #mainContents .article .box:nth-child(4) {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    
    #mainContents .article .box:nth-child(4) div {
        max-width: 100%;
    }
}

/* - mobile - */
@media screen and (max-width: 431px) {
    #mainContents .article .box:nth-child(4) figure img {
        width: auto;
        max-width: 50%;
    }
}
