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

#mainContents #cont h1 {
   background: linear-gradient(to bottom,  #ceae99 0%,#cba892 25%,#c8a68c 50%,#c8a48c 75%,#c6a385 100%);
}

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

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

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

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

}


/* layout */
#mainContents .article .box:nth-child(1){
    width: 65%;
}

#mainContents .article .box:nth-child(2){
    width: 31%;
}

#mainContents .article .box:nth-child(3),
#mainContents .article .box:nth-child(4),
#mainContents .article .box:nth-child(5) {
    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: 310  / 326;
    width: 148px;
    color: white;
    padding: 43px 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 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:nth-child(3) td:last-child {
	text-align: left;
    vertical-align: text-top;
    min-width:130px;
    max-width: 200px;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (prefers-color-scheme: dark) {
    #mainContents .article .box .basicTable tr:nth-child(2n) {
        background-color: #565656;
    }
    
    #mainContents .article .box .basicTable tr:nth-child(2),
    #mainContents .article .box .basicTable tr:nth-child(2) td:nth-child(2) {
        background-color: #3f3f3f;
        color: white;
    }
    
    #mainContents .article .box .basicTable th {
        background-color: #1f1f1f;
    }
    
    #mainContents .article .box .basicTable td:nth-child(2) {
        background-color: #363636;
    }
}

/* 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) {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

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

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

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

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

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

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

#mainContents .article .box:nth-child(4) figure img {
    max-width: 215px;
    margin: 0 auto;
}

#mainContents .article .box:nth-child(4) figure figcaption {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin-top: 20px;
}


/* feature */
#mainContents .article .box:nth-child(5) .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

#mainContents .article .box:nth-child(5) .note1 {
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
    padding: 40px 0;
}

#mainContents .article .box:nth-child(5) .note2 {
    padding-top: 40px;
}

#mainContents .article .box:nth-child(5) .note2 p::before {
    content: "※";
}

#mainContents .article .box:nth-child(5) .note2 p {
    padding-left: 1em;
    text-indent: -1em;
}

#mainContents .article .box:nth-child(5) .note2 p:first-child {
    margin-bottom: 1rem;
}

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

@media screen and (max-width: 1677px) {
    #mainContents .article .box:nth-child(1) { width: 100%; }
    #mainContents .article .box:nth-child(2) { width: 60%; }
}

@media screen and (max-width: 1352px) {
    #mainContents .article .box:nth-child(3) h2,
    #mainContents .article .box:nth-child(4) h2 {
        height: 3.4em;
    }


@media screen and (max-width: 1180px) {
    #mainContents .article .box:nth-child(1),
    #mainContents .article .box:nth-child(2),
    #mainContents .article .box:nth-child(3),
    #mainContents .article .box:nth-child(4),
    #mainContents .article .box:nth-child(5) {
        width: 100%;
    }
    
    #mainContents .article .box:nth-child(3) h2,
    #mainContents .article .box:nth-child(4) h2 {
        height: auto;
    }
}

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

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

/* - 例外 - */
@media screen and (max-width: 680px) {
    /* feature */
    #mainContents .article .box:nth-child(5) .grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

}

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

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