/* css */
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Aldrich&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500&display=swap');
/* all */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

html {
    font-family:sans-serif;
    font-size: 15px;
}

/* body */

body {
    background-color: #69bfc8;
    color: #69bfc8;
}

#body-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* header */

header {
    background-color: #1051a3;
}

.top-image {
    display: block;
    width: 100%;
    height: auto;
    text-align:center;
}

.top-image img {
    display: inline;
    max-height: 100%;
    max-width: 100%;
}

#top-title {
    transition: opacity .5s;
}

#top-title :hover {
	opacity:0.7;
}

.nav {
    background-color: #3B4A67 ;
    width: 100%;
    float: left;
}

.site-menu{
    padding: 0;
    display: table;
    table-layout: fixed;
    width: 70%;
    margin: 0 15% 0 15%;
    list-style: none;
}

.menu-bar {
    width: 50%;
    display: table;
    table-layout: fixed;
    float: left;
}

@media only screen and (max-width: 768px) {
.menu-bar {
    width: 100% ;
    }
}

.bar-float {
    display: table-cell;
    text-align: center;
    font-size: 16px;
    line-height: 2.3;
}

.menu-bar a {
    display: block;
    color: #ffffff;
    background-color: #3B4A67 ;
    text-decoration: none; 
    transition: background-color .5s;
}

.bar-float a:hover {
    color: #ffffff;
    background-color: #A68F63;
}

.site-menu span {
    font-family: 'Aldrich', sans-serif;
    font-size: 16px;
    font-weight: bold;
}

/* footer */

footer {
    background-color: #1051a3;
    color: #ffffff;
}

.page-footer {
    display: block;
    width: 100%;
    padding: 30px 0 30px 0;
    text-align: center;
    bottom: 0;
    margin-top: auto;
}

/* scrollbar */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

::-webkit-scrollbar-thumb {
    background: #f8f5d4;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background: #1051a3;
    border-radius: 5px;
  }

/***-----INDEX-----***/

/* title font */
.font-Ald {
    font-family: 'Aldrich', sans-serif;
}

.font-Ald h2 {
    font-size: 1.8em;
}

/*** -----common----- ***/
.main-bg {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.common-window {
    display: block;
    color: #021063;
    text-align: left;
    background-color: #ffffff;
    width: 600px;
    max-width: 90%;
    margin: 1em auto;
    border: solid 6px  #ffffff;
    border-radius: 2px;
}

.common-window h2 {
    text-align: center;
    margin: 20px auto 20px auto;
}

.common-window p {
    padding:0 20px 5px 20px;
}

.common-window a {
    color: #021063;
    transition: background-color .5s;
    margin-bottom: 1.5px;
}

.common-window a:hover {
    color: #ffffff;
    background-color: #69bfc8;
    text-decoration: none;
}

.common-contents {
    line-height: 1.5;
    padding:15px 5px 15px 5px;
}

.center-text {
    text-align: center;
}

.font-Ald  h2::before {
    font-family: "Font Awesome 5 Free";
    content: '\f0da';
    font-size: 1.2em;
    margin-right: 0.3em;
    font-weight:900;
}

/*** -----index----- ***/
.index-bg {
    background-color: #69bfc8;
}

.index-window {
    background-color: #ffffff;
    border: solid 4px #f8fbf8;
}

.index-text p{
    color: #021063;
    padding: 5px 40px 20px 40px;
    margin-bottom: 2px;
    line-height: 1.5;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
}

/* main-visual */
.main-visual {
    display: block;
    background-color: #69bfc8;
    width: 100%;
    height: auto;
    padding: 20px 0 25px 0;
    text-align:center;
}

@media only screen and (max-width: 768px) {
.main-visual {
    max-width: 100%;
    height: auto;
    }
}

.main-visual img {
    display: inline;
    max-width: 90%;
    margin:auto;
    /***
    border: 6px double #ffffff;
    border-radius: 20px;
        ***/
}

.index-top-area {
    background-color: #69bfc8;
    margin: auto;
}

.index-top-area img {
    display: inline;
    max-width: 70%;
    margin:auto;
}

.index-title{
    padding: 0;
    display: table;
    table-layout: fixed;
    width: 90%;
    margin: 0 5% 0 5%;
    list-style: none;
    table-layout: fixed;
}

.index-title ol{
    padding : 0 2px 2px 2px;
}

.index-title li{
    display: inline;
    padding : 0 2px 2px 2px;
}

.index-title a{
    display: block;
    margin: 5px auto 5px 5px;
    padding: 2px;
    text-decoration: none;
}

.index-title a:hover {
    cursor: pointer;
}

.index-title span {
    font-family: 'Aldrich', sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9; /* 16:9 の比率を維持 */
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* スマホ時の調整 */
@media (max-width: 600px) {
    .video-container {
        max-width: 90%; /* スマホでは画面幅の90%に制限 */
    }
}

.common-visual {
    display: block;
    background-color: #ffffff;
    width: 100%;
    height: auto;
    padding: 0 0 5px 0;
    text-align:center;
}

@media only screen and (max-width: 768px) {
.common-visual {
    max-width: 100%;
    height: auto;
    }
}

.common-visual img {
    display: inline;
    max-width: 90%;
    margin:auto;
    border: 2px solid #eae5e3;
}

.text-cneter p{
    text-align:center;
}

.mini-window {
    display: block;
    max-width: 300px; /* 最大300px */
    padding: 25px 0 20px 0;
    margin: 20px auto;
    border: solid 2px  #021063;
    border-radius: 2px;
    text-align:center;
}

.mini-window img{
    max-width: 75%;
    text-align:center;
}

.mini-window p{
    color: #021063;
    padding: 0 40px 10px 40px;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    text-align:center;
}

.mini-window a{
    line-height: 0;
}

.mini-window a:hover {
    color: #f8f5d4;
    cursor: pointer;
    background-color:rgba(0,0,0,0);
}

.member-line {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    padding: 0 10px 0 10px;
    margin: 2px;
}

@media only screen and (max-width: 768px) {
    .member-line {
        justify-content: center;
    }
}

