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

#mainContents #cont h1 {
   background: linear-gradient(to bottom,  #cacbcd 0%,#cacbcd 25%,#c8c9cb 50%,#c5c6c8 76%,#c6c7c9 100%);
}

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

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

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

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

}

/* layout */
#mainContents #attention {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0 30px 40px;
}

#mainContents #attention img {
    flex-basis: 180px;
    width: 180px;
}

#mainContents .article .box {
    position: relative;
    width: calc(50% - 25px);
}

#mainContents .article .box .noteTableBase {
    position: relative;
}

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

#mainContents .article .box div.tableBox {
    margin: 50px 0;
}

#mainContents .article .box div.borderBox {
    border: 3px solid dimgray;
    border-radius: 5px;
    padding: 30px;
}

#mainContents .article .box div.borderBox h3 {
    background-color: #555;
    border-radius: 5px;
    color: white;
    padding: 2px 10px;
    margin-bottom: 30px;
}

#mainContents .article .box div.borderBox h4 {
    margin-top: 30px;
}

#mainContents .article .box div.borderBox > p:last-child {
    margin-top: 30px;
}

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


/* font */
#mainContents #attention h2,
#mainContents .article h3,
#mainContents .article h4,
#mainContents .article .box p.note {
    font-family: "Shin Go Bold", sans-serif;
}

#mainContents #attention p {
    font-feature-settings: normal;
}

#mainContents .article .box div.borderBox h3 {
    font-family: "Shin Go Regular", sans-serif;
}

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

#mainContents .article .box div.borderBox p {
    font-size: 0.9rem;
}

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

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

#mainContents .article .box .table2,
#mainContents .article .box .table3 {
    margin-top: 10px;
}

#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 .table1 tr:nth-last-child(6) {
    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 .table1 tr:nth-last-child(n + 7):nth-child(n + 3) td:nth-child(2){
	background-color: #444;
	color: gray;
}

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

#mainContents .article .box .table1 tr:nth-child(n+3):nth-child(-n+8) td {
    background-color: rgba(0,0,0,0.5) ;
    color: #444;
}

#mainContents .article .box .table1 tr:nth-last-child(-n + 6) td:nth-child(2),
#mainContents .article .box .table2 tr td:nth-child(2) {
    background-color: whitesmoke;
    color: #444;
}

#mainContents .article .box .table3 tr:nth-last-child(2) {
    color: gray;
}

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

#mainContents .article .box p.note {
    position: absolute;
    z-index: 50;
    font-size: 1rem;
    color: white;
    top: 250px;
    left: 50%;
    transform: translate(-50%, 0);
    font-feature-settings: normal;
    display: flex;
    width: 100%;
    justify-content: space-around;
}

#mainContents .article .box p.note span span {
    display:  inline-block;
}

/* 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;
    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: 3000px) {
    #mainContents .article .box p.note span:nth-child(n+2){
        display: none;
    }
}


@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 #attention {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-right: 0;
        margin-left: 0;
    }
    
    #mainContents .article .box p.note {
        top: 12.1%;
    }

    #mainContents .article .box:nth-child(4) figure img {
        width: auto;
        max-width: 50%;
    }
}
