@charset "utf-8";

#onki_main{
    background-image:url(../img/onki/bg_main.png);
    background-attachment: fixed;
    background-size: cover;
    line-height: 2.5;
    color: #fff;
    overflow-x: hidden;
}
.box{
    position: relative;
}
#onki_main .box.mv::before{
    background-image:url(../img/onki/img_picture.png);
    background-repeat: no-repeat;
    content: "";
    display: block;
    position: absolute;
    top: -30%;
    right: -20%;
    aspect-ratio: 1429/2519;
    width: min(1429px,90vw);
    background-size: contain;
    z-index: 0;
}
.page section{
    margin-top: 0 !important;
}
.img_title{
    width: min(320px,32%);
    margin: min(200px) 0;
    z-index: 2;
    position: relative;
}
.onki_about{
    border: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    padding:min(80px,8vw)  ;
    word-break: break-all;
    display: none;
}
.onki_about h2{
    margin-bottom: min(40px,4vw);
}
.onki_about p{
    line-height: 2.5;
}
.onki_request {
    margin:min(200px,20vw) auto ;
    margin-top: 0;
}
.onki_request h2{
    margin-bottom: min(40px,4vw);
}
.onki_request p{
    line-height: 2.5;
}
.onki_message{
    background-color: #fff;
    padding: min(80px,8vw);
    color: #000;
    z-index: 2;
    position: relative;
}
.onki_message h2{
    margin-bottom: min(40px,4vw);
    text-align: left;
}
.onki_message .content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.onki_message .content p{
    width: 55%;
}
.onki_message .content p span{
    display: block;
    text-align: right;
}
.onki_message .content .img_message{
    width: 40%;
    align-self: flex-start;
}
.onki_message .content01 .img_message{
    margin-top: max(-200px,-20vw);
}
.onki_message .content02{
    margin-top: min(120px,12vw);
}
.onki_schedule{
    margin: min(120px,8vw) auto;
}
.onki_schedule h2{
    text-align: center;
    margin-bottom: min(40px,4vw);
}
.onki_schedule p{
    width: max-content;
    text-align: left;
    margin: 0 auto;
}

.onki_publication h3{
    margin: 0 auto;
    letter-spacing: 0;
}
.onki_publication p{
    margin-top: max(40px,4vw);
}
.onki_publication .accordion-content{
    font-weight: bold;
    border-bottom: 1px solid #fff;
    padding-bottom: max(120px,12vw);
}

/* アコーディオン全体の枠 */
details {
    margin-bottom: 10px;
    overflow: hidden;
}

/* クリックするタイトル部分 */
summary {
    /* background-color: #f8f9fa; */
    border: 1px solid #ddd;
    /* padding: 15px 20px; */
    font-weight: bold;
    /* border-radius: 6px; */
    cursor: pointer;
    font-size: 2rem;
    list-style: none; /* デフォルトの三角アイコンを消す */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

/* Safari用のデフォルトアイコン非表示 */
summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    /* background-color: #eef1f5; */
}

/* 右側の「＋」アイコン */
summary::after {
    content: "＋";
    font-size: 1.2em;
    width: 1.2em;
    color: #fff;
    transition: transform 0.2s;
}

/* 開いたときは「ー」にする（または回転させる） */
details[open] summary::after {
    content: "－";
}

/* 開いたときに表示される中身 */
.accordion-content {
    padding: 15px 20px;
    /* background-color: #fff; */
    /* border-top: 1px solid #ddd; */
    line-height: 2.5;
}


.onki_note{
    margin-top: min(120px,12vw);
    padding-bottom: min(120px,12vw);
}
.onki_note dt{
    font-weight: bold;
    margin-top: 10px;
}
.onki_note dd{
    margin-left: 1em;
}

@media screen and (min-width:1000px) {
    /*PC*/
}
@media screen and (max-width:999px) {
    /*SP-Tablet*/
}
@media screen and (max-width:479px) {
    /*SP*/
    #onki_main .box.mv::before {
        top: -20%;
        right: -70%;
        width: min(1429px,150vw);
    }
    .img_title {
        width: 80%;
        margin-left: 10%;
    }
    .onki_message .box {
        max-width: 100%;
    }
    .onki_message .content p {
        width: 100%;
        order: 2;
        margin-top: 40px;
    }
    .onki_message .content .img_message {
        width: 100%;
        order: 1;
    }
    .onki_message .content01 .img_message {
        margin-top:0;
    }
    .onki_schedule p {
        width: 100%;
    }
    .onki_publication h3 {
        font-size: 1.6rem;
        padding: 1rem;
    }
    summary::after {
        margin-right: 10px;
    }
}
