@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

@charset "utf-8";

/*
Theme Name: AG CUSTOM TEMPLATE
Description: エージークリエイトサンプル用　カスタムテンプレート
Version: 1.0
*/

/* reset.css */
html {
    overflow-y:scroll;
}
body,h1,h2,h3,h4,h5,h6,p,div,dl,dt,dd,ul,ol,li,form,fieldset,input,textarea,pre,blockquote,th,td {
    margin:0;
    padding:0;
}
table {
    border-collapse:collapse;
    border-spacing:0px;
}
caption,th {
    text-align:left;
}
form label {
    cursor:pointer;
}
form button {
    cursor:pointer;
}
fieldset {
    border:0;
}
img {
    border:0;
    vertical-align:bottom;
}
a {outline:0;}
a:hover {cursor:pointer !important;}

.hide-text {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/* HTML5 */

article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section { display: block; }

/* fontstyle */
body {
    font-family:"Meiryo","メイリオ","ヒラギノ角ゴ Pro w3","Hiragino Kaku Gothic Pro","Osaka","ＭＳ Ｐゴシック","MS P Gothic","Arial",sans-serif;
    -webkit-text-size-adjust: 100%;
}
h1,h2,h3,h4,h5,h6 {
    font-size:100%;
    font-weight:normal;
    line-height:1.5;
}
address,caption,cite,code,dfn,em,th,var {
    font-style:normal;
    font-weight:normal;
}

/* list */
ol,ul,li {
    list-style:none;
}
ul.ullist{
    padding-left:2em;
}
ul.ullist li{
    list-style-type:disc;
}
ol.ollist{
    padding-left:2em;
}
ol.ollist li{
    list-style-type:decimal;
}

/* clearfix */
span.clearfix {display:block;}
.clearfix:after{
    content:".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}
.clearfix{
    overflow:hidden;
}
/* hides from ie-mac \*/
* html .clearfix{
    height:1%;
    overflow:visible;
}
/* end hide from ie-mac */

/*  clearfix
----------------------------------------------------*/

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix             { zoom: 1; } /* IE6 */

*:first-child+html .clearfix { zoom: 1; } /* IE7 */

.clearfix {overflow:hidden;} /* Dw表示用 */

/*  HTML
----------------------------------------------------*/

/* ========BASIC======== */
* {
    margin			:0;
    padding			:0;
}

body {
    /*font-family		:"游ゴシック","メイリオ", Meiryo,"Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"ヒラギノ角ゴ Pro W3","MS P ゴシック",verdana,sans-serif;*/
    color			:#335;
    line-height		:1.6;
    letter-spacing	:1px;
}

br {
    letter-spacing	: 0;
}

img {
    border			:0;
    vertical-align	:bottom;
}

a {
    color: #0000ff;
}
a:visited {
    color: #0000ff;
}
a:hover {
    color: #0000ff;
}

.center {
    text-align: center;
}
.textleft {
    text-align: left;
}
.textright {
    text-align: right;
}
.bold {
    font-weight: bold;
}
.left {
    float: left;
}
.right {
    float: right;
}
/* Aligning */
.alignleft  {
    float: left;
    margin-right: 5px;
}
.alignright  {
    float: right;
    margin-left: 5px;
}
.aligncenter  {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}



.m5 { margin: 5px !important }
.m10 { margin: 10px !important }
.m15 { margin: 15px !important }
.m20 { margin: 20px !important }
.m25 { margin: 25px !important }
.m30 { margin: 30px !important }
.m35 { margin: 35px !important }
.m40 { margin: 40px !important }
.m50 { margin: 50px !important }
.mt0 { margin-top: 0px !important }
.mt5 { margin-top: 5px !important }
.mt10 { margin-top: 10px !important }
.mt15 { margin-top: 15px !important }
.mt20 { margin-top: 20px !important }
.mt25 { margin-top: 25px !important }
.mt30 { margin-top: 30px !important }
.mt35 { margin-top: 35px !important }
.mt40 { margin-top: 40px !important }
.mt45 { margin-top: 45px !important }
.mt50 { margin-top: 50px !important }
.mt55 { margin-top: 55px !important }
.mt60 { margin-top: 60px !important }
.mt65 { margin-top: 65px !important }
.mt70 { margin-top: 70px !important }
.mt75 { margin-top: 75px !important }
.mt80 { margin-top: 80px !important }
.mt85 { margin-top: 85px !important }
.mt90 { margin-top: 90px !important }
.mt95 { margin-top: 95px !important }
.mt100 { margin-top: 100px !important }
.mr0 { margin-right: 0px !important }
.mr5 { margin-right: 5px !important }
.mr10 { margin-right: 10px !important }
.mr15 { margin-right: 15px !important }
.mr20 { margin-right: 20px !important }
.mr25 { margin-right: 25px !important }
.mr30 { margin-right: 30px !important }
.mr35 { margin-right: 35px !important }
.mr40 { margin-right: 40px !important }
.mr45 { margin-right: 45px !important }
.mr50 { margin-right: 50px !important }
.mr55 { margin-right: 55px !important }
.mr60 { margin-right: 60px !important }
.mr65 { margin-right: 65px !important }
.mr70 { margin-right: 70px !important }
.mr75 { margin-right: 75px !important }
.mr80 { margin-right: 80px !important }
.mr85 { margin-right: 85px !important }
.mr90 { margin-right: 90px !important }
.mr95 { margin-right: 95px !important }
.mr100 { margin-right: 100px !important }
.mb0 { margin-bottom: 0px !important }
.mb5 { margin-bottom: 5px !important }
.mb10 { margin-bottom: 10px !important }
.mb15 { margin-bottom: 15px !important }
.mb20 { margin-bottom: 20px !important }
.mb25 { margin-bottom: 25px !important }
.mb30 { margin-bottom: 30px !important }
.mb35 { margin-bottom: 35px !important }
.mb40 { margin-bottom: 40px !important }
.mb45 { margin-bottom: 45px !important }
.mb50 { margin-bottom: 50px !important }
.mb55 { margin-bottom: 55px !important }
.mb60 { margin-bottom: 60px !important }
.mb65 { margin-bottom: 65px !important }
.mb70 { margin-bottom: 70px !important }
.mb75 { margin-bottom: 75px !important }
.mb80 { margin-bottom: 80px !important }
.mb85 { margin-bottom: 85px !important }
.mb90 { margin-bottom: 90px !important }
.mb95 { margin-bottom: 95px !important }
.mb100 { margin-bottom: 100px !important }
.ml0 { margin-left: 0px !important }
.ml5 { margin-left: 5px !important }
.ml10 { margin-left: 10px !important }
.ml15 { margin-left: 15px !important }
.ml20 { margin-left: 20px !important }
.ml25 { margin-left: 25px !important }
.ml30 { margin-left: 30px !important }
.ml35 { margin-left: 35px !important }
.ml40 { margin-left: 40px !important }
.ml45 { margin-left: 45px !important }
.ml50 { margin-left: 50px !important }
.ml55 { margin-left: 55px !important }
.ml60 { margin-left: 60px !important }
.ml65 { margin-left: 65px !important }
.ml70 { margin-left: 70px !important }
.ml75 { margin-left: 75px !important }
.ml80 { margin-left: 80px !important }
.ml85 { margin-left: 85px !important }
.ml90 { margin-left: 90px !important }
.ml95 { margin-left: 95px !important }
.ml100 { margin-left: 100px !important }
.mtb5 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}
.mtb10 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.mtb15 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}
.mtb20 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
.mtb25 {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}
.mtb30 {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}
.mtb35 {
    margin-top: 35px !important;
    margin-bottom: 35px !important;
}
.mtb40 {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}
.mtb45 {
    margin-top: 45px !important;
    margin-bottom: 45px !important;
}
.mtb50 {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}
.p5 { padding: 5px !important }
.p10 { padding: 10px !important }
.p15 { padding: 15px !important }
.p20 { padding: 20px !important }
.p25 { padding: 25px !important }
.p30 { padding: 30px !important }
.p35 { padding: 35px !important }
.p40 { padding: 40px !important }
.p50 { padding: 50px !important }
.pt0 { padding-top: 0px !important }
.pt5 { padding-top: 5px !important }
.pt10 { padding-top: 10px !important }
.pt15 { padding-top: 15px !important }
.pt20 { padding-top: 20px !important }
.pt25 { padding-top: 25px !important }
.pt30 { padding-top: 30px !important }
.pt35 { padding-top: 35px !important }
.pt40 { padding-top: 40px !important }
.pt45 { padding-top: 45px !important }
.pt50 { padding-top: 50px !important }
.pt55 { padding-top: 55px !important }
.pt60 { padding-top: 60px !important }
.pt65 { padding-top: 65px !important }
.pt70 { padding-top: 70px !important }
.pt75 { padding-top: 75px !important }
.pt80 { padding-top: 80px !important }
.pt85 { padding-top: 85px !important }
.pt90 { padding-top: 90px !important }
.pt95 { padding-top: 95px !important }
.pt100 { padding-top: 100px !important }
.pr0 { padding-right: 0px !important }
.pr5 { padding-right: 5px !important }
.pr10 { padding-right: 10px !important }
.pr15 { padding-right: 15px !important }
.pr20 { padding-right: 20px !important }
.pr25 { padding-right: 25px !important }
.pr30 { padding-right: 30px !important }
.pr35 { padding-right: 35px !important }
.pr40 { padding-right: 40px !important }
.pr45 { padding-right: 45px !important }
.pr50 { padding-right: 50px !important }
.pr55 { padding-right: 55px !important }
.pr60 { padding-right: 60px !important }
.pr65 { padding-right: 65px !important }
.pr70 { padding-right: 70px !important }
.pr75 { padding-right: 75px !important }
.pr80 { padding-right: 80px !important }
.pr85 { padding-right: 85px !important }
.pr90 { padding-right: 90px !important }
.pr95 { padding-right: 95px !important }
.pr100 { padding-right: 100px !important }
.pb0 { padding-bottom: 0px !important }
.pb5 { padding-bottom: 5px !important }
.pb10 { padding-bottom: 10px !important }
.pb15 { padding-bottom: 15px !important }
.pb20 { padding-bottom: 20px !important }
.pb25 { padding-bottom: 25px !important }
.pb30 { padding-bottom: 30px !important }
.pb35 { padding-bottom: 35px !important }
.pb40 { padding-bottom: 40px !important }
.pb45 { padding-bottom: 45px !important }
.pb50 { padding-bottom: 50px !important }
.pb55 { padding-bottom: 55px !important }
.pb60 { padding-bottom: 60px !important }
.pb65 { padding-bottom: 65px !important }
.pb70 { padding-bottom: 70px !important }
.pb75 { padding-bottom: 75px !important }
.pb80 { padding-bottom: 80px !important }
.pb85 { padding-bottom: 85px !important }
.pb90 { padding-bottom: 90px !important }
.pb95 { padding-bottom: 95px !important }
.pb100 { padding-bottom: 100px !important }
.pl0 { padding-left: 0px !important }
.pl5 { padding-left: 5px !important }
.pl10 { padding-left: 10px !important }
.pl15 { padding-left: 15px !important }
.pl20 { padding-left: 20px !important }
.pl25 { padding-left: 25px !important }
.pl30 { padding-left: 30px !important }
.pl35 { padding-left: 35px !important }
.pl40 { padding-left: 40px !important }
.pl45 { padding-left: 45px !important }
.pl50 { padding-left: 50px !important }
.pl55 { padding-left: 55px !important }
.pl60 { padding-left: 60px !important }
.pl65 { padding-left: 65px !important }
.pl70 { padding-left: 70px !important }
.pl75 { padding-left: 75px !important }
.pl80 { padding-left: 80px !important }
.pl85 { padding-left: 85px !important }
.pl90 { padding-left: 90px !important }
.pl95 { padding-left: 95px !important }
.pl100 { padding-left: 100px !important }
.ptb5 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.ptb10 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.ptb15 {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}
.ptb20 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}
.ptb25 {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}
.ptb30 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}
.ptb35 {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
}
.ptb40 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}
.ptb45 {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
}
.ptb50 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
.fs200 { font-size: 200% !important }
.fs190 { font-size: 190% !important }
.fs180 { font-size: 180% !important }
.fs170 { font-size: 170% !important }
.fs160 { font-size: 160% !important }
.fs150 { font-size: 150% !important }
.fs140 { font-size: 140% !important }
.fs130 { font-size: 130% !important }
.fs120 { font-size: 120% !important }
.fs110 { font-size: 110% !important }
.fs100 { font-size: 100% !important }
.fs90 { font-size: 90% !important }
.fs80 { font-size: 80% !important }
.fs70 { font-size: 70% !important }
.fs60 { font-size: 60% !important }
.fs50 { font-size: 50% !important }
.w1 { width: 1% !important }
.w2 { width: 2% !important }
.w3 { width: 3% !important }
.w4 { width: 4% !important }
.w5 { width: 5% !important }
.w6 { width: 6% !important }
.w7 { width: 7% !important }
.w8 { width: 8% !important }
.w9 { width: 9% !important }
.w10 { width: 10% !important }
.w11 { width: 11% !important }
.w12 { width: 12% !important }
.w13 { width: 13% !important }
.w14 { width: 14% !important }
.w15 { width: 15% !important }
.w16 { width: 16% !important }
.w17 { width: 17% !important }
.w18 { width: 18% !important }
.w19 { width: 19% !important }
.w20 { width: 20% !important }
.w21 { width: 21% !important }
.w22 { width: 22% !important }
.w23 { width: 23% !important }
.w24 { width: 24% !important }
.w25 { width: 25% !important }
.w26 { width: 26% !important }
.w27 { width: 27% !important }
.w28 { width: 28% !important }
.w29 { width: 29% !important }
.w30 { width: 30% !important }
.w31 { width: 31% !important }
.w32 { width: 32% !important }
.w33 { width: 33% !important }
.w34 { width: 34% !important }
.w35 { width: 35% !important }
.w36 { width: 36% !important }
.w37 { width: 37% !important }
.w38 { width: 38% !important }
.w39 { width: 39% !important }
.w40 { width: 40% !important }
.w41 { width: 41% !important }
.w42 { width: 42% !important }
.w43 { width: 43% !important }
.w44 { width: 44% !important }
.w45 { width: 45% !important }
.w46 { width: 46% !important }
.w47 { width: 47% !important }
.w48 { width: 48% !important }
.w49 { width: 49% !important }
.w50 { width: 50% !important }
.w51 { width: 51% !important }
.w52 { width: 52% !important }
.w53 { width: 53% !important }
.w54 { width: 54% !important }
.w55 { width: 55% !important }
.w56 { width: 56% !important }
.w57 { width: 57% !important }
.w58 { width: 58% !important }
.w59 { width: 59% !important }
.w60 { width: 60% !important }
.w61 { width: 61% !important }
.w62 { width: 62% !important }
.w63 { width: 63% !important }
.w64 { width: 64% !important }
.w65 { width: 65% !important }
.w66 { width: 66% !important }
.w67 { width: 67% !important }
.w68 { width: 68% !important }
.w69 { width: 69% !important }
.w70 { width: 70% !important }
.w71 { width: 71% !important }
.w72 { width: 72% !important }
.w73 { width: 73% !important }
.w74 { width: 74% !important }
.w75 { width: 75% !important }
.w76 { width: 76% !important }
.w77 { width: 77% !important }
.w78 { width: 78% !important }
.w79 { width: 79% !important }
.w80 { width: 80% !important }
.w81 { width: 81% !important }
.w82 { width: 82% !important }
.w83 { width: 83% !important }
.w84 { width: 84% !important }
.w85 { width: 85% !important }
.w86 { width: 86% !important }
.w87 { width: 87% !important }
.w88 { width: 88% !important }
.w89 { width: 89% !important }
.w90 { width: 90% !important }
.w91 { width: 91% !important }
.w92 { width: 92% !important }
.w93 { width: 93% !important }
.w94 { width: 94% !important }
.w95 { width: 95% !important }
.w96 { width: 96% !important }
.w97 { width: 97% !important }
.w98 { width: 98% !important }
.w99 { width: 99% !important }

/* ========TEMPLATE LAYOUT======== */

body {
    font-size: 14px;
    overflow-x: hidden;
    color: #eee;
    background: #2f363b;
}

#container {
    /* background: #2f363b; */
    position:relative;
}
#container:before {
    content: "";
    /* opacity: .6; */
    position: fixed;
    top: 0;
    bottom: 0;
    width: 15%;
    height: 100%;
    right: 0;
    /*    background: #414950;*/
    z-index: -1;
}
a {
    color: #0000ff;
}
a:hover {
    color: #0000ff;
}

.policywrap a, .contactbox a{
    color: #a4a4ea !important;
}
.policywrap a:hover, .contactbox a:hover {
    color: #7e7ece !important;
}

a img:hover{opacity:0.8;}
a img{transition: all .3s ease;}

img.responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}

/* ========HEADER LAYOUT======== */
#prtxtwrap{
    background: #000;
}
.prtxt{
    color: #fff;
    padding-left: 2%;
}
.toph1{
    line-height: 14px;
    font-size: 12px;
}
#headerwrap {
    background:#2f363b;
    position:fixed;
    width: 100%;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    top:0;
}
#header {
    width: 100%;
    margin: 0 auto;
    position:relative;
    display:table;
}
#header .logo {
    width: 45%;
    display: table-cell;
    vertical-align: middle;
}
#header .logo img {
    max-height: 44px;
    width: auto;
    margin-left:5%;
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering:   -o-crisp-edges;         /* Opera */
    image-rendering: -webkit-optimize-contrast;/* Webkit (非標準の名前) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}
#header .btnwrap {
    font-size: 16px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNi42MiAxMC43OWMxLjQ0IDIuODMgMy43NiA1LjE0IDYuNTkgNi41OWwyLjItMi4yYy4yNy0uMjcuNjctLjM2IDEuMDItLjI0IDEuMTIuMzcgMi4zMy41NyAzLjU3LjU3LjU1IDAgMSAuNDUgMSAxVjIwYzAgLjU1LS40NSAxLTEgMS05LjM5IDAtMTctNy42MS0xNy0xNyAwLS41NS40NS0xIDEtMWgzLjVjLjU1IDAgMSAuNDUgMSAxIDAgMS4yNS4yIDIuNDUuNTcgMy41Ny4xMS4zNS4wMy43NC0uMjUgMS4wMmwtMi4yIDIuMnoiIGZpbGw9IiNmOWY5ZjkiLz48L3N2Zz4g');
    background-repeat: no-repeat;
    padding-left: 40px;
    background-position: 12px 50%;
    padding: 0 10px 0 40px;
}
.headtel{
    width: 15%;
    color: #335;
    display: table-cell;
    vertical-align: middle;
    background-color:#ec6d71;
    line-height: 14px;
}
.headtel a{
    text-decoration:none;
    color:#fff;
}
.headtel span{
    font-size:11px;
}
/* ========MENU LAYOUT======== */
#menuwrap {
    width:40%;
    display: table-cell;
    position: relative;
}
#menulist {
    margin: 0 auto;
}
#menulist ul li {
    float: left;
    width: 20%;
}
#menulist ul li a {
    font-size: 14px;
    color: #eee;
    display: block;
    text-decoration: none;
    text-align: center;
    transition: all .3s ease;
    position: relative;
    padding: 18px 0;
}
@media (min-width: 991px) {
    .transnav.fixed{
        padding:8px 0 !important;
        font-size: 13px !important;
    }
}
#menulist ul li{
    /*border-left: 1px solid #DAE0E7;*/
}
/*#menulist ul li:first-child {
    border:none
}*/
#menulist ul li a:hover{
    background-color: #ec6d71;
    color:#fff;
}

#menulist ul li a span.bg {
    opacity: .5;
    transition: all .3s ease;
}
#menulist ul li a:hover span.bg {
    opacity: 1;
    transition: all .3s ease;
}
#menulist ul li a.last {
    border-right: 1px solid #999;
}
#menulist ul li a span.en {
    font-size: 85%;
    display: block;
    position: relative;
    top: -5px;
    font-family:"游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#menulist li ul{
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    border-radius: 0 0 3px 3px;
    z-index: 1;
}
#menulist li ul li{
    overflow: hidden;
    width: 100vw;
    height: 0;
    color: #fff;
    transition: .2s;
    border: none;
}
#menulist li ul li a::before{
    font-family: 'FontAwesome';
    content: "\f054";
    padding-right: 5px;
    font-size:10px;
    color:#ec6d71;
}
#menulist li ul li a{
    padding: 13px 15px;
    background: #2f363b;
    text-align: left;
    font-weight: normal;
}
#menulist li:hover > a{
    background: #2b2b2b;
    color: #fff;
}
#menulist > li:hover > a{
    border-radius: 3px 3px 0 0;
}
#menulist li:hover ul li{
    overflow: visible;
    height: 48px;
}
#menulist li:hover ul li:first-child{
    border-top: 0;
}
#menulist li:hover ul li:last-child{
    border-bottom: 0;
}

.menu{
    width: 30px;
    height:30px;
    position:absolute;
    cursor:pointer;
    display: none;
    top: 25px;
    right: 20px;
}
.menu1
{ width:30px; height:3px; background-color:#ec6d71; position:absolute; top:0px;}
.menu2
{ width:30px; height:3px; background-color:#ec6d71; position:absolute; top:10px;}
.menu3
{ width:30px; height:3px; background-color:#ec6d71; position:absolute; top:21px;}
.menu1,.menu2,.menu3
{ transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out; /* opera */
    -moz-transition: all 0.5s ease-out; /* firefox */
    -webkit-transition: all 0.5s ease-out; /* chrome, safari */
    -ms-transition: all 0.5s ease-out; /* ie */ }
.menuclick1
{ top:10px;
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg); }
.menuclick2
{ opacity:0;}
.menuclick3
{ top:10px;
    -moz-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg); }


/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    color: #fff;
    -webkit-text-fill-color: #fff;
    opacity: 1;
    width: 120px;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
    display: none;
    color: #fff;
}
input[type="submit"]::focus,
input[type="button"]::focus {
    outline-offset: -2px;
    color: #fff;
}


main{
    width: 960px;
    background-color: #fff;
    margin: 110px auto;
    margin-bottom: 50px;
    padding-bottom: 100px;
    font-size: 14pt;
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


main section{
    /*width: 600px;*/
    width: 700px;
    margin: auto;
    margin-top: 50px;
    color: #191919;
}

main hr{
    margin-top: 50px;
}

main p{
    line-height: 24.5px;
}

main a{
    color: #3fa9f5;
    text-decoration: none;
}

hr{
    width: 700px;
    border: 0 none;
    height: 2px;
    color: #b3b3b3;
    background-color: #b3b3b3;
    margin: auto;
}

main h2{
    width: 960px;
    background-color: #ec6d71;
    text-align: center;
    margin: auto;
    height: 50px;
    line-height: 50px;
    font-size:20pt;
}

main h3{
    position: relative;
    margin: auto;
    text-align: center;
    font-weight: bolder;
    font-size: 20px;
}

main h3:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;/*線の上下位置*/
    display: inline-block;
    width: 30px;/*線の長さ*/
    height: 5px;/*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);/*位置調整*/
    background-color: #ec6d71;/*線の色*/
    border-radius: 0px;/*線の丸み*/
}

main h4{
    margin-top: 45px;
    text-align: center;
}

main section ul{
    width: 100%;
    display: flex;
    justify-content: space-around;
    justify-content: center;
}
main section#step2 ul {
    flex-wrap: wrap;
}
main section ul.two{
    justify-content: flex-start;
}

main section ul.two li:first-child{
    margin-right: 20px;
    margin-left: 10px;
}

main section ul li{
    text-align: center;
    margin-top: 45px;
}

main section#step2 ul li{
    display: none;
}
main section ul li+li {
    margin-left: 35px;
}
/*main section ul li:nth-child(4) {
    margin-left: 0;
}*/
main section ul li:last-child{
    /*margin-right: 0;*/
    margin-right: 35px;
}

main section#step2 ul li div label span {
    font-size: 12px;
}


.errors{
    margin: auto;
    width: 600px;
    color: #ff0000;
    text-align: center;
    margin-top: 30px;
    background-color: #ecd0cd;
    border: solid 1px #ff0000;
    padding: 15px;
}

.errors h5{
    font-weight: bolder;
}

.errors ol{
    list-style-type: decimal;
}

input[type=radio] {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-left: 10px;

}

.tubo {
    width: 55px;
    height: 60px;
    vertical-align: middle;
    padding-right: 5px;
    background-color: #eee;
    margin-right: 5px;
}

.button {
    display       : inline-block;
    border-radius : 10%;          /* 角丸       */
    font-size     : 15pt;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    cursor        : pointer;     /* カーソル   */
    padding       : 12px 12px;   /* 余白       */
    background    : #3FA9F5;     /* 背景色     */
    color         : #ffffff;     /* 文字色     */
    line-height   : 1em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
}
.button:hover {
    box-shadow    : none;        /* カーソル時の影消去 */
}


/* タブレット・スマホ向け */

@media screen and (max-width: 1024px) {
    main {
        max-width: 1024px;
        width: 95%;
    }

    main h2 {
        max-width: 1024px;
        width: 100%;
    }
}




@media screen and (max-width: 767px) {
    main{
        width: 100%;
        margin-top: 70px;
    }

    main section{
        width: 100%;
        padding: 20px;
    }

    .menu{
        display: block;
    }

    main h2{
        width: 100%;
        font-size: 14pt;
    }

    hr{
        width: 85%;
    }

    .errors{
        width: 90%;
        margin: 5%;
    }

    .headtel {
        position: absolute;
        top: 0;
        right: 75px;
        width: 180px;
        height: 100%;
        padding-top: 20px;
    }
    #menulist li ul {
        position: relative;
    }

    main section ul{
        /*flex-direction: column;*/
        justify-content: space-between;
        flex-wrap: wrap;
    }
    main section ul li {
            text-align: center;
            margin-top: 45px;
            width: 48%;
        }
        main section ul li+li {
            margin-left: 0;
        }
            main section ul li img {
                width: 100%;
            }
            main section#step2 ul li div label span {
                display: block;
            }
    input[type=radio] {
        margin-right: 15px;
    }

    .button {
        width: 105px;
        height: 50px;
        color: #fff!important;
    }

}

select {
    background-color: #eee;
    width: 290px;
    height: 40px;
    outline: none;
    text-indent: 0.01px;
    text-overflow: '';
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
}

.flexbox-container-vertical-center {
    display: flex; /* 子要素をflexboxで揃える */
    flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: center;  /* 子要素をflexboxにより中央に配置する */
    width: 100px; /* 見た目用 */
    height: 50px; /* 見た目用 */
    border: 1px solid; /* 見た目用 */
}



#form .fm {
    margin-top: 55px;
    font-size: 14pt;
    width: 600px;
    display: flex;
    flex-wrap: wrap;
}

#form .fm div {
    width: 50%;
}

#form .fm div.error-message{
    width: 100%;
    color: #ff0000;
}

#form label {
    font-size:14pt;
    margin-right: 20px;
}

#form .require {
    color: #ff0000;
    font-size: 12pt;
}

#form .txt {
    width: 290px;
    background-color: #eee;
    height: 40px;
    border-radius: 0;
}

#form textarea{
    background-color: #eee;
    width: 590px;
    height: 160px;
}

#form .sbt{
    text-align: center;
    margin-top: 45px;
    width: 100%;
}

@media (max-width: 610px) {

    #form main{
        margin-top: 70px;
    }

    #form .fm {
        flex-wrap: wrap;
        width: 100%;
    }

    #form .fm div {
        width: 100%;
        margin-top: 15px;
    }

    #form .txt {
        width: 100%;
    }

    #form .pay_type {
        width: 100%;
    }

    #form div.mt25{
        margin-top: 0!important;
    }

    #form div.body{
        margin-top: 15px!important;
    }

    #form section.sbt{

        margin-top: 15px;
    }

    #form select,
    #form input,
    #form textarea{
        margin-left: 0;
        margin-right: 0;
    }

    #form section.sec{
        margin-top: 15px;
        padding: 0;
    }

}

select, input, textarea {
    font-size: inherit;
}


#thanks{
    font-size: 14pt;
}
@media (max-width: 610px) {

    #thanks main {
        margin-top: 70px;
    }
}

