@charset "UTF-8";

/*----------------------------------------
下層ページ：共通設定
------------------------------------------*/
#sub #main_content {
    margin-top: min(100 / 1280* 100vw, 100px);
    background-color: #fafafa;
    background-image: url(../images/top/bg_ttl.png);
    /* background-size: cover;
    background-position: 65% 0%; */
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: 65% 0%;
}

#sub #section-content,
#sub .content_wrap_inner {
    width: 100%;
}

#sub #section-content .content_wrap {
    width: 100%;
    /* margin-bottom: min(90 / 1240* 100vw, 90px); */
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sub .content_wrap_outer {
    margin-top: 4em;
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
}



/*----------------------------------------
項目タイトル
------------------------------------------*/
.content-title {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, var(--white), var(--gray-40), var(--white)) 1;
    margin-top: 1.5em;
    width: 100%;
    padding: 1em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content {
    /* 仮のwidth */
    /* width: min(800 / 1240* 100vw, 800px);
    margin: min(40 / 1240* 100vw, 40px) 0; */
}

/*----------------------------------------
パンくずリスト
------------------------------------------*/
#breadcrumb {
    padding: 0.6em;
    margin-bottom: 0;
}

#breadcrumb .content_wrap {
    display: flex;
    align-items: center;
}

#breadcrumb a {
    font-size: clamp(14px, 16/1240*100vw, 16px);
}

#breadcrumb p {
    margin: 0 0.7em;
}

/*----------------------------------------
ページネーション
------------------------------------------*/
#sub .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 520px;
    margin: 3em auto;
}

#sub .pagination li {
    transition: 0.3s;
    margin: 0 0.5em;
}

#sub .pagination li:hover {
    background-color: #1473c149;
}

#sub .navi-active {
    background-color: var(--primary) !important;
}

#sub .navi-active a {
    color: var(--white);
}

#sub .pagination li {
    border-bottom: none;
}

#sub .member .pagination-container {
    display: none;
}

#sub .pagination .page {
    width: 2.5em;
    height: 2.5em;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sub .pagination .page:hover {
    cursor: pointer;
}

#sub .pagination .page a {
    border-bottom: 1px solid var(--gray-40);
}

#sub .navi-active a {
    border-bottom: none !important;
}

#sub .pagination .first,
#sub .pagination .prev,
#sub .pagination .next,
#sub .pagination .last,
#sub .pagination .pageNumbers {
    display: none;
}

/*----------------------------------------
サイドバー
------------------------------------------*/
#sidebar {
    width: min(350 / 1280* 100vw, 350px) !important;
    margin-right: 2em;
}

/*----------------------------------------
アコーディオンメニュー
------------------------------------------*/
.accordion {
    position: relative;
    /* width: min(500 / 1280* 100vw, 500px); */
}

.accordion-title {
    color: #fff;
    padding: 0.7em 0;
    width: 100% !important;
    transition: 0.3s;
}

.accordion-title.open {
    background: linear-gradient(90deg, #174698 3%, #113e99ca 30%, #00C7A3ca 100%);
    color: var(--white) !important;
}

.accordion h4 {
    padding: 0.7em 1em;
    font-size: clamp(16px, 18/1280*100vw, 18px);
}

.accordion-content {
    display: none;
}

/* タイトルの背景色 */
.accordion-item .accordion-title {
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, #113e99ca 30%, #00C7A3ca 100%) 1;
}

/* コンテンツボックスの枠線 */
.accordion-item .accordion-content {
    padding: 0.7em 0;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, #113e99ca 30%, #00C7A3ca 100%) 1;
}

.accordion-item .accordion-content .accordion-detail {
    padding: 0.1em 1em;
    width: 100%;
}

.accordion-item .accordion-content .accordion-detail:hover {
    background-color: #ebebfd;
}

.accordion-item .accordion-content .accordion-detail p {
    font-size: clamp(14px, 16/1280*100vw, 16px);
}

/* 矢印 */
.accordion-title {
    position: relative;
}

.accordion-title:hover {
    cursor: pointer;
}

.accordion-title span {
    display: block;
    position: absolute;
    top: 50%;
    left: 90%;
    width: min(15 / 1280* 100vw, 15px);
    height: 2px;
    background-color: var(--primary);
}

/* .accordion-title span:first-child {
    transform: rotate(0deg);
} */

.accordion-title span:nth-child(2) {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.accordion-title.open>span:nth-child(2) {
    transform: rotate(0deg);
}

.accordion-title.open>span {
    background-color: var(--white);
}

/*----------------------------------------
#section-content アコーディオンメニュー
------------------------------------------*/
#section-content .js-accordion-title:hover {
    cursor: unset;
}

#section-content .accordion-item:hover {
    cursor: pointer;
}

#section-content .accordion-item .accordion-title,
#section-content .accordion-item .accordion-content {
    border-bottom: none;
}

#section-content .accordion-item .accordion-content .accordion-detail:hover {
    background-color: transparent;
}

#section-content .accordion-item .accordion-content .accordion-detail p {
    font-size: clamp(16px, 18/1280*100vw, 18px);
}

/*----------------------------------------
テーブル
------------------------------------------*/
/* .table-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: min(350 / 1280* 100vw, 350px);
}

.table-wrapper table,
.table-wrapper th {
    text-align: center;
} */

.table-wrapper th:nth-child(1),
.table-wrapper td:nth-child(1) {
    border-right: none;
}

.table-wrapper th {
    color: var(--white);
    background: var(--primary);
    padding: 0.5em 2em;
    font-weight: normal;
}

.table-wrapper tbody tr:nth-child(odd) {
    background-color: #fff;
}

.table-wrapper tbody tr:nth-child(even) {
    background-color: #fff;
}

.table-wrapper thead th:first-child {
    width: min(150 / 1280* 100vw, 150px);
}

.table-wrapper thead th:nth-child(2) {
    width: min(200 / 1280* 100vw, 200px);
}

.table-wrapper td:not(:last-child),
.table-wrapper th:not(:last-child) {
    border-right: 1px solid var(--gray-40);
}

.table-wrapper td {
    vertical-align: middle;
}

.table-wrapper p {
    padding: 0;
    margin: 0;
}

/*========================================
news > index.html
===========================================*/
.paginate-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.paginate-container li {
    border-bottom: solid 1px var(--gray-40);
    padding: min(15 / 1240* 100vw, 15px) 0;
    width: 100%;
}

.paginate-container li:last-child,
.paginate-container li:nth-child(10n) {
    border-bottom: none;
}

.info_detail {
    display: flex;
    align-items: center;
    width: 100%;
}

.info_detail img {
    width: min(20 / 1240* 100vw, 20px);
    margin-right: 1.5em;
}

/* お知らせ一覧 */
.info_view {
    display: flex;
    justify-content: right;
    margin-top: 1em;
}

.info_view img {
    width: min(24 / 1240* 100vw, 24px);
    margin-right: 0.3em;
}

.info_view a {
    border-bottom: dotted 1px var(--primary);
}

.info-tag {
    padding: 0 0.5em;
    margin: 0.3em 1.7em;
    color: var(--white);
    width: min(80 / 1240* 100vw, 80px);
    min-width: 70px;
    height: 24px;
    text-align: center;
    font-size: clamp(13px, 15/1280*100vw, 15px);
}

/*========================================
about > greeting > index.html
===========================================*/
#sub .greeting {
    display: flex;
    align-items: center;
}

#sub .greeting .photo {
    width: min(200 / 1240* 100vw, 200px);
    height: min(200 / 1240* 100vw, 200px);
    overflow: hidden;
    border-radius: 50%;
    margin-right: 2.7em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

#sub .greeting .photo img {
    width: min(250 / 1240* 100vw, 250px);
    height: min(250 / 1240* 100vw, 250px);
    object-fit: cover;
    object-position: 43%;
}

/*========================================
movie > index.html
===========================================*/
#main_content.movie-page {
    padding-bottom: 0 !important;
}

.movie {
    display: flex;
    justify-content: center;
}

.movie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.movie-content video {
    aspect-ratio: 3/2;
    width: min(370 / 1280* 100vw, 370px);
    height: auto;
}

@media screen and (max-width: 1030px) {
    .movie-content video {
        width: min(400 / 1030* 100vw, 400px);
    }
}

.content_wrap.movie-page {
    margin-bottom: 0 !important;
    padding: 5em 0;
    flex-direction: row !important;
    justify-content: center;
}

.movie-page img {
    width: min(450 / 1280* 100vw, 450px);
}

/*========================================
admission > index.html
===========================================*/
.contact-box {
    width: min(950 / 1280* 100vw, 950px);
    padding: 1em 2em;
    margin-top: 1em;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.contact-box h3 {
    padding: 0;
}

.contact-box h4.blue {
    padding: 0;
    margin-top: 1em;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    width: fit-content;
}

.contact-detail {
    display: flex;
    width: fit-content;
    align-items: center;
    margin-top: 1em;
}

.contact-detail:first-child {
    margin-right: 1em;
}

.contact-detail:last-child {
    margin-left: 2em;
    padding-left: 2em;
    position: relative;
}

.contact-detail:last-child::before {
    position: absolute;
    top: 5%;
    right: 100%;
    margin: 0 1rem;
    content: "";
    width: 1px;
    height: 90%;
    background-color: var(--gray-40);
}

.contact-detail h4 {
    letter-spacing: 1px;
    padding: 0;
}

.contact-detail img {
    width: min(60 / 1280* 100vw, 60px);
}

/*========================================
magazine > index.html
===========================================*/
.flyers {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flyers img {
    width: min(200 / 1280* 100vw, 200px);
}

.flyers-content {
    display: flex;
    flex-direction: column;
    margin: 0 0.5em;
}

.flyers-content a {
    margin: 0 auto;
}

/*========================================
member > index.html
===========================================*/
.content-box {
    aspect-ratio: 2/1;
    width: min(350 / 1280* 100vw, 350px);
    height: auto;
    margin-top: 5em;
}

.content-box-img {
    background-color: #e7e7e7;
    width: 100%;
    /* height: min(200 / 1280* 100vw, 200px); */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.content-box-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.content-box-text {
    background-color: var(--white);
    padding: 1.3em 1.7em;
    position: relative;
}

.info_detail_left {
    display: flex;
}

/*========================================
anniversary > index.html
===========================================*/
.anniversary {
    align-items: center;
    display: flex;
    justify-content: center;
}

.anniv-text {
    width: min(530 / 1280* 100vw, 530px);
    margin-left: 2em;
}

.anniversary .shiori {
    width: min(300 / 1280* 100vw, 300px);
    height: min(430 / 1280* 100vw, 430px);
    object-fit: cover;
}

.anniversary .hp {
    width: min(450 / 1280* 100vw, 450px);
    height: auto;
    object-fit: cover;
    margin-left: 2em;
}