@charset "UTF-8";

/*テンプレートcssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("aos.css");
@import url("drawer.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: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Yu Gothic", "Meiryo", sans-serif;
font-style: normal;line-height: 1.9;color: #333;-webkit-text-size-adjust: 100%;text-align: center;-webkit-font-smoothing: antialiased;font-weight: 400;}
* {
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;
}

/*タップ時の青枠削除
---------------------------------------------------------------------------*/
/* タップ時の青ハイライトを消す（Safari / iOS用） */
a, button, input, textarea {
-webkit-tap-highlight-color: transparent;
outline: none;
}

/*container（サイト全般を囲むブロック）
---------------------------------------------------------------------------*/
.container {
padding: 0 6%;
box-sizing:border-box;
width:100%;
}
@media screen and (min-width: 1200px) {
.container {
padding: 0 10%;
}}


/*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 screen and (max-width:767px) {
.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 screen and (min-width:1024px){.sp{display: none !important;}}
@media screen and (max-width:1023px){.pc{display: none !important;}}


/*pagetop
---------------------------------------------------------------------------*/
.pagetop {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
}
.pagetop a {
display: block;
background-color: #235b9e;
text-align: center;
color: #FFF;
font-size: 12px;
padding: 5px 10px;
}
.pagetop a:hover {
display: block;
opacity: 0.5;
transition: 0.5s;
text-align: center;
color: #fff;
}
@media screen and (min-width: 768px) {
.pagetop a {
font-size: 20px;
padding: 7px 15px
}}

/*header（ロゴが入ったサイト上部のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
.logo{
padding: 15px 0 0 3%;
text-align: left;
vertical-align: middle;
height: 60px;
box-sizing: border-box;
}
h1 a img {
width: 200px;
height: auto;
display: inline;
}
@media screen and (min-width: 981px) {
h1 a img {
width: 250px;
}
}
@media screen and (min-width: 1024px) {
.logo{
padding: 15px 0 0 30px;
height: 80px;
}
h1 a img {
width: 380px;
}
}


/*フッター
---------------------------------------------------------------------------*/
footer {
display: flex;
align-items: center;
flex-direction: column;
padding: 40px 10px;
background-color: #fff;
}
.footer-logo {
width: 280px;
height: auto;
margin-bottom: 2.5em
}
.footer-list {
display: flex;
justify-content: center;
align-items: center;
list-style-type: none;
margin: 0;
padding: .5em;
flex-wrap: wrap; /* 折り返しを許可 */
gap: 20px; /* 要素間の余白 */
}
.footer-link {
text-decoration: none;
}
footer .caution {
font-size: 80%;
margin-bottom: 2.5em
}
footer .copy {
font-family: Verdana, “Droid Sans”;
font-size: 80%;
padding: 0;
text-align:center;
}

@media only screen and (max-width: 1023px) {
.footer-logo {
width: 250px;
}
.f_box h5 {
font-size: 100%;
}
.footer-list {
gap: 10px;
line-height: 1.3;
font-size: 0.8em
}
footer .caution {
font-size: 60%;
}
footer .copy {
font-size: 60%;
}
}

/*NEWS
/* ------------------------------------- */
.news_list {
margin: 0 auto;
width: 100%;
text-align: left;
padding-bottom: 5%
}
ul.news_list {
list-style: none;
}
.news_list_item {
padding: 25px 0;
border-bottom: 1px solid #92C8C6;
}
.news_list_item a {
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
text-decoration: none;
align-items: center;
}
.news_list_item a .date {
font-size: .8em; 
margin-right: 20px;
font-weight: 500;
}
.news_list_item a .title{
margin: 0;
width: 100%;
font-weight: 700;
line-height: 1.8;
}
.news_list_item a:hover{
color: #92C8C6;
}
@media screen and (max-width: 767px){
.news_list_item a{
flex-wrap: wrap;
}
.news_list_item .date {
margin-right: 0
}
.news_list_item .title{
margin-top: 10px;
line-height: 1.7;
}
}