@charset "UTF-8";

/*
 * Animation
*=============================================*/
/* -- -- */
.fadeInUp {
   opacity: 0;
}

.fadeInUp[style*="visible"] {
   animation-name: fadeUpAnime;
   animation-duration: 1s;
   animation-fill-mode: forwards;
}

@keyframes fadeUpAnime {
   from {
      opacity: 0;
      transform: translateY(50px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* -- -- */
.img_effect {
   display: inline-block;
   overflow: hidden;
   position: relative;
}

.img_effect:after {
   content: "";
   animation-duration: 300ms;
   animation-fill-mode: forwards;
   animation-delay: 300ms;
   display: block;
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   background-color: #fff;
}

.img_effect[style*="visible"]:after {
   animation-name: homeTileAnimation;
}

@keyframes homeTileAnimation {
   0% {
      transform: translateX(0);
   }

   to {
      transform: translateX(-120%);
   }
}

/* -- -- */
/*
 * Custom
*=============================================*/
/* -- heading -- */
.h2 {
   font-weight: 700;
   font-size: 30px;
   letter-spacing: 0em;
   line-height: 45px;
   text-align: center;
   position: relative;
}

.h2 .en {
   display: block;
   color: #0B579A;
   font-family: 'Josefin Sans', sans-serif;
   font-weight: 600;
   font-size: 20px;
   letter-spacing: 0em;
   line-height: 20px;
   padding-bottom: 10px;
}

.h-20 {
   font-weight: 500;
   font-size: 20px;
   letter-spacing: 0;
   line-height: 30px;
}

.h-22 {
   font-weight: 500;
   font-size: 22px;
   letter-spacing: 0;
   line-height: 32px;
}

.h-24 {
   font-weight: 500;
   font-size: 24px;
   letter-spacing: 0em;
   line-height: 36px;
}

.h-36 {
   font-weight: 600;
   font-size: 36px;
   letter-spacing: 0em;
   line-height: 36px;
}

@media screen and (max-width: 767px) {
   .h2 {
      font-size: 20px;
      line-height: 30px;
   }

   .h-20 {
      font-size: 16px;
   }

   .h-22,
   .h-24 {
      font-size: 18px;
      line-height: 30px;
   }

   .h-36 {
      font-size: 24px;
   }
}

/* button */
.button {
   position: relative;
}

.button a {
   display: inline-block;
   width: 100%;
   max-width: 280px;
   background-color: #0B579A;
   color: #fff;
   border-radius: 100px;
   font-weight: 500;
   font-size: 16px;
   letter-spacing: 0em;
   line-height: 24px;
   text-align: center;
   box-sizing: border-box;
   padding: 18px 0;
   position: relative;
   z-index: 1;
   overflow: hidden;
}

.button a:before {
   content: '';
   width: 100%;
   height: 100%;
   background-color: #333;
   border-radius: 100px;
   position: absolute;
   top: 0;
   left: 0;
   -webkit-transform: scaleX(0);
   transform: scaleX(0);
   -webkit-transform-origin: 0 50%;
   transform-origin: 0 50%;
   -webkit-transition-property: transform;
   transition-property: transform;
   -webkit-transition-duration: 0.3s;
   transition-duration: 0.3s;
   -webkit-transition-timing-function: ease-out;
   transition-timing-function: ease-out;
   z-index: -1;
}

.button a:after {
   content: '\f105';
   -moz-osx-font-smoothing: grayscale;
   -webkit-font-smoothing: antialiased;
   display: var(--fa-display, inline-block);
   font-style: normal;
   font-variant: normal;
   line-height: 1;
   text-rendering: auto;
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
   font-size: 16px;
   position: absolute;
   top: 50%;
   right: 15px;
   transform: translateY(-50%);
   transition: all 0.3s;
}

.button a:hover {
   opacity: 1;
}

.button a:hover:before {
   -webkit-transform: scaleX(1);
   transform: scaleX(1);
}

@media screen and (max-width: 767px) {
   .button {
      text-align: center;
   }
}

/* -- -- */
.txt-udl {
   text-decoration: underline;
}

a.txt-udl:hover {
   text-decoration: none;
}

.txt-c {
   text-align: center;
}

.txt-j {
   text-align: justify;
}

.txt-r {
   text-align: right;
}

.cl-red {
   color: #0B579A;
}

.cl-blue {
   color: #05527A;
}

.cl-yellow {
   color: #F8CE23;
}

.udl01 {
   background-image: linear-gradient(#AE0615, #AE0615);
   background-size: 100% 17px;
   background-repeat: no-repeat;
   background-position: left bottom;
}

.udl02 {
   background-image: linear-gradient(#002A7D, #002A7D);
   background-size: 100% 17px;
   background-repeat: no-repeat;
   background-position: left bottom;
}

.fw-smb {
   font-weight: 600;
}

.fw-b {
   font-weight: 700;
}

.fw-black {
   font-weight: 900;
}

.bdra-10 {
   border-radius: 10px;
}

.bdra-20 {
   border-radius: 20px;
}

.img_shadow {
   box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 767px) {
   .bdra-20 {
      border-radius: 10px;
   }
}

/* -- --*/
.w600 {
   width: 100%;
   max-width: 600px;
   box-sizing: border-box;
   margin: 0 auto;
   position: relative;
}

.w800 {
   width: 100%;
   max-width: 800px;
   box-sizing: border-box;
   margin: 0 auto;
   position: relative;
}

.w900 {
   width: 100%;
   max-width: 900px;
   box-sizing: border-box;
   margin: 0 auto;
   position: relative;
}

.w1000 {
   width: 100%;
   max-width: 1000px;
   box-sizing: border-box;
   margin: 0 auto;
   position: relative;
}

/* -- --*/
.section_pd {
   padding: 100px 0;
}

@media screen and (max-width: 767px) {
   .section_pd {
      padding: 60px 0;
   }
}

/* -- --*/
.bg01 {
   background-color: #EDEDE8;
}

/* -- --*/
#kv {
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: #0B579A;
   color: #fff;
   height: 300px;
   position: relative;
}

.kv__ttl {
   text-align: center;
   font-weight: 500;
   font-size: 24px;
   line-height: 35px;
}

.kv__ttl .en {
   display: block;
   font-weight: 600;
   font-size: 60px;
   line-height: 1;
   letter-spacing: 0;
}

@media screen and (max-width: 767px) {
   #kv {
      height: 200px;
   }

   .kv__ttl {
      font-size: 20px;
      line-height: 30px;
   }

   .kv__ttl .en {
      font-size: 35px;
   }
}

/* -- --*/
.breadcrumbs {
   width: 100%;
   font-size: 14px;
   line-height: 20px;
   padding: 10px 0 0;
}

.breadcrumbs .wrap>span {
   display: inline-block;
   word-break: break-all;
   text-transform: uppercase;
   padding: 0 10px;
}

.breadcrumbs .wrap>span:first-child {
   padding-left: 0;
}

.breadcrumbs a:hover {
   text-decoration: underline;
}

@media screen and (max-width: 991px) {
   .breadcrumbs {
      font-size: 12px;
      overflow-x: auto;
      box-sizing: border-box;
      padding: 10px 20px 0;
   }

   .breadcrumbs .wrap {
      width: max-content;
      max-width: inherit;
      background-color: transparent;
      margin: 0;
      padding: 0;
   }

   .breadcrumbs .wrap>span {
      display: inline-block;
      word-break: break-all;
      padding: 0 10px;
      position: relative;
      top: 1px;
   }

   .breadcrumbs .wrap>span:first-child {
      padding-left: 0;
   }
}

/* -- --*/
.bg-parallax {
   width: 100%;
   height: 100%;
   min-height: inherit;
   position: absolute;
   top: 0;
   left: 0;
}

.img_parallax {
   display: none;
}

@media only screen and (max-width: 1080px) {
   .bg-parallax {
      background: transparent !important;
   }

   .img_parallax {
      display: block;
      clip: rect(0, auto, auto, 0);
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
   }

   .img_parallax img {
      width: 100% !important;
      height: 100vh !important;
      position: fixed;
      top: 0;
      left: 0;
      padding: 0;
      margin: 0;
      object-fit: cover;
      z-index: 0;
      transform: translateZ(0) !important;
   }
}

/* -- -- */
.img-zoom {
   display: block;
   overflow: hidden;
}

.img-zoom>* {
   transform: scale(1, 1);
   transition: all 0.3s ease;
}

.img-zoom:hover>* {
   transform: scale(1.05, 1.05);
}

/* -- -- */
.effect-bnr a {
   display: block;
   background-color: #030c17;
   position: relative;
}

.effect-bnr a:after {
   content: '';
   position: absolute;
   top: 30px;
   right: 30px;
   bottom: 30px;
   left: 30px;
   border: 1px solid #fff;
   box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.1);
   opacity: 0;
   -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
   transition: opacity 0.35s, transform 0.35s;
   -webkit-transform: scale3d(1.1, 1.1, 1);
   transform: scale3d(1.1, 1.1, 1);
}

.effect-bnr a:hover {
   opacity: 1;
}

.effect-bnr a:hover:after {
   opacity: 1;
   -webkit-transform: scale3d(1, 1, 1);
   transform: scale3d(1, 1, 1);
}

.effect-bnr a:hover img {
   opacity: 0.3 !important;
}

/* -- -- */
.box-img {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 50px;
}

.box-img .photo {
   width: 840px;
}

.box-img .box-detail {
   width: 510px;
}

.box-img .txt {
   padding-top: 40px;
}

.box-img .button {
   padding-top: 40px;
}

.box-img.img_r {
   flex-direction: row-reverse;
}

@media screen and (max-width: 1440px) {
   .box-img {
      gap: 50px 3.5%;
      align-items: flex-start;
   }

   .box-img .photo {
      width: 60%;
   }

   .box-img .box-detail {
      width: 36.5%;
      padding: 20px 0;
   }
}

@media screen and (max-width: 991px) {
   .box-img .photo {
      width: 100%;
   }

   .box-img .box-detail {
      width: 100%;
      padding: 0;
   }
}

@media screen and (max-width: 767px) {
   .box-img {
      gap: 10px;
   }

   .box-img .txt {
      padding-top: 20px;
   }

   .box-img .button {
      padding-top: 20px;
   }
}

/* -- --*/
.tb-style dl {
   display: table;
   width: 100%;
   box-sizing: border-box;
   font-size: 16px;
   line-height: 24px;
   border-bottom: 1px solid #ccc;
   padding: 0 30px 30px;
}

.tb-style dl+dl {
   padding-top: 30px;
}

.tb-style dl>* {
   display: table-cell;
   vertical-align: top;
}

.tb-style dl dt {
   width: 170px;
   font-weight: 500;
   color: #0B579A;
   position: relative;
}

.tb-style dl dd {
   padding-left: 40px;
}

.tb-style dl dd p {
   padding-bottom: 20px;
}

.tb-style dl dd p:last-child {
   padding-bottom: 0;
}

@media screen and (max-width: 1200px) {
   .tb-style dl dd {
      padding-left: 50px;
   }
}

@media screen and (max-width: 767px) {
   .tb-style dl {
      display: block;
      font-size: 13px;
      line-height: 26px;
      padding: 0 15px 30px;
   }

   .tb-style dl+dl {
      padding-top: 30px;
   }

   .tb-style dl>* {
      display: block;
   }

   .tb-style dl dt {
      width: auto;
      text-align: left;
   }

   .tb-style dl dd {
      padding-top: 10px;
      padding-left: 0;
   }

   .tb-style dl dd p {
      padding-bottom: 20px;
   }

   .tb-style dl dd p:last-child {
      padding-bottom: 0;
   }
}

/* -- -- */
.swiper-container {
   overflow: hidden;
   position: relative;
}

.swiper-fade .swiper-slide>* {
   opacity: 0;
}

.swiper-fade .swiper-slide-active>* {
   opacity: 1;
}

/* -- --*/
/*
 * 404
 *=============================================*/
#content-404 {
   text-align: center;
   padding: 90px 0 120px;
}

#content-404 .button {
   padding-top: 50px;
}

@media screen and (max-width: 767px) {
   #content-404 {
      padding: 60px 0;
   }

   #content-404 .button {
      padding-top: 30px;
   }
}

/* -- -- */
/*
 * HOME
*=============================================*/
/* -- --*/
#mv {
   width: 100%;
   height: calc(100vh - 80px);
   background: url("https://hokushin-unyu.takumi-jinzai.jp/wp-content/uploads/2023/11/グループ-22805.png") no-repeat center/cover;
   box-sizing: border-box;
   position: relative;
}

#mv h2 {
   width: 600px;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
   #mv {
      background-image: url("https://hokushin-unyu.takumi-jinzai.jp/wp-content/uploads/2023/11/グループ-22805.png");
      height: 133vw;
   }

   #mv h2 {
      width: 77%;
   }
}

/* -- --*/
#greeting {
   padding-top: 120px;
}

#greeting .box1 h2 {
   text-align: left;
}

#greeting .box1 h2 .en {
   text-align: center;
}

#greeting .box1 .txt {
   padding-top: 40px;
}

#greeting .box2 {
   display: flex;
   flex-wrap: wrap;
   gap: 40px;
   padding-top: 50px;
}

#greeting .box2 .item {
   width: 440px;
}

#greeting .box2 .item-detail {
   padding: 20px 20px 0;
}

#greeting .box2 h3 {
   padding-top: 10px;
}

#greeting .box2 .txt {
   padding-top: 30px;
}

@media screen and (max-width: 1440px) {
   #greeting .box2 {
      gap: 40px 2%;
   }

   #greeting .box2 .item {
      width: 32%;
   }
}

@media screen and (max-width: 991px) {
   #greeting .box2 .item-detail {
      padding: 20px 0 0;
   }
}

@media screen and (max-width: 767px) {
   #greeting {
      padding-top: 50px;
   }

   #greeting .box2 {
      gap: 35px;
   }

   #greeting .box2 .item {
      width: 100%;
   }

   #greeting .box2 .subtitle {
      line-height: 24px;
   }

   #greeting .box2 .txt {
      padding-top: 20px;
   }
}

/* -- --*/
#our-work {
   padding: 90px 0;
}

#our-work .box h2 {
   text-align: left;
}

#our-work .box h2 .en {
   text-align: center;
}

#our-work .box .txt {
   padding-top: 40px;
}

#our-work .box-img {
   padding-top: 40px;
}

#our-work .box-img+.box-img {
   padding-top: 60px;
}

@media screen and (max-width: 767px) {
   #our-work {
      padding: 60px 0;
   }

   #our-work .box1 .txt {
      padding-top: 30px;
   }

   #our-work .box-img {
      padding-top: 30px;
   }

   #our-work .box-img+.box-img {
      padding-top: 30px;
   }
}

/* -- --*/
#our-mission {
   padding: 100px;
   position: relative;
}

#our-mission .photo {
   width: 58.2%;
   position: absolute;
   top: 50%;
   left: 0;
   transform: translateY(-50%);
}

#our-mission .box {
   width: 870px;
   text-align: center;
   margin-left: auto;
   padding-bottom: 90px;
   position: relative;
}

#our-mission h2 {
   font-family: 'Noto Serif JP', serif;
   font-weight: 500;
   font-size: 90px;
   line-height: 130px;
   letter-spacing: 0.2em;
}

#our-mission h2 span {
   display: block;
}

#our-mission h2 span+span {
   padding-top: 50px;
}

#our-mission .deco {
   width: 550px;
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   z-index: -1;
}

@media screen and (max-width: 1440px) {
   #our-mission {
      padding: 80px 20px;
   }

   #our-mission .box {
      width: 620px;
      padding-bottom: 6%;
   }

   #our-mission h2 {
      font-size: 60px;
      line-height: 100px;
   }

   #our-mission h2 span+span {
      padding-top: 20px;
   }

   #our-mission .deco {
      width: 60%;
   }
}

@media screen and (max-width: 991px) {
   #our-mission {
      padding: 5vw 0;
   }

   #our-mission .box {
      width: 65%;
      padding-bottom: 8vw;
   }

   #our-mission h2 {
      font-size: 6vw;
      line-height: 1;
   }
}

@media screen and (max-width: 767px) {
   #our-mission {
      padding: 2vw 0;
   }
}

/* -- --*/
#message {
   background: url("../img/index/message-bg.jpg") no-repeat center/cover;
   color: #fff;
   margin-top: 90px;
   padding: 0 20px;
}

#message .box {
   background: #0B579A;
opacity: 0.9;
   padding: 235px 0;
}

#message h2 {
   text-align: left;
}

#message h2 .en {
   text-align: center;
   color: #fff;
}

#message .txt {
   padding-top: 40px;
}

@media screen and (max-width: 767px) {
   #message {
      background-image: url("../img/index/sp_message-bg.jpg");
      margin-top: 60px;
      padding: 0;
   }

   #message .box {
      padding: 60px 20px;
   }
}

/* -- --*/
#gallery {
   padding: 90px 0 0;
}

#gallery .photo {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 10px;
   width: 100%;
   max-width: 1058px;
   margin: 0 auto;
   padding-top: 30px;
}

#gallery .photo li {
   width: 346px;
}

@media screen and (max-width: 1200px) {
   #gallery .photo li {
      width: calc(33.33% - 7px);
   }
}

@media screen and (max-width: 767px) {
   #gallery {
      padding-top: 60px;
   }

   #gallery .photo {
      padding-top: 20px;
   }

   #gallery .photo li {
      width: calc(50% - 5px);
   }
}

/* -- --*/
#requirements {
   padding: 90px 0 120px;
}

#requirements .tb-style {
   padding-top: 50px;
}

#requirements .button {
   text-align: center;
   padding-top: 50px;
}

@media screen and (max-width: 767px) {
   #requirements {
      padding: 60px 0;
   }

   #requirements .tb-style {
      padding-top: 30px;
   }
}

/* -- --*/
/*
 * エントリーフォーム
*=============================================*/
/* -- -- */
.wpcf7 {
   position: relative;
}

.select {
   display: flex;
   width: 100%;
   border: 1px solid #ccc;
   background-color: #fff;
   border-radius: 4px;
   position: relative;
}

.select>p,
.select>p>span {
   width: 100%;
}

.select .wpcf7-not-valid-tip {
   position: absolute;
   top: 92%;
   left: 0;
}

.select .wpcf7-form-control-wrap {
   display: block;
   flex: 1;
}

.select select {
   display: block;
   width: 100%;
   height: 100%;
   -webkit-appearance: none;
   -moz-appearance: none;
   outline: 0;
   border: 0;
   box-shadow: none;
   line-height: 30px;
   padding: 7px 50px 7px 15px;
   color: #333;
   background: transparent;
   border: 0;
   cursor: pointer;
}

.select select::-ms-expand {
   display: none;
}

.select::after {
   content: '\f0dd';
   -moz-osx-font-smoothing: grayscale;
   -webkit-font-smoothing: antialiased;
   display: var(--fa-display, inline-block);
   font-style: normal;
   font-variant: normal;
   line-height: 1;
   text-rendering: auto;
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
   color: #000;
   font-size: 20px;
   position: absolute;
   top: 9px;
   right: 20px;
}

#mailform {
   padding: 90px 0 120px;
   position: relative;
}

#mailform input[type="text"],
#mailform input[type="tel"],
#mailform input[type="email"],
#mailform input[type="date"],
#mailform textarea {
   display: block;
   width: 100%;
   background-color: #fff;
   border: 1px solid #ccc;
   line-height: 30px;
   border-radius: 4px !important;
   outline: none;
   -webkit-appearance: none;
   -moz-appearance: none;
   box-sizing: border-box;
   padding: 7px 15px;
}

#mailform textarea {
   height: 180px;
   resize: vertical;
}

#mailform .wpcf7-radio {
   display: flex;
   align-items: center;
   gap: 40px;
}

#mailform .wpcf7-radio .wpcf7-list-item {
   display: block;
   margin: 0;
}

#mailform .wpcf7-radio .wpcf7-list-item label {
   display: block;
   cursor: pointer;
   padding: 0 0 0 20px;
   position: relative;
}

#mailform .wpcf7-radio .wpcf7-list-item label .wpcf7-list-item-label:before {
   content: '';
   width: 15px;
   height: 15px;
   background-color: transparent;
   border: 1px solid #333;
   box-sizing: border-box;
   border-radius: 50%;
   position: absolute;
   top: 8px;
   left: 0;
}

#mailform .wpcf7-radio .wpcf7-list-item label .wpcf7-list-item-label:after {
   content: '';
   display: none;
   width: 9px;
   height: 9px;
   background-color: #333;
   border-radius: 50%;
   position: absolute;
   top: 11px;
   left: 3px;
}

#mailform .wpcf7-radio .wpcf7-list-item label input {
   width: 18px;
   height: 18px;
   cursor: pointer;
   position: absolute;
   top: 5px;
   left: 0;
   opacity: 0;
}

#mailform .wpcf7-radio .wpcf7-list-item label input:checked~.wpcf7-list-item-label:after {
   display: block;
}

#mailform .wpcf7-checkbox {
   display: inline-block;
}

#mailform .wpcf7-checkbox .wpcf7-list-item {
   display: block;
   margin: 0;
}

#mailform .wpcf7-checkbox .wpcf7-list-item label {
   display: inline-block;
   padding-top: 1px;
   padding-left: 40px;
   position: relative;
}

#mailform .wpcf7-checkbox .wpcf7-list-item label input {
   width: 13px;
   height: 13px;
   cursor: pointer;
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0;
   z-index: 1;
}

#mailform .wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label:before {
   content: '';
   width: 13px;
   height: 13px;
   background-color: transparent;
   border: 1px solid #333;
   box-sizing: border-box;
   position: absolute;
   top: 0;
   left: 0;
}

#mailform .wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label:after {
   content: '';
   display: none;
   position: absolute;
   left: 5px;
   top: 0px;
   width: 3px;
   height: 8px;
   border: solid #333;
   border-width: 0 1px 1px 0;
   -webkit-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   transform: rotate(45deg);
}

#mailform .wpcf7-checkbox .wpcf7-list-item label input:checked~.wpcf7-list-item-label:after {
   display: block;
}

#mailform .result_txt {
   color: #333;
   display: none;
}

#mailform .wpcf7-not-valid-tip {
   font-weight: 400;
   font-size: 12px;
   line-height: 1;
   padding-top: 5px;
   position: relative;
}

#mailform .select .wpcf7-not-valid-tip {
   position: absolute;
   top: 100%;
}

#mailform h2 {
   font-weight: 700;
   padding-bottom: 20px;
   position: relative;
	margin-top: 70px;
}

#mailform h2:before {
   content: '';
   width: 100px;
   height: 0;
   border-bottom: 2px solid #0B579A;
   position: absolute;
   bottom: 0;
   left: 0;
}

#mailform .desc {
   text-align: center;
   padding-bottom: 60px;
}

#mailform .desc p+p {
   padding-top: 30px;
}

#mailform .form-input {
   padding: 30px 0 0;
}

#mailform .form-input dl {
   background-color: #F3F7F8;
   box-sizing: border-box;
   line-height: 30px;
   padding: 20px 30px;
}

#mailform .form-input dl+dl {
   margin-top: 10px;
}

#mailform .form-input dl dt {
   font-weight: 500;
   font-size: 16px;
   line-height: 24px;
   position: relative;
}

#mailform .form-input dl dt>* {
   display: flex;
   align-items: center;
   gap: 6px;
}

#mailform .form-input dl dt small {
   display: block;
   width: 46px;
   background-color: #E1344C;
   border-radius: 50px;
   font-weight: 300;
   font-size: 12px;
   letter-spacing: 0;
   line-height: 20px;
   color: #fff;
   text-align: center;
   padding: 2px 0;
}

#mailform .form-input dl dt small.non {
   background-color: #fff;
   color: #333;
}

#mailform .form-input dl dd {
   padding-top: 10px;
}

#mailform .form-input dl dd ::-webkit-input-placeholder {
   color: #CDD6DD;
}

#mailform .form-input dl dd ::-moz-placeholder {
   color: #CDD6DD;
}

#mailform .form-input dl dd :-ms-input-placeholder {
   color: #CDD6DD;
}

#mailform .form-input dl dd :-moz-placeholder {
   color: #CDD6DD;
}

#mailform .privacy {
   width: 100%;
   height: 300px;
   background-color: #fff;
   color: #333;
   line-height: 30px;
   overflow: hidden scroll;
   border: 1px solid #707070;
   box-sizing: border-box;
   padding: 15px 40px;
   margin: 10px auto 0;
}

#mailform .privacy p {
   padding-bottom: 25px;
}

#mailform .privacy p:last-child {
   padding-bottom: 0;
}

#mailform .form-check {
   display: flex;
   justify-content: center;
   font-weight: 500;
   font-size: 16px;
   padding: 30px 0 0;
}

#mailform .form-check .wpcf7-form-control-wrap {
   margin-right: 5px;
}

#mailform .form-check .wpcf7-checkbox {
   display: inline-block;
}

#mailform .form-check .wpcf7-checkbox .wpcf7-list-item label {
   width: 13px;
   height: 13px;
   overflow: hidden;
   color: transparent;
   padding-left: 0;
}

#mailform .form-check .wpcf7-not-valid-tip {
   width: 200px;
   color: #dc3232;
   position: absolute;
   top: 100%;
   left: 0;
}

#mailform .form-check a {
   margin-left: 10px;
}

#mailform .form-btn {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: center;
   gap: 10px;
   padding-top: 60px;
}

#mailform .form-btn>* {
   display: block;
   width: 280px;
   background-color: #0B579A;
   text-align: center;
   font-weight: 500;
   font-size: 16px;
   line-height: 24px;
   letter-spacing: 0em;
   color: #fff;
   cursor: pointer;
   transition: all 0.3s;
   box-sizing: border-box;
   border-radius: 100px;
   margin: 5px;
   padding: 18px 30px;
   position: relative;
   z-index: 1;
   overflow: hidden;
}

#mailform .form-btn>*:before {
   content: '';
   width: 100%;
   height: 100%;
   background-color: #333;
   border-radius: 100px;
   position: absolute;
   top: 0;
   left: 0;
   -webkit-transform: scaleX(0);
   transform: scaleX(0);
   -webkit-transform-origin: 0 50%;
   transform-origin: 0 50%;
   -webkit-transition-property: transform;
   transition-property: transform;
   -webkit-transition-duration: 0.3s;
   transition-duration: 0.3s;
   -webkit-transition-timing-function: ease-out;
   transition-timing-function: ease-out;
   z-index: -1;
}

#mailform .form-btn>*:after {
   content: '\f105';
   -moz-osx-font-smoothing: grayscale;
   -webkit-font-smoothing: antialiased;
   display: var(--fa-display, inline-block);
   font-style: normal;
   font-variant: normal;
   line-height: 1;
   text-rendering: auto;
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
   position: absolute;
   top: 50%;
   right: 15px;
   transform: translateY(-50%);
}

#mailform .form-btn>*:hover {
   opacity: 1;
}

#mailform .form-btn>*:hover:before {
   -webkit-transform: scaleX(1);
   transform: scaleX(1);
}

#mailform .form-btn>* input {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0;
   cursor: pointer;
}

#mailform .form-btn>* .wpcf7-spinner {
   display: none;
}

#mailform .form-btn .confirm {
   display: block;
}

#mailform .form-btn .back,
#mailform .form-btn .send {
   display: none;
}

#mailform .form-btn .back {
   opacity: 1;
}

#mailform .form-btn .back:before {
   -webkit-transform: scaleX(1);
   transform: scaleX(1);
}

#mailform.confirm-mail .result_txt {
   display: block;
   word-break: break-all;
   white-space: pre-wrap;
}

#mailform.confirm-mail .wpcf7-form-control-wrap {
   display: none !important;
}

#mailform.confirm-mail .form-input dl dt small {
   display: none;
}

#mailform.confirm-mail .form-input .select {
   background-color: transparent;
   border: 0;
}

#mailform.confirm-mail .form-input .select:after {
   display: none;
}

#mailform.confirm-mail .form-btn .confirm {
   display: none;
}

#mailform.confirm-mail .form-btn .back,
#mailform.confirm-mail .form-btn .send {
   display: block;
}

#mailform.confirm-mail .form-check .wpcf7-form-control-wrap {
   display: block;
}

#mailform.confirm-mail .form-check .wpcf7-checkbox .wpcf7-list-item label {
   pointer-events: none;
}

.wpcf7-response-output {
   width: 100%;
   box-sizing: border-box;
   border-color: #dc3232 !important;
   color: #dc3232 !important;
   margin: 0 !important;
}

@media screen and (max-width: 767px) {
   #mailform {
      padding: 60px 0;
   }

   #mailform .desc {
      padding-bottom: 40px;
   }

   #mailform .desc p+p {
      padding-top: 15px;
   }

   #mailform .form-input dl {
      padding: 20px 20px;
   }

   #mailform .form-input dl dt {
      font-size: 14px;
   }

   #mailform .privacy {
      width: 100%;
      padding: 15px 20px;
   }

   #mailform .privacy p {
      padding-bottom: 20px;
   }

   #mailform .privacy p:last-child {
      padding-bottom: 0;
   }

   #mailform .form-input .form-check {
      padding: 18px 15px;
   }

   #mailform .form-btn {
      padding-top: 45px;
   }

   #mailform .form-btn>* {
      width: 100%;
      font-size: 16px;
      padding: 9px 0;
   }
}

/* -- -- */
#txt_thanks {
   text-align: center;
   padding: 90px 0 120px;
}

#txt_thanks h2 {
   font-weight: 700;
   padding-bottom: 40px;
}

#txt_thanks p {
   padding-bottom: 30px;
}

#txt_thanks .button {
   padding-top: 20px;
   padding-bottom: 0;
}

@media screen and (max-width: 767px) {
   #txt_thanks {
      text-align: left;
      padding: 60px 0;
   }

   #txt_thanks h2 {
      text-align: center;
      padding-bottom: 30px;
   }

   #txt_thanks p {
      padding-bottom: 20px;
   }

   #txt_thanks p:last-child {
      text-align: center;
      padding-top: 10px;
      padding-bottom: 0px;
   }
}

/* -- -- */
/*
 * Post Type
*=============================================*/
/* --- --- */
.wp-pagenavi {
   display: flex;
   align-items: center;
   justify-content: flex-start;
   padding-top: 90px;
}

.wp-pagenavi>* {
   display: block;
   width: 28px;
   background-color: #333;
   border: 1px solid #333;
   font-weight: 400;
   font-size: 15px;
   line-height: 24px;
   color: #fff;
   text-align: center;
   padding: 2px 0;
   margin: 0 5px;
}

.wp-pagenavi>*:hover {
   background-color: #fff;
   color: #333;
   opacity: 1;
}

.wp-pagenavi .current {
   background-color: #fff;
   color: #333;
   pointer-events: none;
}

@media screen and (max-width: 767px) {
   .wp-pagenavi {
      padding-top: 50px;
   }
}

/* -- -- */
.cpt-template {
   padding: 120px 20px;
}

.cpt-template .wrap {
   display: flex;
   flex-wrap: wrap;
   gap: 50px 6%;
   max-width: 1000px;
}

.cpt-template .box {
   width: 72%;
}

.cpt-template .sidebar {
   width: 22%;
}

.cpt-template .sidebar h2 {
   font-weight: 400;
   font-size: 18px;
   border-bottom: 1px solid #fff;
   padding-bottom: 10px;
}

.cpt-template .sidebar ul {
   padding-top: 5px;
}

.cpt-template .sidebar ul li {
   padding-top: 10px;
}

.cpt-template .sidebar ul li a {
   display: inline-block;
   font-size: 14px;
   letter-spacing: 0;
   line-height: 20px;
   padding-left: 20px;
   position: relative;
}

.cpt-template .sidebar ul li a:before {
   content: '>';
   position: absolute;
   top: 0;
   left: 0;
}

.cpt-template .sidebar ul li a:hover {
   text-decoration: underline;
}

@media screen and (max-width: 767px) {
   .cpt-template {
      padding: 50px 0;
   }

   .cpt-template .box {
      width: 100%;
   }

   .cpt-template .sidebar {
      width: 100%;
   }
}

/* -- -- */
.news__list .item {
   display: table;
   width: 100%;
   box-sizing: border-box;
}

.news__list .item+.item {
   padding-top: 40px;
}

.news__list .item>* {
   display: table-cell;
   vertical-align: top;
}

.news__list .item .photo {
   width: 170px;
}

.news__list .item .photo a {
   display: block;
   padding-top: 100%;
   position: relative;
}

.news__list .item .photo span {
   display: block;
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

.news__list .item .desc {
   padding-left: 20px;
}

.news__list .item .date {
   display: inline-block;
   vertical-align: middle;
   font-size: 13px;
   line-height: 20px;
   padding-right: 20px;
}

.news__list .item .cate {
   display: inline-block;
   vertical-align: middle;
}

.news__list .item .cate a {
   display: block;
   font-size: 12px;
   line-height: 17px;
   background-color: #D18F40;
   color: #fff;
   text-align: center;
   padding: 3px 30px;
}

.news__list .item .cate a:hover {
   background-color: #333;
   opacity: 1;
}

.news__list .item .ttl {
   font-size: 16px;
   line-height: 24px;
   padding-top: 10px;
}

.news__list .item .ttl a {
   max-height: 50px;
   overflow: hidden;
   display: block;
   -webkit-line-clamp: 1;
   display: box;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   text-overflow: ellipsis;
   white-space: normal;
   position: relative;
}

.news__list .item .txt {
   font-size: 13px;
   line-height: 20px;
   max-height: 50px;
   overflow: hidden;
   display: block;
   -webkit-line-clamp: 2;
   display: box;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   text-overflow: ellipsis;
   white-space: normal;
   position: relative;
   margin-top: 12px;
}

.news__list .item-btn {
   text-align: right;
   font-size: 16px;
   line-height: 24px;
   border-bottom: 1px dashed #fff;
   padding: 20px 0 13px;
}

.news__list .item-btn i {
   margin-left: 10px;
}

@media screen and (max-width: 767px) {
   .news__list .item {
      display: block;
      padding: 0 0 20px;
   }

   .news__list .item+.item {
      padding-top: 20px;
   }

   .news__list .item>* {
      display: inline-block;
   }

   .news__list .item .photo {
      display: block;
      width: 70%;
      margin: 0 auto;
   }

   .news__list .item .desc {
      padding: 20px 0 0;
   }

   .news__list .item .ttl a {
      -webkit-line-clamp: 2;
   }
}

/* -- -- */
/*
 * Post Detail
 *=============================================*/
#cpt-detail .box {
   padding: 0;
}

#cpt-detail .featured_img {
   text-align: center;
   padding-bottom: 12px;
}

#cpt-detail .date {
   display: inline-block;
   vertical-align: middle;
   font-size: 13px;
   line-height: 20px;
   padding-right: 10px;
}

#cpt-detail .cate {
   display: inline-block;
}

#cpt-detail .cate a {
   display: inline-block;
   vertical-align: middle;
   background-color: #D18F40;
   color: #fff;
   font-size: 12px;
   line-height: 20px;
   border-radius: 0;
   text-align: center;
   margin: 0 5px 5px 0;
   padding: 3px 30px;
}

#cpt-detail .cate a:hover {
   background-color: #333;
   opacity: 1;
}

#cpt-detail .the_title {
   font-weight: 500;
   font-size: 18px;
   line-height: 26px;
   border-bottom: 1px dashed #fff;
   padding-top: 10px;
   padding-bottom: 15px;
   position: relative;
}

#cpt-detail .the_content {
   padding-top: 15px;
}

#cpt-detail .the_content p img {
   display: inline-block;
   vertical-align: top;
   margin-right: 10px;
}

#cpt-detail .the_content p img.aligncenter {
   display: block;
   margin: 0 auto;
}

#cpt-detail .the_content p img.alignright {
   display: block;
   margin-left: auto;
}

#cpt-detail .the_content p img:last-child {
   margin-right: 0;
}

#cpt-detail .post-btn {
   width: 80px;
   font-weight: 400;
   font-size: 15px;
   line-height: 30px;
   text-align: center;
   box-sizing: content-box;
   margin: 60px 0 0;
   padding: 0 40px;
   position: relative;
}

#cpt-detail .post-btn a {
   display: block;
   background-color: #333;
   color: #fff;
   line-height: 30px;
}

#cpt-detail .post-btn .prev,
#cpt-detail .post-btn .next {
   width: 30px;
}

#cpt-detail .post-btn .prev {
   position: absolute;
   top: 0;
   left: 0;
}

#cpt-detail .post-btn .prev a {
   display: block;
   padding: 0;
}

#cpt-detail .post-btn .next {
   position: absolute;
   top: 0;
   right: 0;
}

#cpt-detail .post-btn .next a {
   display: block;
   padding: 0;
}

#cpt-detail .post-btn a:hover {
   background-color: #05527a;
   opacity: 1;
}

@media screen and (max-width: 991px) {
   #cpt-detail .the_content p img {
      display: block;
      margin: 0 auto 15px;
   }

   #cpt-detail .the_content p img:last-child {
      margin: 0 auto;
   }
}

@media screen and (max-width: 767px) {
   #cpt-detail .box-inner {
      padding: 0;
   }

   #cpt-detail .the_content p img {
      display: block;
      margin: 0 auto 15px;
   }

   #cpt-detail .the_content p img.alignright {
      margin: 0 auto 15px;
   }

   #cpt-detail .the_content p img:last-child {
      margin: 0 auto !important;
   }

   #cpt-detail .the_content {
      font-size: 14px;
   }

   #cpt-detail .post-btn {
      margin: 50px auto 0;
   }
}

#cpt-detail .gallery-photo {
   padding-bottom: 20px;
}

#cpt-detail .gallery-photo .gallery-slider .swiper-slide p {
   width: 100%;
   padding-top: 70%;
   background-color: #fff;
   position: relative;
}

#cpt-detail .gallery-photo .gallery-slider .swiper-slide p span {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

#cpt-detail .gallery-photo .gallery-slider .swiper-slide p span.img_short {
   background-size: cover !important;
}

#cpt-detail .gallery-photo .gallery-slider .swiper-slide p span.img_long {
   background-size: auto 100% !important;
}

#cpt-detail .gallery-photo .gallery-slider .swiper-slide p img {
   display: block;
   width: auto;
   height: auto;
   max-height: 100%;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}

#cpt-detail .gallery-photo .gallery-thumbs {
   margin: 10px 0 0;
   padding: 0 20px;
   position: relative;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-slide {
   width: 25%;
   box-sizing: border-box;
   padding: 0 5px;
   cursor: pointer;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-slide p {
   width: 100%;
   padding-top: 75.2%;
   position: relative;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-slide p:after {
   content: '';
   width: 100%;
   height: 100%;
   background-color: rgba(51, 51, 51, 0.7);
   position: absolute;
   top: 0;
   left: 0;
   transition: all 0.3s;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-slide.swiper-slide-thumb-active p:after {
   opacity: 0;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-slide p span {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-button {
   width: 15px;
   height: 101%;
   border: 0;
   overflow: hidden;
   text-indent: -999px;
   cursor: pointer;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   z-index: 1;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-button:before {
   content: '';
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-button.swiper-prev {
   left: 0;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-button.swiper-prev:before {
   background: url("../img/common/sl-prev.svg") no-repeat center left/15px 40px;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-button.swiper-next {
   right: 0;
}

#cpt-detail .gallery-photo .gallery-thumbs .swiper-button.swiper-next:before {
   background: url("../img/common/sl-next.svg") no-repeat center right/15px 40px;
}

@media screen and (max-width: 767px) {
   #cpt-detail .gallery-photo .gallery-thumbs {
      margin: 10px 0 0;
   }

   #cpt-detail .gallery-photo .gallery-thumbs .swiper-slide {
      width: 50%;
   }
}

/* ---ここから自作 --- */

.describeA{
	margin-bottom: 30px;
	margin-top: 30px;
}


.sp_ft{
	display: none;
	}

@media screen and (max-width: 767px) {

	.ft_flex{
		display: flex;
		background-color: #0B579A;
		position: fixed;
		bottom: 0;
		height: 70px;
		z-index: 1;
		width: 100%;
		align-items: center;
		padding: 0 10px;
	}
	
	.sp_ft{
		display: block;
	}
	
	.con1{
		width: 30%;
		text-align: center;
		
	}
	.con2{
		width: 50%;
		text-align: center;
	}
	.con3{
		width: 20%;
		text-align: center;
	}
	
}


.header__bnr1{
	margin-right: 30px;
}
.header__bnr2{
	margin-right: 30px;
}
	


@media screen and (max-width: 767px){

.header__bnr1{
	display: none;
}
.header__bnr2{
	display: none;
}
	
}

.daihyo-name{
	    width: 40%;
    padding-top: 20px;
    padding-right: 5px;
}

.po{
	width: 30%;
	margin-bottom: 5px;
}
@media screen and (max-width: 767px){
	.po{
	width: 55%;
	margin-bottom: 5px;
}
}

.daihyo-name-img{
width: 127%;
    margin-left: 15px;
    padding-bottom: 20px;
}
	
}
@media screen and (max-width: 767px){
	.daihyo-name-img{
	    width: 132px;
    /* text-align: right; */
    margin: 0 0 0 65%;
}
}

.daihyotorishimari{
}

.flextake{
	display: flex;
	align-items: baseline;
}

.daihyo{
	margin: 0 auto;
	text-align: center;
}

/*代表関連のcssごちゃごちゃなんでスマホは下記を優先させてます*/
@media screen and (max-width: 767px){
	.daihyo-name {
    width: 55%!important;
    padding-top: 20px!important;
    padding-right: 5px!important;
}
	.daihyotorishimari {
    width: 31% !important;
}
	.dis_sp .daihyo-name-img{
	
}
	.daihyo-name-img {
    width: 35%;
    margin-left: 15px;
    padding-bottom: 20px;
    padding-left: 220px;
}
}
/* -- PS SP切り替え -- */
.dis_pc {display: block !important;}
.dis_sp {display: none !important;}

@media only screen and (max-width: 750px){
     .dis_pc {display: none !important; }
     .dis_sp {display: block !important; }
}
