html {
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}


body {
  background-color: #F8F8F8;
  color: #4a4a4a;
  font-family: "Hiragino Kaku Gothic ProN", "Notosans JP", "Hiragino Sans", Meiryo, sans-serif;
  overflow-x: hidden;
  margin: 0;
}


p {
  font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem);
  letter-spacing: .4px;
  line-height: 1.9;
  text-align: justify;
  margin: 0;
  padding: 0;
}


a {
  color: #4a4a4a;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.pc-none {
  display: none;
}


@media(max-width:1024px) {
  .pc-none {
    display: block;
  }

  .sp-none {
    display: none;
  }
}

.container {
  margin: 200px 80px;
}

@media (max-width:1024px) {
  .container {
    margin: 100px 0;
  }
}

.layout {
  display: flex;
  font-family: "Hiragino Kaku Gothic ProN",
    "NotoSans JP"
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  ;
}

.logo-container {
  order: 1;
  width: 15%;
}

.main {
  order: 2;
  width: 70%;
}

.header-webaxis {
  order: 3;
  width: 15%;
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  z-index: 10;
}


.shrink {
  transform: translateX(-50%) scale(0.3);
  opacity: 0;
  filter: blur(30px);
}


.svg-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

svg {
  max-width: 100%;
  height: 100%;
  display: block;
}

.svg-wrap svg {
  overflow: visible;
}

#blob-group {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;

  transform-origin: center center;
  overflow: visible;
  will-change: transform;
  max-width: none;
}

#review {
  position: relative;
}

.review-blob-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.review-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.svg-wrap {
  will-change: transform, opacity;
}


/* ハンバーガーメニュー */
.hum_btn,
.gnav_menu_title {
  display: none;
}

/* ナビゲーション */
.gnav_menu {
  display: flex;
  flex-direction: column;
  height: 100vh;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: auto;
}

.gnav_menu.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.no-scroll {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

@media (min-width:1024px) {
  .mail-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: auto;
    white-space: nowrap;
  }

  .mail-icon-img {
    transition: .3s;
  }

  .mail-icon-img:hover {
    filter: invert(100%);
    transition: .3s;
  }

  .mail-text {
    font-size: clamp(0.625rem, 0.339rem + 0.45vw, 0.875rem);
    color: #222;
  }

}

@media (max-width:1600px) {
  .mail-wrap {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .mail-text {
    font-size: 10px;
    color: #222;
  }
}

@media (max-width:1024px) {
  .mail-wrap {
    display: none;
  }
}



.gnav_menu_title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  margin-left: clamp(1.875rem, -0.268rem + 3.35vw, 3.75rem);
  max-height: 80vh;
  overflow-y: auto;
}



@media (min-width:1024px) {
  .gnav_menu_item {
    position: relative;
    margin-top: clamp(0.313rem, -0.759rem + 1.67vw, 1.25rem);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    white-space: nowrap;
  }

  .gnav_menu_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s;
  }

  .gnav_menu_item:hover::before {
    left: 100%;
  }

  .gnav_menu_item_link.active {
    background-color: #222;
    color: #fff;
    padding: 3px 8px;
  }

  .gnav_menu_item_link .text {
    color: inherit;
  }

  .text {
    font-size: clamp(0.625rem, 0.339rem + 0.45vw, 0.875rem);
    position: relative;
    z-index: 2;
    padding: 3px 8px;
    color: #222;
  }

  .english {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
    color: #222;
  }

  .japanese {
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    width: 100%;
    transition: all 0.5s ease-in-out;
    background-color: #fff;
    font-weight: 400;
    color: #222;
    margin-left: 5px;
  }

  .gnav_menu_item:hover .english {
    opacity: 0;
    transform: translateY(-20px);
  }

  .gnav_menu_item:hover .japanese {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }

  .gnav_menu_item_link.active:hover .japanese {
    color: #222;
  }

}

@media (max-width:1024px) {
  .gnav_menu_item {
    margin: 20px;
    cursor: pointer;
    font-weight: bold;
  }
}



@media (max-width:1024px) {
  .logo-container {
    width: 0;
  }

  .main {
    width: 90%;
    margin: 0 auto;
  }

  .header-webaxis {
    width: 0;
  }

  .humNavMenuIsOpen {
    transform: translateX(0);
  }


}

/* ===========================================
 * グローバルメニュー　モバイル
 * ======================================== */

@media (max-width: 1023px) {

  .gnav_menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100vh;
    transform: translateY(-100%);
    transition: transform 0.6s ease;
    background-image: url(../images/review-background-sp.webp);
    background-size: cover;
    background-position: center;
    overflow-y: auto;
  }

  .humNavMenuIsOpen {
    transform: translateY(0);
  }

  /*フワッと広がる*/
  .humNavMenuIsOpen .nav_bg_circle {
    transform: scale(50);
  }

  .gnav_menu_title {
    margin-left: 0;
    padding-top: 200px;
    padding-bottom: 200px;
  }

  .gnav_menu_list {
    width: 100%;
    overflow-y: scroll;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
  }



  .gnav_menu_item_link.contact_btn::after {
    content: none;
  }

  .gnav_menu_item.contact__btn {
    display: block;
  }

  .gnav_menu_item_link {
    font-size: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2px;
    border-bottom: 1px solid #4a4a4a;
  }


  .text.english {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
  }

  .text.japanese {
    font-size: 10px;
    font-weight: normal;
  }

  .contact-sp {
    border: 1px solid #4a4a4a;
    margin: 0 auto;
    background: transparent;
    border-radius: 30px;
    font-weight: bold;
    padding: 10px 20px;
    color: #4a4a4a;
  }

  .contact_btn_ico {
    text-align: center;
  }


  /* ハンバーガーメニューボタンパーツ */
  .hum_btn {
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 30;
    width: 40px;
    height: 40px;
    padding-left: 10px;
    padding-right: 20px;
    display: block;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #4a4a4a;
  }

  .hum_btn_line {
    width: 20px;
    height: 1.5px;
    background-color: #4a4a4a;
    transition: all 0.3s;
  }

  .hum_btn.buttonIsOpen .hum_btn_line {
    background-color: #4a4a4a;
  }

  .hum_btn_line.top {
    position: absolute;
    top: 10px;
    right: 9px;
  }

  .buttonIsOpen .hum_btn_line.top {
    transform: translateY(7.5px) rotate(45deg);
  }

  .buttonIsOpen .hum_btn_line.medium {
    opacity: 0;
  }

  .hum_btn_line.medium {
    position: absolute;
    top: 18px;
    right: 9px;
  }

  .hum_btn_line.bottom {
    position: absolute;
    bottom: 10px;
    right: 9px;
  }

  .buttonIsOpen .hum_btn_line.bottom {
    transform: translateY(-8.5px) rotate(-45deg);
  }


  .isScrollAllowed {
    overflow: hidden
  }

}

/* ロゴ */
.header_logo {
  position: fixed;
  padding: 20px;
  z-index: 1000;
}

.headline1-text {
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(0.563rem, 0.5rem + 0.31vw, 0.875rem);
  font-weight: normal;
  bottom: 3vh;
  left: 1px;
}

.mainvisual-text {
  font-weight: 900;
  font-size: clamp(2.125rem, 1.613rem + 2.56vw, 4.688rem);
  line-height: 1.5;
  color: #222;
  text-shadow:
    -0.4px -0.4px 0 #222,
    0.4px -0.4px 0 #222,
    -0.4px 0.4px 0 #222,
    0.4px 0.4px 0 #222;
}

.logo_img {
  max-width: 150px;
  height: auto;
}

.catchcopy_headline_grop {
  position: relative;
  top: 25vh;
}

.fv-text {
  margin-top: 30px;
  font-size: clamp(0.938rem, 0.58rem + 0.56vw, 1.25rem);
  color: #222;
  font-weight: 400;
}

.about-main-wrap {
  border-top: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
  margin-bottom: 70px;
}

.mainvisual {
  height: 100vh;
}

.main-headline {
  text-align: center;
  font-weight: bold;
  font-size: clamp(1.125rem, 0.85rem + 1.38vw, 2.5rem);
  margin-top: 10px;
  color: #222;
}

.main-subtext {
  text-align: center;
  font-weight: bold;
  font-size: clamp(0.563rem, 0.413rem + 0.75vw, 1.313rem);
  margin-bottom: 10px;
  color: #222;
}

@media (max-width:1024px) {


  .fv-text {
    font-size: clamp(0.625rem, 0.398rem + 1.14vw, 1.125rem);
  }

  .header_logo {
    padding: 10px;
    left: 2vw;
  }

  .catchcopy_headline_grop {
    top: 30vh;
  }
}

@media (max-width:789px) {
  .headline1-text {
    writing-mode: horizontal-tb;
    top: 14vw;
    left: 5.5vw;
    font-size: 8px;
  }

  .mainvisual-text {
    text-shadow:
      -0.1px -0.1px 0 #222,
      0.1px -0.1px 0 #222,
      -0.1px 0.1px 0 #222,
      0.1px 0.1px 0 #222;
  }

}


/* 全体共通 */

.title_img {
  height: 26px;
  height: auto;
}

@media(max-width:500px) {
  .title_img {
    height: 18px;
    width: auto;
  }

  .title_text {
    font-size: 10px;
  }
}

.headline-website {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}


/* about */

.bold-text {
  font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.875rem);
  font-weight: bold;
  margin: 60px 0;
  letter-spacing: .1px;
  color: #222;
}

.about-item {
  margin: 80px 0;
}

.headline3-text {
  font-size: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem);
  margin: 40px 0;
  letter-spacing: .2px;
  color: #222;
}

/* service */
.service-title {
  font-size: clamp(0.813rem, 0.311rem + 0.78vw, 1.25rem);
  font-weight: bold;
  letter-spacing: .2px;
  color: #222;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}


.services-item {
  padding: 20px 40px;
  height: 100%;
  box-sizing: border-box;
}

.service-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;

}

.right {
  border-right: 1px solid #4a4a4a;
}

.bottom-border {
  border-bottom: 1px solid #4a4a4a;
}

@media (min-width:1024px) {
  .service-img {
    width: 100%;
    height: auto;
  }
}

@media (max-width:1024px) {
  .service-grid {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 30px;
  }

  .service-text {
    display: block;
  }

  .services-item {
    display: flex;
    padding: 20px 40px;
    gap: 20px;
    font-size: 15px;
  }

  .service-img {
    width: 80px;
    height: auto;
  }

  .right {
    border-right: none;
  }

  .bottom-sp {
    border-bottom: 1px solid #4a4a4a;
  }

}

@media (max-width:420px) {
  .services-item {
    padding: 20px 5px;
  }
}

/* site types */

.site-type-item {
  display: flex;
  gap: 30px;
  padding: 20px 0;
  align-items: center;
}

.site-type-text {
  flex: 2;
}

.site-type-h3 {
  font-size: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem);
  letter-spacing: .2px;
  color: #222;
}

.top-border {
  border-top: 1px solid #4a4a4a;
}

.top-boeder-sp {
  border-top: none;
}

.flex-left {
  flex: .5;
}

@media (max-width:1024px) {
  .top-border-sp {
    border-top: 1px solid #4a4a4a;
  }

  .flex-left {
    flex: 1;
  }
}


@media (max-width:789px) {
  .site-type-item {
    display: block;
    padding-bottom: 40px;
  }

}

.approach-subtext {
  font-size: 10px;
  margin-bottom: 20px;
}

.headline4-text {
  font-size: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem);
  margin-bottom: 5px;
  letter-spacing: .2px;
  color: #222;
}

/* works */

.works-item {
  display: flex;
  margin-bottom: 100px;
  gap: clamp(0.313rem, -0.759rem + 1.67vw, 1.25rem);
  height: 430px;
  align-items: center;
  position: relative;
}

.works-item.reverse {
  flex-direction: row-reverse;
}

.works-type {
  margin: 20px 0;
  background: #222;
  color: #fff;
  width: 140px;
  text-align: center;
  font-size: 10px;
}

.item-bg {
  height: 100%;
  flex-shrink: 0;
  overflow: visible;
  position: relative;
}


.works-item-img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.works-item-text {
  flex-grow: 1;
}

.fade-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.fade-slide-right.inview {
  opacity: 1;
  transform: translateX(0);
}

.fade-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.fade-slide-left.inview {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {

  .works-item,
  .works-item.reverse {
    flex-direction: column;
    height: auto;
    margin-bottom: 30px;
  }

  .item-bg {
    width: 100%;
    display: flex;
    overflow: hidden;
    justify-content: center;
    /* デフォルト：中央寄せ */
  }

  .item-bg.left-align {
    justify-content: flex-start;
    /* 左寄せ */
  }

  .item-bg.right-align {
    justify-content: flex-end;
    /* 右寄せ */
  }

  .works-item-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .works-item-text {
    width: 100%;
  }

}



.btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: auto;
  max-width: 280px;
  background: transparent;
  border: 1px solid #4a4a4a;
  padding: 10px 40px;
  border-radius: 50px;
  font-size: clamp(0.875rem, 0.8rem + 0.38vw, 1.25rem);
  font-weight: bold;
  transition: all 0.4s ease;
  margin: 0 auto;
  color: #4a4a4a;
  line-height: 0;
}

.btn:hover {
  background: #4a4a4a;
  color: #fff;
}

/* question */


.questio-box {
  margin-bottom: 50px;
}

.question-text,
.answer-text {
  display: flex;
  padding: 20px 0;
  gap: 30px;
  align-items: center;
}

@media(max-width:789px) {
  .site-type-h3 {
    flex: 1;
  }

  .qa-icon-img {
    width: 38px;
    height: 38px;
  }
}

/* whyus */
/* section.why-us {
  margin: 200px 0;
} */

/* review */
@media (max-width: 789px) {
  #review {
    min-height: 100dvh;
    /* スマホ画面高さいっぱいに */
  }
}

.review {
  position: relative;
  overflow: hidden;
  margin: 200px 0;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

.review-h2 {
  margin-bottom: 30px;
}

.swiper {
  margin-top: 80px;
  position: relative;
}


@media (max-width:789px) {
  .review-svg {
    height: 100vh;
    width: auto;
  }

}


@media (min-width:789px) {
  .slider-content {
    width: clamp(15rem, 10.875rem + 20.63vw, 35.625rem);
    margin: 0 auto;
    max-width: 570px;
    text-align: center;
  }

  .company-img {
    width: clamp(15rem, 10.875rem + 20.63vw, 35.625rem);
    height: auto;
  }

  .swiper-fade-right {
    position: absolute;
    top: 0;
    right: 0;
    width: calc((100% /1.9) * 0.3);
    height: 100%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 2;
  }
}

@media (max-width:789px) {
  .slider-content {
    width: 80%;
    margin: 0 auto;
    text-align: center;
  }

  .company-img {
    width: 100%;
    height: auto;
  }

  .swiper {
    margin-top: 20px;
  }
}


/* ページネーション */

.swiper-pagination {
  position: relative;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 0;
  user-select: none;
  margin: 50px 0;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: transparent;
  border: 1px solid #4a4a4a;
  opacity: 0.5;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #4a4a4a;
  opacity: 1;
}

.swiper-pagination-plan {
  position: relative;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
  user-select: none;
  margin: 50px 0;
}

.swiper-pagination-plan-bullet {
  width: 12px;
  height: 12px;
  background-color: transparent;
  border: 1px solid #4a4a4a;
  opacity: 0.5;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.swiper-pagination-plan-bullet-active {
  background-color: #4a4a4a;
  opacity: 1;
}

.swiper-pagination-modal {
  position: relative;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
  user-select: none;
  margin: 50px 0;
}

.swiper-pagination-modal-bullet {
  width: 12px;
  height: 12px;
  background-color: transparent;
  border: 1px solid #4a4a4a;
  opacity: 0.5;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.swiper-pagination-modal-bullet-active {
  background-color: #4a4a4a;
  opacity: 1;
}

/* flow */


.flow-list {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 50px 20px 0;
}

.flow-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 1px solid #4a4a4a;
  writing-mode: vertical-rl;
  padding: 30px 5px;
  width: 50px;
  border-radius: 50px;
  height: 180px;
  font-weight: bold;
  font-size: 15px;
}

.arrow-right::after {
  content: ">";
  margin-left: 8px;
  font-weight: bold;
}

@media (max-width:789px) {
  .flow-list {
    display: block;
    text-align: center;
  }

  .flow-item {
    border: 1px solid #4a4a4a;
    writing-mode: horizontal-tb;
    padding: 20px 5px;
    width: 100%;
    height: 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: clamp(1rem, 0.829rem + 0.85vw, 1.25rem);
  }

  .arrow-right::after {
    content: ">";
    display: inline-block;
    transform: rotate(90deg);
    /* 下向きに回転 */
    margin-left: 8px;
    font-weight: bold;
  }
}

@media (max-width:500px) {
  .flow-item {
    padding: 10px 5px;
  }

}

/* plan */
.plan-container {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, -0.893rem + 3.35vw, 3.125rem);
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
  padding: 40px 20px;
}

.plan-img-wrap {
  text-align: center;
  flex: 1;
}

.plan-example-wrap {
  flex: 2;
}

@media(max-width:1550px) {
  .plan-container {
    padding: 10px 20px;
  }
}

@media (max-width:1024px) {
  .plan-container {
    padding: 50px 20px 0;
  }

  .plan-img-wrap {
    text-align: center;
    flex: 0;
  }
}


.plan-img-wrap img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.plan-example-text {
  margin: 40px 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  font-size: clamp(0.75rem, 0.607rem + 0.22vw, 0.875rem);
}

.example-item {
  display: flex;
  gap: clamp(0.75rem, -3.393rem + 6.47vw, 4.375rem);
  align-items: center;
}

.example-item-title {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  margin-bottom: 10px;
  white-space: nowrap;
  font-size: clamp(0.75rem, 0.607rem + 0.22vw, 0.875rem);
}

.example-item-about {
  margin-top: 5px;
}

.number-text {
  font-size: clamp(0.938rem, 0.58rem + 0.56vw, 1.25rem);
  font-weight: bold;
}

.min-text {
  font-size: clamp(0.625rem, 0.339rem + 0.45vw, 0.875rem);
  font-weight: bold;
}

.example-item-box {
  text-align: center;
}


@media (max-width:1024px) {
  .plan-container {
    flex-direction: column;
  }

  .example-item {
    align-items: unset;
    gap: clamp(0.5rem, -0.977rem + 7.39vw, 3.75rem);
  }

  .number-text,
  .example-item-title {
    font-size: clamp(0.75rem, 0.523rem + 1.14vw, 1.25rem);
  }

  .min-text {
    font-size: clamp(0.438rem, 0.267rem + 0.85vw, 0.813rem);
  }
}

/* blog */

.blog-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.blog_inner {
  width: 30%;
  font-weight: bold;
  text-align: left;
  padding-bottom: 2.1875rem;
}

@media screen and (max-width:900px) {
  .blog_inner {
    width: 47%;
  }
}

@media screen and (max-width:520px) {
  .blog_inner {
    padding-right: 20px;
    width: 100%;
    min-width: 90%;
    padding-bottom: 1.5rem;
  }

  .blog-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
}

.blog_inner a {
  transition: all .2s;
}

.blog_title {
  padding-top: 0.8rem;
  font-size: 1rem;
  font-weight: bold;
  padding-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.blog_date {
  font-size: 0.75rem;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.attachment-post-thumbnail {
  width: 100%;
}


/* contact */


.contact_list {
  margin: 50px 0;
}

.contact-sub-text {
  margin-bottom: 50px;
}

.checkbox-area {
  flex: 5;
}

.required {
  font-size: 14px;
  color: #E88491;
  margin-left: 10px;
}

.form_box {
  display: flex;
  border-top: 1px solid rgba(74, 74, 74, 0.5);
  padding: 30px 0;
  gap: 10px;
}

.contact-name {
  flex: 1.5;
  display: inline-block;
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
}

.wpcf7-form-control-wrap {
  flex: 5;
}

.form_box_contact {
  display: flex;
  margin-top: 50px;
}

.box-area {
  height: 30px;
  padding: 0 10px;
}

.box-area-min {
  width: 20%;
  height: 30px;
  padding: 0 10px;
}

.box-area-max {
  width: 60%;
  height: 30px;
  padding: 0 10px;
}

.inquiry-items {
  display: inline-block;
  font-size: 14px;
}

.amount-box {
  flex: 5;
}

.textarea-item {
  width: 90%;
  height: 250px;
  margin-top: 5px;
  padding: 0 10px;
}

.contact-text {
  margin-bottom: 10px;
}

.information-text {
  margin: 30px 0;
  text-align: center;
}

.inquiry-box {
  flex: 5;
}

.link-text {
  color: mediumblue;
  text-decoration: underline;
}

.wpcf7-list-item {
  font-size: 14px;
  display: inline-block;
  margin: 0 0 20px 10px !important;
}

.wpcf7-form input,
.wpcf7-form textarea {
  border: 1px solid #ccc;
  background: #fff;
  padding: 10px;
  font-size: 14px;
}

.wpcf7-form .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 200px;
  background: transparent !important;
  border: 1px solid #4a4a4a !important;
  padding: 10px 40px;
  border-radius: 50px !important;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.4s ease;
  margin: 0 auto;
  color: #4a4a4a;
  line-height: 0;
}

.acceptance_checkbox {
  vertical-align: middle !important;
}

@media (max-width:789px) {
  .form_box {
    flex-direction: column;
    margin-top: 30px;
  }

  .box-area {
    flex: initial;
    width: 100%;
  }

  .contact-name {
    flex: initial;
  }

  .box-area-max {
    flex: initial;
    width: 100%;

  }

  .box-area-min {
    flex: initial;
    width: 50%;
  }

  .textarea-item {
    width: 100%;
    height: 150px;
  }

  .form_box_contact {
    flex-direction: column;
  }

  .inquiry-items {
    line-height: 20px;
  }
}

.top_return {
  z-index: 10000;
}

/* モーダル */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  background-color: #F8F8F8;
}

.modal-content {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100%;
}

.modal-scroll-area {
  overflow-y: auto;
  height: 100vh;
  padding: 150px 80px;
  box-sizing: border-box;
}

@media (max-width:520px) {
  .modal-scroll-area {
    padding: 150px 20px 150px;
  }
}

.modal-button-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #fff;
  z-index: 99999;
}

.modal-img-container {
  max-width: 900px;
  margin: 140px auto 60px;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width:900px) {
  .modal-img-container {
    margin: 40px auto;
  }
}

.modal-logo-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  text-align: center;
  padding: 30px 15px;
  display: flex;
  align-items: center;
  gap: clamp(0rem, -0.357rem + 1.79vw, 1.25rem);
}

.modal-logo-img {
  width: clamp(6.25rem, 5.357rem + 4.46vw, 9.375rem);
  height: auto;
  cursor: pointer;

}

.modal-btn-wrap {
  position: absolute;
  top: 25px;
  right: clamp(0.938rem, 0.67rem + 1.34vw, 1.875rem);
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-close-text {
  font-size: 12px;
  border-bottom: 1px solid #222;
}

.modal-close {
  width: clamp(1.875rem, 1.696rem + 0.89vw, 2.5rem);
  height: clamp(1.875rem, 1.696rem + 0.89vw, 2.5rem);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  color: #222;
  border: 1px solid #222;
  background: transparent;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background-color: #222;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-close:hover {
  background-color: #ccc;
}

.modal-type-item {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  align-items: center;
}


.modal-title {
  font-size: clamp(0.375rem, 0.268rem + 0.54vw, 0.75rem);
  margin-left: clamp(0.625rem, 0.446rem + 0.89vw, 1.25rem);
}

.modal-title-en {
  font-weight: bold;
  font-size: clamp(0.938rem, 0.848rem + 0.45vw, 1.25rem);
  color: #222;
}

.modal-title-jp {
  font-size: clamp(0.625rem, 0.536rem + 0.45vw, 0.938rem);
  margin-left: 20px;
}



.modal-img {
  height: clamp(12.5rem, 6.875rem + 28.13vw, 32.188rem);
  width: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}


/* 789px以上：横並び */
@media screen and (min-width: 789px) {
  .modal-img-container .swiper-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
  }

  .modal-swiper {
    width: auto !important;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
  }

  .swiper-pagination-modal {
    display: none;
  }

}

/* 788px以下：スライダー */
@media screen and (max-width: 788px) {
  .modal-img-container {
    padding: 0 16px;
  }


  .modal-swiper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .modal-type-item {
    display: block;
    padding-bottom: 40px;
  }


}