@charset "UTF-8";

/*テンプレートcssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("aos.css");
@import url("drawer.css");
@import url("aos.css");
@import url("../webfonts/css/all.css");


/*全体の設定
---------------------------------------------------------------------------*/
html {
-moz-text-size-adjust:none;
-webkit-text-size-adjust:100%;
overflow-x: hidden;
overflow-y:scroll;
}
body {font-size:1em;
font-family: "Meiryo", "メイリオ", "ＭＳ　Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;font-style:normal;
line-height: 1.9;color: #333;-webkit-text-size-adjust: 100%;text-align: center;-webkit-font-smoothing: antialiased;}
* {
margin: 0;
padding: 0;
}

/*リセット*/
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, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
ul {list-style: none;}
input {font-size: 1rem;}

.clearfix:after {
content: "."; 
display: block;
clear: both;
height: 0;
visibility: hidden;
}
.clearfix {
min-height: 1px;
overflow:hidden;
}


/*container（サイト全般を囲むブロック）
---------------------------------------------------------------------------*/
.container {
padding: 0 6%;
box-sizing:border-box;
width:100%;
}
@media only screen and (max-width: 767px) {
body {
font-size: .9em;
}}
@media screen and (min-width: 768px) {
.container {
width: 748px;
margin: 0 auto;
}}
@media screen and (min-width: 981px) {
.container {
width:1000px;
padding: 0;
}}


/*img*/
img{vertical-align:middle;border-style:none;border:0;-webkit-backface-visibility: hidden;}
a:hover img{opacity:0.8;filter:alpha(opacity=80);-ms-filter:"alpha( opacity=80 )";}

/*p*/
p {text-align: justify;}

/*回りこみ解除*/
.clear {
clear:both;
}
a img,
ol li img,
li img,
ul li img {/*上揃え*/
vertical-align: top;
text-align:center;
border-style:none;
}
img {
vertical-align: middle;
border: none;
max-width: 100%;
height: auto;
}

/*フロート設定*/
.tex img.centered,.tex img.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
clear:none;
}
.tex img.alignright,
.tex .alignright img{
margin-left:20px;
margin-right:0;
margin-bottom:20px;
display:inline;
clear:none;
}
.tex img.alignleft,
.tex .alignleft img {
margin-left:0;
margin-right:20px;
margin-bottom:20px;
display:inline;
clear:none;
}
.tex img.alignnone,
.tex .alignnone img {
margin-left:0;
margin-right:0;
margin-bottom:10px;
clear:none;
display:block;
}
.tex .alignright,.right {
float:right;
}
.tex .alignleft {
float:left;
}
@media only screen and (max-width:60em) {
.tex img.alignright,.tex img.alignleft,.tex img.alignnone,.tex img.aligncenter {clear:both;display:block;margin-left:auto;margin-right:auto;}
.tex .alignright {float:none;}
.tex .alignleft {float:none;}
.tex .aligncenter {clear:both;display:block;margin-left:auto;margin-right:auto;}
}



/*全体フェードイン
---------------------------------------------------------------------------*/
body {
 animation: fadeIn 1.5s ease 0s 1 normal;
-webkit-animation: fadeIn 1.5s ease 0s 1 normal;
} 
@keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
0% {opacity: 0} /* 始め */
100% {opacity: 1} /* 終わり */
}
/*古いブラウザ用*/
@-webkit-keyframes fadeIn {
0% {opacity: 0}
100% {opacity: 1}
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
color:#333;
text-decoration:none;
}
a:hover {
color:#848484;
text-decoration:none;
}
/* a TEL */
a[href^="tel:"] {text-decoration:none;color:#333;}


/*PC･スマホ 表示・非表示
---------------------------------------------------------------------------*/
@media(min-width:981px){
.sp{ display: none !important;}}
@media(max-width:980px){
.pc{display: none !important;}}


/*pagetop
---------------------------------------------------------------------------*/
.pagetop {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
}
.pagetop a {
display: block;
background-color: #002c80;
text-align: center;
color: #FFF;
font-size: 12px;
padding: 2px 10px 5px 10px;
}
.pagetop a:hover {
display: block;
opacity: 0.5;
transition: 0.5s;
text-align: center;
color: #fff;
}


/*header（ロゴが入ったサイト上部のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
.logo{
margin: 4px 0 14px 2%;
text-align: left;
}
h1 a {
background: url(../img/logo.svg) no-repeat;
background-size: 150px 27px;
display: block;
width: 150px;
height: 27px;
float: left;
}
h1 a span {
display: none;
}

@media screen and (min-width: 981px) {
.logo{
margin: 10px 0 15px 6%;
}
h1 a {
background-size: 220px 40px;
width: 220px;
height: 40px;
}}


/*main
---------------------------------------------------------------------------*/
@media only screen and ( max-width : 980px ) {
#main {padding-top: 60px;}}
@media print, screen and ( min-width : 981px ) {
#main {padding-top: 80px;}}


/*背景
---------------------------------------------------------------------------*/
.back_top {
background: #fff;
text-align: left;
}
.back_top_work {
padding:50px 0;
background: #002c80;
}
.back_top_info {
padding:50px 0;
background: #cfe9f2;
}


/*フッター
---------------------------------------------------------------------------*/

#footer {
width: 100%;
}
#footer .f_left {
background:#fff
}
#footer .f_right {
background:#cfe9f2
}
#footer .f_left,
#footer .f_right{
color: #333;
padding: 0;
text-align: center;
}

/*footer　menu　 */
.f_box h5 img {
width: 200px;
height: auto;
margin: 0 0 20px 0
}
p.office{
font-size: 100%;
display:block;
font-weight: normal;
margin: 5px 0;
text-align: center;
}
.f_box address {
font-style: normal;
font-size: 90%;
display:block;
}
p.copy {
font-family: Verdana, “Droid Sans”;
font-size: 70%;
padding: 5% 0;
text-align: center;
font-weight:normal;
}

/*footer　menu　 */
.flex_foot-item ul {
list-style: none;
}
.flex_foot-item ul li a{
line-height: 1.5; 
padding: 0;
font-size: 80%;
}
.flex_foot-box {
display: flex;
text-align: left;
}
.flex_foot-item {
text-align: left
}

@media only screen and ( max-width : 767px ) {
.f_box {
width: 100%;
}
.f_box h5 img {
margin: 5% 0;
}
/*footer　menu　 */
.flex_foot-box {
justify-content:center;
padding: 5%;
}
.flex_foot-item {
padding: 0;
margin: 0;
width: 100%
}
.flex_foot-item ul li a {
display: flex;
justify-content: center;
align-items: center;
width: 100%;;
margin:0 auto;
padding: .9em 0;
border: 1px solid #cfe9f2;
background-color: #fff;
color: #002c80;
font-size: 1em;
}
.flex_foot-item ul li a:hover {
background-color: transparent;
color: #fff;
}

.flex_foot-item ul li a::before {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 0;
height: 100%;
background-color: #002c80;
content: '';
transition: width .3s ease;
}

.flex_foot-item ul li a:hover::before {
width: 100%;
}
#footer {
display: flex;
flex-wrap: wrap; 
}
#footer .f_left {
-webkit-order: 2;
order: 2;
width:100%
}
#footer .f_right {
-webkit-order: 1;
order: 1;
width:100%
}
}
@media screen and (min-width: 768px) {
#footer {
display: flex;
justify-content: space-between;
max-width: 1000px;
margin: auto;
}
.f_left{
width: 40%;
}
.f_right{
flex: 1;
margin-right: calc(50% - 50vw);
margin-left: 4%;
}
#footer .f_left,
#footer .f_right {
padding: 5% 0 0 5%;
text-align: left;
}
.flex_foot-box {
padding-left: 20px
}
.flex_foot-item {
padding-right: 20px;
}
p.copy{
text-align: left;
padding: 5% 0 50px 0;
}
p.office{
text-align: left;
}}

@media screen and (min-width: 981px) {
.f_left{
width: 30%;
}
.flex_foot-box {
padding-left: 50px
}
.flex_foot-item {
padding-right: 50px;
}}


/*table
---------------------------------------------------------------------------*/
table {
width: 100%;
border-collapse: collapse;
margin: 10px 0;
border-style: solid;
border-width: 0;
border-bottom: 1px solid #ccc;
text-align: left;
}
table th,table#otoiawase th {
background-color:#cfe9f2;
vertical-align: top;
}
table th,
table td {
padding: 8px;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
table#otoiawase th {
font-weight:normal;
padding: 8px;
border-bottom: 1px solid #ccc;
}
table#otoiawase td {
font-weight:normal;
padding: 8px 0;
border-bottom: 1px solid #ccc;
margin-bottom: 8px
}

table.mobile-block {
border-left: none;
}
table.mobile-block th {
color:#333;
}
table td img {
margin: 0 0 10px 0;
margin-bottom: 0;
}
.contactform-width {
max-width: 100%;
}
.red {
color: red;
}
.form_moji {
font-size: 130%;
}
/* 画像用 */
table.topwaku td,
table.topwaku {
font-weight:normal;
padding: 0px 10px;
border: none;
border-top: none;
}
textarea{
width:100%;
padding:5px;
box-sizing:border-box;
}
input[type="text"] ,input[type="email"] ,input[type="tel"] {
width:100%;
padding:5px;
box-sizing:border-box;
}
/* お問い合わせボタン */
.buttonContainer {
display: flex;
justify-content: center;
align-items: center;
padding: 20px 0 0 0;
}
#button {
display: flex;
width: 200px;
color: #002c80 ;
border: 1px solid #002c80 ;
padding: 1em 0;
border-radius: 30px;
font-weight: normal;
font-size: 1em;
}
#button:hover {
color: rgba(255, 255, 255, 1);
background-color: #002c80 ;
background-position: -100% 100%;
}
.contactform-width {
max-width: 100%;
}
/* 確認赤枠 */
.red_line {
margin: 2em 0;
padding:2em;
border: solid 2px red;
text-align: center;
font-weight:normal
}
.red_line p {
margin: 0; 
padding: 0;
}

@media screen and (min-width: 768px) {
table#otoiawase {
border-top: 1px solid #ccc;
}
table#otoiawase th,
table#otoiawase td {
padding: 20px;
}
table#otoiawase th {
width:30%;
}
#button {
width: 240px;
}}


/*お知らせ
---------------------------------------------------------------------------*/

.info_box_list {
text-align: left;
margin: 2% 0;
}
.info_box_list ul {
list-style: none;
line-height: 0;
margin-top: 2%
}
.info_box_list ul:after {
content: "";
clear: both;
display: block;
}
.info_box_list li div img {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-filter: opacity(100%);
filter: opacity(100%);
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
border-radius: 25px;
}
.info_box_list ul li {
display: inline-block;
vertical-align: top;
text-align: center;
letter-spacing: normal;
margin-bottom: 0;
}
.c_trim {
width: 100%;
max-width: 100%;
margin: 0;
position: relative;
padding-bottom: 100%;
height: 0;
}
.c_trim::before {
content: "";
display: block;
padding-top: 100%;
}
.c_trim img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
object-fit: cover;
}
.c_trim a img {
-webkit-filter: opacity(100%);
filter: opacity(100%);
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
}
.info_box_list a {
text-decoration: none;
}
.info_box_list li img a {
border: 0;
}
.info_box_list a:hover, a:hover .c_trim, a:hover .cate_box {
opacity: 0.6;
transition: 0.5s;
text-decoration: none;
}
.info_box_tex {
margin-top: 25px;
text-align: left
}
.info_box_tex h5 {
text-decoration: none;
font-weight: normal;
font-size: 1em;
line-height: 1.6;
clear: both;
margin-top: 10px;
}
.info_box_tex p {
margin: 0;
float: none;
font-size: .9em;
line-height: 1.5;
font-weight: normal;
}

@media screen and (max-width: 980px) {
.info_box_list {
margin: 5% 0;
}
.info_box_list ul li {
width: 47%;
margin-right: 4%;
margin-bottom: 50px
}
.info_box_list ul li:nth-child(2n) {
margin-right: 0;
}
.info_box_list li h5 {
font-size: 1em;
line-height: 1.3;
}}

@media screen and (min-width:981px) {
.info_box_list ul li {
width: 22%;
margin-right: 3%;
}
.info_box_list ul li:nth-child(4n) {
margin-right: 0;
}}


/* カテゴリの設定
/* ------------------------------------- */
.catebl span{
background: #002c80;padding: 3px 10px;border-radius: 25px;
color: #fff;
margin:0 10px 0 0;
}
.cate_box {
display: flex;
align-items: center;
font-size: 12px;
margin-right: 20px
}