/*------------------------------
	ページ共通
------------------------------*/
body {
  box-sizing: border-box;
}
article {
  font-size: 1.6rem;
}
nav.btmnav {
  width: 80%;
  margin: auto;
  font-size: 1.5rem;
  text-align: center;
}
nav.btmnav .linkbt {
  display: inline-block;
}
@media (max-width:767.98px) {
  nav.btmnav .linkbt a {
    font-size: 14px;
  }
}
/*Mainimg
------------------------------*/
#Mainimg {
  width: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
}
#Mainimg {
  animation: fadeIn 1.2s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
#Mainimg #Img img {
  width: 100%;
  height: auto;
}
#Mainimg #Img {
  padding-left: 6%;
}
#Mainimg .text {
  position: absolute;
  left: 7%;
  overflow: hidden;
  height: 100%;
}
#Mainimg .text img {
  width: auto;
  height: 100%;
}
#Mainimg .text h2 {
  margin: 0;
}
@media (max-width:991.98px) {
  #Mainimg {
    height: 400px;
    margin-top: 3em;
  }
  #Mainimg #Img img {
    height: 400px;
    object-fit: cover;
    object-position: 30% 100%;
  }
  #Mainimg .text img {
    height: 400px;
  }
}
@media (max-width:575.98px) {
  #Mainimg {
    height: 390px;
    margin-top: 3em;
  }
  #Mainimg #Img img {
    height: 350px;
    object-fit: cover;
    object-position: 30% 100%;
  }
  #Mainimg .text img {
    height: 350px;
  }
}
@media (max-width:450px) {
  #Mainimg {
    height: 280px;
    margin-top: 2em;
  }
  #Mainimg #Img img {
    height: 280px;
  }
  #Mainimg .text img {
    height: 280px;
  }
}
/*------------------------------
	お問い合わせ
------------------------------*/
#contact #main {
  padding-top: 8em;
}
#contact .container {
  width: 75%;
  max-width: 800px;
  margin: auto;
}
#contact .read {
  max-width: 900px;
  padding-bottom: 3em;
}
#contact p {
  font-size: 1.7rem;
  line-height: 1.8;
}
#contact form p {
  padding-bottom: 1em;
}
#contact iframe {
  margin-bottom: 1em;
  width: 98%;
  height: 250px;
  border: 1px solid rgba(184, 184, 184, 1.00);
}
#contact .info {
  width: 90%;
  margin: 2em auto;
  color: rgba(207, 0, 20, 1.00);
  line-height: 1.6;
}
#contact .poricy_g {
  width: 90%;
  margin: 2em auto;
  line-height: 1.6;
}
@media (max-width: 767.98px) {
  #contact p {
    font-size: 1.6rem;
    line-height: 1.6;
  }
}
@media (max-width: 500px) {
  #contact #main {
    padding-top: 6em;
  }
  #contact .container {
    width: 80%;
  }
  #contact p {
    font-size: 15px;
    line-height: 1.6;
  }
  #contact form p {
    font-size: 15px;
  }
  #contact .info {
    width: 100%;
    line-height: 1.5;
  }
  #contact .poricy_g {
    width: 100%;
    line-height: 1.5;
  }
}
/*Form
------------------------------*/
label {
  display: block;
  margin-bottom: 0.5em;
}
label span {
  color: rgba(217, 60, 75, 1.00);
  font-size: 13px;
  padding-left: 5px;
}
input {
  outline: none;
  height: 30px;
}
input, textarea {
  margin-bottom: 1em;
  outline: none;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 1.00);
  padding: 0.8em;
  border: 1px solid rgba(184, 184, 184, 1.00);
  width: 95%;
}
input::placeholder, textarea::placeholder {
  color: rgba(180, 180, 180, 1.00);
}
input[type="date"] {
  width: auto;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 1.00);
  margin-bottom: 1em;
}
input[type="radio"], input[type="checkbox"] {
  width: auto;
  height: auto;
  background-color: none;
  outline: none;
  display: inline-block;
  margin-right: 2%;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  accent-color: rgba(43, 173, 227, 1.00);
}
input[type="submit"], input[type="button"] {
  width: 50%;
  height: 50px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 5px;
  outline: none;
  margin: auto;
  display: block;
  border-radius: 100px;
  cursor: pointer;
  color: rgba(253, 253, 253, 1.00);
  background-color: rgba(2, 21, 104, 1.00);
  border-color: rgba(2, 21, 104, 1.00);
}
input[type="submit"]:hover, input[type="button"]:hover {
  background-color: rgba(255, 255, 255, 1.00);
  color: rgba(43, 173, 227, 1.00);
  transition: all 0.6s ease;
  border-color: rgba(43, 173, 227, 1.00);
}
input[type="submit"]:active, input[type="button"]:active {
  background-color: rgba(184, 184, 184, 1.00);
  color: rgba(255, 255, 255, 1.00);
  border-color: rgba(184, 184, 184, 1.00);
  transition: all 0.6s ease;
}
select {
  width: 100%;
  height: 40px;
  background-color: #EEEEEE;
  border-style: none;
  margin-bottom: 2em;
}
.wpcf7-list-item {
  display: block;
}
.acceptance-check {
  padding-right: 0.8em;
}
.error {
  color: rgba(207, 0, 20, 1.00);
}
.input_message {
  color: rgba(207, 0, 20, 1.00);
  font-size: small;
}
.select_time {
  width: auto;
  height: 40px;
  background-color: #FDFEF1;
  border: 1px solid rgba(255, 255, 255, 1.00);
  margin-bottom: 1em;
  padding: 0.5em 1em;
  color: #A0A0A0;
}
@media (max-width: 575.98px) {
  input, textarea {
    padding: 0.5em;
  }
}
/*policypage
------------------*/
#policyPage {
  width: 92%;
  margin: 3em auto;
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 1.00);
}
#policyPage .container {
  font-size: 1em;
  padding-top: 50px;
}
#policyPage .container p {
  padding: 0 1em 0.2em;
  line-height: 1.5;
}
#policyPage .ttle {
  font-size: 1.4em;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  -webkit-font-smoothing: antialiased;
}
#policyPage .subttle {
  font-size: 1em;
  margin: 2em auto;
  padding-top: 1em;
}
#policyPage li {
  line-height: 1.4;
  margin: 0.5em auto;
}
#policyPage .plc_days {
  text-align: right;
  font-size: small;
  margin-top: 5em;
}
@media (max-width:576.98px) {
  #policyPage {
    margin: 1em auto;
    font-size: 14px;
  }
  #policyPage .container {
    padding-top: 10px;
  }
  #policyPage .ttle {
    font-size: 20px;
    font-weight: bold;
  }
  #policyPage .subttle {
    font-size: 15px;
    margin: 2em auto 1em;
  }
  #policyPage .container p {
    padding: 0 1em 0em;
  }
}
@media (max-width:500px) {
  #policyPage .ttle {
    font-size: 15px;
  }
  #policyPage .subttle {
    font-size: 14px;
    margin: 1em auto 1em;
  }
  #policyPage ul {
    padding-left: 1em;
  }
}
/*------------------------------
newspage
------------------------------*/
#newspage #main {
  padding-top: 7em;
  padding-bottom: 3em;
}
#newspage #list .container {
  width: 80%;
  margin: auto;
  max-width: 1200px;
  display: flex;
  flex-direction: row-reverse;
}
#newspage #single .container {
  width: 80%;
  margin: auto;
  max-width: 900px;
}
#newspage #catttle {
  color: rgba(0, 0, 0, 1.00);
  font-size: 1.3em;
  text-align: center;
  padding-bottom: 2em;
}
.entry_body {
  overflow: hidden;
  padding-left: 2em;
}
.entry_body .box {
  border-bottom: 1px solid rgba(145, 145, 145, 1.00);
  margin-bottom: 2em;
}
.ttl_cat {
  font-size: 1.9em;
  padding-top: 0.5em;
}
.entry_days {
  font-size: 1em;
  display: block;
  padding-bottom: 10px;
}
.entry_meta {
  line-height: 1.6;
  padding: 1em 2em 1em;
}
.entry_meta img {
  max-width: 100%;
  height: auto;
}
.entry_meta .ttl {
  font-size: 1.2em;
  line-height: 1.2;
  margin: 0;
  color: rgba(0, 0, 0, 1.00);
  font-family: "Noto Sans JP", sans-serif;
}
.entry_meta_in {
  margin: 1em 0 2em;
  text-align: right;
}
.entry_meta p {
  padding: 0.5em 0;
  line-height: 1.8;
}
.entry_meta p a {
  text-decoration: underline;
}
.entry_meta .morebt {
  text-align: center;
  width: 70px;
  margin: 1em auto;
}
.entry_meta .morebt a {
  font-size: 1em;
  height: 70px;
  width: 70px;
  line-height: 66px;
}
.entry_meta th, .entry_meta td {
  padding: 1vh 1vw;
}
.entry_cteg a, #entrySide li a {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  padding: 0.3em 1em;
  border-radius: 50px;
  background-color: rgba(0, 22, 108, 1.00);
  color: rgba(255, 255, 255, 1.00);
  border: 1px solid rgba(0, 23, 108, 1.00);
}
.entry_cteg a:hover, #entrySide li a:hover {
  background-color: rgba(43, 173, 227, 1.00);
  border: 1px solid rgba(43, 173, 227, 1.00);
}
/*Side
------------------------------*/
#entrySide {
  padding: 0 1em;
  width: 90%;
  max-width: 250px;
}
.sidem {
  padding-bottom: 2em;
}
.sidettle {
  font-size: 1em;
  text-align: left;
  padding-bottom: 0.5em;
  margin-bottom: 2em;
  border-bottom: 1px solid rgba(179, 179, 179, 1.00);
}
#entrySide ul {
  list-style-type: none;
  padding-left: 0;
}
#entrySide li {
  list-style-type: none;
  padding-bottom: 1.5em;
  line-height: 1.3;
}
@media (max-width:991.98px) {
  #newspage #list .container {
    width: 80%;
    display: inherit;
  }
  .entry_body {
    padding-left: 0em;
  }
  #entrySide {
    padding: 2em 1em;
    width: 90%;
    max-width: 500px;
    margin: auto;
  }
}
@media (max-width:575.98px) {
  .entry_meta, #single .entry_meta {
    line-height: 1.5;
    padding: 2em 0em 2em;
  }
}
/*pagenation
----------------------*/
#pagenav {
  text-align: center;
  padding-top: 2em;
}
.pagination {
  list-style-type: none;
  text-align: left;
  display: inline-block;
}
.page-item {
  text-align: left;
  display: inline-block;
}
.page-link {
  position: relative;
  font-size: 0.8em;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #FFFFFF;
  background-color: rgba(2, 21, 104, 1.00);
  border-color: rgba(2, 21, 104, 1.00);
}
.page-link:hover {
  z-index: 2;
  color: #FFFFFF;
  text-decoration: none;
  background-color: rgba(43, 173, 227, 1.00);
}
.page-link:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(3, 3, 3, 0.25);
}
.page-link:not(:disabled):not(.disabled) {
  cursor: pointer
}
.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem
}
.page-item:last-child .page-link {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem
}
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: rgba(2, 21, 104, 1.00);
  border-color: rgba(2, 21, 104, 1.00);
}
.page-item.disabled .page-link {
  color: #A6A6A6;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #A6A6A6
}
/*404
----------------------*/
#err404 .container {
  max-width: 1000px;
  width: 86%;
  margin: auto;
}
#err404 .read {
  width: 95%;
  max-width: 1000px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 5em;
  text-align: center;
}
#err404 .read p {
  line-height: 2.5;
  padding: 1em 0;
}
@media (max-width:767.98px) {
  #err404 .read {
    width: 85%;
    margin: 0 auto 5em;
    text-align: left;
  }
  #err404 .read p {
    line-height: 1.8;
  }
}
/* ===== お問い合わせ 確認画面フロー（Contact Form 7 Multi-Step） ===== */
#contact .box.confirm .confirm-list { width: 100%; margin: 0 0 1.5em; }
#contact .box.confirm .confirm-list dt {
  font-weight: 600; margin-top: 1em; color: #232584;
}
#contact .box.confirm .confirm-list dd {
  margin: .2em 0 .8em; padding: .6em .8em; background: #f6f6f7;
  border-radius: 4px; white-space: pre-wrap; word-break: break-all;
}
#contact .box.confirm .cf7msm-confirm { margin-bottom: 1em; }
#contact .box .wpcf7 input.wpcf7-previous,
#contact .box .wpcf7 input.wpcf7-submit {
  cursor: pointer;
}
/* 左右マージンは確認画面（戻る/送信の横並び）だけに限定。
   入力ページの送信ボタンの中央寄せ（margin:0 auto）を上書きしないため。 */
#contact .box.confirm .wpcf7 input.wpcf7-previous,
#contact .box.confirm .wpcf7 input.wpcf7-submit {
  margin: 0 .4em;
}
#contact .box .wpcf7 input.wpcf7-submit:disabled,
#contact .box .wpcf7 input.wpcf7-submit[disabled] {
  opacity: .45; cursor: not-allowed;
}
#contact .box.thanks .read { padding: 1em 0 2em; line-height: 2; }

/* reCAPTCHAバッジを非表示にする */
.grecaptcha-badge {
  visibility: hidden;
}