/* ----------------------------------------------------------
General Settings
---------------------------------------------------------- */


/* ----------------------------------------------------------
Style for PCs
---------------------------------------------------------- */
@media screen and (min-width: 1025px) {

.sch_year {
font-size: clamp(1rem,1vw + 2rem, 4rem);
font-weight: 300;
line-height: 1.5em;
margin-bottom: 0.5em;
}

.sche-list .sche-item {
width:100%;
height: auto;
display: block;
border-radius: 5px;
margin:0 0 5px 0;
}
.sche-list .sche-item {
width:100%;
height: auto;
display: block;
background-color: var(--color-f8);
background-image: url(../img/header/ic-ar_vd_c.webp);
background-repeat: no-repeat;
background-position: 98% 15px;
background-size: 40px;
cursor: pointer;
}
.sche-list .sche-item.active {
background-image: url(../img/header/ic-ar_vu_c.webp);
background-color: var(--color-white);
box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
margin-bottom: 10px;
}
.sche-list .sche-item h4 {
width:100%;
height: auto;
min-height:60px;
display: flex;
align-items: center;
font-size: clamp(1rem,1vw + 1rem, 10rem);
font-weight: 300;
line-height: 1.5em;
padding:0.5em 4em 0.3em 1em;
}
.sche-list .sche-item .schtable {
display: block;
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height 1s ease, opacity 1s ease;
font-size: clamp(1rem,1vw + 0.1rem, 1.5rem);
line-height: 1.5em;
margin: 0;
padding:10px 30px 0px 30px;
}

.sche-list .sche-item.active .schtable {
min-height: 60px;
max-height: 500px; /* 十分な高さに設定（実際の内容に応じて調整） */
opacity: 1;
padding:0.6em 30px 35px 30px;
margin-top: 0.5em;
}

.sche-list .sche-item .schtable table {
width:100%;
border-collapse: collapse;
}
.sche-list .sche-item .schtable table th {
width:auto;
font-size:14px;
font-weight: 400;
line-height: 1.25em;
padding: 1em;
color:var(--color-white);
background-color: var(--color-1st);
border:1px solid var(--color-ccc)
}
.sche-list .sche-item .schtable table td {
width:auto;
font-size:14px;
font-weight: 400;
line-height: 1.25em;
padding: 1em;
border:1px solid var(--color-ccc)
}

}

/* ----------------------------------------------------------
Style for iPad Pro
---------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {

.sch_year {
font-size: clamp(1rem,1vw + 2rem, 4rem);
font-weight: 300;
line-height: 1.5em;
margin-bottom: 0.5em;
}

.sche-list .sche-item {
width:100%;
height: auto;
display: block;
border-radius: 5px;
margin:0 0 5px 0;
}
.sche-list .sche-item {
width:100%;
height: auto;
display: block;
background-color: var(--color-f8);
background-image: url(../img/header/ic-ar_vd_c.webp);
background-repeat: no-repeat;
background-position: 98% 15px;
background-size: 40px;
cursor: pointer;
}
.sche-list .sche-item.active {
background-image: url(../img/header/ic-ar_vu_c.webp);
background-color: var(--color-white);
box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
margin-bottom: 10px;
}
.sche-list .sche-item h4 {
width:100%;
height: auto;
min-height:60px;
display: flex;
align-items: center;
font-size: clamp(1rem,1vw + 1rem, 10rem);
font-weight: 300;
line-height: 1.5em;
padding:0.5em 4em 0.3em 1em;
}
.sche-list .sche-item .schtable {
display: block;
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height 1s ease, opacity 1s ease;
font-size: clamp(1rem,1vw + 0.1rem, 1.5rem);
line-height: 1.5em;
margin: 0;
padding:10px 30px 0px 30px;
}

.sche-list .sche-item.active .schtable {
min-height: 60px;
max-height: 500px; /* 十分な高さに設定（実際の内容に応じて調整） */
opacity: 1;
padding:0.6em 30px 35px 30px;
margin-top: 0.5em;
}

.sche-list .sche-item .schtable table {
width:100%;
border-collapse: collapse;
}
.sche-list .sche-item .schtable table th {
width:auto;
font-size:14px;
font-weight: 400;
line-height: 1.25em;
padding: 1em;
color:var(--color-white);
background-color: var(--color-1st);
border:1px solid var(--color-ccc)
}
.sche-list .sche-item .schtable table td {
width:auto;
font-size:14px;
font-weight: 400;
line-height: 1.25em;
padding: 1em;
border:1px solid var(--color-ccc)
}

}


/* ----------------------------------------------------------
Style for Smartphone
---------------------------------------------------------- */
@media screen and (max-width: 768px) {

  .sch_year {
font-size: clamp(1rem,1vw + 2rem, 4rem);
font-weight: 300;
line-height: 1.5em;
margin-bottom: 0.5em;
}

.sche-list .sche-item {
width:100%;
height: auto;
display: block;
border-radius: 5px;
margin:0 0 5px 0;
}
.sche-list .sche-item {
width:100%;
height: auto;
display: block;
background-color: var(--color-f8);
background-image: url(../img/header/ic-ar_vd_c.webp);
background-repeat: no-repeat;
background-position: 94% 25px;
background-size: 24px;
cursor: pointer;
}
.sche-list .sche-item.active {
background-image: url(../img/header/ic-ar_vu_c.webp);
background-color: var(--color-white);
box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
margin-bottom: 10px;
}
.sche-list .sche-item h4 {
width:100%;
height: auto;
min-height:60px;
display: flex;
align-items: center;
font-size: 20px;
font-weight: 300;
line-height: 1.5em;
padding:0.5em 4em 0.3em 1em;
}
.sche-list .sche-item .schtable {
display: block;
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height 1s ease, opacity 1s ease;
font-size: 12px;
line-height: 1.5em;
margin: 0;
padding:10px 15px 0px 15px;
}

.sche-list .sche-item.active .schtable {
min-height: 60px;
max-height: 800px; /* 十分な高さに設定（実際の内容に応じて調整） */
opacity: 1;
padding:0.6em 15px 35px 15px;
margin-top: 0.5em;
}

.sche-list .sche-item .schtable table {
width:100%;
border-collapse: collapse;
}
.sche-list .sche-item .schtable table th {
width:auto;
font-size:12px;
font-weight: 400;
line-height: 1.25em;
padding: 10px 5px;
color:var(--color-white);
background-color: var(--color-1st);
border:1px solid var(--color-ccc)
}
.sche-list .sche-item .schtable table td {
width:auto;
font-size:12px;
font-weight: 400;
line-height: 1.25em;
padding: 10px 5px;
border:1px solid var(--color-ccc)
}
.sche-list .sche-item .schtable table td:nth-of-type(1) {
  text-align: center;
}

}
