@charset "UTF-8";
/* =============================================
* HOME
* ============================================= */
#mv {
  padding: 56px 0 50px;
}

#mv .slider {
  width: 754px;
  margin: 0 auto;
}

#mv .slider .slick-list {
  margin: 0 -18px;
  overflow: visible;
}

#mv .slider figure {
  margin: 0 18px;
}

#mv .slider figure img {
  border-radius: 64px;
}

#mv .slider .slick-dots {
  padding-top: 30px;
}

@media screen and (max-width: 767px) {
  #mv {
    padding: 35px 0 40px;
  }
  #mv .slider {
    width: 82%;
  }
  #mv .slider .slick-list {
    margin: 0 -8px;
    overflow: visible;
  }
  #mv .slider figure {
    margin: 0 8px;
  }
  #mv .slider figure img {
    border-radius: 32px;
  }
  #mv .slider .slick-dots {
    display: none !important;
  }
}

.kv_top {
  max-width: 1280px;
  margin: 20px auto 0;
  border-radius: 64px;
  aspect-ratio: 16 / 6;
  overflow: hidden;
}

.kv_top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .kv_top {
    border-radius: 0;
    aspect-ratio: 3 / 2;
  }
}

/* -- -- */
#top__about {
  margin-top: -30px;
  padding-bottom: 120px;
}

#top__about .wrap {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

#top__about h2 .span {
  display: inline-block;
  background-color: #fff;
  border-radius: 50px;
  padding: 10px 40px;
}

#top__about h2 .span:last-child {
  margin: 12px 0 0 40px;
}

#top__about .txt {
  flex: 1;
  font-size: 20px;
  width: 400px;
  padding-bottom: 10px;
}

@media screen and (max-width: 1200px) {
  #top__about h2 .span {
    padding: 10px 30px;
  }
  #top__about h2 .span:last-child {
    margin-left: 30px;
  }
  #top__about .txt {
    font-size: 16px;
  }
}

@media screen and (max-width: 1023px) {
  #top__about .wrap {
    flex-direction: column;
    text-align: center;
    gap: 0;
    align-items: center;
  }
  #top__about h2 .span:last-child {
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  #top__about {
    padding-bottom: 90px;
  }
  #top__about h2 {
    font-size: 18px;
    line-height: 21px;
  }
  #top__about h2 .span {
    padding: 10px 20px;
  }
  #top__about h2 .span:last-child {
    margin-top: 8px;
  }
  #top__about .txt {
    width: 100%;
    padding-top: 20px;
  }
}

/* -- -- */
#top__business {
  padding-bottom: 120px;
}

#top__business h2 {
  padding-bottom: 60px;
}

#top__business .box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 300px;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.14em;
  margin-bottom: 60px;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

#top__business .box figure {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#top__business .box h3,
#top__business .box .txt,
#top__business .box .button {
  position: relative;
  z-index: 1;
}

#top__business .box h3 {
  max-width: 545px;
  margin: 0 auto;
  letter-spacing: 0.14em;
}

#top__business .box .txt {
  font-size: 18px;
  max-width: 635px;
  margin: 0 auto;
}

#top__business .box:last-child {
  margin-bottom: 0;
}

.page-id-16 #top__business {
  padding-top: 60px;
}

@media screen and (max-width: 767px) {
  #top__business {
    padding-bottom: 90px;
  }
  #top__business h2 {
    padding-bottom: 30px;
  }
  #top__business .box {
    height: auto;
    margin-bottom: 20px;
    padding: 40px 30px;
    font-size: 12px;
    line-height: 22px;
  }
  #top__business .box .bdra-64 {
    border-radius: 64px;
  }
  #top__business .box h3 {
    letter-spacing: 0;
  }
  body:not(.home) #top__business {
    padding-bottom: 0;
  }
  .page-id-16 #top__business {
    padding-top: 40px;
  }
  #top__business .box .txt {
    font-size: 14px;
  }
}

/* -- -- */
#top__news {
  padding-bottom: 120px;
}

#top__news .wrap {
  max-width: 100%;
  padding: 0;
}

#top__news .block {
  margin: 54px 0 0 auto;
  position: relative;
}

#top__news .slider .slide-item {
  width: 347px;
  letter-spacing: 0.08em;
  line-height: 23px;
  margin-right: 30px;
}

#top__news .slider .slide-item figure a {
  display: block;
  padding-top: 74.9%;
  position: relative;
}

#top__news .slider .slide-item figure a img {
  position: absolute;
  top: 0;
  left: 0;
}

#top__news .slider .slide-item p {
  padding-top: 14px;
}

#top__news .slider .slide-item .cat,
#top__news .slider .slide-item time {
  display: inline-block;
  vertical-align: middle;
}

#top__news .slider .slide-item .cat {
  min-width: 60px;
  font-size: 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: 20px;
  padding: 0 5px;
  text-align: center;
}

#top__news .slider .slide-item .cat:hover {
  background-color: #ccc;
  opacity: 1;
}

#top__news .slider .slide-item time {
  font-size: 14px;
}

#top__news .slider .slide-item .ttl a {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  overflow: hidden;
}

#top__news .slider-nav {
  display: flex;
  justify-content: space-between;
  width: 1040px;
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translateX(-50%);
}

#top__news .button {
  padding-top: 60px;
}

@media screen and (max-width: 1200px) {
  #top__news .slider-nav {
    width: 1000px;
  }
}

@media screen and (max-width: 1024px) {
  #top__news .slider-nav {
    width: 760px;
  }
}

@media screen and (max-width: 767px) {
  #top__news {
    padding-bottom: 90px;
  }
  #top__news .slider .slide-item {
    width: 85vw;
    margin-right: 20px;
  }
  #top__news .slider .slide-item time {
    font-size: 12px;
  }
  #top__news .slider .slide-item .ttl {
    line-height: 26px;
  }
  #top__news .slider-nav {
    width: calc(100% - 20px);
  }
  #top__news .button a {
    width: 250px;
  }
}

/* -- -- */
#top__company .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

#top__company .col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 480px;
  text-align: center;
  position: relative;
}

#top__company .col figure {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#top__company .col h3,
#top__company .col .button {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  #top__company .col {
    height: 340px;
  }
}

@media screen and (max-width: 767px) {
  #top__company {
    padding-bottom: 0;
  }
  #top__company .wrap {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }
  #top__company .col {
    height: 76.34vw;
  }
  #top__company .bdra-64 {
    border-radius: 0;
  }
  #top__company h3 {
    font-size: 24px;
  }
  #top__company h3 .en {
    font-size: 14px;
  }
}

/* -- -- */
#cta {
  padding-bottom: 20px;
}

#cta .wrap {
  background-color: #fff;
  padding: 90px 60px;
}

#cta .wrap:before {
  content: '';
  border: 2px dashed #A54700;
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  border-radius: 52px;
}

#cta .txt {
  font-size: 14px;
  line-height: 22px;
  padding-top: 30px;
}

#cta .box {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-top: 30px;
}

#cta .box .hr {
  border-left: 1px solid rgba(165, 71, 0, 0.5);
}

#cta .box .button {
  padding-top: 30px;
}

#cta .box .button a {
  gap: 5px;
  width: 230px;
  background-color: #A54700;
}

#cta .box .button a:before {
  content: '';
  width: 12px;
  height: 10px;
  background: url("../img/common/icon-email.png") no-repeat center top/cover;
}

#cta .box .button a:hover {
  background-color: #333;
}

@media screen and (max-width: 1200px) {
  #cta .box {
    gap: 20px;
  }
  #cta .col {
    width: calc(100% - 395px);
  }
  #cta .col + .col {
    width: 375px;
  }
}

@media screen and (max-width: 1023px) {
  #cta .box {
    flex-direction: column;
    gap: 30px;
    padding-top: 30px;
  }
  #cta .box .hr {
    border-top: 1px solid rgba(165, 71, 0, 0.5);
    border-left: 0;
  }
}

@media screen and (max-width: 767px) {
  #cta {
    padding: 40px 0;
  }
  #cta .wrap {
    padding: 80px 60px;
  }
  #cta .wrap:before {
    top: 40px;
    bottom: 40px;
    border-radius: 22px;
  }
  #cta .txt {
    font-size: 12px;
    text-align: justify;
    padding-top: 30px;
  }
  #cta .box h3 {
    font-size: 18px;
  }
  #cta .box .button {
    padding-top: 10px;
  }
  #cta .box .button a {
    width: 100%;
  }
}

/*=============================================*
* 事業紹介
*=============================================*/
#business__key {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 230px;
  margin-top: 60px;
  position: relative;
}

#business__key figure {
  width: 100%;
  height: 410px;
  position: absolute;
  top: 0;
  left: 0;
}

#business__key figure img {
  border-radius: 0 0 64px 64px;
}

#business__key h1 {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  #business__key {
    margin-top: 0;
    min-height: 154px;
  }
  #business__key figure {
    height: 183px;
  }
  #business__key figure img {
    border-radius: 0 0 32px 32px;
  }
  .page-id-49 #business__key h1 {
    letter-spacing: 0;
  }
}

/* -- -- */
#btoc__contents .wrap {
  background-color: #fff;
  padding: 60px 30px;
}

#btoc__contents .logo {
  width: 205px;
  margin: 0 auto;
}

#btoc__contents h3 {
  font-weight: 700;
}

#btoc__contents h3 .lg {
  font-size: 2.0em;
  color: #E50012;
}

#btoc__contents .box-1 {
  padding-top: 30px;
}

#btoc__contents .box-1 figure {
  max-width: 558px;
  margin: 0 auto;
}

#btoc__contents .box-1 .button {
  padding-top: 30px;
}

#btoc__contents .box-2 {
  padding-top: 60px;
}

#btoc__contents .box-2 .photo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 684px;
  margin: 0 auto;
  padding-top: 30px;
}

#btoc__contents .box-2 .photo .col {
  position: relative;
}

#btoc__contents .box-2 .photo h4 {
  color: #fff;
  line-height: 38px;
  text-align: center;
  padding: 0 20px;
}

#btoc__contents .box-2 .photo h4.orange {
  background-color: #FB9E75;
}

#btoc__contents .box-2 .photo h4.green {
  background-color: #AACD33;
}

#btoc__contents .box-2 .photo figure {
  padding-top: 10px;
}

#btoc__contents .box-2 .photo figure figcaption {
  width: 103px;
  position: absolute;
  top: 0;
  right: -52px;
}

#btoc__contents .box-3 {
  padding-top: 60px;
}

#btoc__contents .box-3 h4 {
  background-color: #FFC369;
  color: #fff;
  line-height: 38px;
  margin-top: 30px;
}

#btoc__contents .box-3 .list-sns {
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding-top: 15px;
}

#btoc__contents .box-3 .list-sns .button {
  padding-top: 10px;
}

#btoc__contents .box-3 .list-sns .button a {
  width: 220px;
  height: 52px;
  font-size: 12px;
  line-height: 16px;
  background-color: #000;
  color: #fff;
  position: relative;
}

#btoc__contents .box-3 .list-sns .button a:after {
  content: '';
  width: 12px;
  height: 13px;
  background: url("../img/common/icon-blank.png") no-repeat center/100% auto;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

#btoc__contents .box-3 .list-sns .button a:hover {
  opacity: 0.7;
}

#btoc__contents .box-3 .list-sns .button a.insta {
  background: linear-gradient(25deg, #FFD107, #FF6603, #E600CB);
}

#btoc__contents .box-3 .list-sns .button a.line {
  background-color: #06C755;
}

#btoc__contents .box-3 .list-sns .col {
  width: 235px;
}

#btoc__contents .box-3 .list-sns .col figure {
  max-width: 151px;
  margin: 0 auto;
}

#btoc__contents .box-3 .list-sns .col:first-child {
  width: 310px;
}

#btoc__contents .box-3 .list-sns .col:first-child figure {
  max-width: 100%;
}

#btoc__contents .box-3 .list-sns .col:first-child .button a {
  width: 250px;
}

@media screen and (max-width: 767px) {
  #btoc__contents {
    padding-right: 15px;
    padding-left: 15px;
  }
  #btoc__contents .wrap {
    padding: 40px 20px;
  }
  #btoc__contents .logo {
    width: 160px;
  }
  #btoc__contents h3 {
    text-align: justify;
    line-height: 30px;
  }
  #btoc__contents .box-1 {
    padding-top: 40px;
  }
  #btoc__contents .box-1 figure {
    padding-top: 20px;
  }
  #btoc__contents .box-1 .button {
    padding-top: 40px;
  }
  #btoc__contents .box-1 .button a {
    width: 100%;
  }
  #btoc__contents .box-2 .photo {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 20px;
  }
  #btoc__contents .box-2 .photo .col {
    padding-top: 20px;
  }
  #btoc__contents .box-2 .photo figure figcaption {
    width: 78px;
    right: -10px;
  }
  #btoc__contents .box-3 .list-sns {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }
}

/* -- -- */
#btob__contents .wrap {
  background-color: #fff;
  padding: 60px 30px;
}

#btob__contents .box-2 {
  padding-top: 60px;
}

#btob__contents .logo {
  width: 220px;
  margin: 0 auto;
  text-align: center;
}

#btob__contents figure {
  max-width: 540px;
  margin: 30px auto 0;
  position: relative;
}

#btob__contents figure figcaption {
  width: 80px;
  position: absolute;
  top: 15px;
  left: 12px;
}

#btob__contents h3 {
  font-weight: 700;
}

#btob__contents .txt {
  font-size: 16px;
  line-height: 30px;
  padding-top: 30px;
}

#btob__contents .txt p + p {
  padding-top: 30px;
}

#btob__contents .txt .h-26 {
  font-size: 26px;
}

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

#btob__contents .button a {
  width: 296px;
  background-color: #0057AA;
}

#btob__contents .button a:hover {
  background-color: #333;
}

@media screen and (max-width: 767px) {
  #btob__contents {
    padding-right: 15px;
    padding-left: 15px;
  }
  #btob__contents .wrap {
    padding: 40px 20px;
  }
  #btob__contents .logo {
    width: 170px;
  }
  #btob__contents h3 {
    font-size: 18px;
  }
  #btob__contents figure figcaption {
    top: 5px;
    right: 5px;
    left: auto;
  }
  #btob__contents .button a {
    width: 100%;
  }
}

/* -- -- */
#php__contents .wrap {
  background-color: #fff;
  padding: 60px 30px;
}

#php__contents .logo {
  width: 365px;
  margin: 0 auto;
}

#php__contents .box-1 {
  display: grid;
  grid-template-columns: 222px 1fr;
  gap: 30px;
  padding-top: 30px;
}

#php__contents .box-1 h3 {
  font-weight: 700;
}

#php__contents .box-1 .txt {
  padding-top: 10px;
}

#php__contents .box-2 {
  padding-top: 60px;
}

#php__contents .box-2 h3 {
  color: #2BB3D9;
}

#php__contents .box-2 ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 30px;
}

#php__contents .box-2 ul li {
  width: 190px;
}

#php__contents .button {
  padding-top: 20px;
}

#php__contents .button a {
  background-color: #2BB3D9;
}

#php__contents .button a:hover {
  background-color: #333;
}

@media screen and (max-width: 767px) {
  #php__contents {
    padding-right: 15px;
    padding-left: 15px;
  }
  #php__contents .wrap {
    padding: 40px 20px;
  }
  #php__contents .logo {
    width: 260px;
  }
  #php__contents h3 {
    font-size: 18px;
  }
  #php__contents .box-1 {
    grid-template-columns: 1fr;
  }
  #php__contents .box-1 figure {
    width: 222px;
    margin: 0 auto;
  }
  #php__contents .box-2 ul {
    justify-content: flex-start;
  }
  #php__contents .box-2 ul li {
    width: calc(50% - 5px);
  }
  #php__contents .button a {
    width: 100%;
  }
}

/*=============================================*
* 会社概要
*=============================================*/
/* -- -- */
#history h3 {
  width: max-content;
  text-align: left;
  letter-spacing: 0.05em;
  margin: 60px auto 0;
  padding-top: 45px;
  position: relative;
}

#history h3 .img {
  width: 145px;
  position: absolute;
  top: 0;
  left: 200px;
}

#history h3 .bg {
  display: inline-block;
  background-color: #fff;
  border-radius: 50px;
  padding: 10px 40px;
  box-shadow: 0 0 20px rgba(220, 219, 164, 0.25);
  position: relative;
  z-index: 1;
}

#history h3 .bg:last-child {
  margin: 10px 0 0 15px;
}

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

#history .box {
  font-size: 16px;
  line-height: 22px;
}

#history .box dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 0;
}

#history .box dl dt {
  background-color: #A54700;
  color: #fff;
  text-align: center;
  border-radius: 20px;
}

#history .box dl dd {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: flex-start;
  gap: 20px;
}

#history .box dl dd:before {
  content: '⋯';
}

@media screen and (max-width: 767px) {
  #history h3 {
    font-size: 20px;
    line-height: 52px;
    margin-top: 30px;
    padding-top: 35px;
  }
  #history h3 .img {
    left: 168px;
  }
  #history .txt {
    font-size: 16px;
    line-height: 30px;
    text-align: justify;
    padding-top: 30px;
  }
  #history .box {
    padding: 40px 30px;
  }
  #history .box dl {
    grid-template-columns: 60px 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  #history .box dl dt {
    padding: 1px 0;
  }
  #history .box dl dd {
    gap: 10px;
    font-size: 14px;
  }
}

/* -- -- */
#about .photo-1 {
  max-width: 538px;
  margin: 0 auto;
  padding-top: 60px;
}

#about .photo-2 {
  max-width: 482px;
  margin: 0 auto;
}

#about .photo-3 {
  max-width: 275px;
  margin: 0 auto;
  padding-top: 20px;
}

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

@media screen and (max-width: 767px) {
  #about {
    overflow: hidden;
  }
  #about figure {
    text-align: center;
  }
  #about .photo-1 {
    max-width: 538px;
    margin: 0 -15px;
    padding-top: 30px;
  }
  #about .photo-2 {
    margin: 0 -75px;
  }
  #about .txt {
    text-align: justify;
    font-size: 16px;
  }
}

/* -- -- */
#message .box {
  display: grid;
  grid-template-columns: 267px 1fr;
  gap: 30px;
  padding-top: 60px;
}

#message .box figcaption {
  font-size: 14px;
  line-height: 22px;
  padding-top: 10px;
}

#message .box .txt {
  font-size: 14px;
  line-height: 22px;
  padding-top: 30px;
}

#message .box .txt p + p {
  padding-top: 30px;
}

@media screen and (max-width: 767px) {
  #message .box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }
  #message .box figure {
    width: 257px;
    margin: 0 auto;
  }
  #message .box .txt {
    line-height: 24px;
  }
}

/*=============================================*
* お問い合わせ
*=============================================*/
#mailform {
  position: relative;
  padding: 60px 0 120px;
}

#mailform h2 {
  padding-bottom: 60px;
}

#mailform .desc {
  font-size: 14px;
  line-height: 22px;
  padding-bottom: 60px;
}

#mailform .desc h3 {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding-bottom: 20px;
}

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

#mailform .desc a {
  color: #009DFF;
  text-decoration: underline;
  margin-right: 20px;
}

#mailform .desc a:hover {
  text-decoration: none;
}

#mailform .form-wrap {
  font-size: 14px;
  line-height: 22px;
}

#mailform .form-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  padding: 0 0 30px;
}

#mailform .caption {
  font-size: 16px;
  padding: 16px 0;
}

#mailform .caption small {
  font-size: 13px;
}

#mailform .caption .required {
  display: inline-block;
  color: #E50012;
}

#mailform .input p + p {
  padding-top: 10px;
}

#mailform .input p > span {
  display: block;
}

#mailform .input p > span + span {
  margin-top: 5px;
}

#mailform .form-pp {
  padding-top: 30px;
}

#mailform .form-pp .box {
  height: 190px;
  color: #000;
  font-size: 13px;
  line-height: 22px;
  border: 1px solid #EBEBEB;
  padding: 30px 30px;
  box-sizing: border-box;
  overflow-y: auto;
  border-radius: 6px;
}

#mailform .form-pp .box h3 {
  font-weight: 700;
}

#mailform .form-pp .box .txt {
  padding-top: 30px;
}

#mailform .form-pp .box .txt p + p {
  padding-top: 40px;
}

#mailform .form-pp .checkbox {
  max-width: max-content;
  margin: 0 auto;
  padding-top: 20px;
}

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

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

#mailform .form-btn p {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 60px;
  background: #E50012;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 24px;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  border-radius: 50px;
}

#mailform .form-btn p:hover {
  background-color: #333;
  color: #fff;
}

#mailform .form-btn input,
#mailform .form-btn a {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

#mailform .form-btn .btn-prev {
  background: #D9D9D9;
  color: #333;
}

#mailform .wpcf7-spinner {
  display: none;
}

#mailform.confirm .caption {
  padding: 0;
}

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

@media screen and (max-width: 767px) {
  #mailform {
    padding: 40px 0;
  }
  #mailform .desc {
    text-align: justify;
  }
  #mailform .desc p + p {
    padding-top: 0;
  }
  #mailform .desc a {
    display: block;
    margin-right: 0;
    padding-top: 20px;
  }
  #mailform .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #mailform .form-row .caption {
    padding: 0;
  }
  #mailform .form-pp .checkbox {
    margin: 0;
  }
  #mailform .form-btn {
    flex-direction: column;
  }
  #mailform .form-btn p {
    width: 100%;
  }
}

/* -- -- */
#thanks {
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  padding: 60px 0 115px;
}

#thanks h3 {
  font-weight: 700;
  font-size: 16px;
}

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

#thanks .button {
  text-align: center;
  padding-top: 60px;
}

@media screen and (max-width: 767px) {
  #thanks {
    padding: 40px 0 0;
  }
  #thanks .txt {
    text-align: justify;
  }
}

/*=============================================*
* Post type
*=============================================*/
.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  padding-top: 60px;
}

.wp-pagenavi .pages {
  display: none;
}

.wp-pagenavi span,
.wp-pagenavi a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #FFFAF1;
  color: #E50012;
  border-radius: 50%;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 16px;
  box-sizing: border-box;
}

.wp-pagenavi a:hover {
  color: #000;
  opacity: 1;
}

.wp-pagenavi .current {
  pointer-events: none;
  color: #000;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  background-color: #E50012;
  font-size: 0;
}

.wp-pagenavi .previouspostslink:after,
.wp-pagenavi .nextpostslink:after {
  content: '';
  -webkit-mask: url("../img/common/arrow-right.png") no-repeat center/100% auto;
  mask: url("../img/common/arrow-right.png") no-repeat center/100% auto;
  background: #fff;
  width: 9px;
  height: 8px;
}

.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .nextpostslink:hover {
  opacity: 0.2;
}

.wp-pagenavi .previouspostslink:after {
  transform: rotate(180deg);
}

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

/* -- -- */
.sidebar {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 20px;
}

.sidebar .box {
  padding-bottom: 30px;
}

.sidebar h3 {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.sidebar .list-cat li {
  padding-top: 10px;
}

.sidebar .list-cat a {
  display: block;
  background-color: #fff;
  padding: 15px 35px 15px 15px;
  position: relative;
  border-radius: 6px;
}

.sidebar .list-cat a:after {
  content: '';
  width: 10px;
  height: 10px;
  background: #000;
  -webkit-mask: url("../img/common/arrow-right.png") no-repeat center/100% auto;
  mask: url("../img/common/arrow-right.png") no-repeat center/100% auto;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.sidebar .list-cat a:hover,
.sidebar .list-cat a.current {
  background-color: #E50012;
  color: #fff;
  opacity: 1;
}

.sidebar .list-cat a:hover:after,
.sidebar .list-cat a.current:after {
  background: #fff;
}

.sidebar .archive-years .year-item {
  padding-top: 10px;
}

.sidebar .archive-years .year-item_btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 23px;
  border-radius: 6px;
  padding-left: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.sidebar .archive-years .year-item_btn i {
  display: block;
  width: 50px;
  height: 50px;
  position: relative;
}

.sidebar .archive-years .year-item_btn i:before,
.sidebar .archive-years .year-item_btn i:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
  border-radius: 4px;
}

.sidebar .archive-years .year-item_btn i:before {
  width: 10px;
  height: 0;
  border-top: 2px solid #000;
}

.sidebar .archive-years .year-item_btn i:after {
  width: 0;
  height: 10px;
  border-left: 2px solid #000;
}

.sidebar .archive-years .year-item.is-active .year-item_btn {
  background-color: #E50012;
  color: #fff;
}

.sidebar .archive-years .year-item.is-active .year-item_btn i:before,
.sidebar .archive-years .year-item.is-active .year-item_btn i:after {
  border-color: #fff;
}

.sidebar .archive-years .year-item.is-active .year-item_btn i:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.sidebar .archive-months {
  display: none;
}

.sidebar .archive-months li {
  padding-top: 10px;
}

.sidebar .archive-months a {
  display: block;
  background-color: #fff;
  padding: 5px 35px 5px 15px;
  position: relative;
  border-radius: 6px;
}

.sidebar .archive-months a:after {
  content: '';
  width: 10px;
  height: 10px;
  background: #000;
  -webkit-mask: url("../img/common/arrow-right.png") no-repeat center/100% auto;
  mask: url("../img/common/arrow-right.png") no-repeat center/100% auto;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.sidebar .archive-months a:hover,
.sidebar .archive-months a.current {
  background-color: #E50012;
  color: #fff;
  opacity: 1;
}

.sidebar .archive-months a:hover:after,
.sidebar .archive-months a.current:after {
  background: #fff;
}

/* -- -- */
.news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
  letter-spacing: 0.08em;
  line-height: 23px;
}

.news__list figure {
  border-radius: 32px;
}

.news__list figure a {
  display: block;
  padding-top: 74.9%;
  position: relative;
}

.news__list figure a img {
  position: absolute;
  top: 0;
  left: 0;
}

.news__list p {
  padding-top: 14px;
}

.news__list .cat,
.news__list time {
  display: inline-block;
  vertical-align: middle;
}

.news__list .cat {
  min-width: 60px;
  font-size: 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: 15px;
  padding: 0 5px;
  text-align: center;
}

.news__list .cat:hover {
  background-color: #ccc;
  opacity: 1;
}

.news__list time {
  font-size: 14px;
}

.news__list .ttl a {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  overflow: hidden;
}

@media screen and (max-width: 1023px) {
  .news__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .news__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* -- -- */
#cpt-news {
  padding: 60px 0 0;
}

#cpt-news .wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  padding: 60px 0 0;
}

#cpt-news .wrap_bg {
  width: auto;
}

#cpt-news .sidebar {
  grid-area: 1/1;
}

#cpt-news .wrap_bg {
  grid-area: 1/2;
}

@media screen and (max-width: 767px) {
  #cpt-news {
    padding: 40px 15px;
  }
  #cpt-news .wrap {
    display: block;
    padding-top: 30px;
  }
  #cpt-news .wrap_bg {
    background-color: transparent;
    padding: 0;
  }
  #cpt-news .news__list {
    background-color: #fff;
    border-radius: 32px;
    padding: 30px 30px;
  }
  #cpt-news .sidebar {
    padding-top: 40px;
  }
}

@media screen and (min-width: 1200px) {
  #cpt-news .wrap {
    max-width: 1140px;
  }
}

@media screen and (min-width: 1440px) {
  #cpt-news .wrap {
    max-width: 1240px;
  }
}

/* -- -- */
#cpt-detail {
  padding: 60px 0 0;
}

#cpt-detail h2 {
  padding-bottom: 60px;
}

#cpt-detail .box {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

#cpt-detail .box .col {
  flex: 1 0 calc(100% - 290px);
}

#cpt-detail .box figure {
  flex: 1 0 260px;
}

#cpt-detail .box figure img {
  border-radius: 32px;
}

#cpt-detail .cate,
#cpt-detail time {
  display: inline-flex;
  vertical-align: middle;
  line-height: 23px;
  letter-spacing: 0.08em;
}

#cpt-detail time {
  font-size: 14px;
  padding-right: 15px;
}

#cpt-detail .cate {
  flex-wrap: wrap;
  gap: 5px;
}

#cpt-detail .cate a {
  min-width: 60px;
  font-size: 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0 5px;
  text-align: center;
}

#cpt-detail hr {
  margin: 30px 0;
}

#cpt-detail .the_title {
  letter-spacing: 0.08em;
  padding-top: 20px;
}

#cpt-detail .the_content {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.08em;
  word-break: break-all;
}

#cpt-detail .the_content h2 {
  background-color: #E50012;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0.08em;
  margin: 50px 0 20px;
  padding: 10px 20px;
}

#cpt-detail .the_content h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #E50012;
  margin: 50px 0 20px;
  padding: 0 0 10px;
}

#cpt-detail .the_content h4 {
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.08em;
  border-left: 5px solid #E50012;
  margin: 50px 0 20px;
  padding: 0 0 0 15px;
}

#cpt-detail .the_content h2:first-child,
#cpt-detail .the_content h3:first-child,
#cpt-detail .the_content h4:first-child {
  margin-top: 0;
}

#cpt-detail .the_content h2 + h3,
#cpt-detail .the_content h2 + h4,
#cpt-detail .the_content h2 + h5,
#cpt-detail .the_content h3 + h4,
#cpt-detail .the_content h3 + h5,
#cpt-detail .the_content h4 + h5 {
  margin-top: 0;
}

#cpt-detail .the_content ul {
  list-style: disc;
  padding-left: 30px;
}

#cpt-detail .the_content ol {
  list-style: decimal;
  padding-left: 30px;
}

#cpt-detail .the_content a {
  text-decoration: underline;
}

#cpt-detail .the_content a:hover {
  text-decoration: none;
}

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

#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 .the_content a {
  text-decoration: underline;
  color: #009DFF;
}

#cpt-detail .the_content a:hover {
  text-decoration: none;
}

@media screen and (max-width: 1023px) {
  #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 {
    padding: 40px 0;
  }
  #cpt-detail h2 {
    padding-bottom: 30px;
  }
  #cpt-detail .box {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  #cpt-detail .box .col,
  #cpt-detail .box figure {
    flex: inherit;
  }
  #cpt-detail .box .col {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  #cpt-detail time {
    order: 2;
    padding-right: 0;
  }
  #cpt-detail .cate {
    order: 1;
    padding-right: 15px;
  }
  #cpt-detail .the_title {
    width: 100%;
    font-size: 18px;
    line-height: 26px;
    padding-top: 10px;
    order: 3;
  }
  #cpt-detail .the_content {
    padding-top: 30px;
  }
  #cpt-detail .the_content h2 {
    font-size: 20px;
    padding: 10px;
  }
  #cpt-detail .the_content h3 {
    font-size: 18px;
    line-height: 26px;
  }
  #cpt-detail .the_content h4 {
    font-size: 16px;
    line-height: 26px;
  }
  #cpt-detail .the_content ul,
  #cpt-detail .the_content ol {
    padding-left: 15px;
  }
  #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;
  }
}

/*=============================================*
* Works
*=============================================*/
#cpt-works {
  padding-bottom: 60px;
}

#cpt-works .desc {
  font-weight: 700;
  font-size: 22px;
  line-height: 40px;
  padding-bottom: 65px;
}

#cpt-works .row {
  position: relative;
}

#cpt-works .row + .row {
  padding-top: 55px;
}

#cpt-works .row h3 {
  background-color: #4BA334;
  color: #fff;
  font-weight: 800;
  font-size: 35px;
  letter-spacing: 0;
  line-height: 50px;
  padding: 14px 0;
  position: relative;
}

#cpt-works .row h3:before {
  content: '';
  width: 100px;
  height: 100px;
  background: url("../img/common/works-deco.png") no-repeat center top/cover;
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
}

#cpt-works .row h3 span {
  display: block;
}

#cpt-works .works__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: flex-start;
  gap: 35px;
  padding-top: 30px;
}

#cpt-works .works__list .col {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 5px;
}

#cpt-works .works__list .col:nth-of-type(3n+2) {
  animation-delay: 0.3s;
}

#cpt-works .works__list .col:nth-of-type(3n) {
  animation-delay: 0.6s;
}

#cpt-works .works__list figure {
  width: 100%;
  padding-top: 66.5%;
  overflow: hidden;
  position: relative;
}

#cpt-works .works__list figure img {
  position: absolute;
  top: 0;
  left: 0;
}

#cpt-works .works__list .cat {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2px;
  flex: 1 0 0;
  color: #371475;
  font-weight: 700;
  font-size: 9px;
  line-height: 17px;
}

#cpt-works .works__list .cat span {
  display: block;
  border: 1px solid #371475;
  padding: 0 4px;
}

#cpt-works .works__list .location {
  display: inline-flex;
  align-items: self-start;
  gap: 5px;
  color: #371475;
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
}

#cpt-works .works__list .location:before {
  content: '';
  display: block;
  width: 12px;
  height: 20px;
  background: url("../img/common/icon-location-1.png") no-repeat center top/cover;
}

#cpt-works .works__list .ttl {
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #371475;
}

#cpt-works .works__list .txt {
  width: 100%;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
}

@media screen and (max-width: 1200px) {
  #cpt-works .row h3 {
    padding-left: 200px;
  }
}

@media screen and (max-width: 767px) {
  #cpt-works {
    padding: 30px 0 50px;
  }
  #cpt-works .desc {
    font-size: 18px;
    line-height: 32px;
    padding-bottom: 40px;
  }
  #cpt-works .row h3 {
    font-size: 24px;
    line-height: 36px;
    padding: 12px 20px 12px 80px;
  }
  #cpt-works .row h3:before {
    width: 80px;
    height: 80px;
    left: 10px;
  }
  #cpt-works .works__list {
    grid-template-columns: 1fr;
  }
}

/* -- -- */
#top__instagram.works {
  background-color: #fff;
  margin-bottom: 110px;
  padding: 155px 0 110px;
  position: relative;
}

#top__instagram.works:before {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #12D8FA, #4BA334);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.14;
}

#top__instagram.works .catch {
  font-weight: 800;
  font-size: 35px;
  letter-spacing: 0.1em;
  line-height: 50px;
  text-align: center;
  background: url("../img/common/arrow-down-1.png") no-repeat center bottom/126px auto;
  padding-bottom: 52px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

#top__instagram.works .catch span {
  display: inline-block;
  background-color: #E85400;
  color: #fff;
  padding: 0 5px;
}

@media screen and (max-width: 767px) {
  #top__instagram.works {
    margin-bottom: 50px;
    padding: 120px 0 50px;
  }
  #top__instagram.works .catch {
    font-size: 24px;
    line-height: 36px;
    background-size: 80px auto;
    padding-bottom: 40px;
  }
  #top__instagram.works .catch span {
    line-height: 32px;
  }
}
