
html {
    overflow-x: hidden;
}

.w_1080 {
    margin: auto;
}

main {
    padding-top: 40px;
}

header {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 800;
    box-shadow: 0 0 10px 0 #00000014;
}

#header {
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo_img {
    width: 42px;
    height: 42px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    line-height: 0;
    letter-spacing: 0;
}

.nav_list {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav_list li a {
    text-decoration: none;
}

.nav_list a:hover {
    color: #F27E1F;
    transition: 0.3s;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    height: 30px;
    width: 30px;
    cursor: pointer;
    right: 40px;
    top: 50%;
    z-index: 10000;
    transform: translateY(-50%);
    display: none; 
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: #505050;
    transition: 0.3s;
}

.nav_list.open {
    right: 18px;
}

.Links {
    display: none;
}

.insta_bt {
    display: inline-block;
    color: #ffffff;
    padding: 12px 20px;
    line-height: 1;
    border-radius: 18px;
    background: linear-gradient(90deg, rgb(255 106 0), rgb(255 177 0));
    transition: 0.25s;
}


.hamburger-menu span:first-child {
    transform: none;
}

.hamburger-menu span:first-child {
    opacity: 1;
}

.hamburger-menu span:first-child {
    transform: none;
}

.hamburger-menu.open span:first-child {
    transform: rotate(45deg) translate(14.5px, 5px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:last-child {
    transform: rotate(-45deg) translate(14.5px, -5px);
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    width: 800px !important; 
    max-width: 90% !important;
    transition: transform 0.6s ease;
    transform: scale(0.9);
    position: relative;
    overflow: hidden;
    margin: 90px 0 40px 0;
}

.swiper-slide::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #ffffff;
    opacity: 0.6;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.swiper-slide-active {
    transform: scale(1.0);
    z-index: 2;
}

.swiper-slide-active::after {
    opacity: 0;
}

.swiper-slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.swiper-pagination-bullet-active {
    background: #505050 !important;
}

.about_is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top_about h2 {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 24px auto;
}

.top_about {
    margin: 60px auto 128px auto;
}

.top_about_p {
    margin-top: 24px;
    line-height: 45px;
    text-align: center;
}

.detail_bt a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 300px;
  height: 50px;
  position: relative;
  background: #f8f8f8;
  border: 1px solid #F27E1F;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 12px 24px;
  color: #F27E1F;
  margin: 20px auto 0 auto;
  text-decoration: none;
  transition-duration: 0.3s;
}

.detail_bt a:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #F27E1F;
  border-right: 2px solid #F27E1F;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -6px;
}

.detail_bt a:hover {
  background: #F27E1F;
  color: #ffffff;
}

.detail_bt a:hover:before {
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.title_activities::before {
    font-family: "Montserrat", sans-serif;
    content: "ACTIVITIES";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-61%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

.active_wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr calc(1080px / 2) calc(1080px / 2) 1fr;
    background-color: #ffffff;
    padding: 50px 0;
}

#active_wrapper1 {
    margin-top: 200px;
}

.active_wrapper2 {
    margin-top: 300px;
}

.active_wrapper3 {
    margin-top: 300px;
}


.active_img_1 ,.active_img_3 {
    width: calc(1080px / 2);
    position: absolute;
    bottom: 50px;
    right: 50%;
    border-radius: 16px;
}

.active_img_3 {
    object-fit: cover;
}

.active_img_2 {
    width: calc(1080px / 2);
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 16px;
}

.active_article {
    grid-column: 3 / 4;
    margin: 0 0 0 40px;
}

#active_article2 {
    grid-column: 2 / 3;
    margin: 0 40px 0 0;
}

.active_text {
    margin: 15px 0 0 0;
}

.active_text p {
    color: #7D7D7D;
    line-height: 28px;
}

.active_title {
    font-size: 28px;
    font-weight: bold;
}

.title_event::before {
    font-family: "Montserrat", sans-serif;
    content: "EVENT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-102%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

#Event {
    margin-top: 128px;
}

.event {
    margin-top: 50px;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.event li img {
    width: 280px;
    height: 280px;
    border-radius: 10px;
    object-fit: cover;
}

.event li {
    position: relative;
}

.event div {
    position: absolute;
    background-color: #F27E1F;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: -10%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
}

.month {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.month span {
    font-size: 46.8px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
}

.event_text {
    text-align: center;
}


.event_p {
    text-align: center;
    padding: 70px;
}

/* .title_news::before {
    font-family: "Montserrat", sans-serif;
    content: "NEWS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-110%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

#Breaking_news {
    margin-top: 110px;
} */

.recruit_p {
    margin-bottom: 32px;
}


.Sm_recruit {
    display: flex;
    gap: 110px;
    justify-content: center;
    align-items: center;
    margin: 12px auto 0 auto;
}

.Sm_recruit img {
    width: 33%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.r_recruit {
    text-align: center;
}

.detail_bt_rec a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 80%;
    height: 50px;
    position: relative;
    background: #f8f8f8;
    border: 1px solid #F27E1F;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 12px 24px;
    color: #F27E1F;
    margin: 20px auto 0 auto;
    text-decoration: none;
    transition-duration: 0.3s;
}
  
.detail_bt_rec a:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: 2px solid #F27E1F;
    border-right: 2px solid #F27E1F;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -6px;
}
  
.detail_bt_rec a:hover {
    background: #F27E1F;
    color: #f8f8f8;
}
  
.detail_bt_rec a:hover:before {
    border-top: 2px solid #f8f8f8;
    border-right: 2px solid #f8f8f8;
}

#Message {
    margin-top: 60px;
}

.title h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 95px 0 74px 0;
}

.title_message::before {
    font-family: "Montserrat", sans-serif;
    content: "MESSAGE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-70%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

.jp {
    font-size: 48px;
    letter-spacing: 9.6px;
    color: #505050;
    font-weight: bold;
}

.en {
    font-size: 21px;
    letter-spacing: 1.6px;
    color: #505050;
}

.message_contents {
    margin-top: 12px;
    display: grid;
    gap: 7.5%;
    grid-template-areas:
    "img text"
    ". text"
    ". text"
    ". name";
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto auto;
}

.message_img_box {
    grid-area: img;
}

.message_contents img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 42px;
}

.message_text {
    grid-area: text;
}

.message_text p {
    line-height: 24px;
    line-break: strict;
}

.message_text_brank {
    margin-bottom: 12px;
}

.message_name {
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    grid-area: name;
}


#Successive_man {
    margin-top: 128px;
}

.title_chairman::before {
    font-family: "Montserrat", sans-serif;
    content: "SUCCESSIVE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-53%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

.chairman_p {
    font-size: 24px;
    font-weight: bold;
    align-items: center;
    text-align: center;
    border-bottom: 2px solid #F27E1F;
    padding: 15px 0;
    margin-bottom: 15px;
}

.list_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list_row p {
    font-size: 18px;
}

.column_2 {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#History {
    margin-top: 128px;
}

.title_history::before {
    font-family: "Montserrat", sans-serif;
    content: "HISTORY";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-77%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

.timeline {
    position: relative;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 90px;
  }
  
.timeline::before {
    content: "";
    position: absolute;
    left: 149px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #F27E1F;
    z-index: -1;
}
  
.timeline-item {
    display: grid;
    grid-template-columns: 120px 60px 1fr;
    align-items: center;
}
  
.year {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 50px;
}

.year-main {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0;
}
  
.year-sub {
    letter-spacing: 0;
    white-space: nowrap;
    width: auto;
}

.dot {
    width: 30px;
    height: 30px;
    border: 5px solid #F27E1F;
    background: #f8f8f8;
    border-radius: 50%;
    margin: 0 auto;
}
  
.content {
    padding-left: 7.4%;
}

.content h3 {
    font-size: 20px;
    font-weight: bold;
}

.content p {
    margin: 15px 0 0 0;
    color: #7D7D7D;
}

#Purpose {
    margin-top: 128px;
    text-align: center;
}

.title_purpose::before {
    font-family: "Montserrat", sans-serif;
    content: "PURPOSE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-70%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

.purpose_p {
    margin: 48px 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 38px;
}

.button_1 {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    width: 267px;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 4px #dddddd;
    margin: 0 auto;
    transition: 0.3s;
}

.button_1:hover {
    box-shadow: unset;
    transform: translateY(2px);
}

.download_img {
    margin-top: 2px;
}

.button_1 p {
    font-weight: bold;
}

#Profile {
    margin: 128px 0;
}

.title_profile::before {
    font-family: "Montserrat", sans-serif;
    content: "PROFILE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-78%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: li;
  }
  
ol li {
    position: relative;
    font-size: 20px;
    padding: 0 0 20px 35px;
    margin: 20px 0;
    border-bottom: 2px dotted #F27E1F;
}

ol li::before {
    counter-increment: li;
    content: counter(li);
    position: absolute;
    left: 0;
    top: 2px;
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #F27E1F;
    line-height: 25px;
}

.message_contents_2 {
    margin-top: 12px;
}

.message_contents_2_img {
    width: 29.6%;
    height: auto;
    object-fit: cover;
    border-radius: 42px;
    float: left;
    margin: 0 50px 24px 0;
}

.message_contents_2_img img {
    width: 100%;
    height: auto;
    border-radius: 42px;
}

.message_contents_2 p {
    margin-bottom: 16px;
    line-height: 24px;
}
  
.pc_name {
    margin-top: 24px;
    font-size: 20px;
    font-weight: bold;
    clear: both; 
}

.sp_name {
    display: none;
}

.sp_name br {
    display: none;
}

#content_yeg {
    margin-top: 128px;
}

#content_yeg h3 {
    font-size: 32px;
    font-weight: bold;
}

.yeg_ex {
    margin: 40px 0 40px 0;
    line-height: 28px;
}

.button_2 {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    width: 320px;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 4px #dddddd;
    transition: 0.3s;
}

.button_2 p {
    font-weight: bold;
}

.button_2:hover {
    box-shadow: unset;
    transform: translateY(2px);
}

#Successive_man2 {
    margin: 128px 0 200px 0;
}

.row span {
    white-space: nowrap;
}

#Recruitment {
    margin-top: 60px;
    margin-bottom: 100px;
}

.title_recruit::before {
    font-family: "Montserrat", sans-serif;
    content: "RECRUITMENT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-46%, -50%);
    font-size: 192px;
    font-weight: bold;
    letter-spacing: 7.68px;
    color: #F27E1F;
    opacity: 8%;
    z-index: -1;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 180px;
    margin: 40px 0 153px 0;
}

#Type {
    display: flex;
    justify-content: space-between;
}

.type_table {
    width: 50.9%;
}

.type_table p {
    font-size: 20px;
    font-weight: bold;
    border-bottom: solid 2px #F27E1F;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.type_table_row {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px 0;
    justify-content: space-between;
    border-bottom: 2px dotted #F27E1F;
}

.type_table_row span {
    font-weight: bold;
}

#Type img {
    width: 40.7%;
}

.page-top {
    position: fixed;
    right: 35px;
    bottom: 36px;
    z-index: 20;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transition: .4s;

    background-color: #ffffff;
    border-radius: 50%;
    box-shadow:  0 0 20px #00000014;
}

.arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-top: 5px solid #F27E1F;
    border-right: 5px solid #F27E1F;
    transform: rotate(-45deg);

    position: relative;
    top: 5px;
}




.page-top.active {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    opacity: 0.6;
}

footer {
    margin: 70px 0 0 0;
    background-color: #ffffff;
}

.f_top {
    padding: 30px 0;
}

.footer_title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer_title a {
    text-decoration: none;
}

.footer_title h1 {
    letter-spacing: 0;
}

.border_line {
    border: 1px #EBEBEB solid;
}

#f_bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
}

.f_left {
    align-items: center;
}

.f_left p, a, small {
    letter-spacing: 0;
}

.f_address p {
    font-size: 15px;
}

iframe {
    flex: 0 0 45%;
    height: 370px;
    border-radius: 16px;
}

.f_link {
    padding: 30px 0 0;
}

.f_link a {
    color: #505050;
}

.f_link ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;

}

.f_link ul li {
    width: 50%;
}

.f_link ul li a {
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
}

.f_end_text, .copyright {
    font-size: 12px;
    margin: 44px 0 0 0;
    letter-spacing: 0;
}

.f_link a:hover {
    color: #7D7D7D;
}

#overlay {
    position: fixed;
    inset: 0;
    background-color: #80808080;
    z-index:900;
    display: none;
}

body.no-scroll, body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.js_fade_up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.0s ease, transform 1.0s ease;
    transition-delay: var(--delay, 0s);
}
  
  .js_fade_up.is-show {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1140px) {

    #active_wrapper1 {
        margin-top: 140px;
    }

    .active_wrapper2 {
        margin-top: 200px;
    }

    .active_wrapper3 {
        margin-top: 230px;
    }

    .active_wrapper {
        grid-template-columns: 1fr calc(990px / 2) calc(990px / 2) 1fr;
    }

    .active_img_1 ,.active_img_3 {
        width: calc(990px / 2);
    }

    .active_img_2 {
        width: calc(990px / 2);

    }

}

@media screen and (max-width: 1060px) {

    .active_wrapper {
        grid-template-columns: 1fr calc(920px / 2) calc(920px / 2) 1fr;
    }

    .active_img_1 ,.active_img_3 {
        width: calc(920px / 2);
    }

    .active_img_2 {
        width: calc(920px / 2);

    }
}

@media screen and (max-width: 960px) {
    .w_1080 {
        width: 100%;
        max-width: 960px;
        padding: 0 3%;
        box-sizing: border-box;
    }

    body {
        padding-top: 80px;
    }

    .nav_list {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: fixed;
        right: -100%;
        top: 10px;
        width: 180px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 16px #000000;
        z-index: 1000;
        gap: 13px;
        padding: 40px 40px 40px 25px;
        justify-content: center;
        transition: 0.3s;
        align-items: flex-start;
    }

    .main_link {
        font-weight: bold;
        font-size: 18px;
    }

    .nav_list.open {
        display: flex;
    }

    .insta_bt {
        display: block;
        color: #505050;
        padding: 0;
        line-height: normal;
        border-radius: 0;
        background: none;
        transform: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .Links {
        display: block;
    }

    .acordion {
        max-height: 220px;
        overflow-y: scroll;
    }

    #link_arrow {
        vertical-align: middle;
        transition: transform 0.3s;
    }

    .acordion_btn.is-open #link_arrow {
        transform: rotate(180deg);
    }

    .acordion_contents {
        list-style: none;
    }

    .acordion .acordion_contents {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: all 0.3s ease-out;
    }

    .acordion.list_open .acordion_contents {
        max-height: 1000px;
        opacity: 1;
    }

    .acordion_link {
        display: block;
        padding: 8px 16px;
        color: #5f5f5f;
        list-style: none;
        border-bottom: 1px solid #ccc;
        font-size: 17px;
        font-weight: 500;
    }

    .swiper {
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }

    .swiper-slide {
        margin: 0;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .swiper-pagination {
        display: none !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    #header {
        padding: 20px 3%;
    }
    
    .title h2 {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 150px;
        padding: 0;
        text-align: center;
        gap: 0;
    }

    .top_about h2 {
        font-size: 30px;
        text-align: center;
        margin: 60px auto 24px auto;
    }

    .title_recruit::before,
    .title_message::before,
    .title_activities::before,
    .title_event::before,
    .title_news::before,
    .title_chairman::before,
    .title_history::before,
    .title_purpose::before,
    .title_profile::before {
    font-size: 100px;
    letter-spacing: 4px;
    transform: translate(-50%, -50%);
    left: 50%;
    }

    .jp, .en {
        position: relative;
        z-index: 2;
        line-height: 1.2;
    }
    
    .jp {
        font-size: 32px;
    }
    
    .en {
        font-size: 15px;
    }

    #active_wrapper1 {
        margin-top: 80px;
    }

    .active_wrapper2 {
        margin-top: 160px;
    }

    .active_wrapper3 {
        margin-top: 190px;
    }

    .active_wrapper {
        grid-template-columns: 1fr calc(806.4px / 2) calc(806.4px / 2) 1fr;
    }

    .active_img_1 ,.active_img_3 {
        width: calc(806.4px / 2);
    }

    .active_img_2 {
        width: calc(806.4px / 2);

    }

    #Event {
        margin-top: 100px;
    }

    .event {
        margin-top: 10px;
        gap: 36px;
        overflow-x: auto;
        padding-top: 40.5px;
    }
    
    .month span {
        font-size: 46.8px;
        color: #ffffff;
    }

    .event_p {
        padding: 20px;
    }

    .buttons {
        gap: 30px;
        margin: 40px 0 80px 0;
        justify-content: space-around;
    }

    .button_2 {
        width: 45%; 
        padding: 12px 10px;
    }
    
    .button_2 p {
        font-size: 14px;
    }

    #Type {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .type_table {
        width: 100%;
    }

    #Type img {
        width: 80%;
        height: auto;
    }

    #Message {
        margin-top: 10px;
    }

    #Recruitment {
        margin-top: 10px;
    }

    .Sm_recruit {
        gap: clamp(22px, 8vw, 80px);
     }

    .recruit_right_p {
        text-align: center;
    }

    footer {
        margin: 70px 0 0 0;
    }

    .f_top {
        padding: 20px 4%;
    }

    #f_bottom {
        display: flex;
        justify-content: space-between;
        padding: 4%;
    }

    .f_left {
        flex: 0 1 auto;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .f_address p {
        font-size: 15px;
    }

    .f_address {
        margin-bottom: 20px;
    }

    iframe {
        flex: 0 1 auto;
        width: 100%;
        height: 255px;
        border-radius: 16px;
        margin-bottom: 15px;
    }

    .f_link {
        display: none;
    }

    .f_end_text, .copyright {
        font-size: 12px;
        margin-top: 0;
    }

    .f_end_text {
        margin-bottom: 4px;
    }

    small {
        display: block;
    }

}

@media screen and (max-width: 860px){

    #active_wrapper1 {
        margin-top: 40px;
    }

    .active_wrapper2 {
        margin-top: 120px;
    }

    .active_wrapper3 {
        margin-top: 160px;
    }

    .active_wrapper {
        grid-template-columns: 1fr calc(722.4px / 2) calc(722.4px / 2) 1fr;
    }

    .active_img_1 ,.active_img_3 {
        width: calc(722.4px / 2);
    }

    .active_img_2 {
        width: calc(722.4px / 2);

    }
}


@media screen and (max-width: 800px) {
    .br-tb {
    display: none !important;
    }
}

@media screen and (max-width: 770px){
    #active_wrapper1 {
        margin-top: 50px;
        padding: 20px 0;
    }

    .active_wrapper {
        grid-template-columns: 1fr calc(646.8px / 2) calc(646.8px / 2) 1fr;
        padding: 20px 0;
    }

    .active_img_1 ,.active_img_3 {
        width: calc(646.8px / 2);
        bottom: 20px;
    }

    .active_img_2 {
        width: calc(646.8px / 2);
        bottom: 20px;
    }

    .active_article {
        margin: 0 0 0 30px;
    }

    #active_article2 {
        grid-column: 2 / 3;
        margin: 0 30px 0 0;
    }
    
    .active_text {
        margin: 10px 0 0 0;
    }
}


@media screen and (max-width: 660px){
    .Sm_recruit {
        gap: 46px;
    }

    #active_wrapper1 {
        margin-top: 240px;
    }

    .active_wrapper2 {
        margin-top: 340px;
    }

    .active_wrapper3 {
        margin-top: 340px;
    }
    
    .active_img_1, 
    .active_img_3 {
        width: calc(100% - 40px);
        height: 400px;
        object-fit: cover;
        right: auto;
        left: 0;
        bottom: 50%;
        border-radius: 0 16px 16px 0;
    }

    .active_img_2 {
        width: calc(100% - 40px);
        height: 400px;
        object-fit: cover;
        right: 0;
        left: auto;
        bottom: 50%;
        border-radius: 16px 0 0 16px ;
    }


    .active_article {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        margin: 30px 0 0 0;
        padding: 0 30px;
    }

    #active_article2 {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        margin: 30px 0 0 0;
        padding: 0 30px;
    }
    
    #active_wrapper2  {
        flex-direction: row-reverse;
    }
    
    #active_wrapper1, 
    .active_wrapper2,
    .active_wrapper3{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .recruit_right_p {
        font-size: 14px;
        text-align: left;
    }

    .detail_bt_rec a {
        padding: 8px 20px;
        height: 45px;
        width: 90%;
    }

    .row span {
        font-size: 16px;
    }

    .row span:nth-child(2) {
        margin-right: 0;
    }

    .row span:first-child {
        text-align: left;
        padding-left: 0;
    }

    .row span:last-child {
        text-align: right;
        padding-right: 0;
    }

    .message_contents {
        gap: 4.5%;
        grid-template-areas:
        "img name"
        "text text";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .message_contents img {
        border-radius: 16px;
    }

    .message_name {
        margin: auto 0;
        font-size: 18px;
        text-align: center;
        grid-area: name;
    }

    .timeline::before {
        left: 124.6px;
    }

    .timeline-item {
        grid-template-columns: 100px 50px 1fr;
    }

    .message_contents_2_wrapper {
        display: flex;
        gap: 24px;
        align-items: center;
    }

    .message_contents_2_text {
        display: block;
        width: 100%;
    }

    .sp_name {
        display: block;
        font-size: 3.05vw;
        font-weight: bold;
    }

    .pc_name {
        display: none;
    }

    .sp_name br {
        display: block;
    }

    .message_contents_2_img {
        width: 36.3%;
        text-align: left;
        flex-shrink: 0;
    }

    .message_contents_2_img img {
        border-radius: 16px;
    }
    
    footer {
        margin: 70px 0 0 0;
    }

    .f_top {
        padding: 20px 4%;
    }

    #f_bottom {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        padding: 4%;
    }

    .f_left {
        flex: 0 1 auto;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .f_address p {
        font-size: 15px;
    }

    .f_address {
        margin-bottom: 20px;
    }

    iframe {
        flex: 0 1 auto;
        width: 100%;
        height: 255px;
        border-radius: 16px;
        margin-bottom: 15px;
    }

    .f_link {
        display: none;
    }

    .f_end_text, .copyright {
        font-size: 12px;
        margin-top: 0;
    }

    .f_end_text {
        margin-bottom: 4px;
        text-align: center;
    }

    small {
        display: block;
        text-align: center;
    }

    
    #Profile {
        margin: 40px 0;
    }

    
    #History {
        margin-top: 40px;
    }

    
    #Purpose {
        margin-top: 40px;
    }

    #Successive_man2 {
        margin: 40px 0 40px 0;
    }
    
    #content_yeg {
        margin-top: 80px;
    }
}

@media screen and (max-width: 600px){ 

    #recruit_text {
        text-align: center;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
        margin: 14px 0 40px 0;
    }

    .button_2 {
        width: 100%; 
    }

    #Type {
        flex-direction: column-reverse;
    }

    #Type img {
        width: 100vw;
    }
}


@media screen and (max-width: 550px) {
    #active_wrapper1 {
        margin-top: 110px;
    }
     
    .active_wrapper2 {
        margin-top: 200px;
    }
        
    .active_wrapper3 {
        margin-top: 236px;
    }
            
    .active_img_1, 
    .active_img_3 {
        width: calc(100% - 40px);
        height: 300px;
    }
        
    .active_img_2 {
        width: calc(100% - 40px);
        height: 300px;
    }

    .recruit_right_p br {
        display: none;
    }

    .list_row p {
        font-size: 12px;
    }

}

@media screen and (max-width: 430px){
    #header {
        padding: 15px 4%;
    }

    body {
        padding-top: 78px;
    }
    
    .logo_img {
        width: 28px;
        height: 28px;
        margin-top: 4px;
    }
    
    h1 {
        font-size: 16px;
    }
    
    .header_title {
        gap: 8px;
    }

    h3 {
        font-size: 16px;
        font-weight: bold;
    }

    br {
        display: none;
    }

    .logo {
        padding: 8px 0;
    }

    .f_top {
        padding: 10px 4%;
    }

    #f_bottom {
        flex-direction: column-reverse;
        align-items: center;
    }

    .f_left {
        flex: 0 1 auto;
        width: 100%;
    }

    .f_address {
        margin-bottom: 20px;
    }

    iframe {
        flex: 0 1 auto;
        width: 100%;
        height: 255px;
        margin-bottom: 15px;
    }

    .f_link {
        display: none;
    }

    .f_end_text, .copyright {
        font-size: 10px;
        margin-top: 0;
        text-align: center;
    }

    small {
        display: block;
        text-align: center;
    }

    .f_end_text {
        margin-bottom: 4px;
    }

    .top_Activities_contents,
    .top_about {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        transition: none !important;
        margin: 0;
    }

    .top_Activities_contents {
        margin-top: 0;
    }

    .top_about h2 {
        font-size: 16px;
        margin: 40px auto 15px auto;
    }
    
    .top_about_p {
        line-height: 25px;
        margin-top: 0;
    }

    .top_about_p br {
        display: none;
    }

    .about_is-active {
        display: block;
    }

    .detail_bt a {
        height: 38px;
        width: 70%;
        min-height: 5px;
        margin: 20px auto 0 auto;
    }
    
    .title h2 {
        min-height: 100px;
    }

    .title_recruit::before,
    .title_message::before,
    .title_activities::before,
    .title_event::before,
    .title_news::before,
    .title_chairman::before,
    .title_history::before,
    .title_purpose::before,
    .title_profile::before {
    font-size: 60px;
    letter-spacing: 4px;
    transform: translate(-50%, -50%);
    left: 50%;
    }

    .jp {
        font-size: 20px;
        letter-spacing: 1.2px;      
    }

    .en {
        font-size: 8px;
    }
                         
    #active_article_whole {
        margin-top: 80px;
    }

    #active_wrapper1 {
        margin-top: 70px;
    }

    .active_wrapper2 {
        margin-top: 130px;
    }

    .active_wrapper3 {
        margin-top: 140px;
    }
    
    .active_article {
        margin-top: 20px;
    }

    #active_article2 {
        margin-top: 20px;
    }

    .active_img_1, 
    .active_img_3 {
        width: calc(100% - 10px);
        height: 200px;
    }

    .active_img_2 {
        width: calc(100%-10%);
        height: 200px;
    }

    .active_title {
        font-size: 16px;
    }

    #Event {
        margin-top: 80px;
    }
    
    .event {
        margin-top: 0;
        gap: 36px;
        overflow-x: auto;
        padding-top: 40.5px;
    }
    .event::-webkit-scrollbar-track {
        background-color: #F27E1F;
    }

    .event::-webkit-scrollbar-thumb {
        background-color: #F27E1F;
    }
    
    .month span {
        font-size: 46.8px;
        color: #ffffff;
    }
    
    .event_text {
        font-size: 13px;
    }
    
    .event_p {
        padding: 20px;
    }

    #top_recruit {
        margin-top: 80px;
    }

    .recruit_right_p {
        font-size: 12px;
        text-align: center;
        letter-spacing: 1px;
    }

    .detail_bt_rec a {
        width: 90%;
        max-width: 200px;
        padding: 4px 12px;
        height: 36px;
    }
    
    .message_contents {
        gap: 4% 7.5%;
        grid-template-columns: 120px 2fr;
    }

    .message_name {
        font-size: 14px;
    }

    #Successive_man {
        margin-top: 80px;
    }

    .chairman_p {
        font-size: 16px;
        padding: 0 0 15px 0;
    }

    .timeline {
        margin-top: 4px;
    }

    .timeline::before {
        left: 94.3px;
    }
    
    .timeline-item {
        grid-template-columns: 80px 30px 1fr;
    }
    
    .year {
        padding-right: 20px;
    }

    .year-main {
        font-size: 18px;
    }

    .dot {
        width: 20px;
        height: 20px;
        border: 5px solid #F27E1F;
        background: #f8f8f8;
        border-radius: 50%;
        margin: 0 auto;
    }
    

    .content h3 {
        font-size: 16px;
    }

    .purpose_p {
        margin: 4px 0;
        font-size: 12px;
    }
    
    ol li {
        display: flex;
        align-items: center;
        font-size: 12px;
        padding: 0 0 15px 0;
        margin: 15px 0;
        border-bottom: 2px dotted #F27E1F;
    }

    ol li::before {
        position: static;
        margin-right: 20px;
    }

    #content_yeg {
        margin-top: 80px;
    }

    .yeg_ex {
        margin: 20px 0;
    }

    #content_yeg h3 {
        font-size: 20px;
    }

    .button_1 {
        padding: 8px 15px;
    }

    .button_2 {
        width: 100%;
        padding: 15px 20px;
        box-sizing: border-box;
    }

    #recruit_text {
        text-align: center;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
        margin: 25px 0 40px 0 !important;
        align-items: center;
    }

    #Type {
        flex-direction: column-reverse;
    }

    #Type img {
        width: 100vw;
    }

}