﻿@charset "UTF-8";

/*----------------------------------------------------------------default*/
html {
    font-size: 62.5%;
}

a {
    color: #000;
    text-decoration: none;
    -webkit-transition: 0.5s;
    /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
    transition: 0.5s;
}

p {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: top;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style-type: none;
    padding: 0;
}

input {
    cursor: pointer;
}

/*----------------------------------------------------------------fade*/
a,
input {
    transition: .3s ease-in-out;
}

a:hover,
input:hover {
    color: #20b1e1;
    opacity: .7;
    filter: alpha(opacity=70);
}


/*===============================================================スマホ*/
body {
    margin: 0;
    padding: 0;
    background: #f5f5dc;

    color: #444;
    font-family: Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    font-size: 1.2rem;
    text-align: left;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

header {
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 45px;
    margin: -45px 0 0;
    background: #f5f5dc;
}

header .logo {
    position: absolute;
    top: 7px;
    left: 3%;
    width: 170px;
}

header h1+i {
    display: block;
    position: absolute;
    top: 14px;
    right: 45px;
    font-size: 1.8rem;
    cursor: pointer;
}

header .menu {
    position: fixed;
    z-index: 4;
    top: 45px;
    right: 0;
    width: 250px;
    height: auto;
    background: rgba(255, 255, 255, .9);
}

header .btn-menu {
    position: absolute;
    top: -33px;
    right: 20%;
    width: 25px;
    height: 25px;
    border: 1px solid #656565;
    border-radius: 5px;
}

header .btn-menu span {
    display: block;
    position: absolute;
    left: 5px;
    width: 15px;
    border-bottom: solid 2px #656565;
}

header .btn-menu span:nth-child(1) {
    top: 6px;
}

header .btn-menu span:nth-child(2) {
    top: 12px;
}

header .btn-menu span:nth-child(3) {
    top: 18px;
}

header .header-menu {
    display: none;
}

header .header-menu .global {
    margin: 0 0 15px;
    text-align: center;
}

header .header-menu .global ul{
    text-align: left;
    margin-left: 20px;
}

header .header-menu .global li {
    border-bottom: 1px solid #959595;
}

header .header-menu .global li a {
    display: block;
    height: 45px;
    font-size: 1.5rem;
    line-height: 30px;
}


footer {
    clear: both;
    background: #2c3e4a;
    /*背景色*/
    color: #ccc;
    /*文字色*/
    font-size: 85%;
    /*文字サイズ*/
    width: 100%;
    margin: 0;
}

footer .inner {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    background: #2c3e4a;
}

footer .copyright {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ccc;
    background: #2c3e4a;
    text-align: center;
}

footer .address-blk .logo {
    width: 150px;
    margin: 0 0 15px;
}

footer .address-blk p {
    margin: 0 0 15px;
    color: #ccc;
}

footer .address-blk p i {
    margin: 0 5px 0 0;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #7da5bf;
}

footer .pr {
    display: block;
    font-size: 80%;
}

#footermenu {
    display: none;
}

#page-top {
    display: flex;
    position: fixed;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgb(255, 115, 0);
    color: #fff;
    font-size: 1.6rem;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


main {
    margin: 45px 0 0;
}

main .inner {
    width: 95%;
    margin: 0 2px 0 10px ;
    background: #fff;
    padding: 5px 10px;
}

.inner section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin: 0 10px;

}



.inner h2 {
    font-size: 1.3rem;
    color: #32a1ce;
    border: double #32a1ce 3px;
}

.inner p {
    margin: 10px 0;
}


.tab_box *,
.tab-box *:before,
.tab_box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.tab_box {
    padding: 0px 5px 25px 5px;
    margin: 15px;
    width: 100%;
    height: 160px;
}



.tab_box>input[type='radio'] {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    display: none;
}



.tab_box .tabpanels {
    position: relative;
    max-width: 280px;
    min-height: 150px;
    margin-left: 10px;
}

.tabpanels img {
    width: 280px;
    height: 150px;
}


.tab_box .tabpanel {
    position: absolute;
    width: 90%;
    opacity: 0;
    padding: 0.5em;
    transform: translateY(-10px);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

.tab_box>input:first-child:checked~.tabpanels>.tabpanel:first-child,
.tab_box>input:nth-child(3):checked~.tabpanels>.tabpanel:nth-child(2),
.tab-box>input:nth-child(11):checked~.tabpanels {
    opacity: 1;
    transform: translateY(0px);
}

.tab_box>input:first-child:checked~.tabpanels>.tabpanel:first-child {
    background: #6b6526;
}

.tab_box>input:nth-child(3):checked~.tabpanels>.tabpanel:nth-child(2) {
    background: #1c315d;
}

.tab_box label {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-left: 10px;
}


.tab_box>label {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    font-weight: bold;

}

.tab_box>input:first-child+label {
    background: #6b6526;
}

.tab_box>input:nth-child(3)+label {
    background: #1c315d;
}

.tab_box>label:hover {
    color: #e3f215;
}

.tab_box>input:focus+label {
    color: #ffffff;
}

.tab_box>input:checked+label {
    margin-bottom: -1px;
}

@media print{
    header{
        display: none;
    }
}



@media all and (min-width:370px) {
    .tab_box {
        padding: 0px 5px 40px 30px;
    }

    .tab_box .tabpanels {
        max-width: 350px;
        min-height: 180px;
        margin-left: 20px;
    }

    .tabpanels img {
        width: 350px;
        height: 180px;
    }

    .tab_box label {
        font-size: 1.6rem;
        letter-spacing: 0.05em;
        margin-left: 20px;
    }
}

@media all and (min-width:450px) {

    main .inner {
        width: 80%;
        margin: 0 auto;
    }

    .inner section {
        padding: 5px;
        margin: 0 20px;
    }

    tab_box {
        padding: 0px 5px 25px 5px;
        margin: 15px;
        width: 100%;
    }
}

/*================================================tablet*/
@media all and (min-width:600px) {
    .inner h2 {
        font-size: 1.5rem;
    }

    main .inner {
        width: 70%;
    }

    .tab_box {
        padding: 0px 5px 100px 30px;
    }

    .tab_box .tabpanels {
        width: 100%;
        max-width: 450px;
        min-height: 220px;
        margin-left: 10px;
    }

    .tab_box label {
        font-size: 1.7rem;
        letter-spacing: 0.05em;
        margin-left: 10px;
    }

    .tabpanels img {
        width: 100%;
        height: 220px;
    }

}

/*================================================tablet*/
@media all and (min-width:800px) {

    main .inner {
        width: 65%;
    }

    .tab_box {
        padding: 0px 5px 160px 35px;
    }

    .tab_box .tabpanels {
        width: 100%;
        max-width: 600px;
        min-height: 280px;
        margin-left: 11px;
    }

    .tab_box label {
        margin-left: 11px;
    }

    .tabpanels img {
        width: 100%;
        height: 280px;
    }

}


/*===============================================================PC*/
@media all and (min-width:1025px) {
    body {
        font-size: 1.5rem;
        line-height: 1.615384615;
    }

    header {
        display: flex;
        position: relative;
        width: 1024px;
        height: 60px;
        margin: 0 auto;
        padding: 15px 0 0;
    }

    header .logo {
        position: relative;
        top: 0;
        left: 0;
        margin: 15px 50px 0 0;
    }

    header h1+i {
        top: 40px;
        right: 0;
        font-size: 1.6rem;
    }

    header .menu {
        position: relative;
        top: 0;
        width: auto;
        background: transparent;
    }

    header .header-menu {
        display: block !important;
    }

    header .btn-menu,
    header .sub-menu {
        display: none !important;
    }


    header .header-menu .global {
        margin: 0;
        text-align: left;
    }

    header .header-menu .global ul {
        display: flex;
    }

    header .header-menu .global li {
        border: none;
    }

    header .header-menu .global li a {
        display: inline-block;
        height: 60px;
        padding: 0 20px;
        border-right: 2px solid rgba(0, 0, 0, .1);
        border-bottom: 2px solid rgba(0, 0, 0, .1);
        border-radius: 10%;
        font-size: 1.3rem;
        line-height: 60px;
    }

    /*マウスオン時*/
    header .header-menu .global a:hover,
    header .header-menu .global .current a {
        background: #2c3e4a;
        /*背景色*/
        color: #fff;
        /*文字色*/
        -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1) inset;
        /*影の設定。右・下・ぼかし幅・色(rgba)の設定。rgba値は左３つが色指定(この場合は黒)で最後の小数点が透明度。insetは内側に向かっての影。*/
        box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1) inset;
        /*同上*/
    }

    /*フッターメニュー
---------------------------------------------------------------------------*/
    /*ボックス全体*/


    #footermenu {
        display: flex;
        margin: 35px 0;
        justify-content: center;
    }

    /*１行分の設定*/
    #footermenu ul {
        margin: 0 0 0 90px;
    }

    #footermenu li {
        margin: 0 0 10px;
    }


    footer .copyright {
        padding: 20px 0;
    }

    #page-top {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .inner h2 {
        font-size: 1.5rem;
        margin-top: 5px;
    }

    main .inner {
        width: 60%;
        padding: 5px 10px;
    }

    .inner section {
        margin: 0px 10px 150px 20px;

    }

    .tab_box {
        padding: 0px 5px 240px 35px;
    }

    .tab_box .tabpanels {
        width: 100%;
        max-width: 750px;
        min-height: 350px;
        margin-left: 12px;
    }

    .tab_box label {
        font-size: 1.8rem;
        letter-spacing: 0.05em;
        margin-left: 12px;
    }

    .tabpanels img {
        width: 100%;
        height: 350px;
    }

}
/*===============================================================PC*/
@media all and (min-width:1280px) {

    main .inner {
        width: 50%;
        padding: 5px 20px;
    }

    .inner section {
        margin: 0px 10px 150px 40px;

    }

}