/*♪( ´θ｀)ノ　スマホ用やで!!*/


/*全体*/

@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}

img {
    border: none;
}

body {
    font-family: sans-serif;
    color: #ebd6ae;
    background-color: #666666;
    -webkit-textsize-adjust: 100%;
}

#wrap {
    overflow: hidden;
}

a:link {
    color: #ebd6ae;
}

a:visited {
    color: #ffcccc;
}

a[name],
a[name]:hover,
a[name]:visited,
a[name]:active {
    color: #ebd6ae;
}


/*ヘッダー*/

.header {
    display: table;
    table-layout: fixed;
    position: fixed;
}

h1 {
    background-color: #004244;
    height: 40px;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #666666;
    text-align: center;
    position: fixed;
    z-index: 60;
}

img.header-l {
    display: none;
}

img.header-r {
    display: none;
}


/*ハンバーガーメニュー*/

.menu-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #004244;
}

#menu-btn-check:checked~.menu-c {
    position: fixed;
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 70;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffcccc;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 80%;
    height: 100%;
    margin-left: 20%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #004244;
    transition: all 0.5s;
    /*アニメーション設定*/
}

.menu-content ul {
    padding: 50px 0px 0px 10px;
}

.menu-content ul li {
    border-bottom: solid 1px #ebd6ae;
    list-style: none;
}

.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 200;
    box-sizing: border-box;
    color: #ebd6ae;
    text-decoration: none;
    padding: 8px 15px 5px 8px;
    position: relative;
}

.menu-content ul li a.current {
    font-weight: 300;
    color: #004244;
    background-color: #ebd6ae;
}

.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ebd6ae;
    border-right: solid 2px #ebd6ae;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.menu-content ul li a.current::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #004244;
    border-right: solid 2px #004244;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

#menu-btn-check:checked~.menu-content {
    left: 0;
    /*メニューを画面内へ*/
}


/*コンテンツ*/

.content {
    padding: 15px 5px 5px 5px;
    background-color: #004244;
    margin: 45px 5px 5px 5px;
}

h2 {
    font-size: 14pt;
    font-weight: 200;
    padding: 0 8px;
    margin: 0px 0px 15px 0px;
    border-bottom: 1px solid;
}

h3 {
    font-size: 10pt;
    font-weight: 200;
    line-height: 1.5;
    margin: 0px 0px 10px 0px;
}

p {
    font-size: 10pt;
    font-weight: 200;
    line-height: 1.5;
    margin: 0px 0px 50px 0px;
}

.ryou {
    font-size: 12pt;
    font-style: oblique;
    font-weight: 300;
    line-height: 1.5;
    margin: 0px 0px 10px 0px;
}

.headesc {
    margin-top: -55px;
    padding-top: 55px;
}


/*トップページレイアウト*/

.green {
    display: table;
    max-width: 1024px;
    background-color: #004244;
    margin: 45px 5px 0px 5px;
}

.green2 {
    display: table;
    max-width: 1024px;
    background-color: #004244;
    margin: 0 5px;
}

.cream {
    display: table;
    max-width: 1024px;
    background-color: #ebd6ae;
    margin: 0 5px;
}

.green li,
.green2 li,
.cream li {
    display: table-cell;
}

.top {
    width: 100%;
    height: auto;
}

.topbtn {
    text-align: center;
    background-color: #004244;
    padding: 5px 5px 10px 5px;
    margin: 0px 5px;
}

.topbtnd,
.topbtnm {
    display: block;
    font-size: 15pt;
    text-decoration: none;
    padding: 5px;
    margin: 10px 0px 5px 0px;
    border-radius: 6px;
}

.topbtnd {
    background-color: #ebd6ae;
    color: #004244 !important;
}

.topbtnm {
    background-color: #ffcccc;
    color: #004244 !important;
}


/*メールフォーム*/

.formwrap {
    text-align: center;
    margin-top: -20px;
}

.formcenter {
    text-align: left;
    max-width: 360px;
    width: 100%;
    margin: 0px auto;
}

input,
textarea {
    font-size: 10pt;
    font-family: inherit;
    color: #212222;
    background-color: #f4f5f7;
    box-sizing: border-box;
    border: 1px solid #c1c1c1;
    border-radius: 4px;
    line-height: 1.8;
    max-width: 360px;
    width: 100%;
}

input.kakuninn {
    color: #004244;
    background-color: #ffcccc;
    border-color: #ffcccc;
    border-radius: 4px;
    line-height: 1.8;
    font-size: 12pt;
    width: 80px;
    margin-top: 20px;
}

textarea {
    height: calc( 1.8em * 7);
    resize: vertical;
}

input {
    height: calc( 1.8em * 1);
}

span.hissu {
    font-size: 9pt;
    border-radius: 4px;
    margin: 20px 8px 4px 8px;
    padding: 3px 0px;
    width: 40px;
    display: inline-block;
    text-align: center;
    background-color: #ebd6ae;
    color: #004244;
}

p.mailarea {
    font-size: 10pt;
    font-weight: 200;
    line-height: 1.7;
    margin: 0px;
}


/*共通メールボタン*/

.toiawase {
    text-align: center;
    padding: 5px 0;
    font-size: 12pt;
}

.mail a {
    display: block;
    font-size: 15pt;
    text-decoration: none;
    background-color: #ffcccc;
    color: #004244;
    padding: 5px;
    margin: 10px 0px 5px 0px;
    border-radius: 6px;
}


/*共通フッター*/

.profile {
    text-align: center;
    padding: 3px 5px 5px 5px;
    background-color: #004244;
    margin: 5px 5px 5px 5px;
}

.proftitle {
    border-bottom: solid 1px #ebd6ae;
    font-size: 9pt;
    font-weight: 200;
    margin: 0px 0px 3px 0px;
}

.syoukai {
    font-size: 8pt;
    font-weight: 200;
}

.foot {
    clear: both;
    text-align: right;
    padding: 15px 5px 10px 5px;
    background-color: #004244;
    font-size: 8pt;
    font-weight: 200;
}

.spmode {
    display: none !important;
}

.footermenu {
    text-align: center;
    font-size: 12pt;
    font-weight: 200;
}

.footermenu li {
    border-top: solid 1px #666666;
    margin: 0 5px;
    list-style: none;
}

.footermenu li:first-child {
    margin: 0 5px;
    list-style: none;
}

.footermenu a {
    display: block;
    box-sizing: border-box;
    color: #ebd6ae;
    background-color: #004244;
    text-decoration: none;
    padding: 6px 5px 5px 5px;
    position: relative;
}

.sns {
    padding: 10px 5px 5px 5px;
    background-color: #004244;
    margin: 0px 5px 5px 5px;
    text-align: center;
}

.sns span {
    display: none;
}

.sns li {
    display: inline;
}

.sns img {
    margin: 0 5%;
}

.foot img {
    margin-bottom: -3px;
}