@charset "UTF-8";

br.sp{
	display: none;
}

#sec_banner {
    padding-bottom: 0;
}

.pt-20 {
    padding-top: 20px !important;
}

.text-center {
    text-align: center;
}

@media screen and (max-width: 640px) {
    .sec_cnt {
        width: 94% !important;
    }
}

/* btn Link*/
.nav_anchor {
    margin-top: 150px;
}

.nav_anchor ul {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.nav_anchor .numbersbtn {
    width: 280px;
    max-width: 30%;
    text-align: center;
    border: 2px #f7d100 solid;
    position: relative;
}

.nav_anchor .numbersbtn a {
    width: 100%;
    padding: 20px 0;
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    color: #3c3c3c;
    transition: .3s;
}

.nav_anchor .numbersbtn a::after {
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    display: block;
    top: 22px;
    right: 18px;
    border-top: solid 2px #3c3c3c;
    border-right: solid 2px #3c3c3c;
    transform: rotate(135deg);
    transition: all, .3s;
}

.nav_anchor .numbersbtn a:hover::after {
    top: 27px;
}

.scroll_wrap{
    overflow-x: scroll;
    width: 100%;
}

.scroll_inner {
    width: 960px;
}

.interview_item:not(:last-of-type) {
    margin-bottom: 100px;
}

.interview_item.accordion{
    margin-bottom: 0;
}

.interview_item h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
    background-color: #4b6cb4;
    font-weight: bold;
    position: relative;
    margin-bottom: 72px;
    line-height: 1.5;


    &::before {
        content: '';
        display: inline-block;
        width: 40px;
        height: 26px;
        background: #4b6cb4;
        clip-path: polygon(0 0, 100% 0%, 50% 100%);
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.interview_item_flex {
    display: flex;
    gap: 30px;
}

.interview_item .interview_item_flex .item_wrap h3 {
    height: 100px;
}

.interview_item details summary h3{
    margin-bottom: 0;
}

summary {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 72px;
    gap: 10px;
    cursor: pointer;
    /* padding: 16px 24px; */
    font-weight: bold;
    position: relative;

    /* Safariで表示されるデフォルトの三角形アイコンを消します */
    &::-webkit-details-marker {
        display: none;
    }
}

/* --------アイコンを作ります-------- */
.icon {
    display: block;
    position: absolute;
    width: 24px;
    transform-origin: center 43%;
    transition: transform 0.4s;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);

    /* アイコンのバーのスタイル */
    &::before,
    &::after {
        content: "";
        background-color: #fff;
        position: absolute;
        display: block;
        width: 15px;
        height: 3px;
    }

    &::before {
        left: 0;
        transform: rotate(45deg);
    }

    &::after {
        right: 0;
        transform: rotate(-45deg);
    }
}

/* アコーディオンが開いた時のスタイル */
details {
    /* --------アコーディオンの中身のスタイル-------- */
    &::details-content {
        transition:
            height 0.4s,
            opacity 0.4s,
            content-visibility 0.4s allow-discrete;
        height: 0;
        opacity: 0;
        overflow: clip;
    }

    /* --------アコーディオンの中身のスタイル（開いている時）-------- */
    &[open]::details-content {
        opacity: 1;
        margin-bottom: 100px;
    }

    /* アコーディオンが開いた時のスタイル */
    &[open] .icon {
        transform: rotate(180deg);
    }

}

/* .interview_item details h3{
    margin-bottom: 0;
} */

@supports (interpolate-size: allow-keywords) {
    :root {
        interpolate-size: allow-keywords;
        /* height:0（数値型） → auto（文字型） のアニメーションを可能にするための指定 */
    }

    details[open]::details-content {
        height: auto;
    }
}

/* height:0→autoへのアニメーションが対応していない場合は、固定値にアニメーションさせる */
@supports not (interpolate-size: allow-keywords) {
    details[open]::details-content {
        max-width: 2000px;
        height: 100%;
        /* height: 150px; */
        overflow-y: scroll;
    }
}

.interview_item_voice {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-height: 2000px;
}

.interview_item_voice .voice_item {
    flex: 1 1 calc(50% - 30px);
    display: flex;
    align-items: center;
    gap: 20px;
}

.interview_item_voice .voice_item .voice_item_img {
    flex-shrink: 0;
}

.interview_item_flex.rent{
    justify-content: space-around;
    background: #f0f8fb;
    align-items: center;
    padding: 40px;
}

#voice h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px){
	br.sp{
		display: block;
	}
	br.pc{
		display: none;
	}
	.nav_anchor ul {
		flex-wrap: wrap;
        gap:30px;
	}
	.nav_anchor{
		margin-top: 60px;
	}
	.nav_anchor .numbersbtn{
		width: 100%;
    	max-width: 100%;
	}
	.nav_anchor .numbersbtn:last-of-type{
		margin-bottom: 0;
	}

    .interview_item h3 {
        font-size: 1.8rem;
        margin-bottom:30px;
    }

    .interview_item:not(:last-of-type) {
        margin-bottom: 60px;
    }    

    .interview_item_flex {
        flex-direction: column;
        gap: 60px;
    }
    .interview_item_flex .item_wrap{
        text-align: center;
    }
    .interview_item .interview_item_flex .item_wrap h3 {
        height: 72px;
    }    

    summary {
        margin-bottom: 30px;
    }
    
    .interview_item.accordion{
        margin-bottom: 0;
    }
    
    .interview_item_voice .voice_item {
        flex: 1 1 100%;
    }
 
    .icon {
        right: 16px;
    }    

    #voice h2 {
        font-size: 1.8rem;
    }    
    
}