@charset "UTF-8";
/* CSS Document */

* {
  word-break: break-word;
  overflow-wrap: break-word
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  scroll-behavior:smooth;
  -webkit-scroll-behavior:smooth;
  box-sizing: border-box;
  font-size: 62.5%;
}
body {
	font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: #333;
  letter-spacing: 0.05em;
  line-height: 3;
  font-size: 1.6rem;
  font-feature-settings:"pkna" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: bold;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* mac 游ゴシックbold*/
.bold {
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a:visited { 
  color:#00327d;
}

a:hover {
  color:#00327d; 
}

a:active {
  color:#00327d;
}

a:focus,
*:focus {
  outline: none;
}

img {
  width: 100%;
  height: auto;
}

/*  
  ページスクロール
---------------------------------*/

/* ページTOPに戻る */
#page_top{
  width: 70px;
  height: auto;
  z-index: 10;
  cursor: pointer;
  margin-bottom: 30px;
}

 #page_top a{
  text-decoration: none;
   display: block;
}

/*  
  news
---------------------------------*/
ul#news{color:#00327d;margin:0 auto 50px auto;}
ul#news li{max-width:1000px;width:100%;margin:0 auto;padding:10px 0;border-bottom:#879cbb 1px solid;box-sizing:border-box;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-around;}
ul#news li:first-child{border-top:#879cbb 1px solid;}

ul#news li .news_date{text-align:center;width:20%;padding:20px 0;border-right:#879cbb 1px solid;}
ul#news li .news_text{line-height:1.7;width:80%;padding:10px 10px 10px 30px;box-sizing:border-box;}

.news_list_note a:link{color:#00327d!important;text-decoration:none;}
.news_list_note a:visited{color:#00327d!important;text-decoration:none;}
.news_list_note a:hover{color:#fff!important;text-decoration:none;}
.news_list_note a:active{color:#fff!important;text-decoration:none;}

.news_text a:link{color:#00327d!important;text-decoration:none;}
.news_text a:visited{color:#00327d!important;text-decoration:none;}
.news_text a:hover{color:#ffcd00!important;text-decoration:none;}
.news_text a:active{color:#ffcd00!important;text-decoration:none;}


@media screen and (max-width:1024px) {
  ul#news li{width:90%;flex-direction:column;flex-wrap:wrap;align-items:center;}
  ul#news li .news_date{text-align:left;width:100%;padding:20px 0;border-right:none;}
  ul#news li .news_text{text-align:left;width:100%;padding:10px 0;box-sizing:border-box;}
}


/*  
  contact
---------------------------------*/
form {margin:0;padding:0;}
input{padding:25px 30px;border:#8d8d8d 1px solid;background:#f4f4f4;box-sizing:border-box;}
textarea{border:#d7d0d0 1px solid;}
#thanks_form{text-align:center;margin:150px auto;}
.form_text_answer{
	width:60%;
	padding: 5px;
	zoom: 1;
}

.form_text, textarea, .dropdown {
	padding: 5px;
	zoom: 1;
}

.form_text_10 {
	width:10%!important;
	padding: 5px;
}

.form_text_20 {
	width:20%!important;
	padding: 5px;
}

.form_text_40 {
	width:40%!important;
	padding: 5px;
}

.form_text_60 {
	width:60%!important;
	padding: 5px;
}

.form_text_80 {
	width:80%!important;
	padding: 5px;
}

.LabelSelected,.RadioSelected {
	font-weight:normal;
	width:17%;
	padding:10px;
	padding: 5px;
	zoom: 1;
}

@media screen and (max-width:798px) {
  .form_text_20{font-size:90%;width:22%!important;box-sizing:border-box;}
  .form_text_40{font-size:90%;width:100%!important;box-sizing:border-box;}
  .form_text_60{font-size:90%;width:100%!important;box-sizing:border-box;}
  .form_text_80{font-size:90%;width:100%!important;box-sizing:border-box;}
  .LabelSelected,.RadioSelected{width:100%!important;box-sizing:border-box;}
}

#form_terms{line-height:1.5;max-height:300px;height:100%;width:100%;margin:0 auto 10px auto;padding:40px;background-color:#ffffff;border:#00327d solid 1px;overflow-y:scroll;box-sizing:border-box;}
#contact_table .wpcf7-response-output{color: red; text-align: center; border: none;}
#single #form_terms .terms_title{font-size:19px;font-weight:900;margin:24px auto 16px;}
#single #form_terms h3{margin:0 auto 16px;}

@media screen and (max-width:1200px) {
  #form_terms{max-height:200px;max-width:100%;padding:30px;}
}

#contact_table{font-size:15px;max-width:730px;width:100%;margin:50px auto 25px auto;}
#contact_table table th{color:#010075;text-align:left;vertical-align:middle;font-weight:normal;width:150px;padding:30px 0;border-top:none;border-bottom:none;background:transparent;box-sizing:border-box;}
#contact_table table tr{text-align:left;vertical-align:middle;clear:both;}
#contact_table table td{vertical-align:middle;padding:30px 2%;word-wrap:break-word;word-break:break-all;border-top:none;border-bottom:none;background:transparent;}
.contact_text , .center {text-align: center;}

@media screen and (max-width:414px) {
  #contact_table{font-size:13px;max-width:90%;margin:50px auto 25px auto;}
  #contact_table h2{margin:0 auto 45px auto;}
  #contact_table table th{font-size:14px;color:#010075;width:100%!important;white-space:nowrap;padding:20px 0 0 0;display:block!important;box-sizing:border-box;}
  #contact_table table tr{vertical-align:top;}
  #contact_table table td{width:100%!important;margin:10px auto 20px auto;padding:0 0;display:block!important;box-sizing:border-box;}
}

/* 入力項目を見やすくする */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {font-size:15px;padding:25px 30px;border:#8d8d8d 1px solid;background:#f4f4f4;box-sizing:border-box;width: 100%;}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}

/* 必須項目の入力欄の色を変更する */
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	background: rgba(255,255,255,1);
}

@media screen and (max-width:798px) {
  input.wpcf7-form-control.wpcf7-text,
  textarea.wpcf7-form-control.wpcf7-textarea {width:100%;box-sizing: border-box;}
}

.wpcf7 input[type="button"] {font-size:14px;color:#004ed7;position:relative;max-width:230px;width:100%;overflow:hidden;text-decoration:none;text-align:center;transition:ease .2s;border-radius:40px;line-height:100%;padding:25px 90px;outline:#004ed7 2px solid;outline-offset:-2px;background:transparent;}

@media screen and (max-width:798px) {
  .wpcf7 input[type="checkbox"] {padding:5px!important;}
}

div.wpcf7 .ajax-loader{display:none!important;}

/* 送信ボタン */	
#submit_bt_center{text-align:center;margin:50px auto 100px 10%;}


@media screen and (max-width:798px) {
  #submit_bt_center{margin:50px auto 100px auto;}
}	

.wpcf7 input[type="submit"] {font-size:1.7rem;color:#fff;font-weight:bold;max-width:260px;width:100%;margin:auto;text-align:center;background-color:#00327d;box-shadow: 0px 5px 0px 0px #ababab;border:0;border-radius:50px;position:relative;z-index:5;transition: .15s ease-out;transform:translateZ(0);-webkit-appearance: none;}
.wpcf7-submit:hover{color:#00327d!important;background-color:#ffcd00!important;cursor:pointer;transform: translateY(2px);box-shadow: 0 0 0 rgba(245, 209, 0, 0.75);opacity:1;}

.wpcf7-list-item{margin:0 auto!important;}

/* エラーメッセージを見やすくする */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}
/* エラーメッセージの上部を消去 */
div.screen-reader-response{
  display: none;
}

/* reCAPTCHA */
.grecaptcha-badge {
  padding-top: 0;
  padding-left: 0;
}

@media only screen and (max-width:798px) {
  .grecaptcha-badge {
      visibility: hidden;
      opacity: 0;
  }
}
