@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
}
a{
    text-decoration: none;
}
img {
    max-width: 100%;
}
/* HEADER
-------------------------------*/
.logo {
    width: 210px;
    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: #432;
}
.main-nav a:hover {
    color: #0bd;
}
.page-header {
    display: flex;
    justify-content: space-between;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}
/* HOME
------------------------------- */
.page-title {
    text-align: center;
    margin-top: 5px
}
.home-content p {
    text-align: center;
    font-size: 1.8rem;
    margin: 10px 0 50px;
}

/* 見出し */
.page-title {
    font-size: 5rem;
    font-family: 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
}

/* ボタン */
.button {
    font-size: 1.375rem;
    background: #0bd;
    color: #fff;
    border-radius: 10px;
    padding: 18px 32px;
}
.button:hover {
    background: #0090aa;
}
/* 大きな背景画像 */
.big-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
#home {
    background-image: url(../images/mt_dake.jpg);
    min-height: 100vh;
}
#home .page-title {
    text-transform: none;
}
/* 研究室情報・地図 */
#location {
    padding: 4% 0;
}
#location .sub-title {
    margin-left: 50px;
    margin-right: 50px;    
    border-bottom: 2px #0bd solid;
}
#location .wrapper {
    display: flex;
    justify-content: space-between;
}
.location-info {
    width: 35%;
}
#location .location-info p {
    padding: 12px 10px;
}
.third-title{
    font-size:1.2rem;
}
.location-content {
    width: 65%;
}
.profile {
    margin: 1em 0;
    padding: 0;
}
.profile label {
    display: block;
    padding : 8px;
    color: #fff;
    font-weight: bold;
    background: #999;
    cursor: pointer;
}
.profile input[type="checkbox"] {
    display: none;
}
.profile-content {
    height: 0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}
.switch:checked + .profile-content {
    height: auto;
    padding: 8px;
    background: #f7f7f7;
}

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

/* フッター
------------------------------- */
footer {
    background: #432;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/* BLOG
------------------------------- */
#news {
    background-image: url(../images/shimokawatsu.jpg);
    height: 400px;
    margin-bottom: 40px;
}
.news-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
/* メインエリア */
article {    
    width: 60%;
}
.post-info {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}
.post-date {
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}
.post-date span {
    font-size: 1rem;
    border-top: 1px rgba(255,255,255,.5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 2rem;
    font-weight: normal;
}
.post-title,.post-sent {
    margin-left: 120px;
}
article img {
    margin-bottom: 20px;
}
.post-sent {
    white-space: pre-line;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
/* サイドバー */
aside {
    width: 40%;
    margin-top: 100px;
    margin-left: 30px;
}
.sub-title {
    font-size: 1.5rem;
}
.sub-sent {
    white-space: pre-line;
}

/* MENU
------------------------------- */
#menu {
    background-image: url(../images/kamikawatsu.jpg)/*,
    linear-gradient(#c9ffbf, #ffafbd)*/;
    /*background-blend-mode: luminosity;*/
    min-height: 80vh;
}
.menu-content {
    max-width: 560px;
}
.menu-content .page-title {
    text-align: center;
}
.menu-content p {
    font-size: 1.3rem;
    margin: 10px 0 0;
}
.guide {
    text-align: center;
    margin-top: 20px;
    font-size: 1.3rem;
}
.grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 6%;
    margin-bottom: 50px;
}
/*
.big-box {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.big-box img {
   height: 94%;
   width: 100%;
   object-fit: cover;
}
*/

/* CONTACT
------------------------------- */
#contact {
    background-image: url(../images/asakumikakou.jpg);
    min-height: 100vh;
}

/* フォーム */
form div {
    margin-bottom: 20px;
}
label {
    font-size: 1.125rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 5px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,.7);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"] {
    width: 100%;
    max-width: 240px;
}
input[type="email"] {
    width: 100%;
    max-width: 480px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* CONFIRM
------------------------------- */

.caution {
    text-align: center;
    margin-top: 5px;
    font-size: 2rem;
}



/* SNS */
#sns {
    background: #FAF7F0;
    padding: 4% 0;
}
#sns .wrapper {
    display: flex;
    justify-content: space-between;
}
#sns .sub-title {
    margin-bottom: 30px;
}
.sns-box {
    width: 30%;
}

/* MOBILE
------------------------------- */
@media (max-width: 600px) {
    .page-header {
        flex-direction: column;
    }
    .main-nav{
        align-items: center;
    }

    /* HEADER */
    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
    }
    .main-nav li {
        margin: 0 20px;
    }

    /* HOME */
    .page-title {
        font-size: 3rem;
        margin-top: 10px;
    }

    #location .wrapper {
        flex-direction: column;
    }
    .location-info {
        width: 100%;
    }
    .location-content {
        width: 100%;
    }

    /* BLOG */
    #news .page-title {
        margin-top: 10px;
    }
    .news-contents {
        flex-direction: column;
    }
    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;
    }
    /*
    .big-box {
        grid-column: auto;
        grid-row: auto;
    }
    .big-box img {
        height: auto;
    }
    */

    /* MENU */
    .menu-content p {
      margin-top: 5px;
    }

    /* CONTACT */
    /* フォーム */
    input[type="text"] {
        max-width: 50%;
    }
    input[type="email"],
    textarea {
        max-width: 100%;
    }
    #sns .wrapper {
      flex-direction: column;
    }
    .sns-box {
        width: 100%;
    }
    .sns-box {
        margin-bottom: 30px;
    }
}
