@charset "utf-8";
/*--about.css-学校案内ページのスタイルを定義------*/

/* ページヘッダー */
.page_header {
    display: block;
    min-width: 67.5rem;
    position: relative;
    margin-bottom: 1.875rem;
    overflow: hidden;
}



/* パンくずリスト */
.breadcrumb {
    background-color: #bfe4ff;
    padding: 0.625rem 0;
    margin-bottom: 1.25rem;
}

.breadcrumb ul {
    /*width: 67.5rem;*/
    width: 75rem;
    margin: 0 auto;
    display: flex;
    gap: 0.625rem;
    font-size: 0.8rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.625rem;
    color: #666;
}

.breadcrumb a {
    color: var(--color-link);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ページタイトル */
.page_title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.3rem;
    box-sizing: border-box;
    padding: 1.125rem 0rem 1.125rem 1.5625rem;
    /*width: 67.5rem;*/
    width: 75rem;
    margin: 0 auto;
    position: relative;
    text-align: justify;
    z-index: 2;
}

.page_title_main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.625rem;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.6);
    padding-right: 0.5rem;
}

.page_title_sub {
    font-family: var(--font-en);
    font-size: 1.3rem;
    color: #dd3900;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.6);
    padding-right: 0.5rem;
}

.page_title_sub::before {
    content: "●";
    position: relative;
    color: #dd3900;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    margin-right: 0.625rem;
}

/* キャッチ画像 */
.page_image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 11rem;
    overflow: hidden;
    z-index: 1;
}

.page_image img {
    max-width: 100%;
    height: auto;
   
}

/* メインコンテンツ */
.content_inner {
    /*max-width: 67.5rem;*/
    max-width: 75rem;
    min-height: 25rem;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.content_inner h2{
    background-color: #F6AA00;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    display: block;
    box-sizing: border-box;
}

.content_inner h3{
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    padding: 0 0.5rem 0.5rem 0.5rem;
    margin-bottom: 1.5rem;
}

.page_content_box{
    margin: 0 2.5rem 2rem 2.5rem;
}

.page_content_box p{
    margin-bottom: 1rem;
    line-height: 1.8;
}

.submenu_list{
    margin: 0 0.5rem 3rem 0.5rem;
}

.submenu_list ul{
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.submenu_list ul li{
    min-width: 8rem;
}

.submenu_list ul li.page_item{
    margin-bottom: 0;
}

.submenu_list ul li a{
    display: block;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    font-size: 1rem;
    position: relative;
    font-weight: 600;
    border-bottom: 2px solid #c8c7cc;
    color: #656d78;
    transition: .3s all ease;
}

.submenu_list ul li a:hover{
    color: #222;
    border-bottom: 2px solid #f6aa00;
    opacity: 1;
}

.submenu_list ul li.current-menu-item a,
.submenu_list ul li.current-page-ancestor a{
    color: #222;
    border-bottom: 2px solid #f6aa00;
}

.message .submenu_list ul li:first-child a,
.events .submenu_list ul li:nth-child(2) a,
.overview .submenu_list ul li:nth-child(3) a{
    color: #222;
    border-bottom: 2px solid #f6aa00;
}

.elementary .submenu_list ul li:first-child a,
.junior .submenu_list ul li:nth-child(2) a,
.senior .submenu_list ul li:nth-child(3) a{
    color: #222;
    border-bottom: 2px solid #f6aa00;
}

.submenu_list ul li a:before{
    content:"";
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background: url(../shared/arr_04.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.75rem);
    left: 0.1rem;
}

.submenu_list ul li.current-menu-item a:before,
.submenu_list ul li.current-page-ancestor a:before{
    background: url(../shared/arr_03.png) no-repeat;
    background-size: contain;
}

.message .submenu_list ul li:first-child a:before,
.events .submenu_list ul li:nth-child(2) a:before,
.overview .submenu_list ul li:nth-child(3) a:before{
    background: url(../shared/arr_03.png) no-repeat;
    background-size: contain;
}

.elementary .submenu_list ul li:first-child a:before,
.junior .submenu_list ul li:nth-child(2) a:before,
.senior .submenu_list ul li:nth-child(3) a:before{
    background: url(../shared/arr_03.png) no-repeat;
    background-size: contain;
}

/* 各ページindexmenu */
.page_menu_grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.page_menu_grid br{
    display: none;
}

.page_menu_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border: 2px solid #c9c9cb;
    color: var(--color-text);
    transition: .3s all ease;
}

.page_menu_item:hover {
    background-color: #fff7dd;
    border: 2px solid #f6aa00;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.page_menu_icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page_menu_icon img {
    max-width: 100%;
    max-height: 100%;
}

.page_menu_title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page_menu_text {
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
}

/*各ページ共通*/
.page_item{
    margin-bottom: 2rem;
}

.page_item.two_col_img{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.page_item.two_col_img p{
    width: 100%;
}

.page_item.two_col_img .page_img_wrap{
    max-width: calc((100% - 3rem) / 3);
}

.page_doc_img{
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin:0 auto 1.5rem auto;
    /*max-width: 43.75rem;*/
    max-width: calc((100% - 3rem) / 3);
    border: 1px solid #ccc;
    padding: 0.5rem;
    transition: .3s all ease;
}

.page_doc_img.y_img{
    max-width: 50%;
}

.page_item.two_col_img .page_doc_img{
    max-width: calc((100% - 3rem) / 3);
    margin: 0;
}

.page_item.two_col_img .page_img_wrap .page_doc_img{
    max-width:100%;
}

a.page_doc_img:hover{
    border: 1px solid #0ab4e6;
}

.link_list{
    margin: 0 0.5rem 0.5rem 0.5rem;
}

.link_list li{
    margin-bottom: 0.3rem;
    padding: 0 0 0 1.5rem;
    position: relative;
}

.link_list li::before{
    content:"";
    width: 1rem;
    height: 1rem;
    background: #f6aa00;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 0.6rem);
    left: 0;
}

a.pdf_link,
a.word_link,
a.excel_link{
    padding-right: 1.5rem;
    position: relative;
    display: inline-block;
}

a.pdf_link::after{
    font-family: FontAwesome;
    content: "\f1c1";
    font-size: 1.1rem;
    line-height: 1;
    color: #fa0f00;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0;
}

a.word_link::after{
    font-family: FontAwesome;
    content: "\f1c2";
    font-size: 1.1rem;
    line-height: 1;
    color: #2b579a;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0;
}

a.excel_link::after{
    font-family: FontAwesome;
    content: "\f1c3";
    font-size: 1.1rem;
    line-height: 1;
    color: #217346;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0;
}

.table01{
    margin: 0 2rem;
    width: calc(100% - 4rem);
}

.table01 tr th{
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    text-align: center;
    background: #fff2ce;
}

.table01 tr td{
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
}

.g_map_box{
    padding: 0.3rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.g_map_box iframe{
    width: 100%;
}

.page_ttl_img{
    margin-bottom: 2rem;
}

.link_btn{
    display: flex;
    justify-content: center;
    margin: 0;
}

.link_btn a{
    box-sizing: border-box;
    display: block;
    font-size: 1.1em;
    padding: 0.8em 2.8em 0.7em 1.8em;
    font-weight: 700;
    border-radius: 2em;
    transition: .3s all ease;
    background: #ffedb2;
    color: #222;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.link_btn a:before {
    content: "";
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background: url(../shared/arr_01.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.75rem);
    right: 0.7em;
}

.youtube_box{
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.youtube_box iframe{
    width: 43.75rem;
    height: 26.0625rem;
    border: 1px solid #ccc;
    padding: 0.5rem;
}

.notfound_msg{
    text-align: center;
}

/*2カラム*/
.two_col .column_wrapper{
    display: flex;
    flex-direction: row-reverse;
}

    .two_col .column_wrapper .column_main{
        width: 78%;
    }

    .two_col .column_wrapper .column_sub{
        box-sizing: border-box;
        width: calc(22% - 2rem);
        margin-right: 2rem;
    }

/*カスタム投稿　2カラム*/
.content_container {
    display: flex;
    gap: 2.5rem;
}

.content_main {
    flex: 1;
    min-width: 0;
}

.content_title {
    background-color: #F6AA00;
    width: 100%;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    display: block;
    box-sizing: border-box;
}

.content_content {
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.content_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.content_info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.content_number {
    font-weight: bold;
    color: #333;
}

.content_date {
    font-size: 0.9rem;
    color: #666;
}

.content_body {
    line-height: 1.8;
}

.content_body p {
    margin-bottom: 1.5rem;
}

.content_body p:last-child {
    margin-bottom: 0;
}

/* アーカイブボックス */
.archive_box {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
}

.archive_title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #F6AA00;
}

.archive_list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archive_list li {
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 1rem;
}

.archive_list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.archive_list a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive_list a:hover .archive_item_title {
    color: #F6AA00;
}

.archive_item_title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.archive_item_date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.archive_item_text {
    font-size: 0.9rem;
    color: #333;
}

.content_sidebar {
    width: 18.75rem;
    flex-shrink: 0;
}

/*カスタム投稿一覧*/
.event_content{
    padding: 0 2rem;
}

.gakubu-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.gakubu-menu-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gakubu-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.gakubu-menu-thumbnail {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.gakubu-menu-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gakubu-menu-title {
    padding: 1rem;
    font-weight: bold;
    text-align: center;
}

.gakubu-menu-header ,
.content_inner h3.gakubu-menu-header{
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
    .breadcrumb ul {
        font-size: 0.8rem;
        gap: 0.325rem;
        margin: 0 1rem;
    }
    .breadcrumb {
        padding: 0.4rem 0;
        margin-bottom: 0.01rem;
    }
    .page_title_main {
        font-size: 1.8rem;
    }
    .page_title_sub {
        font-size: 1.0rem;
    }
    .page_title {
        padding: 1.2rem 0rem 1.2rem 1.7rem;
    }
    .page_header {
        min-width: unset;
        margin-bottom: 2.875rem;
    }
    .page_image {
        width: 53%;
    }

    .page_image img {
        max-width: unset;
        height: auto;
        max-height: 100%;
        width: auto;
    }
    
    .breadcrumb li:not(:last-child)::after {
        margin-left: 0.325rem;
    }
    .page_title_sub::before {
        font-size: 0.9rem;
    }

    .content_inner h2{
        font-size: 1.4rem;
        padding: 0.8rem 1rem 0.8rem 1rem;
    }

    .page_content_box{
        margin: 0 2rem;
    }

    .submenu_list ul{
        flex-wrap: wrap;
    }

    .youtube_box{
        width: 100%;
    }
    
    .youtube_box iframe{
        width: 100%;
        height: 62.1vw;
    }

    .event_content{
        padding: 0 1rem;
    }
}

@media screen and (min-width:1px) and (max-width:479px) {
    .breadcrumb{
        min-width: 47%;
        position: relative;
        z-index: 2;
        display: inline-block;
    }

    .breadcrumb ul{
        width: auto;
        margin: 0 0.5rem 0 1.9rem;
    }

    .content_inner h2{
        font-size: 1.3rem;
        padding: 0.8rem 1rem 0.8rem 1rem;
    }

    .page_content_box{
        margin: 0 1rem;
    }

    .submenu_list ul li{
        min-width: 7rem;
    }

    .submenu_list ul li a{}

    .two_col .column_wrapper{
        flex-direction: column;
    }

    .two_col .column_wrapper .column_main{
        width: 100%;
    }
    
    .two_col .column_wrapper .column_sub {
        width: 100%;
        margin-right: 0;
        margin-top: 3rem;
    }

    .table01{
        margin: 0;
        width: 100%;
    }

    .page_item.two_col_img{
        display: block;
    }
    
    .page_img_wrap{
        max-width: 100%;
    }

    .page_item.two_col_img .page_doc_img{
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .page_doc_img.y_img{
        max-width: 100%;
    }

    .content_container{
        flex-direction: column;
    }

    .content_main{
        width: 100%;
    }

    .content_sidebar{
        margin: 0 auto;
    }

    .gakubu-menu-grid{
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0 1rem;
    }

    .g_map_box iframe{
        height: 90vw;
    }
    

}