@charset "UTF-8";

main article section.caption h2 {
  margin-bottom: 0;
}

main article section.caption h2:after {
  content: none;
}

.swiper-wrapper a {
  width: 100%;
  height: 100%;
  position: absolute;
}

article#undermain.contain img {
  height: auto;
  object-fit: contain;
}

/* parts */
main dl.img-txt-h1-left dd span, main dl.img-txt-h1-right dd span {
  display: block;
  padding-top: 1em;
  text-align: right;
}
.img-text2 div, .img-text3 div, .img-text4 div {
  margin: 0 -500%;
  padding: 0 500%;
  background: #d8e9f1;
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
}
.img-text2 div:before, .img-text3 div:before, .img-text4 div:before {
  content: "";
  background: #fff;
  width: 100%;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.img-text2 ul, .img-text3 ul, .img-text4 ul {
  margin: 0;
  padding: 0;
  background: transparent;
  padding-bottom: 0;
  position: static;
  z-index: auto;
}
.img-text2 ul:before, .img-text3 ul:before, .img-text4 ul:before {
  content: none;
}
@media screen and (max-width: 1399px) {
  .img-text2 ul, .img-text3 ul, .img-text4 ul {
    padding: 5vw;
  }
}
@media screen and (max-width: 999px) {
  .img-text2 ul, .img-text3 ul, .img-text4 ul {
    padding: 5vw;
  }
}

/* form */
#form dl.radio-button dd label {
  white-space: normal;
  display: inline-block;
}
#form dl.check-box dd label {
  white-space: normal;
  display: inline-block;
}

#form article#undermain {
  height: 200px;
}
@media screen and (max-width: 1399px) {
  #form article#undermain img {
    position: absolute;
    top: 0;
    left: -5vw;
    width: 100vw;
  }
}

#form article#undermain.contain {
  position: relative;
  height: auto;
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2);
}
#form article#undermain.contain img {
  position: static;
  top: unset;
  left: unset;
  height: auto;
  object-fit: contain;
}

/* header */
.menu > ul {
  max-width: none;
}
header h1 {
  padding: 15px 0;
  display: inline-block;
  line-height: 2.0;
  min-width: 200px;
  width: auto;
  white-space: normal;
  max-width: none;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
}
header h1 a {
  max-width: 200px;
}
header h1 a img {
  width: auto;
  max-width: 200px;
  max-height: 100px;
  vertical-align: middle;
}
@media only screen and (max-width: 767px) {
  header h1 {
    line-height: 2.0;
    max-width: calc(100% - 110px);
  }
}
@media screen and (max-width: 479px) {
  header h1 {
    margin-left: 10px;
  }
}

/* banner */
@media screen and (max-width: 479px) {
  #banner ul li {
    width: auto;
  }
}

/* link */
#link ul li {
  width: auto;
  height: auto;
}
#link ul li a.cms-txt-link {
  width: 300px;
}
#link ul li a.cms-img-link {
  display: inline;
  background-color: transparent;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  padding-top: 1em;
}

/* column */
.column_page article#undermain section.caption{
  background: none;
}
.column_page article#undermain section.caption h2{
  color: #fff;
}

.column_wrp {
  box-sizing: border-box;
  width: 100%;
  max-width: 990px;
  padding: 0 20px;
  margin: 0 auto;
}

.category_list{
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.category_list li {
  list-style: none;
  border: 2px solid #629DBC;
  background: #fff;
  color: #629DBC;
  font-size: 16px;
  font-weight: bold;
  transition: .3s ease all;
}

.category_list li a{
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px 20px;
  color: #629DBC;
  box-sizing: border-box;
}

.category_list li.current{
  background: #629DBC;
  color: #fff;
  padding: 5px 20px;
  position: relative;
}
.category_list li.current::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 10px 5px 0 5px;
  border-color: #629DBC transparent transparent;
  translate: -50% 100%;
}
.category_list li.current a{
  color: #fff;
}
.category_list li a:hover{
  background: #629DBC;
  color: #fff;
}


.column_card_list {
  display: grid;
  grid-template-columns: repeat(3, 310px); 
  gap: 30px;
  margin-bottom: 90px;
}

.column_card {
  display: flex;
  flex-direction: column;
}

.column_card a img{
  transition: .3s ease all;
}

.column_card a:hover img{
  transform: scale(1.05);
}

/* カード内の要素の配置を調整 */
.column_card_img{
  margin-bottom: 10px;
}
.column_card_img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.column_card .column_card_ttl {
  margin-bottom: 10px;
  flex-grow: 0;
  color: #211816;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  line-height: 1.5;
}
.column_card_ttl:after {
  content: none;
} 

.column_card_meta {
  display: flex;
  gap: 20px;
}

.column_card_meta *{
  color: #629DBC;  
}

@media (max-width: 768px) { 
  .column_card_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* pagination */
nav.navigation.pagination {
  display: flex;
  justify-content: center;
}
nav.navigation.pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 90px;
  padding: 0;
}
nav.navigation.pagination ul.page-numbers li a,
nav.navigation.pagination ul.page-numbers li span {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #629DBC;
  background: #fff;
}
nav.navigation.pagination ul.page-numbers li span.current {
  background: #629DBC;
  color: #fff;
}
nav.navigation.pagination ul.page-numbers li a:hover {
  border-color: #629DBC;
  color: #629DBC;
}
nav.navigation.pagination ul.page-numbers li a.prev,
nav.navigation.pagination ul.page-numbers li a.next {
  padding: 0 12px;
  min-width: auto;
}


/* single */
.post_h2{
  margin-bottom: 20px;
  text-align: left;
  border-bottom: 1px solid #629DBC;
  letter-spacing: 0;
}
.post_h2:after{
  content: none;
}
.post_title{
  font-size: 24px;
  font-weight: bold;
  color: #211816;
}
.post_meta{
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.post_meta *{
  color: #629DBC;
}
.post_content h2{
  font-size: 18px;
  letter-spacing: 0;
  text-align: left;
  font-weight: bold;
}
.post_content h2:after,
.post_content h3:after{
  content: none;
}
.post_content h3{
  font-size: 18px;
  letter-spacing: 0;
  text-align: left;
  font-weight: bold;
  color: #211816;
  border-left: 5px solid #629DBC;
  line-height: 1.5;
  padding-left: 10px;
}
.post_content img{
  width: auto;
  margin-bottom: 20px;
}
.post_content,
.post_back{
  margin-bottom: 90px;
}
.post_back{
  padding-left: 20px;
  position: relative;
}
.post_back::before,
.post_back::after {
  content: ""; 
  width: 10px; 
  height: 2px;
  display: inline-block;
  border-radius: 2px;
  background: #629DBC;   
  position: absolute; 
  left: 0; 
}

.post_back::before {
  top: calc(50% - 4px);    
  transform: rotate(-45deg);
}
.post_back::after {
  bottom: calc(50% - 4px);   
  transform: rotate(45deg); 
}