/*===========================================
             全ページ共通設定 
=============================================*/
/* *** 見出し文字装飾の設定 *** */
    h1 {
        margin-bottom: 0px;
        font-size: 40px;
    }

    h1,h2 {
        font-family: 'Metal', cursive;
    }

/* ***　ページスクロールの設定　*** */
    html{
        scroll-behavior: smooth;
    }

/* ページトップへ戻るボタン */
    .page-top {
        display: none;/* 非表示 */
        position: fixed;/* ページ右下に固定 */
        right: 80px;
        bottom: 50px;
        padding: 20px 10px;
        border: 3px black solid; 
        border-radius: 8px;
        color: black;
        cursor: pointer;/* カーソルをポインターに */
    }

/* activeクラスが付与されたとき */
    .page-top.active {
        display: block;
    }

/* ホバーしたとき */
    .page-top:hover {
        opacity: 0.8;
        transition: 0.3s;
    }
   
/* *** フッターの設定 *** */
    body {
        margin: 0;
        padding: 0;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .webp .wrapper {
        min-height: 100vh;
        max-height: 100%;
        position: relative;
        padding-bottom: 90px;
        box-sizing: border-box;
        background-size: auto;
        background-attachment: fixed;
    }

    footer {
        width: 100%;
        text-align: center;
        margin: auto;
        padding: 1px 0;
        position: fixed;
        bottom: 0;
        background-color: #fff;
    }

    #footer__copyright {
        margin: 0;
    }

/*===========================================
            PC用設定
=============================================*/
@media screen and (min-width: 980px) {
/* ***　メニューとコンテンツ並び設定　*** */
/* *** bannerの設定 *** */
    .header_wrapper {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 4%;
        display: flex;
        justify-content: space-between;
    }

    #banner {
        width: 400px;
        margin-top: auto;
    }

    #banner img {
        max-width: 100%;
        width: 400px;
        margin-top: auto;
        margin-right: 30px;
        padding-right: 30px;
        align-items: center;
        border-right: solid 0.5pt #000;    
    }

/* *** SDG'sロゴ設定 *** */
    #sdgs img {
        width: 150px;
        margin-top: 20px;
        margin-left: 30px;
        padding-left: 30px;
    }

/* ***　メニュー設定　*** */
    nav ul {
        max-width: 100%;    
        display: flex;
        justify-content: center;
        width: 600px;
        margin: 40px auto;
        padding-bottom: 0;
    }

    nav li {
        margin-left: 30px;
        margin-bottom: 0;
        list-style: none;   
    }

    nav.menyu {
        max-width: 100%;
        width: 600px;
        display: flex;
    }

    nav.menyu_h {
        display: none;
    }

    .current {
        padding: 0;
        border-bottom: 2px solid rgb(0, 0, 0);
    }

/* ***　コンテンツ設定　*** */
    main {
        max-width: 100%;
    }
 
    #content {
        max-width: 100%;
        margin: auto;
        padding-left: 130px;
        font-size: large;
    }

    #content h2 {
        color: rgb(4, 24, 54);
        margin: auto;
        padding-top: 120px;
        text-align: center;
    }

    #content img {
        height: 100%;
    }

    h1 {
        margin-left: 20px;
    }

    .tet_content {
        width: 750px;
        margin-left: 40px;
    }

/* ===　トップページの設定　=== */
/* ***　背景の設定　*** */   
   .main_wrapper {
        max-width: 100%;
        height: 880px;
        background-image: url(img/bus0028-001.jpg);
        background-size: auto;
        background-attachment: scroll;
   }


/* ***　更新履歴の設定　*** */
    .topics {
        overflow: scroll;
        width: 40%;
        height: 140px;
        position: relative;
        margin: 50px 150px 0 250px;
    }

    .topics h3 {
        margin: 0;
    }

    .topics dt {
        clear: left;
        float: left;
        width: 15%;
        margin-top: 10px;
        margin-right: 15%;
    }

    .topics dd {
        margin-left: 11%;
    }

/* ===　requestの設定　=== */
    input[type="text"], input[type="email"], input[type="tel"] {
        width: 300px;
        height: 30px;
        margin-right: 50px;
        border: 1px solid #000;
    }

    ol .form_li {
        width: 550px;
        margin-right: 0;
        padding: 0;
    }

    .form_li {
        width: 550px;
        float: left;
    }

    .qr_img img {
        width: 110px;  
    }

    .form {
        float: left;
    }

    .botton {
        clear: both;
        padding-left: 500px;
    }

    input[type="text"]:focus, 
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus {
        background: rgb(219, 238, 142);
    }

/* ===　priceの設定　=== */
    table {
        border-collapse: collapse;
    }

    td {
        background-color: #fff;
        border: 1px solid #000;
    }

    th,td {
        padding: 3px 10px;
    }
}

/*===========================================
            タブレット用設定
==============================================*/
@media screen and (max-width: 980px) {
/* *** ハンバーガーボタン設定 *** */ 
    .nav_toggle {
        display : block;
        position: absolute;
        z-index : 3;
        right : 13px;
        top   : 5px;
        width : 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        -webkit-transition: 0.5s all;
        -moz-transition   : 0.5s all;
        transition        : 0.5s all;    
    }

    .nav_toggle i {
        display : block;
        position: absolute;
        width   : 30px;
        height  : 2px ;
        left    : 6px;
        background : #555;
    }

    .nav_toggle i:nth-child(1) {
        top: 10px;
    }

    .nav_toggle i:nth-child(2) {
        top: 20px;
    }

    .nav_toggle i:nth-child(3) {
            top: 30px;
    }

/* *** ナビ開いてる時のボタン設定 *** */
    .nav_toggle.active {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }

    .nav_toggle.active i:nth-child(1) {
        top : 16px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform   : rotate(-45deg);
        transform        : rotate(-45deg);
    }

    .nav_toggle.active i:nth-child(2) {
        top: 16px;
        -webkit-transform: rotate(45deg);
        -moz-transform   : rotate(45deg);
        transform        : rotate(45deg);
    }

    .nav_toggle.active i:nth-child(3) {
        opacity: 0;
    }

    nav.menyu_h {
        display: block;
        position: fixed;
        z-index : 2;
        top  : 0;
        left : 0;
        color: #000;
        background: #fff;
        text-align: center;
        transform: translateY(-100%);
        transition: all 0.6s;
        width: 100%;
    }

    nav.menyu_h ul {
        background: rgb(193, 209, 231);
        margin: 0 auto;
        padding: 0;
        width: 100%;
        border-bottom: #fff;
    }

    nav.menyu_h ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        border-bottom: 1px solid #fff;
    }

    nav.menyu_h ul li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    nav.menyu_h ul li:hover{
        background :#ddd;
    }

    nav.menyu_h ul li a {
        display: block;
        color: #3b2633;
        padding: 1em 0;
        text-decoration :none;
    }

/* *** このクラスを、jQueryで付与・削除する *** */
    nav.menyu_h.active {
        transform: translateY(0%);
    }

/* ===　全ページ共通設定　=== */
/* ***　メニューとコンテンツ並び設定　*** */
    .header_wrapper {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 4%;
        display: flex;
        justify-content: space-between;
    }

    #banner {
        width: 400px;
        margin-top: auto;
    }

    #banner img {
        max-width: 100%;
        width: 400px;
        margin-top: auto;
        margin-right: 30px;
        padding-right: 30px;
        align-items: center;
        border-right: solid 0.5pt #000;
    }

/* *** SDG'sロゴ設定 *** */
    #sdgs img {
        width: 150px;
        margin-top: 20px;
        margin-left: 30px;
        padding-left: 30px;
    }
    
/* ***　PCメニュー非表示　*** */
    nav.menyu {
        display: none;
    }

/* ***　PCサブメニュー非表示設定　*** */
    #tab {
        display: none;
    }

/* *** フッターの設定 *** */
    .webp .wrapper {
        min-height: 96vh;
        position: relative;
        padding-bottom: 90px;
        box-sizing: border-box;
        background-size: cover;
        background-attachment: fixed;
    }

    .main_wrapper {
        min-height: 78vh;
        position: relative;
        padding-bottom: 100px;
        box-sizing: border-box;
        background-image: url(img/p3100.jpg);
        background-size: cover;
        background-attachment: fixed;
    }

    footer {
        width: 100%;
        text-align: center;
        padding: 1px 0;
        position: relative;
        bottom: 0;
        background-color: #fff;
    }

    #footer__copyright {
        margin: 0;
        font-size: 105%;
    }

/* ***　コンテンツ設定　*** */
    main {
        max-width: 100%;
    }

    #content {
        max-width: 100%;
        margin: auto;
        padding: 5%;
        font-size: 120%;
    }

    #content h2 {
        color: rgb(4, 24, 54);
        margin: auto;
        padding-top: 100px;
        text-align: center;
    }

    #content img {
        height: 10%;
    }

    h1 {
        margin-left: 20px;
    }

    .tet_content {
        width: 750px;
        margin-left: 40px;
    }

/* ===　トップページの設定　=== */
/* ***　更新履歴の設定　*** */
    .topics {
        overflow: scroll;
        width: 70%;
        height: 80px;
        position: absolute;
        margin: 230px 0 0 50px;
        font-size: small;
    }

    .topics h3 {
        margin: 0;
        border-bottom: 1px solid rgb(89,110,202);
    }

    .topics dl {
        width: 70%;
        padding: 15px 0;
    }

    .topics dt {
        padding-bottom: 5px;
    }

    .topics dd {
        margin-left: 8px;
    }

/* ===　requestの設定　=== */
    input[type="text"], input[type="email"], input[type="tel"] {
        width: 300px;
        height: 30px;
        margin-right: 50px;
        border: 1px solid #000;
    }

    ol .form_li {
        width: 550px;
        margin-right: 0;
        padding: 0;
    }

    .form_li {
        width: 550px;
        float: left;
    }

    .qr_img img {
        width: 110px;  
    }

    .form {
        float: left;
    }

    .form2 select {
        width: 150px;
        height: 30px;
    }

    .botton {
        clear: both;
        text-align: center;
    }

    input[type="text"]:focus, 
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus {
        background: rgb(219, 238, 142);
    }

    input::placeholder {
        font-size: 20px;
    }

    textarea::placeholder {
        font-size: 20px;
    }

/* ===　priceの設定　=== */
    table {
        border-collapse: collapse;
    }

    td {
        background-color: #fff;
        border: 1px solid #000;
    }

    th,td {
        margin: 0;
        padding: 5px;
    }
}
/*===========================================
            スマホ用設定
==============================================*/
@media screen and (max-width: 480px) {
/* *** ハンバーガーボタン設定 *** */ 
    .nav_toggle {
        display : block;
        position: absolute;
        z-index : 3;
        right : 13px;
        top   : 5px;
        width : 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        -webkit-transition: 0.5s all;
        -moz-transition   : 0.5s all;
        transition        : 0.5s all;    
    }

    .nav_toggle i {
        display : block;
        position: absolute;
        width   : 30px;
        height  : 2px ;
        left    : 6px;
        background : #555;
    }

    .nav_toggle i:nth-child(1) {
        top: 10px;
    }

    .nav_toggle i:nth-child(2) {
        top: 20px;
    }

    .nav_toggle i:nth-child(3) {
            top: 30px;
    }
    
/* *** ナビ開いてる時のボタン設定 *** */
    .nav_toggle.active {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }

    .nav_toggle.active i:nth-child(1) {
        top : 16px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform   : rotate(-45deg);
        transform        : rotate(-45deg);
    }

    .nav_toggle.active i:nth-child(2) {
        top: 16px;
        -webkit-transform: rotate(45deg);
        -moz-transform   : rotate(45deg);
        transform        : rotate(45deg);
    }

    .nav_toggle.active i:nth-child(3) {
        opacity: 0;
    }

    nav.menyu_h {
        display: block;
        position: fixed;
        z-index : 2;
        top  : 0;
        left : 0;
        color: #000;
        background: #fff;
        text-align: center;
        transform: translateY(-100%);
        transition: all 0.6s;
        width: 100%;
    }

    nav.menyu_h ul {
        background: rgb(193, 209, 231);
        margin: 0 auto;
        padding: 0;
        width: 100%;
        border-bottom: #fff;
    }

    nav.menyu_h ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        border-bottom: 1px solid #fff;
    }

    nav.menyu_h ul li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    nav.menyu_h ul li:hover{
        background :#ddd;
    }

    nav.menyu_h ul li a {
        display: block;
        color: #3b2633;
        padding: 1em 0;
        text-decoration :none;
    }

/* *** このクラスを、jQueryで付与・削除する *** */
    nav.menyu_h.active {
        transform: translateY(0%);
    }

/* ===　全ページ共通設定　=== */
/* ***　メニューとコンテンツ並び設定　*** */
    .header_wrapper {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 4%;
        display: flex;
        justify-content: space-between;
    }

    #banner {
        width: 200px;
        margin-top: auto;
    }

    #banner img {
        max-width: 100%;
        width: 180px;
        margin-top: auto;
        margin-right: 10px;
        padding-right: 10px;
        align-items: center;
        border-right: solid 0.5pt #000;   
    }
    
/* *** SDG'sロゴ設定 *** */
    #sdgs img {
        width: 80px;
        margin: 20px 0 0 0;
        padding: 0;       
    }
    
/* ***　PCメニュー非表示　*** */
    nav.menyu {
        display: none;
    }

/* ***　PCサブメニュー非表示設定　*** */
    #tab {
        display: none;
    }

/* *** フッターの設定 *** */
    .webp .wrapper {
        min-height: 96vh;
        position: relative;
        padding-bottom: 90px;
        box-sizing: border-box;
        background-size: cover;
        background-attachment: fixed;
    }

    .main_wrapper {
        min-height: 80vh;
        position: relative;
        padding-bottom: 60px;
        box-sizing: border-box;
        background-image: url(img/p3100.jpg);
        background-size: cover;
        background-attachment: fixed;
    }

    footer {
        width: 100%;
        text-align: center;
        padding: 1px 0;
        position: relative;
        bottom: 0;
        background-color: #fff;
    }

    #footer__copyright {
        margin: 0;
        font-size: 100%;
    }

/* ***　コンテンツ設定　*** */
    main {
        max-width: 100%;
    }
    
    #content {
        max-width: 100%;
        margin: auto;
        padding: 5%;
        font-size: 105%;
    }

    #content h2 {
        color: rgb(4, 24, 54);
        margin: auto;
        padding-top: 30px;
        text-align: center;
    }
    
    #content img {
        height: 10%;
    }
    h1 {
        margin-left: 20px;
    }
    
    .tet_content {
        width: 750px;
        margin-left: 40px;
    }
    
    
/* ===　トップページの設定　=== */
    /* ***　更新履歴の設定　*** */
    .topics {
        overflow: scroll;
        width: 70%;
        height: 80px;
        position: absolute;
        margin: 50px 0 0 50px;
        font-size: small;
    }

    .topics h3 {
        margin: 0;
        border-bottom: 1px solid rgb(89,110,202);
    }

    .topics dl {
        width: 70%;
        padding: 15px 0;
    }

    .topics dt {
        padding-bottom: 5px;
    }

    .topics dd {
        margin-left: 8px;
    }

/* ===　requestの設定　=== */
    input[type="text"], input[type="email"], input[type="tel"] {
        width: 350px;
        height: 30px;
        margin-right: 50px;
        border: 1px solid #000;
    }

    ol .form_li {
        width: 550px;
        margin-right: 0;
        padding: 0;
    }

    .form_li {
        width: 200px;
        float: left;
    }

    .qr_img img { 
        width: 80px;
        margin-left: 20px;     
    }

    h3 {
        clear: both;
        text-align: center;
    }
    
    .form2 select {
        width: 150px;
        height: 30px;
    }

    textarea {
        width: 350px;
    }

    .botton {
        clear: both;
        text-align: center;
    }

    input[type="text"]:focus, 
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus {
        background: rgb(219, 238, 142);
    }

    input::placeholder {
        font-size: 20px;
    }

    textarea::placeholder {
    font-size: 20px;
    }
    
    /* ===　priceの設定　=== */
    table {
        border-collapse: collapse;
    }

    td {
        background-color: #fff;
        border: 1px solid #000;
    }

    th,td {
        margin: 0;
        padding: 3px;
    }
}