﻿/* HEADER */
.number {
    font-size: 28px;
}
.number-text {
    margin-bottom: -10px;
}

/* SECTION1 */
.main-color { color: #00797F; }
.bg-main,
.btn-main {
    background-color: #00797F;
    color: #fff;
}
.sub-color {
    color: #D9ECE7;
}
.bg-sub {
    background-color: #D9ECE7;
}
.bg-point {
    background-color: #eac24f;
}

a {
    color: unset;
}
li {
    list-style-type: none;
}
.red {
    color:#d52536; 
}
.yellow {
    color: #ffc107;
}
.point {
    color: #ffc107;
    font-size: 150%; 
}
.point2 {
    color: #eaad00;
    font-size: 150%; 
}
.small {
    font-size: 90%;
}
.small2 {
    font-size: 50%;
}
.top-small {
    font-size: 24px;
    line-height: 1.6;
}
.b {
    font-weight: bold;
}
.container-fluid {
    padding-right: 0;
    padding-left: 0;
}
.btn-info {
    background-color: #ec963d !important;
}
p {
    font-size: 20px;
}
.display-5 {
    font-size: 40px;
}

#section1 {
    background-image: url(images/top.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#section1 .top-text {
    line-height: 1.3;
    font-size: 58px;
}
#section1 .top-big {
    font-size: 100px;
}
#section1 .jumbotron {
    background: none;
}
#section1 .bg-main {
    background-color: #00797fe8;
}


/* SECTION2 */
#section2 div {
    margin: 150px auto; 
    line-height:2.5;
}

/* SECTION3 */
#section3 .display-3 {
    letter-spacing: -5px;
}
#section3 .display-1 {
    letter-spacing: -20px;
}
#section3 p {
    font-size: 24px;
}
#section3 .point {
    font-size: 120%;
    color: #00797F;
    font-weight: bold;
}

/* SECTION4 */
#section4 .box {
    border-left: 10px solid #00797F;
}

/* SECTION5 */
#section5 {
}

/* SECTION6 */
::placeholder{
    color: #ccc;
}
#section6 .form-group {
    margin-bottom: 10px;
} 
#section6 label,
#section6 span {
    font-size: 22px;
}
#section6 .form-result{
    font-size: 50px;
}
#section6 button {
    font-size: 28px;
    z-index: 100;
}
#section6 .yazirushi {
    transform: scaleX(2.6);
    font-size: 100px;
    margin: -40px auto 0;
}
#section6 .modal-footer .btn-main {
    background-color: #00797f;
    margin: 0 auto;
    font-size: 24px;
}
.modal-footer p {
    font-size: 18px;
    margin: 0px auto 5px;
}


.modal table {
    margin: 0 auto;
    font-size: 20px;
}
.modal table th {
    width: 100px;
    border: 1px solid #222;
    
}
.modal table td {
    border: 1px solid #222;
    font-weight: bold;
    color: #f20;
}


/* SECTION7 */
#section7 .yazirushi {
    width: 200px;
    margin: 10px auto 20px;
}

/* SECTION9 */
#section9 h2 {
    font-size: 38px;
}
#section9 p {
    font-size: 18px;
    line-height: 2;
}


/* ------------------------------ */
/*            FOOTER              */
/* ------------------------------ */
#footer ul {
    max-width: 400px;
    margin: 0 auto;
}
#copy {
    font-size: 13px;
}


/* ------------------------------ */
/*          FLOAT MENU            */
/* ------------------------------ */
.slider {
    display: block;
    position: fixed;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
    z-index: 201;
    width: 60px;
    height: 60px;
    padding: 15px 0 0;
    background: rgb(239, 187, 41);
    right: 20px;
    bottom: 50px;
    border-radius: 100px;
}


/* ------------------------------ */
/*            MEDIA               */
/* ------------------------------ */
/* 横幅768px以下 */
@media screen and (max-width: 768px){
    /* HEADER -------------------- */
    .navbar div {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end !important;
    }
    .navbar button {
        width: 356px;
    }
    
    /* SECTION ------------------- */
    #section1 .top-text {
        font-size: 36px;
    }
    #section1 .top-big {
        font-size: 80px;
    }
    .container {
        max-width: unset;
    }
    .jumbotron {
        margin-top: 100px !important;
        margin-bottom: 80px !important;
    }
    #section1 h1 .top-small {
        font-size: 18px;
    }
    #section9 p {
        padding: 10px 0 !important;
    }
    #section9 img {
        max-width: 250px;
    }
    #section11 .container {
        padding: 4% !important;
    }
    #section11 h2 {
        font-size: 38px;
    }
    #section11 .display-5 {
        font-size: 30px;
        margin-bottom: 80px;
    }
    #section3 h1 {
        font-size: 40px;
        letter-spacing: -3px !important;
    }
    #section3 .display-1 {
        font-size: 60px;
        letter-spacing: -13px;
    }
    #section3 {
        background-color: #eee !important;
    }
    #section3 h2 {
        font-size: 30px;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        background-color: #00797F !important;
        color: #fff;
        font-weight: 400;
    }
    #section3 .point {
        color: #e69111;
        text-decoration: underline;
    }
    #section4 h2 {
        font-size: 38px;
        border-top: 2px solid;
        border-bottom: 2px solid;
    }
    #section4 .display-3 {
        font-size: 30px;
    }
    #section4 .display-5 {
        font-size: 30px;

    }
    #section7 h2 {
        font-size: 26px;
        text-align: left !important;
    }
    #section6 div {
        padding: 20px 4% 40px  !important;
    }
    #section6 h2 {
        padding: 20px 0 !important;
        font-size: 42px;
        border-top: 2px solid;
        border-bottom: 2px solid;
    }
    #section8 h2 {
        font-size: 38px;
        border-top: 2px solid;
        border-bottom: 2px solid;
        padding: 20px;
    }
    #section10 div {
        margin: 0 !important;
    }
}


/* 横幅500px以下 */
@media screen and (max-width: 500px){
    /* HEADER -------------------- */
    .navbar {
        padding: 10px !important;
    }
    .navbar div {
        display: block !important;
        text-align: center;
    }
    .navbar a {
        padding: 0;
    }
    .navbar div a span {
        display: inline-block  !important;
    }
    .navbar div a .number-text {
        font-size: 16px;
        text-align: left;
        color: #00797F;
    }
    .navbar div a span.pc-only {
        display: none !important;
    }
    .navbar div a .number {
        font-size: 30px;
    }
    .navbar div a {
        margin: 0 auto !important;
    }
    .navbar div a button {
        width: 90%;
        padding: 5px;
        margin: 0 auto;
    }
    .jumbotron {
        margin-top: 65px !important;
    }
    #section7 h1 {
        font-size: 30px;
    }
    #section7 div {
        padding: 15px 6% !important;
    }
    #section7 div h2 {
        text-align: center !important;
    }
    
    /* FLOAT MENU ---------------- */
    .slider {
        bottom: 0;
        width: 100%;
        right: 0;
        border-radius: 0;
        padding: 8px;
        height: 50px;
    }
    #footer {
        margin-bottom: 50px;
    }
}
