@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    text-decoration: none;
}
h1 {
    font-weight: 500;
    margin-top: 60px;
    padding: 10px;
}
h2 {
    text-align: left;
    margin-top: 20px;
    /* margin-top: 10px; */
}
header {
    display: flex;
    justify-content: space-between;
    height: 70px;
    line-height: 70px;
}
header h1 {
    margin-left: 50px;
    margin-top: 0;
    padding: 0;
}
.items {
    margin-right: 50px;
    line-height: 70px;
}
.items a {
    color: #000;
    height: 18px;
    text-decoration: none;
    text-align: center;
    padding: 0 15px;
    border-left: 1px #000 solid;
}
.items a:hover {
    color: #7d7d7d;
    /* border-bottom: 1px #7d7d7d solid; */
}
.items a:last-child {
    border-right: 1px #000 solid;
}
.top {
    display: flex;
    width: 100%;
    background-image: url(../img/HiGA_HiroshiUeda.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 60px);
    color: #fff;
}
.top_left, .top_right {
    width: 50%;
}
.top_left h1 {
    font-size: 40px;
    margin: 0 auto;
    width: 80%;
    margin-top: 30vh;
}
.t_r_child {
    width: 350px;
    margin: 0 auto;
}
.top_right details {
    margin: 0 auto;
    transition: all 0.5s ease;
    background-color: #fff;
    color: #000;
    user-select: none;
    margin-top: 35vh;
    border-radius: 10px;
}
.top_right details[open] {
    height: fit-content;
}
.top_right summary {
    display: block;
    cursor: pointer;
    padding: 10px 20px;
    position: relative;
}
.top_right summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    transition: all 0.3s ease;
}
.top_right details[open] summary::after {
    transform: rotate(45deg);
}
.top_right summary::-webkit-details-marker {
    display: none;
}
.top_right li {
    list-style: none;
    padding-bottom: 10px;
}
.top_right li:hover {
    background-color: #5a605c;
}
.top_right li a {
    text-decoration: none;
    color: #587461;
    padding: 10px 20px;
}
.top_right li:first-child {
    padding-top: 10px;
}
.top_right details[open] ul {
    animation: fadeIn 0.5s ease;
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
.contents {
    margin: 0 auto;
    width: 90%;
    display: flex;
}
.contents img {
    margin: 50px auto;
    border-radius: 50%;
    width: 600px;
    height: 600px;
}
.contents_4 {
    margin: 50px auto;
    margin-left: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    background-color: #2ca9e1;
    border-radius: 50px;
    width: 40%;
}
.contents_4 a {
    margin-left: 70px;
    color: #fff;
    margin-top: 80px;
    font-size: 30px;
}
.osaki_island {
    width: 90%;
    height: fit-content;
    margin: 0px auto;
    margin-top: 60px;
    margin-bottom: 20px
}
.osaki_island p {
    font-size: 30px;
    margin-top: 20px;
    margin-left: 350px;
}
.osaki_island img {
    margin-left: 10px;
    margin-top: 20px;
    height: 300px;
    width: fit-content;
    float: left;
}
.osaki_island a {
    text-decoration: none;
    color: #3366cc;
    border-bottom: #3366cc solid 1px;
}
.osaki_island a:hover {
    color: #a8e2ff;
    border-color: #a8e2ff;
}
.osaki_picture {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}
.osaki_picture img {
    margin-top: 60px;
    margin-right: 20px;
    height: 300px;
}
.osaki_picture img:last-child {
    margin-right: 0;
}
.school {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}
.school_explain {
    width: 86%;
    height: fit-content;
    margin: 20px auto;
    border: solid #000 1px;
    padding: 20px;
    /* margin-top: 20px; */
}
.school_explain h1 {
    width: fit-content;
    margin: 20px auto;
    border-bottom: solid #000 0.5px;
}
.school_explain p {
    font-size: 30px;
    margin: 20px auto;
    text-align: left;
}
.school_explain span {
    /* color: #3366cc; */
    border-bottom: solid #000 0.5px;
}
.school h1 {
    text-align: left;
}
.three_item {
    margin-top: 60px;
    margin: 0 auto;
}
.three_item a {
    height: fit-content;
    text-decoration: none;
}
.three_item a img {
    margin-right: 20px;
    margin-top: 50px;
    height: 250px;
    width: 370px;
    object-fit: cover;
}
.three_last {
    margin-right: 0 !important;
}
.three_item img:hover {
    opacity: 0.6;
}
.dorm h2 {
    margin-left: 50px;
}
.dorm summary {
    width: fit-content;
    display: block;
    cursor: pointer;
    padding: 10px 20px;
    position: relative;
    margin: 0 auto;
}
.dorm details {
    margin: 0 auto;
    width: 90%;
}
.dorm h3:hover{
    color: #7d7d7d;
    border-color: #7d7d7d;
}
.dorm_schedule_junior {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    /* text-align: center; */
    /* margin: 0 auto; */
    /* text-align: center; */
}
.dorm_schedule_junior img {
    padding: 20px;
    width: 350px;
}
.dorm_schedule_highschool {
    /* margin-top: 30px; */
    /* width: 90%; */
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.dorm_schedule_highschool img {
    padding: 20px;
    width: 350px;
}
.difference_dormrule p {
    margin-left: 50px;
    text-align: left;
    padding: 10px;
}
.title {
    /* border-bottom: #000 solid 0.1px; */
    width: fit-content;
    margin-left: 20px;
}
.dorm_institution {
    width: 100%;
    margin: 0 auto;
}
.dorm_institution img {
    width :300px;
    /* padding-right: 20px; */
}
.dorm_institution p {
    padding: 10px;
}
.dorm_item {
    width: 30%;
    /* float: left; */
    margin-right: 20px;
    margin-top: 30px;
    background-color: #bce2e8;
    border-radius: 10%;
}
.dorm_item:last-child {
    margin-right: 0;
}
.dorm_item img {
    height: 225px;
}
.dorm_sentence {
    padding-bottom: 10px;
}
.dorm_item_l1 {
    display: flex;
    justify-content: center;
    /* width: 100%; */
}
.dorm_item_l2 {
    display: flex;
    justify-content: center;
}
.dorm_good-point {
    /* position: relative; */
    justify-content: center;
    margin: 20px auto;
    height: 250px;
    width: 100%;
}
.good_item_l1 {
    display: flex;
    justify-content: center;
    width: 100%;
}
.good_items {
    display: block;
    margin-right: 10px;
}
.good_items:last-child {
    margin-right: 0;
}
.dorm_good-point img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    transition: 0.5s;
    object-fit: cover;
}
.dorm_good-point img:hover {
    opacity: 0.5;
    width: 205px;
    height: 205px;
}
.holiday_good {
    /* display: flex; */
    width: 100%;
}
.holiday_good img {
    height: 300px;
    width: fit-content;
    margin-top: 20px;
    margin-right: 40px;
}
.holiday_good p {
    margin-top: 10px;
    font-size: 25px;
    text-align: left;
}
.holiday_good a {
    color: #0095d9;
    border-bottom: #0095d9 0.5px solid;
}
.school_institution {
    width: 100%;
    margin: 0 auto;
}
.school_institution img {
    width :300px;
    /* padding-right: 20px; */
}
.school_institution p {
    padding-left: 10px;
    padding-right: 10px;
}
.school_item {
    width: 30%;
    /* float: left; */
    margin-right: 30px;
    margin-top: 30px;
    background-color: #bce2e8;
    border-radius: 10%;
}
.school_item:last-child {
    margin-right: 0;
}
.school_item p {
    padding-top: 10px;
    padding-bottom: 10px;
}
.school_item img {
    height: 225px;
}
.school_sentence {
    padding-bottom: 10px;
}
.school_item_l1 {
    display: flex;
    justify-content: center;
    width: 100%;
}
.school_item_l2 {
    display: flex;
    justify-content: center;
    width: 100%;
}
.school_system {
    text-align: left;
    width: 90%;
    margin: 0 auto;
}
.school_system {
    padding: 10px;
}
.school_schedule p {
    text-align: left;
    margin: 0 auto;
    padding: 10px;
    width: 90%;
}
.school_schedule h3 {
    border-bottom: #000 0.5px solid;
    padding-top: 10px;
    text-align: left;
    width: fit-content;
}
.school_points p {
    text-align: left;
    padding: 10px;
}
.committee img {
    width: 300px;
}
.committee_item {
    width: 30%;
    /* float: left; */
    margin-right: 30px;
    margin-top: 30px;
    background-color: #bce2e8;
    border-radius: 10%;
}
.committee_item:last-child {
    margin-right: 0;
}
.committee_item p {
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
.committee_sentence {
    padding-bottom: 10px;
}
.committee_item_l1 {
    display: flex;
    justify-content: center;
    width: 100%;
}
.committee_item_l2 {
    display: flex;
    justify-content: center;
    width: 100%;
}
.alc_system {
    text-align: left;
    width: 90%;
    margin: 0 auto;
    margin-top: 10px;
}
.a4l_items {
    /* position: relative; */
    width: 100%;
    justify-content: center;
    margin: 20px auto;
}
.a4l_item_l1 {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 255px;
}
.a4l_item_l2 {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 255px;
}
.a4l_item {
    display: block;
    margin-right: 20px;
    margin-top: 10px;
    width: 220px;
    height: 250px;
}
.a4l_item:last-child {
    margin-right: 0;
}
.a4l_items h3 {
    margin: 0 auto;
    margin-top: 50px;
    /* border-bottom: #000 solid 0.5px; */
    width: fit-content;
    /* cursor: pointer; */
}
/* .a4l_items h3:hover {
    font-weight: 600;
    border-bottom: #000 solid 1px;
} */
.a4l_items img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: 0.5s;
    margin-top: 5px;
}
.a4l_items img:hover {
    opacity: 0.5;
    width: 205px;
    height: 205px;
}
footer {
    text-align: center;
    background-color: #fff;
    border-top: #000 solid 1px;
    width: 100%;
}
* {
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.contact {
    width: 960px;
    margin: 0 auto;
    padding: 60px 0;
}

.contact-ttl {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.contact-table {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

.contact-item,
.contact-body {
    padding: 20px;
    border: 1px solid #ccc;
}

.contact-item {
    text-align: left;
    width: 30%;
    background-color: #eee;
}

.contact-body {
    width: 70%;
}

.form-text {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: 400px;
}

.contact-sex + .contact-sex {
    margin-left: 10px;
}

.contact-sex-txt {
    display: inline-block;
    margin-left: 5px;
}

.form-select {
    width: 180px;
    height: 40px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-skill {
    display: block;
}

.contact-skill + .contact-skill {
    margin-top: 10px;
}

.contact-skill-txt {
    display: inline-block;
    margin-left: 5px;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-submit {
    width: 250px;
    background-color: #333;
    color: #fff;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    font-size: 16px;
    padding: 15px;
    border-radius: 100vh;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
@media screen and (max-width:480px) {
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 20px;
        font-weight: 400;
        margin-top: 10px;
    }
    h3 {
        font-size: 15px;
    }
    header {
        display: flex;
        flex-flow: column;
        height: fit-content;
    }
    header h1 {
        font-size: 20px;
        margin-left: 10px;
        height: 25px;
    }
    .items {
        margin-right: 0;
        margin-top: 10px;
        text-align: center;
    }
    .items a {
        font-size: 13px;
        height: 15px;
    }
    .top_left h1 {
        font-size: 22px;
    }
    .t_r_child {
        width: 120px;
    }
    .top_right summary {
        width: 100px;
    }
    .top_right details {
        width: 140px;
    }
    .top_right details a {
        font-size: 10px;
    }
    .contents img {
        display: none;
    }
    .contents_4 {
        width: 90%;
        margin: 20px auto;
    }
    .contents_4 a {
        margin: 0;
        font-size: 15px;
        padding: 20px;
    }
    .osaki_island {
        margin: 0 auto;
        height: fit-content;
        margin-bottom: 20px;
    }
    .osaki_img {
        text-align: center;
    }
    .osaki_island img {
        display: block;
        height: 250px;
        width: fit-content;
        margin: 0 auto;
        float: none;
    }
    .osaki_island p {
        margin-left: 0;
        margin: 0 auto;
        margin-top: 10px;
        width: 85%;
        height: fit-content;
        font-size: 20px;
    }
    .three_items {
        display: block;
    }
    .school img {
        height: 250px;
        width: fit-content;
        margin-left: 0;
        margin-bottom: 10px;
    }
    .school_explain {
        margin-top: 10px;
    }
    .school_explain p {
        font-size: 20px;
    }
    .dorm_schedule_junior {
        display: block;
        margin: 0 auto;
    }
    .dorm_schedule_junior img {
        width: 300px;
        height: fit-content;
    }
    .dorm_schedule_highschool {
        display: block;
        margin: 0 auto;
    }
    .dorm_schedule_highschool img {
        width: 300px;
        height: fit-content;
    }
    .difference_dormrule {
        text-align: left;
    }
    .dorm_explain p {
        font-size: 15px;
        margin-top: 10px;
    }
    .dorm_item {
        width: fit-content;
        margin: 0;
        border-radius: 10%;
    }
    .title {
        padding-top: 10px;
        
    }
    .dorm_institution img {
        padding: 0;
    }
    .dorm_good-point {
        width: 100%;
    }
    .good_item {
        margin: 0 auto;
    }
    .school_institution {
        margin: 0 auto;
    }
    .school_item {
        width: 100%;
        border-radius: 10%;
    }
}
@media screen and (max-width:850px) {
    .osaki_island {
        margin: 0 auto;
        height: fit-content;
        margin-bottom: 20px;
    }
    .osaki_img {
        text-align: center;
    }
    .osaki_island img {
        display: block;
        /* height: 500px; */
        margin: 0 auto;
        float: none;
    }
    .osaki_island p {
        /* margin-left: 0; */
        margin: 0 auto;
        margin-top: 10px;
        width: 85%;
        height: fit-content;
        font-size: 20px;
    }
}
@media screen and (max-width: 500px) {
    .phone {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        background-color: #000;
        z-index: 2;
        color: #fff;
        text-align: center;
        padding-top: 30vh;
    }
}