/*
Theme Name:  Solaris Child
Template:    solaris_tcd088
Description: TCD「solaris_tcd088」の子テーマ
Author:      YOUR NAME
Version:     1.0
*/




/* ここに子テーマ用の追加CSSを書いていきます */

/* ----------------------------------------------------------------------
 共通
---------------------------------------------------------------------- */
.inner {
  padding-inline: 40px;
}
@media screen and (max-width: 750px) {
.inner {
  padding-inline: 20px;
}
}

* {
  box-sizing: border-box;
}

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


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


/* ----------------------------------------------------------------------
 アニメーション
---------------------------------------------------------------------- */
.animation__fadeIn {
  /* // before (出現前) */
  opacity: 0;
  translate: 0 40px;
  transition: opacity 1.3s ease, translate 1.3s ease;
}
/* // after (出現後) */
.animation__fadeIn.js-show {
  opacity: 1;
  translate: 0 0;
}



/* ----------------------------------------------------------------------
 global_menu
---------------------------------------------------------------------- */
#global_menu > ul {
  text-align: right;
  padding-right: 40px;
}


body:not(.hide_global_menu) #header{
 /* background-color: #ffffff;
 box-shadow:0 0 10px 0 rgba(0,0,0,0.15); */
 background-color: transparent;
 box-shadow:none !important;
}
#global_menu ul li a,
#header_search_button:before{
  color: #000000;
}
#global_menu ul li ul li a,
#global_menu ul li.current-menu-item ul li a{
  color: #ffffff;
}
#global_menu ul li.current-menu-item a{
  color: #00729f; /*現在のページを示す色です。「メインカラー」のカラーコードに合わせてください。*/
}



/* ----------------------------------------------------------------------
 header_slider
---------------------------------------------------------------------- */
#header_slider_wrap {
  height: auto !important;
}

#header_slider {
  height: 800px !important;
}
@media screen and (max-width: 750px) {
#header_slider {
  height: unset !important;
}
}

/* video を cover させる */
#header_slider .item.video {
    position: relative;
    overflow: hidden; /* 余白を切り落とす */
}
#header_slider .item.video .video_wrap {
    width: 100% !important;
    height: 100% !important;      /* インラインheightの上書き */
    object-fit: cover;
    object-position: center center;
    display: block;               /* 余計な隙間対策 */
}

#header_slider .slick-slide .caption h2 {
  text-align: left;
}
#header_slider .slick-slide .caption .desc {
  text-align: left;
}
#header_slider .slick-slide .caption .design_button {
  text-align: left;
  display: flex;
  gap: 25px;
}
#header_slider .slick-slide .caption .design_button a {
  display: inline-block;
}

#header_slider .slick-dots,
#header_slider .slick-dots li {
  display: none !important;
}

#header_slider .caption {
  color: #232323;
  position: relative;
  top: 45% !important;
}
@media screen and (max-width: 750px) {
#header_slider .caption {
  top: 50% !important;
}
}


#header_slider .caption__title {
  width: min(calc(740 / 1440 * 100vw), 740px);
}
#header_slider .caption__title img {
  width: 100%;
}
@media screen and (max-width: 750px) {
#header_slider .caption__title {
  width: min(calc(325 / 375 * 100vw), 325px);
}
}


.caption__desc {
  margin-top: min(calc(40 / 1440 * 100vw) ,40px);
  font-size: min(calc(22 / 1440 * 100vw) ,22px);
  letter-spacing: 0.02em;
  line-height: 1.8;
  text-align: left;
}
@media screen and (max-width: 750px) {
.caption__desc {
  margin-top: min(calc(24 / 375 * 100vw) ,20px);
  font-size: min(calc(16 / 375 * 100vw) ,16px);
}
}

.caption__button {
  margin-top: min(calc(80 / 1440 * 100vw) ,80px);
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 25px;

  /* 調整しやすい変数 */
  --sparkle-duration: .6s;
  --sparkle-strength: .45;
}
.caption__button-link {
  width: min(calc(260 / 1440 * 100vw) ,260px);
  box-shadow: 0 6px 13px -6px rgba(52, 52, 60, 0.6);
  border-radius: 999px;
  transition: transform .4s ease, box-shadow .4s ease;

  position: relative;
  display: inline-block;
  overflow: hidden;
}
/* 帯の初期状態：左の外 */
.caption__button-link::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(-120%);
  background: linear-gradient(
    -45deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,var(--sparkle-strength)) 50%,
    rgba(255,255,255,0) 100%
  );
  /* 明るい背景で強調したい場合：
     mix-blend-mode: screen; */
}
/* ★ クラス付与で一度だけ走り、終点を保持（戻らない） */
.caption__button-link.is-sparkled::before {
  animation: caption-sparkle var(--sparkle-duration) ease-out both;
}
@keyframes caption-sparkle {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%);  }
}

.caption__button-link img {
  width: 100%;
  max-width: 100%;
}

@media screen and (max-width: 750px) {
.caption__button {
  margin-top: min(calc(40 / 375 * 100vw) ,40px);
  gap: 10px;
}
.caption__button-link {
  width: min(calc(161 / 375 * 100vw) ,161px);
  max-width: 100%;
}
}

/* ポインタあり環境のみ hover 挙動 */
@media (any-hover: hover) {
  .caption__button-link:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 9px -6px rgba(52, 52, 60, 0.55); /* やや弱める */
  }
}

/* クリック中はさらに沈む */
.caption__button-link:active {
  transform: translateY(8px);
  box-shadow: 0 2px 6px -6px rgba(52, 52, 60, 0.2); /* ほぼ消える */
}




/* スライドのオーバーレイ */
#header_slider .item1 .overlay {
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}





/* ----------------------------------------------------------------------
 about
---------------------------------------------------------------------- */
.cb_free_space.type1 {
  padding-top: min(calc(200 / 1440 * 100vw), 200px) !important;
}
@media screen and (max-width: 750px) {
.cb_free_space.type1 {
  padding-top: min(calc(60 / 375 * 100vw), 60px) !important;
}
}

.about {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.about__inner {
  padding-inline: 40px;
}
@media screen and (max-width: 750px) {
.about__inner {
  padding-inline: 20px;
}
}

.about__h2 {
  width: fit-content;
  margin-inline: auto !important;
  text-align: center;
  line-height: 1.8 !important;
  position: relative;
  padding-inline: min(calc(80 / 1440 * 100vw), 80px) !important;
  font-size: min(calc(28 / 1440 * 100vw), 28px) !important;
  text-shadow: 4px 6px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: min(calc(20 / 1440 * 100vw), 20px);
}
@media screen and (max-width: 750px) {
.about__h2 {
  font-size: min(calc(18 / 375 * 100vw), 18px) !important;
  font-weight: 500 !important;
  padding-inline: 0 !important;
  padding-block: 20px !important;
  gap: 12px;
}
}

.about__h2 .appeal {
  display: flex;
  align-items: center;
  gap: 0 13px;
}
.about__h2 .appeal .appeal-01,
.about__h2 .appeal .appeal-02 {
  background: linear-gradient(
    90deg,
    #1BA7E3 0%,
    #0E80BF 50%,
    #276EA5 100%
  );
  border-radius: 2px;
  padding-right: 20px;
  font-size: min(calc(32 / 1440 * 100vw), 32px);
  color: #fff;
  line-height: 1.6 !important;
  font-weight: bold;
  box-shadow: 4px 6px 4px rgba(0, 0, 0, 0.10);
  text-shadow: none;
}
@media screen and (max-width: 750px) {
.about__h2 .appeal {
  display: block;
}
.about__h2 .appeal .appeal-01,
.about__h2 .appeal .appeal-02 {
  font-size: min(calc(23 / 375 * 100vw), 23px);
  padding: 0px min(calc(10 / 375 * 100vw), 10px) 0px 0px;
  display: inline-block;
  letter-spacing: 0;
}
.about__h2 .appeal .appeal-01 {
  margin-right: 6px;
}
.about__h2 .appeal .appeal-02 {
  margin-top: 12px;
}
}




/* .about__h2 .color-main {
  color: #0173B7;
}
@media screen and (max-width: 750px) {
.about__h2 .color-main {
  font-size: 20px;
  font-weight: bold;
}
}
.about__h2 .color-main span {
  display: inline-block;
  color: #232323;
  margin-left: 10px;
  font-weight: 500;
}
@media screen and (max-width: 750px) {
.about__h2 .color-main span {
  font-size: 16px;
  margin-left: 5px;
}
} */
.about__h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: url(./img/double-quotation.svg) no-repeat center center / contain;
  width: min(calc(30 / 1440 * 100vw), 30px);
  height: auto;
  aspect-ratio: 29 / 25;
}
.about__h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  background: url(./img/double-quotation.svg) no-repeat center center / contain;
  width: min(calc(30 / 1440 * 100vw), 30px);
  height: auto;
  aspect-ratio: 29 / 25;
  rotate: -180deg;
}
@media screen and (max-width: 750px) {
.about__h2::before {
  width: 14px;
  aspect-ratio: 29 / 25;
}
.about__h2::after {
  width: 14px;
  aspect-ratio: 29 / 25;
}
}

/* ----------------------------------------------------------------------
 success
---------------------------------------------------------------------- */
.success {
  /* margin-top: 178px; */
  margin-top: min(calc(178 / 1440 * 100vw), 178px);
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}
@media screen and (max-width: 750px) {
.success {
  margin-top: min(calc(60 / 375 * 100vw), 60px);
  overflow: hidden;
}
}
.success__box {
  width: min(1270px, 100%);
  margin-inline: auto;
  position: relative;
}
@media screen and (max-width: 750px) {
.success__box {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: min(calc(224 / 375 * 100vw), 224px);
}
}
.success__box-bg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1270 / 529 !important;
}
@media screen and (max-width: 750px) {
.success__box-bg {
  transform: scale(1.1);
}
}
.success__box-ashirai {
  position: absolute;
  top: min(calc(107 / 1440 * 100vw), 107px);
  left: min(calc(215 / 1440 * 100vw), 215px);
  width: min(calc(295 / 1440 * 100vw), 295px);
  aspect-ratio: 295 / 107 !important;
  z-index: 3;

  /* 初期状態 */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s ease;
  will-change: clip-path;
}
/* 表示状態 */
.success__box-ashirai.js-show {
  clip-path: inset(0 0 0 0);
}
@media screen and (max-width: 750px) {
.success__box-ashirai {
  top: min(calc(54 / 375 * 100vw), 54px);
  left: min(calc(80 / 375 * 100vw), 80px);
  width: calc(123 / 375 * 100vw);
}
}

.success__contents {
  position: absolute;
  top: min(calc(60 / 1440 * 100vw), 60px);
  left: min(calc(86 / 1440 * 100vw), 86px);
  z-index: 4;
}
@media screen and (max-width: 750px) {
.success__contents {
  top: 50%;
  transform: translateY(-50%);
  padding-bottom: 0;
}
}
.success p {
  margin: 0 !important;
}
.success__head {
  font-family: "Noto Serif JP", serif;
  color: #fff;
}

.success__head-title {
  font-size: min(calc(44 / 1440 * 100vw), 44px);
  font-weight: bold;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
}
@media screen and (max-width: 750px) {
.success__head-title {
  font-size: min(calc(20 / 375 * 100vw), 20px);
}
}
.success p.success__head-subTitle {
  margin-top: min(calc(20 / 1440 * 100vw), 20px) !important;
  font-size: min(calc(86 / 1440 * 100vw), 86px);
  font-weight: 400;
  line-height: 1 !important;
  display: flex;
  justify-content: start;
  align-items: end;
}
@media screen and (max-width: 750px) {
.success__head-subTitle {
  font-size: min(calc(40 / 375 * 100vw), 40px) !important;
}
}
.success__head-subTitle .big {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: min(calc(172 / 1440 * 100vw), 172px);
  font-weight: bold;
  margin-bottom: min(calc(-10 / 1440 * 100vw), -10px);
  margin-right: 10px;
  line-height: 1 !important;
}
@media screen and (max-width: 750px) {
.success__head-subTitle .big {
  font-size: min(calc(80 / 375 * 100vw), 80px);
  margin-bottom: min(calc(-5 / 1440 * 100vw), -5px);
}
}


.success__description {
  color: #fff;
  position: absolute;
  bottom: min(calc(60 / 1440 * 100vw), 60px);
  left: min(calc(86 / 1440 * 100vw), 86px);
  width: fit-content;

  padding-top: min(calc(35 / 1440 * 100vw), 35px);
}
.success__description::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: min(calc(320 / 1440 * 100vw), 320px);
  height: 1px;
  background: #fff;
}
@media screen and (max-width: 750px) {
.success__description {
  margin-top: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-inline: 45px;
  text-align: center;

  top: 100%;
  left: 0;
  width: 100vw;
  color: #232323;
  background: #F2FDFF;
  height: fit-content;

  line-height: 1.6;
  letter-spacing: 0;
  /* // wbr */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.success__description::before {
  display: none;
}
}


.success__description-main {
  font-size: min(calc(24 / 1440 * 100vw), 24px);
  font-weight: bold;
  line-height: 1.4 !important;
}
@media screen and (max-width: 750px) {
.success__description-main {
  font-size: 16px;
  color: #0173B7;
}
.success__description-main span {
  font-size: min(calc(22 / 375 * 100vw), 22px);
  display: inline-block;
  margin-top: 3px;
}
}
.success p.success__description-text {
  margin-top: 14px !important;
  font-size: min(calc(16 / 1440 * 100vw), 16px);
}
@media screen and (max-width: 750px) {
.success p.success__description-text {
  margin-top: 20px !important;
  font-size: 14px;
}
}





/* ----------------------------------------------------------------------
 process
---------------------------------------------------------------------- */
.process {
  padding-top: min(calc(200 / 1440 * 100vw), 200px);
}
@media screen and (max-width: 750px) {
.success {
  margin-top: min(calc(60 / 375 * 100vw), 60px);
}
}
.process__message {
  /* リセット */
  margin: 0 !important;
  /* オリジナル */
  margin-top: 60px !important;
  font-size: min(calc(32 / 1440 * 100vw), 32px);
  font-weight: 600;
  text-align: center;
  color: #0173B7;
  position: relative;
  padding-bottom: min(calc(40 / 1440 * 100vw), 40px);
}
.process__message::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: url(./img/process__fukidashi.svg) no-repeat center center / contain;
  width: min(calc(680 / 1440 * 100vw), 680px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 680 / 110;
  z-index: -1;
}
@media screen and (max-width: 750px) {
.process__message {
  margin-top: 30px !important;
  padding-top: min(calc(14 / 375 * 100vw), 14px);
  font-size: min(calc(18 / 375 * 100vw), 18px);
  padding-bottom: min(calc(30 / 375 * 100vw), 30px);
  line-height: 1.6 !important;
}
.process__message::after {
  width: min(calc(250 / 375 * 100vw), 250px);
  aspect-ratio: 250 / 104;
  background: url(./img/process__fukidashi_sp.svg) no-repeat center center / contain;
}
}

.process__items {
  margin-top: 40px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}
@media screen and (max-width: 750px) {
.process__items {
  margin-top: 30px;
}
}
.process__items-inner {
  max-width: calc(1220px + 40px * 2);
  margin-inline: auto;
  /* display: flex;
  justify-content: center;
  gap: 32px; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media screen and (max-width: 1000px) {
.process__items-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, min(282px, 100%)));
  place-content: center;
  gap: 30px;
}
}
@media screen and (max-width: 750px) {
.process__items-inner {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, min(282px, 100%)));
  place-content: center;
  gap: 50px 30px;
}
}

/* カードをフォントの参照コンテナにする */
.process__item { 
  container-type: inline-size; 
}

.process__item:nth-of-type(odd) {
  margin-top: 56px;
}
@media screen and (max-width: 750px) {
.process__item:nth-of-type(odd) {
  margin-top: 0;
}
}

.process__item .step{
  /* リセット */
  margin: 0 !important;
  /* オリジナル */
  max-width: 150px;
  margin-inline: auto !important;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #1BA7E3 0%,
    #0E80BF 50%,
    #276EA5 100%
  );
}
@media screen and (max-width: 750px) {
.process__item .step {
  font-size: 16px !important;
}
}

.processBox {
  margin-top: 50px !important;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
}
.processBox__inner {
  position: relative;
}
.processBox__image {
  width: 100%;
  text-align: center;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.processBox__image img{
  display: block;
  max-width: 220px;
  margin-inline: auto;
}


.process__item.--step1 .processBox__image {
  top: -73px;
}
.process__item.--step1 .processBox__contents {
  padding-top: 70%;
}


.process__item.--step2 .processBox__image {
  top: -60px;
}
.process__item.--step2 .processBox__contents {
  padding-top: 80%;
}

.process__item.--step3 .processBox__image {
  top: -38px;
}
.process__item.--step3 .processBox__contents {
  padding-top: 80%;
}

.process__item.--step4 .processBox__image {
  top: -60px;
}
.process__item.--step4 .processBox__contents {
  padding-top: 80%;
}

.processBox__contents {

}
.processBox__title {
  font-size: min(calc(22 / 1440 * 100vw), 22px) !important;
  color: #0173B7;
  text-align: center;
}
.processBox__title span.small {
  font-size: min(calc(16 / 1440 * 100vw), 16px) !important;
}
.processBox__text {
  line-height: 1.6 !important;
  font-size: min(calc(16 / 1440 * 100vw), 16px) !important;
}
@media screen and (max-width: 1000px) {
.processBox__title {
  font-size: 22px !important;
}
.processBox__title span.small {
  font-size: 16px !important;
}
.processBox__text {
  font-size: 16px !important;
}
}

/* ----------------------------------------------------------------------
 section-separator--image
---------------------------------------------------------------------- */
.section-separator--image {
  margin-top: min(calc(200 / 1440 * 100vw), 200px);
  width: 100vw;
  max-height: 600px;
  margin-inline: calc(50% - 50vw);
  background: url(./img/section-separator--image1.png) no-repeat center center / cover;
  aspect-ratio: 16 / 9;
}
@media screen and (max-width: 750px) {
.section-separator--image {
  margin-top: min(calc(90 / 375 * 100vw), 90px);
}
}


/* ----------------------------------------------------------------------
 works
---------------------------------------------------------------------- */
.works {
  margin-top: min(calc(100 / 1440 * 100vw), 100px);
  padding-bottom: min(calc(150 / 1440 * 100vw), 150px);
}
@media screen and (max-width: 750px) {
.works {
  margin-top: min(calc(60 / 375 * 100vw), 60px);
  padding-bottom: min(calc(60 / 375 * 100vw), 60px);
}
}

.works__items {
  margin-top: 65px;
  display: flex;
  flex-direction: column;
  gap: 50px;

  max-width: 850px;
  margin-inline: auto;
}
@media screen and (max-width: 750px) {
.works__items {
  margin-top: 40px;
  gap: 20px;
}
}
.works__item {
  background: url(../solaris_tcd088_child/img/works__item__bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 33px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  /* フォントの参照コンテナにする */
  container-type: inline-size; 
}
@media screen and (max-width: 750px) {
.works__item {
  padding: 14px;
}
}

.works__item.--itemContact .itemContact__text1 {
  max-width: 390px;
  margin-inline: auto;
}
.works__item.--itemSession .itemContact__text1 {
  max-width: 387px;
  margin-inline: auto;
}
.works__item.--itemLead .itemContact__text1 {
  max-width: 385px;
  margin-inline: auto;
}
@media screen and (max-width: 750px) {
  .works__item.--itemContact .itemContact__text1 {
    max-width: 245px;
  }
  .works__item.--itemSession .itemContact__text1 {
    max-width: 235px;
  }
  .works__item.--itemLead .itemContact__text1 {
    max-width: 229px;
  }
}

.itemContact__text2 {
  margin-top: 10px !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 33px;

  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  margin-bottom: 0 !important;

  letter-spacing: 0.03em !important;
  
  /* display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px; */
}
.itemContact__text2 .js-count-up {
  min-width: fit-content;
}
@media screen and (max-width: 750px) {
.itemContact__text2 {
  margin-top: 3px !important;
  font-size: min(calc(17 / 375 * 100vw), 17px) !important;
}
}

.itemContact__text2 .text {
  font-size: 44px;
  line-height: 1.4;
}
@media screen and (max-width: 750px) {
.itemContact__text2 .text {
  font-size: min(calc(23 / 375 * 100vw), 23px) !important;
}
}

.itemContact__text2 .number {
  font-size: 54px;
  line-height: 0.9;
}
@media screen and (max-width: 750px) {
.itemContact__text2 .number {
  font-size: min(calc(27 / 375 * 100vw), 23px) !important;
}
}





/* ----------------------------------------------------------------------
 contact 
---------------------------------------------------------------------- */

.contact {
  background: url(./img/contact__bg.jpg) no-repeat center center / cover;
  padding-block: 80px;
  margin-bottom: 10px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}
@media screen and (max-width: 750px) {
.contact {
  padding-block: 50px;
  margin-bottom: 40px;
}
}

.contact .common_headline {
  color: #fff !important;
}
.contact .sub_headline {
  color: #fff !important;
}

.contact__items {
  margin-top: 84px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 750px) {
.contact__items {
  margin-top: 30px;
  flex-direction: column;
  gap: 25px;
  max-width: 335px;
  margin-inline: auto;
}
}
.contact__item {
  width: min(600px, 100%);
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(1, 88, 155, 0.7);
  /* display: grid; */
  position: relative;
  /* overflow: hidden; */
}
@media screen and (max-width: 750px) {
.contact__item {
  width: 100%;
  padding: 16px;
}
}

.contact__item-left {
  position: relative;
  z-index: 4;
}


.contact__item-title {
  /* デフォルトスタイル打ち消し */
  margin-bottom: 0 !important;
  /* オリジナル */
  font-size: 30px !important;
  font-weight: bold;
  color: #0173B7;
  line-height: 1.4 !important;
}
@media screen and (max-width: 750px) {
.contact__item-title {
  font-size: 20px !important;
}
}
.contact__item-text {
  /* デフォルトスタイル打ち消し */
  margin-bottom: 0 !important;
  /* オリジナル */
  margin-top: 25px !important;
  display: inline-block;
  color: #404040;
  line-height: 1.7 !important;
}
@media screen and (max-width: 750px) {
.contact__item-text {
  margin-top: 7px !important;
  font-size: 12px !important;
}
}
.contact__item-cta {
  margin-top: 33px !important;
  font-size: 20px !important;
  font-weight: bold;
  color: #0173B7;
  line-height: 1.7 !important;
}
@media screen and (max-width: 750px) {
.contact__item-cta {
  margin-top: 10px !important;
  font-size: 14px !important;
}
}

.contact__item-cta .arrow {
  display: inline-block;
  background: url(./img/contact__item_arrow.svg) no-repeat center center / contain;
  width: 53px;
  height: auto;
  aspect-ratio: 53 / 9;
  transition: transform 0.3s ease;
  will-change: transform;
}
@media screen and (max-width: 750px) {
.contact__item-cta .arrow {
  width: 25px;
}
}
/* hoverできる環境だけホバー時に拡大 */
@media (any-hover: hover) {
  .contact__item:hover .contact__item-cta .arrow {
      transform: translateX(10px);
  }
}

.contact__item--bg {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100% !important;
  width: auto;
  aspect-ratio: 201 / 229;
  z-index: 2;
}

.contact__item--illast {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  transition: transform 0.3s ease;
  will-change: transform;
}

/* 無料相談のイラスト */
.contact__item.--contact .contact__item--illast {
  width: min(calc(220 / 1440 * 100vw), 220px);
  height: auto;
  aspect-ratio: 220 / 220;
  bottom: min(calc(-21 / 1440 * 100vw), -21px);
  right: min(calc(27 / 1440 * 100vw), 27px);
}
@media screen and (max-width: 750px) {
.contact__item.--contact .contact__item--illast {
  width: min(calc(115 / 375 * 100vw), 115px);
  bottom: min(calc(-11 / 375 * 100vw), -11px);
  right: min(calc(12 / 375 * 100vw), 12px);
}
}

/* 資料請求のイラスト */
.contact__item.--download .contact__item--illast {
  width: min(calc(212 / 1440 * 100vw), 212px);
  height: auto;
  aspect-ratio: 215 / 212;
  bottom: min(calc(-9 / 1440 * 100vw), -9px);
  right: min(calc(25 / 1440 * 100vw),25px);
}
@media screen and (max-width: 750px) {
.contact__item.--download .contact__item--illast {
  width: min(calc(113 / 375 * 100vw), 113px);
  bottom: min(calc(-5 / 375 * 100vw), -5px);
  right: min(calc(14 / 375 * 100vw), 14px);
}
}


/* hoverできる環境だけホバー時に拡大 */
@media (any-hover: hover) {
  .contact__item:hover .contact__item--illast {
      transform: scale(1.1);
  }
}




/* ----------------------------------------------------------------------
 サービスページ
---------------------------------------------------------------------- */
.service-template-default #main_contents {
  width: 1140px !important;
  max-width: 100% !important;
}

.service-template-default #main_col {
  max-width: 100% !important;
}

/* image */
.service-template-default .post_content img[class*="align"], .post_content img[class*="wp-image-"], .post_content img[class*="attachment-"], .post_content img.size-full, .post_content img.size-large, .post_content .wp-post-image, .post_content img {
  height:100% !important;
  max-width:100%;
}