body {
    height: 100%;
    width: 100%;
    font-family: 'A-OTF Shuei MaruGo Std, BlinkMacSystemFont', "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

h1,
h2 {
    font-weight: bold;
    color: #333;
}

p {
    color: #333;
}
#wrapper{
    overflow-x: hidden;
    height: 100vh;
}



/* Navbar */

.navbar {
    background-color: rgba(255, 255, 255, 1);
    -webkit-box-shadow: 0 0 6px 0 #999;
    -moz-box-shadow: 0 0 6px 0 #999;
    box-shadow: 0 0 6px 0 #999;
}

.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M6 6L 24 24M24 6L6 24'/%3E%3C/svg%3E");
}

.nav-item:nth-child(3) {
    display: none;
}

.nav-item:last-child {
    margin-bottom: 48px;
}

.sp-exist {
    display: none;
}

.sp-exist-2 {
    display: none;
}

.margin {
    margin-bottom: 48px;
}

.home-message {
    margin: auto 0;
    display: inline-block;
}

.home-message-sp {
    margin: auto;
    display: none;
}

.nav-link {
    padding-bottom: 0;
    height: 120%;
}


/*key-visual*/

.key-visual {
    position: relative;
}

.key-visual-pc {
    display: block;
}

.key-visual-sp {
    display: none;
}

.key-visual img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    -webkit-filter: brightness(0.9);
    -moz-filter: brightness(0.9);
    -o-filter: brightness(0.9);
    -ms-filter: brightness(0.9);
    filter: brightness(0.9);
    border-radius: 5px;
    border: 2px solid lightgreen;
}

.page-caption {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}

.page-caption h1 {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
}

.page-caption p {
    font-size: 15px;
    color: #ffffff;
}

.tsuru-message {
    border-bottom: 3px solid #D3B448;
}


/* To New Students */

.message h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.message h2 span,
.message p span {
    color: #007B43;
    font-weight: bold;
}

.message a button {
    font-weight: bold;
    color: #fff;
    background-color: #D3B448;
    width: 297px;
    height: 56px;
    margin-top: 1.5rem;
    border-radius: 100px;
}

.sp-new-line {
    display: none;
}


/* Card Section */

.card-section {
    margin-right: auto;
    margin-left: auto;
}

.message-2 h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.message-2 h2 span {
    color: #007B43;
    font-weight: bold;
}

.message-2-arrow {
    position: absolute;
    right: 50px;
}

.card-img-top {
    width: 48px;
    height: 48px;
    margin: 24px auto 0;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
}

.card-text {
    font-size: 14px;
}

.underline {
    background: linear-gradient(transparent 0, beige 0);
}

.card-shadow {
    box-shadow: 2px 2px 4px gray;
}


/* Introduce */

.introduce {
    background-color: #F3F4EE;
    padding-top: 48px;
}

.introduce-caption {
    margin-bottom: 76px;
}

.introduce-caption h2 {
    font-size: 32px;
}

.introduce-caption p a button {
    font-weight: bold;
    color: #fff;
    background-color: #D3B448;
    width: 297px;
    height: 56px;
    border-radius: 100px;
}

.introduce-img img {
    border-radius: 5px;
    border: 1px solid lightgreen;
}


/* What's Machi-Market ?*/

.whats-card {
    padding-top: 55px;
    padding-bottom: 32px;
}

.whats-caption p span {
    font-weight: bold;
}

.whats-caption a {
    color: #007B43;
}


/* LINE@ */

.line-img-md {
    display: block;
}

.line-img-sp {
    display: none;
}


/* LINKS */

.tsuru-city img {
    margin: 0 16px;
}

.tsuru-gurashi img {
    margin: 0 16px;
    border: 2px solid lightgreen;
    border-radius: 5px;
}

.tsuru-city p,
.tsuru-gurashi p {
    padding-left: 16px;
}

.circle-arrow-gray {
    display: none;
}


/* topに戻るボタン */

.wrapper-btn {
    position: relative;
    /*topBtnの親要素に指定*/
}

.topBtn {
    position: -webkit-sticky;
    position: sticky;
    bottom: 50px;
}

.topBtn-sp {
    background-color: rgba(255, 255, 255, 0.9);
}

.pc-exist {
    display: block;
}


/* footer */

.footer {
    background-color: #333;
    height: 100%;
    padding-top: 48px;
}

.footer-title span {
    color: #fff;
    margin-left: 50px;
}

.site-map p {
    margin-left: -13px;
    font-weight: bold;
}

.site-map,
.pages {
    margin-top: 24px;
    color: #fff;
}

.site-map a {
    color: #fff;
    margin-right: 35px;
    margin-bottom: 12px;
}

.pages p {
    margin-bottom: 14px;
    margin-left: -13px;
    font-weight: bold;
}

.pages a {
    color: #fff;
    margin-bottom: 12px;
}


/* foot */

.foot {
    background-color: #1B2021;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
}

.foot-inner {
    padding: 50px;
}

.foot .foot-inner p {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 250px;
    transform: translateY(-50%);
}


/*Media Queries*/

@media (max-width: 576px) {
    p {
        font-size: 14px;
    }
    h2,
    h2 span,
    .message h2,
    .message-2 h2,
    .introduce-caption h2 {
        font-size: 24px;
    }
    .margin {
        margin-bottom: 32px;
    }
    /* Navbar */
    .navbar {
        background-color: rgba(255, 255, 255, 0.8);
    }
    .navbar-nav {
        height: 100%;
    }
    .nav-item {
        margin: auto;
        font-size: 20px;
        margin-bottom: 72px;
    }
    .nav-link {
        color: #333!important;
        height: 100%;
    }
    .nav-item:nth-child(n+5):nth-child(-n+7) {
        display: none;
    }
    .nav-item:nth-child(8) {
        display: inline-block;
    }
    .nav-item a button {
        font-weight: bold;
        color: #fff;
        background-color: #D3B448;
        width: 297px;
        height: 56px;
        border-radius: 100px;
    }
    .sp-exist {
        display: inline-block;
    }
    .sp-exist-2 {
        display: block;
    }
    .home-logo {
        padding: 16px 0 16px 16px;
    }
    .home-message {
        display: none;
    }
    .home-message-sp {
        margin: auto 0;
        display: inline-block;
        font-size: 12px;
        margin-top: 5px;
    }
    /* Key Visual */
    .key-visual-pc {
        display: none;
    }
    .key-visual-sp {
        display: block;
    }
    .page-caption {
        width: 300px;
    }
    .page-caption h1 {
        font-size: 24px;
        font-weight: bold;
        text-transform: uppercase;
        display: inline;
    }
    .page-caption p {
        font-size: 12px;
    }
    /* To New Students */
    .message p:not(:first-of-type) {
        text-align: left;
    }
    /* Card Section */
    .card {
        margin-bottom: 32px;
    }
    /* Introduce */
    .Introduce {
        border: 2px solid lightgreen;
        border-radius: 5px;
    }
    .Introduce .margin {
        margin-bottom: 0;
    }
    .introduce-caption {
        margin-bottom: 48px;
    }
    .introduce-caption h2 {
        margin-top: 27px;
    }
    .introduce-caption p:first-of-type {
        margin-bottom: 8px;
    }
    .introduce-img {
        padding: 0;
    }
    .introduce-img img {
        width: 100%;
    }
    /* What's Machi-Market ? */
    .WhatsMachiMarket {
        margin-top: 48px;
    }
    .whats-logo img {
        width: 280px;
    }
    .whats-caption {
        margin-bottom: 30px;
    }
    .whats-card {
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 48px;
    }
    /* LINE@ */
    .line-img-md {
        display: none;
    }
    .line-img-sp {
        display: block;
    }
    /* LINKS */
    .tsuru-city p,
    .tsuru-gurashi p {
        padding-left: 16px;
    }
    .circle-arrow-gray {
        display: block;
    }
    /* topに戻るボタン */
    .pc-exist {
        display: none;
    }
    /* footer */
    .footer-title span {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    .footer-logo {
        margin: 0 auto;
        margin-bottom: 48px;
    }
    /* Foot */
    .foot .foot-inner p {
        position: absolute;
        top: 50%;
        left: 10%;
        transform: translateY(-50%);
        text-align: center;
    }
    /* Utility 改行したい箇所に使用 */
    .sp-new-line {
        display: block;
    }
}