@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-weight: normal;
}

body {
    line-height: 1
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

del {
    text-decoration: line-through
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

input,
select {
    vertical-align: middle
}


/*================================================
 *  一般・共通設定
 ================================================*/
body {
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
    color: #382400;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.6;
}

header {
    width: 960px;
    height: 50px;
    margin: 30px auto;
}

nav {
    width: 100%;
}

#contents {
    width: 960px;
    margin: 10px auto;
}

#main {
    float: right;
    width: 780px;
}

#sub {
    float: left;
    width: 160px;
}

#subnav {
    display: none;
}

section {
    margin-bottom: 50px;
}

a {
    color: #000;
}

a:hover {
    color: #212121;
}

h1 {
    color: #236c87;
    ;
    font-size: 28px;
    line-height: 1.2;
}

h1 a {
    color: #000;
    text-decoration: none;
}

h1 a:hover {
    color: #212121;
    text-decoration: underline;
}

h2 {
    margin-bottom: 0.5em;
    padding-left: 10px;
    font-size: 18px;
    color: #000;
    border-left: 5px solid #212121;
}

h3 {
    margin-bottom: 0.5em;
    padding: 2px 5px;
    color: #212121;
    font-size: 16px;
    border-bottom: 1px solid #212121;
}

h4 {
    margin-bottom: 0.25em;
    font-size: 16px;
    color: #333;
}

h4:before {
    content: "\002605";
    color: #236c87;
}

h5 {
    margin-bottom: 0.25em;
    padding: 2px;
    color: #000;
    font-size: 16px;
    border-top: 1px dotted #999;
    border-bottom: 1px dotted #999;
    background: #e2e2e2;
}

h6 {
    margin-bottom: 0.25em;
    color: #382400;
    font-size: 14px;
    font-weight: bold;
}

p {
    margin: 0 0 1em 0;
}

img {
    vertical-align: bottom;
}

em {
    font-weight: bold;
}

strong {
    font-weight: bold;
    color: #236c87;
}

pre {
    margin: 1em 0;
    padding: 1em;
}

blockquote {
    margin-bottom: 1em;
    padding: 1em;
    border: 1px dotted #ddd;
    border-left: 5px solid #ddd;
}

ul,
ol,
dl {
    margin: 0 0 1em 0;
}

ul li {
    list-style: disc;
}

ol li {
    list-style: decimal;
}

li {
    margin-left: 2em;
}

dt {
    margin-bottom: 0.5em;
    border-bottom: 1px dotted #ddd;
}

dt:before {
    content: "\0025a0";
}

dd {
    margin-bottom: 1em;
}

table {
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse;

}

th {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}


.tab_UnderLine {
    width: 100%;
}

.tab_UnderLine th {
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    font-weight: bold;
    border: none;
    border-bottom: 1px solid #ddd;
}

.tab_UnderLine td {
    padding: 15px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #ddd;
}


/*================================================
 *  ヘッダー
 ================================================*/
header {
    position: relative;
}

header h1 {
    margin-bottom: 20px;
}

.contact {
    position: absolute;
    top: 0;
    right: 0;
    vertical-align: top;

}

.contact a {
    display: block;
    padding: 15px 20px 15px 39px;
    color: #fff;
    background: #236c87;
    border-radius: 0px;
    text-decoration: none;
    background: #319ed7 url(../images/mail.png) 10px 50% no-repeat;
}

.contact a:hover {
    color: #fff;
    background: #212121 url(../images/mail.png) 10px 50% no-repeat;
}

.summary {
    clear: both;
}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
nav {
    margin-bottom: 10px;
    padding: 0;
    background: #e2e2e2;
    overflow: hidden;
}

nav ul {
    width: 960px;
    margin: 0 auto;
    padding: 0;
}

nav li {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li a {
    display: block;
    width: 192px;
    padding: 10px 0;
    color: #141d33;
    font-size: 18px;

    text-align: center;
    text-decoration: none;
}

nav li:first-child a {
    width: 155px;
}

nav li a:hover {
    color: #000;
    text-decoration: none;
    background: #ddd;
}

/*================================================
 *  サブコンテンツ
 ================================================*/
.submenu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.submenu li a:before {
    content: "\0025a0";
    color: #000;
}


.submenu li a {
    display: block;
    padding: 5px 2px;
    color: #000;
    border-bottom: 1px dotted #ddd;
    text-decoration: none;
}

.submenu li a:hover {
    background: #eee;
}

.bnr li {
    margin: 0 0 10px 0;
    padding: 0;
    list-style: none;
}

.bnr li a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}

.bnr img {
    width: 300px;
}

/*================================================
 *  フッター
 ================================================*/
footer {
    clear: both;
}

.footmenu {
    background-color: #eeeeee;
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
}

.footmenu ul {
    position: relative;
    float: left;
    left: 50%;
    margin: 0;
}

.footmenu li {
    position: relative;
    left: -50%;
    float: left;
    list-style: none;
    padding: 0 10px;
    font-size: 12px;
    text-align: center;
}

.copyright {
    background-color: #333333;
    color: #fff;
    clear: both;
    padding: 20px 0;
    font-size: 11px;
    text-align: center;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

.totop a {
    display: block;
    text-decoration: none;
}

.totop img {
    background: #236c87;
}

.totop img:hover {
    background: #212121;
}

/*================================================
 *  クラス
 ================================================*/
.textL {
    text-align: left;
}

.textR {
    text-align: right;
}

.list {
    padding: 0 0 0 0.5em;
}

.list li {
    margin: 0;
    padding: 0 0 0 15px;
    list-style: none;
    background: url(../images/check.png) 0 5px no-repeat;
}

.photo {
    overflow: hidden;
    margin: 20px 0;
    padding: 10px;
    border: 5px solid #ddd;
    background: #fff;
}

.imgL {
    float: left;
    margin: 0 10px 10px 0;
}

.imgR {
    float: right;
    margin: 0 0 10px 10px;
}

.info dt {
    border-bottom: none;
}

.info dd {
    padding-bottom: 1em;
    border-bottom: 1px solid #ddd;
}

/*================================================
 *  トップページ
 ================================================*/
/* スライドショー */
.slide {
    position: relative;
    overflow: hidden;
}

.slidePrev {
    position: absolute;
    cursor: pointer;
    z-index: 100;
}

.slideNext {
    position: absolute;
    cursor: pointer;
    z-index: 100;
}

.slidePrev img {
    position: absolute;
    width: 50px !important;
    height: 60px !important;
}

.slideNext img {
    position: absolute;
    width: 50px !important;
    height: 60px !important;
}

.slideInner {
    position: relative;
    margin: 0 0 5px 0;
    padding: 0;
}

.slideInner li {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
}

.slideInner li img {
    margin: 0 5px;
    padding: 0;
}

.filterPrev {
    position: absolute;
    left: 0;
    opacity: 0.5;
    filter: alpha(opacity=50);
    background-color: #ffffff;
}

.filterNext {
    position: absolute;
    right: 0;
    opacity: 0.5;
    filter: alpha(opacity=50);
    background-color: #ffffff;
}

.controlNav {
    position: relative;
    float: left;
    left: 50%;
}

.controlNav span {
    position: relative;
    left: -50%;
    float: left;
    margin: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 10px;
    height: 10px;
    overflow: hidden;
    background: #ccc;
    text-indent: -9999px;
    vertical-align: middle;
}

.controlNav span:hover {
    background: #999;
    cursor: pointer;
}

.controlNav span.current {
    background: #236c87;
}

/* トップナビ */
* html .topNavi {
    height: 1em;
    overflow: visible;
}


.slick-arrow:before {
    content: "" !important;
}

.grid-item {
    background: #f2f2f2;
    border: 1px solid #f2f2f2;
    padding: 10px;
    margin: 10px 5px;
    display: flex;
}

.autoplay {
    width: 75%;
}

.grid-item-exp {
    width: 25%;
}

.grid-item .autoplay img {
    height: 50%;
}

.grid-item h2 {
    margin: 10px;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    color: #236c87;
    border: none;
}

.portfolioLink {
    text-align: right;
}

.grid-item .grid-item-exp {
    margin-left: 10px;
    padding: 0;
    font-size: 12px;
}

.grid-item .grid-item-exp li {
    margin-left: 4px;
    padding: 0;
    font-size: 12px;
    list-style: none;
}

.tppLinkImgs {
    display: flex;
    width: 100%;
}

.TopImgLinkL {
    width: 50%;
}

.TopImgLinkL img {
    width: 100%;
}

.TopImgLinkL {
    position: relative;
}

.TopImgLinkL p {
    position: absolute;
    top: 90%;
    left: 20%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    /*     font-weight: bold; */
    font-size: 3em;
    font-family: 'M PLUS 2', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    /*文字は白に*/
    z-index: 1;
}

.TopImgLinkL img {
    width: 95%;
}

.TopImgLinkL::after {
    width: 95%;
    content: '';
    background-color: rgba(0, 0, 0, .3);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
}


.TopImgLinkR {
    width: 48%;
}

.TopImgLinkR {
    position: relative;
}

.TopImgLinkR p {
    position: absolute;
    top: 90%;
    left: 20%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    /*     font-weight: bold; */
    font-size: 3em;
    font-family: 'M PLUS 2', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    /*文字は白に*/
    z-index: 1;
}

.TopImgLinkR img {
    width: 100%;
}

.TopImgLinkR::after {
    content: '';
    background-color: rgba(0, 0, 0, .3);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
}


.TopImgLinkC {
    width: 98%;
}

.TopImgLinkC {
    position: relative;
}

.TopImgLinkC p {
    position: absolute;
    top: 90%;
    left: 10%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    /*     font-weight: bold; */
    font-size: 3em;
    font-family: 'M PLUS 2', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    /*文字は白に*/
    z-index: 1;
}

.TopImgLinkC img {
    width: 100%;
}

.TopImgLinkC::after {
    content: '';
    background-color: rgba(0, 0, 0, .3);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
}




/*---------お問合せフォーム--------------*/
.cp_form {
    position: relative;
    width: 940px;
    margin: 40px auto;
    padding: 1em 2em;
}

.cp_form .cp_radio,
.cp_group {
    position: relative;
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
}

.cp_form .cp_group input[type=button],
.cp_form .cp_group input[type=submit],
.cp_form .cp_group input[type=checkbox],
.cp_form .cp_group input[type=radio],
.cp_form .cp_group input[type=text],
.cp_form .cp_group input[type=mail],
.cp_form .cp_group input[type=tel],
.cp_form .cp_group input[type=password],
.cp_form .cp_group input[type=email],
.cp_form .cp_group input[type=url],
.cp_form .cp_group input[type=date],
.cp_form .cp_group input[type=number],
.cp_form .cp_group textarea,
.cp_form .cp_group .cp_file .file_text,
.cp_form .cp_group select {
    font-family: inherit;
}

.cp_form .cp_group input {
    height: 1.9rem;
}

.cp_form .cp_group textarea {
    resize: vertical;
}

.cp_form .cp_group select::-ms-expand {
    display: none;
}

.cp_form .cp_ipselect {
    position: relative;
    width: 100%;
    margin: 2em auto;
}

.cp_form .cp_sl {
    position: relative;
    font-size: 1rem;
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    padding: 10px 10px 10px 0;
    border-radius: 0;
    border: none;
}

.cp_form .cp_sl:focus {
    outline: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
}

.cp_form .cp_ipselect .cp_sl {
    -webkit-appearance: none;
    appearance: none;
}

.cp_form .cp_ipselect:after {
    position: absolute;
    top: 18px;
    right: 10px;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.cp_form .cp_sl_selectlabel {
    color: #b3b3b3;
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 10px;
    transition: 0.2s ease all;
}

.cp_form .cp_sl:focus~.cp_sl_selectlabel,
.cp_form .cp_sl:valid~.cp_sl_selectlabel {
    font-size: 0.8rem;
    color: #da3c41;
    top: -20px;
    transition: 0.2s ease all;
}

.cp_form .cp_sl_selectbar {
    position: relative;
    display: block;
    width: 100%;
}

.cp_form .cp_sl_selectbar:before,
.cp_form .cp_sl_selectbar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #da3c41;
    transition: 0.2s ease all;
}

.cp_form .cp_sl_selectbar:before {
    left: 50%;
}

.cp_form .cp_sl_selectbar:after {
    right: 50%;
}

.cp_form .cp_sl:focus~.cp_sl_selectbar:before,
.cp_form .cp_sl:focus~.cp_sl_selectbar:after {
    width: 50%;
}

.cp_form .cp_sl_highlight {
    position: absolute;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

.cp_form .cp_group .cp_label {
    position: absolute;
    top: 0.25rem;
    pointer-events: none;
    padding-left: 0.125rem;
    z-index: 1;
    color: #b3b3b3;
    font-size: 1rem;
    font-weight: normal;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
}

.cp_form .cp_group .bar {
    position: relative;
    border-bottom: 0.0625rem solid #999999;
    display: block;
}

.cp_form .cp_group .bar::before {
    content: '';
    height: 0.125rem;
    width: 0;
    left: 50%;
    bottom: -0.0625rem;
    position: absolute;
    background: #319ed7;
    -webkit-transition: left 0.28s ease, width 0.28s ease;
    transition: left 0.28s ease, width 0.28s ease;
    z-index: 2;
}

.cp_form .cp_group input[type=button],
.cp_form .cp_group input[type=submit],
.cp_form .cp_group input[type=checkbox],
.cp_form .cp_group input[type=radio],
.cp_form .cp_group input[type=text],
.cp_form .cp_group input[type=mail],
.cp_form .cp_group input[type=tel],
.cp_form .cp_group input[type=password],
.cp_form .cp_group input[type=email],
.cp_form .cp_group input[type=url],
.cp_form .cp_group input[type=date],
.cp_form .cp_group input[type=number],
.cp_form .cp_group textarea {
    display: block;
    background: none;
    padding: 0.125rem 0.125rem 0.0625rem;
    font-size: 1rem;
    border-width: 0;
    border-color: transparent;
    line-height: 1.9;
    width: 100%;
    color: transparent;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.cp_form .cp_group select,
.cp_form .cp_group input:focus,
.cp_form .cp_group input:valid,
.cp_form .cp_group textarea:focus,
.cp_form .cp_group textarea:valid {
    color: #333333;
}

.cp_form .cp_group select~.cp_label,
.cp_form .cp_group input:focus~.cp_label,
.cp_form .cp_group input:valid~.cp_label,
.cp_form .cp_group textarea:focus~.cp_label,
.cp_form .cp_group textarea:valid~.cp_label {
    font-size: 0.8rem;
    color: #da3c41;
    top: -1rem;
    left: 0;
}

.cp_form .cp_group select:hover,
.cp_form .cp_group input:focus,
.cp_form .cp_group textarea:focus {
    outline: none;
}

.cp_form .cp_group select:hover~.cp_label,
.cp_form .cp_group input:focus~.cp_label,
.cp_form .cp_group textarea:focus~.cp_label {
    color: #319ed7;
}

.cp_form .cp_group select:hover~.bar::before,
.cp_form .cp_group input:focus~.bar::before,
.cp_form .cp_group textarea:focus~.bar::before {
    width: 100%;
    left: 0;
}

.cp_form .checkbox label,
.cp_form .cp_radio label {
    position: relative;
    cursor: pointer;
    padding-left: 2rem;
    text-align: left;
    color: #333333;
    display: block;
}

.cp_form .checkbox input,
.cp_form .cp_radio input {
    width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0;
}

.cp_form .radio {
    margin-bottom: 1rem;
}

.cp_form .radio .ch_bar {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    -webkit-user-select: none;
    user-select: none;
    color: #999999;
}

.cp_form .radio .ch_bar::before,
.cp_form .radio .ch_bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 0.25rem;
    width: 1rem;
    height: 1rem;
    -webkit-transition: -webkit-transform 0.28s ease;
    transition: transform 0.28s ease;
    border-radius: 50%;
    border: 0.125rem solid currentColor;
}

.cp_form .radio .ch_bar::after {
    -webkit-transform: scale(0);
    transform: scale(0);
    background-color: #da3c41;
    border-color: #da3c41;
}

.cp_form .radio label:hover .ch_bar {
    color: #da3c41;
}

.cp_form .radio input:checked~.ch_bar::after {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}

.cp_form .radio input:checked~.ch_bar::before {
    color: #da3c41;
}

.cp_form .checkbox {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.cp_form .checkbox .ch_bar {
    color: #999999;
    position: absolute;
    top: 0;
    left: 0;
    width: 1rem;
    height: 1rem;
    z-index: 0;
    border: 0.125rem solid currentColor;
    border-radius: 0.0625rem;
    -webkit-transition: border-color 0.28s ease;
    transition: border-color 0.28s ease;
}

.cp_form .checkbox .ch_bar::before,
.cp_form .checkbox .ch_bar::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: #da3c41;
    display: block;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: '';
    -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
    transition: opacity 0.28s ease, height 0s linear 0.28s;
    opacity: 0;
}

.cp_form .checkbox .ch_bar::before {
    top: 0.65rem;
    left: 0.38rem;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    -webkit-box-shadow: 0 0 0 0.0625rem #ffffff;
    box-shadow: 0 0 0 0.0625rem #ffffff;
}

.cp_form .checkbox .ch_bar::after {
    top: 0.3rem;
    left: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.cp_form .checkbox label:hover .ch_bar {
    color: #da3c41;
}

.cp_form .checkbox input:checked~.ch_bar {
    color: #da3c41;
}

.cp_form .checkbox input:checked~.ch_bar::after,
.cp_form .checkbox input:checked~.ch_bar::before {
    opacity: 1;
    -webkit-transition: height 0.28s ease;
    transition: height 0.28s ease;
}

.cp_form .checkbox input:checked~.ch_bar::after {
    height: 0.5rem;
}

.cp_form .checkbox input:checked~.ch_bar::before {
    height: 1.2rem;
    -webkit-transition-delay: 0.28s;
    transition-delay: 0.28s;
}

.cp_form .radio+.radio,
.cp_form .checkbox+.checkbox {
    margin-top: 1rem;
}

/* File input */
.cp_form .cp_group .cp_file {
    position: relative;
}

.cp_form .cp_group .cp_file .title {
    position: static;
}

.cp_form .cp_group .cp_file .button {
    font-size: 1em;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    padding: .5rem 1.2em 0 1.2em;
    cursor: pointer;
    -webkit-transition: background-color 0.25s;
    transition: background-color 0.25s;
    color: #ffffff;
    border-radius: 0;
    background-color: #999999;
}

.cp_form .cp_group .cp_file .file_input {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-appearance: none;
    appearance: none;
}

.cp_form .cp_group .cp_file .file_text {
    position: relative;
    box-sizing: border-box;
    padding: 6px 10px;
    -webkit-transition: border-color 0.6s;
    transition: border-color 0.6s;
    border-bottom: 0.0625rem solid #999999;
    outline: none;
}

.cp_form .cp_group .cp_file .file_text::before {
    content: '';
    height: 2px;
    width: 0;
    left: 50%;
    bottom: -1px;
    position: absolute;
    background: #da3c41;
    -webkit-transition: left 0.28s ease, width 0.28s ease;
    transition: left 0.28s ease, width 0.28s ease;
    z-index: 2;
}

.cp_form .cp_group .cp_file .file_input:hover~.file_text::before {
    width: 100%;
    left: 0;
}

.cp_form .cp_group .cp_file label:hover .button {
    background-color: #da3c3c;
}

.cp_form .cp_group .cp_file label:active .button {
    background-color: #b02f2f;
}

.cp_form .btn_cont {
    text-align: center;
}

.cp_form .btn {
    position: relative;
    background: currentColor;
    border: 1px solid currentColor;
    font-size: 1.1rem;
    color: #319ed7;
    margin: 3rem 0;
    padding: 0.75rem 3rem;
    cursor: pointer;
    -webkit-transition: background-color 0.28s ease, color 0.28s ease, -webkit-box-shadow 0.28s ease;
    transition: background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.cp_form .btn span {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.cp_form .btn::before {
    content: '';
    position: absolute;
    background: #071017;
    border: 50vh solid #1d4567;
    width: 30vh;
    height: 30vh;
    border-radius: 50%;
    display: block;
    top: 50%;
    left: 50%;
    z-index: 0;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
}

.cp_form .btn:hover {
    color: #212121;
    -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
}

.cp_form .btn:focus {
    outline: none;
}


/*================================================
 *  追加CSS
 ================================================*/

.top_p {
    font-size: 18px;
}

.top_p2 {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 30px;
    text-align: center;
}

/*================================================
 *  追加CSS タブ分け
 ================================================*/
/* .area {
    width: 500px;
    margin: auto;
    flex-wrap: wrap;
    display: flex;
}

.tab_class {
    width: calc(100%/5);
    height: 50px;
    background-color: darkgrey;
    line-height: 50px;
    font-size: 15px;
    text-align: center;
    display: block;
    float: left;
    order: -1;
}

input[name="tab_name"] {
    display: none;
}

input:checked+.tab_class {
    background-color: cadetblue;
    color: aliceblue;
}

.content_class {
    display: none;
    width: 100%;
}

input:checked+.tab_class+.content_class {
    display: block;
} */


/* ラジオボタンは非表示 */
input[type="radio"] {
	display: none;
}


.tab {
	width: 1200px;
	max-width: 100%;
	margin: auto;
	display: flex;
	flex-flow: wrap;
}

.tab-item {
	display: block;
	flex-grow: 1;
	text-align: center;
	padding: 10px 0;
	cursor: pointer;
	font-size: x-large;
	width: calc(100% / 3);
	order: -1;
	/* タブメニューは一番上に表示する */

}

.tabuwake {
	display: flex;
}

.tab-item:not(:first-of-type) {
	border-left: none;
}

/* アクティブなタブの背景色と文字色を変える */
/*   .tab-input:checked + .tab-item {
	background: blue;
	color: white;
	border: 1px solid skyblue; 
  } */

/* コンテンツは原則非表示 */
.tab-content {
	width: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	/* 	border: 1px solid skyblue; */
	margin-bottom: 50px;
}

/* ラジオボタンがチェックされているコンテンツだけは表示 */
.tab-input:checked+.tab-item+.tab-content {
	display: flex;
}



/*タブ切り替え全体のスタイル*/
.tabs {
	margin-top: 50px;
	padding-bottom: 40px;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	width: 1200px;
	margin-bottom: 100px;
	margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
	width: calc(100%/6);
	height: 50px;
	border-bottom: 3px solid #5ab4bd;
	background-color: #d9d9d9;
	line-height: 50px;
	font-size: 16px;
	text-align: center;
	color: #565656;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}

.tab_item:hover {
	opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
	display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
	display: none;
	padding: 40px 40px 0;
	clear: both;
	overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
/* #test1:checked~#test1_content, */
#test2:checked~#test2_content,
#test3:checked~#test3_content,
#test4:checked~#test4_content,
#test5:checked~#test5_content,
#test6:checked~#test6_content,
#test7:checked~#test7_content,
#test8:checked~#test8_content,
#test9:checked~#test9_content,
#test10:checked~#test10_content {
	display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
	background-color: #5ab4bd;
	color: #fff;
}


.tab_item2 {
	width: calc(100%/7);
	height: 50px;
	border-bottom: 3px solid #5ab4bd;
	background-color: #d9d9d9;
	line-height: 50px;
	font-size: 16px;
	text-align: center;
	color: #565656;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}

.tab_item2:hover {
	opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item2"] {
	display: none;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item2 {
	background-color: #5ab4bd;
	color: #fff;
}

.kakunin_btn{
	text-align: center;
	margin-bottom: 70px;
	margin-top: 20px;
}

.kakunin_btn input{
	font-size: large;
	background-color: #8bd7fd;
}





/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:779px) {
    body {
        box-sizing: border-box;
        width: 100%;
        padding: 0 10px;
    }

    header {
        width: 100%;
    }

    header h1 {
        margin-bottom: 0;
    }

    .contact {
        position: relative;
        float: right;
        margin: 10px 0;
    }

    #contents {
        width: 100%;
    }

    #main {
        float: none;
        width: 100%;
    }

    #sub {
        float: none;
        width: 100%;
    }

    .bnr {
        overflow: hidden;
        margin-right: -2%;
    }

    .bnr li {
        float: left;
        width: 48%;
        margin: 0 2% 2% 0;
    }

    .bnr li img {
        width: 100%;
    }

    .totop {
        display: none !important;
    }

    /* メインメニュー */
    nav {
        display: block;
        position: relative;
        width: 100%;
    }

    nav h3 {
        cursor: pointer;
        margin-bottom: 0;
        color: #fff;
        background: #999;
        border: none;
    }

    nav h3:after {
        position: absolute;
        content: "\0025bc";
        top: 3px;
        right: 5px;
    }

    nav h3.menuOpen:after {
        position: absolute;
        content: "\0025b2";
        top: 3px;
        right: 5px;
    }

    nav ul {
        width: 100%;
    }

    nav li {
        width: 33.33%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    nav li:first-child a {
        width: 100%;
    }

    nav li a {
        display: block;
        width: 100%;
        border-bottom: 1px dotted #ddd;
        text-decoration: none;
    }

    /* トップナビ */
    .topNavi {
        margin-right: 0;
    }

    .topNaviColumn {
        display: block;
        box-sizing: border-box;
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .cp_form {
        position: relative;
        width: 100%;
        margin: 40px auto;
        padding: 1em 2em;
    }

    .grid-item {
        background: #f2f2f2;
        border: 1px solid #f2f2f2;
        padding: 10px;
        margin: 10px 5px;
        display: block;
    }

    .autoplay {
        width: 100%;
    }

    .grid-item-exp {
        width: 100%;
    }

    .grid-item .autoplay img {
        width: 100%;
    }

    .tab_item {
	width: calc(100%/7);
	height: 50px;
	border-bottom: 3px solid #5ab4bd;
	background-color: #d9d9d9;
	line-height: 50px;
	font-size: 8px;
	text-align: center;
	color: #565656;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}

}