@charset "utf-8";

/*==================================================
カラーパレット
===================================*/

body{
    /*基本配色*/
    --base-color-white:#e8e8e8;
    --base-color-black:#3d3d3d;
    --theme-color-pale:#c0d8cc;
    --theme-color-middle:#7e9c7c;
    --theme-color-dark:#546953;
    --accent-color-yellow:#d5a153;
    --accent-color-red:rgb(213,105,83);
    /*色が共通のパーツ*/
    --header-background:var(--base-color-white);
    --main-background:var(--base-color-white);
    --footer-background:var(--base-color-white);
    --link-button:var(--base-color-black);
    --link-button-hover:var(--accent-color-yellow);
    --container-header:var(--theme-color-dark);
}


/*========= モーダル表示のためのCSS ===============*/

/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
	display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
	background:#ccc;	
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
	padding:0;
}

/*以下はコンテンツ内のレイアウト*/
.info-list dl,
.gallery-list{
	display: flex;
}

.info-list dt{
	margin:0 10px 0 0;
}

.gallery-list li{
	margin:0 10px 0 0;
}



/*矢印が右に移動する*/
.btnarrow4{
    /*矢印と下線の基点とするためrelativeを指定*/
	position: relative;
    /*形状*/
    /*display: inline-block;*/
	padding: 0 20px;
    color: #333;
    text-decoration: none;
    outline: none;
    float: right;
}

/*矢印と下線の形状*/
.btnarrow4::before{
    content: '';
    /*絶対配置で下線の位置を決める*/
	position: absolute;
    bottom:-8px;
    left:15%;
    /*下線の形状*/    
    width: 85%;
    height: 1px;
	background:#333;
    /*アニメーションの指定*/
    transition: all .3s;
}

.btnarrow4::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    bottom:-3px;
    right:0;
    /*矢印の形状*/    
    width: 15px;
    height:1px;
	background:#333;
    transform: rotate(35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow4:hover::before{
    left:20%;
}

.btnarrow4:hover::after{
    right:-5%;
}


/*========= レイアウトのためのCSS ===============*/

/*20250826追加*/
    h1 a.pdfLink{
         font-size: 1rem;
         margin-left: 1em;
         font-weight: normal;
    }
/*---------*/

ul{
	list-style: none;
}

.aoyama-container{
    padding-bottom: 0.5em;
    background-color: #e8e8e8;
    border-radius: 10px;
    padding: 1em;
    margin-bottom: 2em;
    text-align: left;
}

.aoyama-container-header{
    display: inline-block;
    background-color: var(--container-header);
    font-weight: bold;
    color: #e8e8e8;
    border-radius: 10px;
    text-align: left;
    padding: 1em;
}

.aoyama-container-body{
    background-color: #e8e8e8;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-sizing: border-box;
    text-align: left;
    padding: 2em;
    padding: bottom 1em;
}

.container-aoyama-apply-wrapper {
    display: flex;
    flex-direction: row; /* 要素を横並びにする */
    align-items: flex-start; /* 上端に揃える */
    justify-content: space-between; /* 要素を均等に配置 */
    flex-wrap: wrap; /* 要素が行をまたぐ場合に折り返す */
}

.aoyama-apply-container-first{
    background-color: #e8e8e8;
    border-radius: 10px;
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}
  
.aoyama-apply-container{
    background-color: #e8e8e8;
    border-radius: 10px;
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: left;
}

.aoyama-apply-container-first img{
    object-fit: contain;
    width: 100%;
    height: 150px;
}

.aoyama-apply-container-first>a :hover{
    opacity: 0.5;
}

.aoyama-apply-container img{
    object-fit: contain;
    width: 100%;
    height: 150px;
}

.aoyama-apply-container>a :hover{
    opacity: 0.5;
}

.aoyama-apply-container-header{
    background-color: var(--container-header);;
    font-weight: bold;
    color: #e8e8e8;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: left;
    padding: 1em;
}

.aoyama-apply-container-body{
    display: flex;
    flex-direction: row; /* 要素を横並びにする */
    align-items: flex-start; /* 上端に揃える */
    justify-content: space-between; /* 要素を均等に配置 */
    flex-wrap: wrap; /* 要素が行をまたぐ場合に折り返す */
}

.aoyama-apply-container-content{
    width: calc(33.33% - 20px);
    min-height: max-content;
    padding: 1.5em;
    position: relative; /* 相対位置指定 */
}


.aoyama-apply-container-content-last{
    width: calc(33.33% - 20px);
    min-height: max-content;
    padding: 1.5em;
    position: relative; /* 相対位置指定 */
}

.aoyama-img-container{
    display: flex;
}

.aoyama-apply-container-content::after {
    content: "";
    position: absolute; /* 絶対位置指定 */
    top: 50%; /* 上下中央に配置 */
    right: -20px; /* 右側に配置 */
    border: solid transparent;
    border-width: 20px;
    border-left-color: #3d3d3d; /* 矢印の色 */
    transform: translateY(-50%); /* 上下中央に配置 */
}

.arrow_box{
    position:relative;
    width:300px;
    height:70px;
    background:#E8E8E8;
    text-align:center;
    border:5px solid #CCCCCC;
    color:#606060;
    font-size:16px;
    font-weight:bold;
    border-radius:40px;
    -webkit-border-radius:40px;
    -moz-border-radius:40px;
    margin: auto;
}

.arrow_box:after,.arrow_box:before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    top:100%;
    left:50%;
}

.arrow_box:after{
    border-color: rgba(232, 232, 232, 0);
    border-top-width:20px;
    border-bottom-width:20px;
    border-left-width:15px;
    border-right-width:15px;
    margin-left: -15px;
    border-top-color:#E8E8E8;
}

.arrow_box:before{
    border-color: rgba(204, 204, 204, 0);
    border-top-width:26px;
    border-bottom-width:26px;
    border-left-width:20px;
    border-right-width:20px;
    margin-left: -20px;
    margin-top: 5px;
    border-top-color:#CCCCCC;
}

.boder-radius{
    border: solid;
    border-radius: 10px;
    border-color: #3d3d3d;
    border-width: 2px;
    flex: 1;
    padding: 4.25em;
}

.school-container{
    background-color: #e8e8e8;
    border-radius: 10px;
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: left;
}

.school-container img{
    object-fit: contain;
    width: 100%;
    height: 150px;
}

.school-container-header{
    background-color: var(--container-header);;
    font-weight: bold;
    color: #e8e8e8;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: left;
    padding: 1em;
}

.school-container>p{
    padding:0.5em 2em 0.5em 2em;
}

.price-container{
    width: calc(50% - 20px);
}

/* --------------------------------------------------------------------------------
Section内のレイアウト
-------------------------------------------------------------------------------- */
.modaal-content-container > h1{
    color: var(--theme-color-middle);
}

.modaal-content-container > h2{
    color: var(--theme-color-middle);
}

.overview-container{
    margin-top: 1em;
    margin-bottom: 1em;
}

.explanation-container{
    margin-top: 1em;
    margin-bottom: 1em;
}

.date-container dl{
    display: flex;
    flex-wrap: wrap;
}

.date-container dt{
    width: 10%;
}

.date-container dd{
    width: 40%;
    text-align: left;
}

.omnibus-conatiner{
    margin-top: 1em;
    padding-bottom: 2em;
    border-bottom: var(--base-color-black) solid 1px;
}

.omnibus-conatiner>h1{
    color: var(--theme-color-dark);
    font-weight: 700;
}

.omnibus-conatiner>h2{
    color: var(--theme-color-dark);
}

.teacher-info{
    text-align: right;
}

.teacher-name{
    margin-left: 1em;
    font-size: xx-large;
}

/* --------------------------------------------------------------------------------
Tabのレイアウト
-------------------------------------------------------------------------------- */
/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;
}
.tab li a{
	display: block;
	background:#ddd;
    margin-right: 1em;
	padding:10px 20px;
    border-radius: 10px;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background:#F4F5F7;
}


/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	/*background: var(--theme-color-pale);*/
	padding:15px 0px 0px;
    /*padding:50px 20px;*/
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}



/*========= レイアウトのためのCSS ===============*/

.tab{
    padding-bottom: 1em;
}


.wrapper{
	width:100%;
	margin:15px auto;
}

.area h2{
	font-size:1.3rem;
	margin:0 0 20px 10px;
}

.area li{
	padding: 10px; 
	border-bottom: 1px solid #ddd;
}

/*=========タブレット用 レイアウトのためのCSS ===============*/
@media screen and (max-width: 1199px) {
    
    /*tabの横スクロール対応*/
    .tab {
        flex-wrap: nowrap;
        overflow-x: scroll;
        white-space: nowrap;
    }

    .tab::-webkit-scrollbar{
        height: 15px;
    }

    .tab::-webkit-scrollbar-thumb {
        background: #d2b48c; /* ツマミの色 */
        border-radius: 7px; /* ツマミ両端の丸み */
        width: 10%;
    }

    .tab::-webkit-scrollbar-track {
        background: #3d3d3d; /* トラックの色 */
        border-radius: 7px; /* トラック両端の丸み */
    }

    .aoyama-apply-container-content{
        width: 100%;
    }

    .aoyama-apply-container-content-last{
        width: 100%;
    }

    .aoyama-apply-container-content::after{
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-left: 30px solid transparent; /* 左側を透明にすることで三角形を作成 */
        border-right: 30px solid transparent; /* 右側も透明にする */
        border-top: 30px solid #3d3d3d; /* 三角形の色を設定 */
        bottom: -40px; /* 矢印を下方向にオフセット */
        top:100%;
        left: 50%; /* 横方向中央に配置 */
        transform: translateX(-50%); /* 中央寄せ */
    }

    .boder-radius{
        margin-top: 1em;
    }

}

/*=========スマートフォン用 レイアウトのためのCSS ===============*/

@media screen and (max-width: 767px) {

    .aoyama-apply-container-content{
        width: 100%;
    }

    .aoyama-apply-container-content-last{
        width: 100%;
    }

    .aoyama-apply-container-content::after{
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-left: 30px solid transparent; /* 左側を透明にすることで三角形を作成 */
        border-right: 30px solid transparent; /* 右側も透明にする */
        border-top: 30px solid #3d3d3d; /* 三角形の色を設定 */
        bottom: -40px; /* 矢印を下方向にオフセット */
        top:100%;
        left: 50%; /* 横方向中央に配置 */
        transform: translateX(-50%); /* 中央寄せ */
    }

    .boder-radius{
        margin-top: 1em;
    }

    /*tabの横スクロール対応*/
    .tab {
        flex-wrap: nowrap;
        overflow-x: scroll;
        white-space: nowrap;
    }

    .tab::-webkit-scrollbar{
        height: 15px;
    }

    .tab::-webkit-scrollbar-thumb {
        background: #d2b48c; /* ツマミの色 */
        border-radius: 7px; /* ツマミ両端の丸み */
    }

    .tab::-webkit-scrollbar-track {
        background: #3d3d3d; /* トラックの色 */
        border-radius: 7px; /* トラック両端の丸み */
    }

    .price-container{
        width: 100%;
    }
}

/*=========極小スマートフォン用 レイアウトのためのCSS ===============*/

@media screen and (max-width: 280px) {

    .min-sp{
        display: none;
    }

    .boder-radius{
        padding: 1em;
    }
}


/*========= プリント用 レイアウトのためのCSS ===============*/

@media print and (max-width: 768px) {
    
    .aoyama-apply-container-content{
        width: 100%;
    }

    .aoyama-apply-container-content-last{
        width: 100%;
    }

    .aoyama-apply-container-body{
        display: block;
    }

    .aoyama-apply-container-content::after{
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-top: 30px solid #3d3d3d;
        bottom: -40px;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .tab{
        flex-wrap: nowrap;
        overflow-x: scroll;
        white-space: nowrap;
    }

    .price-container{
        width: 100%;
    }

    .area.is-active{
        display: block;
    }

    .tab::-webkit-scrollbar{
        height: 15px;
    }

    .tab::-webkit-scrollbar-thumb {
        background: #d2b48c; /* ツマミの色 */
        border-radius: 7px; /* ツマミ両端の丸み */
    }

    .tab::-webkit-scrollbar-track {
        background: #3d3d3d; /* トラックの色 */
        border-radius: 7px; /* トラック両端の丸み */
    }
}