@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif, "Stencil";
    line-height: 1.7;
    color: #000;
}
h2 {
    color:#000;
    margin-top: 20px;
}
h3 {
    font-size: 1.25rem;
    color:#000;
    margin-top: 20px;
}
a {
    text-decoration: underline;
    color: #000;
}
img {
    max-width: 100%;
}
ul {
    color: #000;
}
/* list */
.no-point {
    list-style: none;
    padding-left: 0;
  }
  
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* 大きな背景画像 */
.big-bg {
    background-size: cover;
    background-position: center top;
}

/* 見出し */
.page-title {
    padding-top: 5rem;
    font-size: 5rem;
    font-family: 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
    color: greenyellow;
}
.sub-title {
    font-size: 2.5rem;
    font-family: 'Philosopher', serif;
    padding: 0 8px 8px;
    border-top: 2px #0bd solid;
    font-weight: normal;
}
.page-contents {
    font-size: 1.125rem;
    font-family: 'Philosopher', serif;
    padding: 0 8px 20px 20px;
    font-weight: normal;
    color: #000;
    margin-bottom: 20px;
}
.note {
    font-size: 0.8em;
    vertical-align: top;
}
.indent {
    margin-left: 1rem;
    text-indent: -1rem;
    margin-bottom: 0rem;
}
.line {
    text-decoration: underline;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--text);
    margin-bottom: 10px;
}
.container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: var(--text);
    margin-bottom: 10px;
    margin-left: 0px;
}

.container-text {
    margin-bottom: 2rem;
    color: var(--text);
}    
.container-text2 {
    max-width: 45%;
    margin-bottom: 2rem;
    padding-left: 0px;
}    

.container-img {
    max-width: 500px;
    margin-left: 10px;
}
.container-img2 {
    width: 100%;
    padding-left: 1rem;
}
.container-picture {
    max-width: 50%;
    align: right;
}
.frame {
    padding: 0px 10px 10px 10px;
    margin-bottom: 10px;
    border: 1px solid #333333;
}
  
/* ボタン */
.button {
    font-size: 1.375rem;
    background: #0bd;
    color: #fff;
    border-radius: 5px;
    padding: 18px 32px;
}
.button:hover {
    background: #0090aa;
}

/* iframe */
iframe {
    width: 100%;
}

/* 開閉するメニュー */
.submenu h3 {
    margin: 0 0 1em 0;
    font-size: 16px;
    cursor: pointer;
    color: orangered;
    padding-bottom: 0rem;
}
.submenu h3:hover {
    color: #b04188;
    text-decoration: underline;
}
.submenu ul {
    margin: 0 0 1em 0;
    list-style-type: none;
}
.hidden {
    display: none;
}


/* HEADER
------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
}
.logo {
    width: 100px;
    margin-top: 14px;
}
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: #fff;
}
.main-nav a:hover {
    color: #0bd;
}
/* スライドメニュー */
.btn-menu {
    display: none;
    top: 20px;
    right: 12px;
}
/*
.main-nav {
    width: 100%;
    font-size: 1.125rem;
    position: static;
    display: flex;
}
.main-nav li {
    margin: 0 0 0 1.5rem;
}
*/


/* HOME
------------------------------- */
#home {
    background-image: url(../images/astronomy.jpg);
    min-height: 80vh; 
}
#home .page-title {
    padding-top: 12rem;
    text-align: center;
    margin-bottom: 300px;
    /*color: #fff200;*/
}
#home .main-nav a {
    color: #fff;
}
#home .main-nav a:hover {
    color: #0bd;
}
.home-content {
    display: flex;
    justify-content: space-between;
    color: #fff200;
}
.home-content p {
    font-size: 1.125rem;
    /* margin: 10px 0 42px; */
}

/* NEWS
------------------------------- */
#news {
    background-image: url(../images/verona.jpg);
    height: 50vh;
    margin-bottom: 40px;
}
#news .page-title {
    padding-top: 3rem;
    text-align: center;
    /*color: #fff;*/
}
#news .main-nav a {
    color:#fff;
}
#news .main-nav a:hover {
    color: #0bd;
}
.news-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.news-contents p {
    font-size: 1.125rem;
    margin: 10px 0 0;
    margin-bottom: 20px;
}


/* about
------------------------------- */
#about {
    background-image: url(../images/verona.jpg);
    height: 50vh;
    margin-bottom: 40px;
}
#about .page-title {
    padding-top: 5rem;
    text-align: center;
    /* color: #fff; */  
}
#about .main-nav a {
    color:#fff;
}
#about .main-nav a:hover {
    color: #0bd;
}
.about-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
/*
.about-content p {
    font-size: 1.125rem;
    margin: 10px 0 0;
}
*/

.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 6%;
  margin-bottom: 50px;
}

/* TOPIC
------------------------------- */
#topic {
    background-image: url(../images/verona.jpg);
    height: 50vh;
    margin-bottom: 40px;
}
#topic .page-title {
    padding-top: 5rem;
    text-align: center;
}
#topic .main-nav a {
    color:#fff;
}
#topic .main-nav a:hover {
    color: #0bd;
}
.topic-content {
    margin-bottom: 20px;
    border-top: 2px #0bd solid;
    color: #000;
}

.topic-content p {
    font-size: 1.125rem;
    margin: 10px 0 0;
    color:#000;
}


.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 6%;
  margin-bottom: 50px;
}


/* DATECAL
------------------------------- */
#datecal {
    background-image: url(../images/verona.jpg);
    height: 50vh;
    margin-bottom: 40px;
}
#datecal .page-title {
    padding-top: 5rem;
    text-align: center;
    /* color: #fff; */ 
}
.datecal-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.input-area {
    margin-bottom: 50px;
}
input[type="text"],select {
    width: 50px;
    height: 30px;
}
/*
p {
    font-weight: bold;
    font-size: 20px;
}
*/
.btn-border {
    display: inline-block;
    max-width: 50px;
    text-align: left;
    border: 2px solid #9ec34b;
    font-size: 15px;
    color: #9ec34b;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: .4s;
}
.btn-border:hover {
    background-color: #9ec34b;
    border-color: #cbe585;
    color: #000;
}

/* CALEN
------------------------------- */
#calen {
    background-image: url(../images/verona.jpg);
    height: 50vh;
    margin-bottom: 40px;
}
#calen .page-title {
    padding-top: 5rem;
    text-align: center;
    /* color: #fff; */ 
}
.calen-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.input-area {
    margin-bottom: 100px;
}
input[type="text"] {
    width: 40px;
    height: 30px;
}
select {
    width: 40px;
    height: 30px;
}
/*
p {
    font-weight: bold;
    font-size: 20px;
}
*/
.btn-border {
    display: inline-block;
    max-width: 40px;
    text-align: left;
    border: 2px solid #9ec34b;
    font-size: 15px;
    color: #9ec34b;
    text-decoration: none;
    font-weight: bold;
    padding: auto;
    border-radius: 4px;
    transition: .4s;
}
.btn-border:hover {
    background-color: #9ec34b;
    border-color: #cbe585;
    color: #000;
}



/* CONTACT
------------------------------- */
#contact {
    background-image: url(../images/baby.jpg);
    height: 100vh;
    margin-bottom: 40px;
}
#contact .page-title {
    padding-top: 5rem;
    text-align: center;
    color: magenta;
}
#contact .main-nav a {
    color:#fff;
}
#contact .main-nav a:hover {
    color: #0bd;
}

body {
    background-color: #f9fff2;
}
.input-area {
    margin-bottom: 20px;
}
input[type="text"],input[type="email"],select {
    width: 300px;
    height: 30px;
}
textarea {
    width: 600px;
}
/*
p {
    font-weight: bold;
    font-size: 20px;
}
*/
.btn-border {
    display: inline-block;
    max-width: 180px;
    text-align: left;
    border: 2px solid #9ec34b;
    font-size: 15px;
    color: #9ec34b;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: .4s;
}
.btn-border:hover {
    background-color: #9ec34b;
    border-color: #cbe585;
    color: #FFF;
}

/* フッター
------------------------------- */
footer {
    background: #432;
    text-align: center;
    padding: 26px 0;
}

footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  footer li {
    margin: 0 12px;
    color: #fff;
  }
  
  footer a {
    color: yellow;
  }
  
  footer a:hover {
    color: #c7c3ba;
  }
  
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/* モバイル版
------------------------------- */
@media (max-width: 600px) {
    .page-title {
        padding-top: 15rem;
        font-size: 2.5rem;
    }
    #home .page-title {
        padding-top: 12rem;
    }
    #news .page-title {
        padding-top: 5rem;
    }
    #about .page-title {
        padding-top: 5rem;
    }
    #topic .page-title {
        padding-top: 5rem;
    }
    #calen .page-title {
        padding-top: 5rem;
    }
    #contact .page-title {
        padding-top: 5rem;
    }

    .page-header {
        flex-direction: column;
        align-items: center;
    }
    .container {
        padding: 4rem 1rem;
    }
    .container2 {
        padding: 0rem;
    }

    .container-text {
        margin-bottom: 2rem;
    }
    .container-text2 {
        max-width: 100%;
        margin-left: 0rem;
        margin-bottom: 0px;
    }
    .container-img {
        max-width: 350px;
        margin-left: 0px;
    }  

    /* HEADER */
/*    
    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
    }
    */
/*
    .main-nav li {
        margin: 0 20px;
    }
    */
    
    .btn-menu {
        display: list-item;
        position: absolute;
        top: 12px;
        right: 12px;
        border: 1px solid rgba(255,255,255,.5);
        color: yellow;
        padding: .5rem 1rem;
    }
    #contact .btn-menu {
        border: 1px solid black;
        color: magenta;
    }
    .main-nav {
        display: list-item;
        background: black;
        width: 0;
        position: absolute;
        z-index: 2;
        top: 50px;
        right: 0;
        overflow: hidden;
        transition: .5s;
        font-size: 1rem;
        color: yellow;
        margin-top: 10px;
    }
    #contact .main-nav {
        color: red;
    }
    .main-nav li {
        text-align: center;
        margin: 2rem 0;
    }
    .main-nav a {
        display: block;
        font-size: 1.125rem;
    }
    /* メニューが、Menuクリックで表示し、Closeクリックで非表示 */
    .main-nav.open-menu {
        width: 100%;
    }

    

    /* HOME */
    .home-content {
        margin-top: 20%;
    }

    /* NEWS */
    .news-contents {
        flex-direction: column;
    }
    #news .page-title {
        margin-top: 30px;
    }
    article,
    aside {
        width: 100%;
    }
    aside {
        margin-top: 60px;
    }
    .post-info {
        margin-bottom: 30px;
    }
    .post-date {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    .post-date span {
        font-size: 0.875rem;
        padding-top: 2px;
    }
    .post-title {
        font-size: 1.375rem;
    }
    .post-cat {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    .post-title,
    .post-cat {
        margin-left: 80px;
    }

    /* about */
    .about-content {
        margin-top: 20%;
    }

    /* CONTACT */
    #contact .page-title {
        margin-top: 40px;
    }

    /* フォーム */
    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }

}
