/*------------------------------------------
カスタムリセット
---------------------------------------------*/

* {
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-default);
}

html {
  scroll-behavior: smooth !important;
  scroll-padding-top: 110px; /* ヘッダー分のオフセット */
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px; /* モバイル時のヘッダー分のオフセット */
  }
}

.underline {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.underline:hover {
  text-decoration: none;
}

.mb10 {
  margin-bottom: 10px;
}
/*------------------------------------------

root定義

---------------------------------------------*/
:root {
  /*----------------------------------------------------------------------------------
    カラー設定
----------------------------------------------------------------------------------*/
  --gray1: #dbdcdc;
  --gray2: #c2c3c3;
  --gray3: #b4b4b5;
  --gray4: #a3a3a4;
  --gray5: #7d7d7d;
  --bk: #333333;
  --white: #ffffff;
  --red: #ff0404;

  /*----------------------------------------------------------------------------------
    フォント設定、文字サイズ、文字の太さ
----------------------------------------------------------------------------------*/
  --font-figtree: "Figtree", sans-serif;
  --font-shippori: "Shippori Mincho", serif;
  --font-noto-serif-jp: "Noto Serif JP", serif;

  --font-size-xxs: 14px;
  --font-size-xs: 16px; /* default */
  --font-size-sm: 18px; /* h3 */
  --font-size-md: 20px;
  --font-size-lg: 22px;
  --font-size-xl: 26px;
  --font-size-2xl: 34px; /* h2 */
  --font-size-3xl: 42px; /* h1 */

  --font-weight-medium: 500;
  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;

  /*----------------------------------------------------------------------------------
    余白設定
----------------------------------------------------------------------------------*/
  --space-xs: 4px;
  --space-s: 8px;
  --space-sm: 16px; /* スマホの両幅 */
  --space-m: 20px;
  --space-ml: 26px;
  --space-l: 40px;
  --space-xl: 60px;
  --space-xxl: 100px; /* サブページの大きなセクション間 */
  --space-xxxl: 150px; /* メインページの大きなセクション間 */

  /*----------------------------------------------------------------------------------
    角丸スタイル
----------------------------------------------------------------------------------*/
  --border-radius-sm: 4px;
  --border-radius-m: 7px;
  --border-radius-lg: 12px;
  --border-radius-xl: 50px;
  --border-radius-full: 50%;
  /*----------------------------------------------------------------------------------
テキストスタイル
----------------------------------------------------------------------------------*/
  --line-height-low: 1.2; 
  --line-height-normal: normal;
  --line-height-default: 1.5;
  --line-height-relaxed: 2;
  --line-height-loose: 3;

  --letter-spacing-normal: normal;
  --letter-spacing-tight: 0.05em;
  --letter-spacing-default: 0.1em;
  --letter-spacing-relaxed: 0.2em;

  --text-align-justify: justify;
  --text-align-center: center;
  --text-align-right: right;
  --text-align-left: left;

  /*----------------------------------------------------------------------------------
ボックスシャドウ
----------------------------------------------------------------------------------*/
}

/*----------------------------------------------------------------------------------
メディアクエリ
----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
  :root {
    --space-xxxl: 50px;
    --space-xxl: 50px;

    --font-size-xxs: 12px;
    --font-size-xs: 14px; /* default */    
    --font-size-md: 18px;
    --font-size-xl: 20px;
    --font-size-3xl: 26px;
    --font-size-2xl: 28px;
  }
}
/*----------------------------------------------------------------------------------
見出し
----------------------------------------------------------------------------------*/

h1 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-default);
  font-size: var(--font-size-3xl);
  color: var(--color--blue);
  font-weight: 400;
  font-family: var(--font-shippori);
}

h2 {
  display: flex;
  line-height: var(--line-height-default);
  font-size: var(--font-size-2xl);
  color: var(--color--blue);
  font-family: var(--font-shippori);
}

h3 {
  font-family: var(--font-shippori);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
}

.en {
  font-family: var(--font-figtree);
}

.column .container .title-box .en {
  font-size: var(--font-size-lg);
  font-family: var(--font-figtree);
}

.item-title {
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 22px;
  }
  .box-title {
    margin-bottom: 30px;
  }

  .item-title {
    margin-bottom: 30px;
  }

  #news .box-title {
    margin-bottom: 0px;
  }
}

/*----------------------------------------------------------------------------------
    ボタン
----------------------------------------------------------------------------------*/

/* ボタンスタイル */
.btn {
  text-align: end;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 8px 23px;
  cursor: pointer;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

/* #strength .btn {
  width: 245px;
  align-items: flex-start;
} */

#service .btn {
  background: none;
  box-shadow: none;
  padding: 0px;
}

#footer .btn {
  background: none;
  box-shadow: none;
  padding: 0px;
}

.btn .btn-arrow {
  width: 27px;
  height: 27px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}
@media (max-width: 767px) {
  .btn {
    font-size: 14px;
  }

  .btn .btn-arrow {
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
  }
}

/*----------------------------------------------------------------------------------
    テキストデザイン
----------------------------------------------------------------------------------*/
.margin-footer-40 {
  margin-bottom: 40px;
}

.text-14 {
  font-size: 14px;
}

.bold {
  font-weight: var(--font-weight-medium);
}
.bold-2 {
  font-weight: var(--font-weight-bold);
}
/*----------------------------------------------------------------------------------
    コンテンツレイアウト
----------------------------------------------------------------------------------*/
.wide_1120 {
  max-width: 1120px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 1200px) {
  .wide_1120 {
    padding: 0 64px;
  }
}

@media (max-width: 767px) {

  .wide_1120 {
    padding: 0 16px;
  }

  .padding-sp {
    padding: 0 16px;
  }

}

/*----------------------------------------------------------------------------------
    レスポンシブbr
----------------------------------------------------------------------------------*/

.br-sp {
  display: block;
}

.br-pc {
  display: none;
}
.brif-sp {
  display: inline-flex;
  margin-top: 30px;
}
.brif-pc {
  display: none;
}
@media screen and (min-width: 768px) {
  .br-sp {
    display: none;
  }
  .brif-sp {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .br-pc {
    display: block;
  }
  .brif-pc {
    display: inline-flex;
    margin-top: 0;
  }
}

/* =============================
   Fade-in utility
============================= */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
   0.5秒でふわっと表示
============================= */

.fadeIn1s {
  animation-name: fadeIn1s;
  animation-delay: 0.5s;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeIn1s {
  0% {
    opacity: 0;
  }
  100% {
      /* transform: translateY(0); */
      opacity: 1;
  }
}

/*----------------------------------------------------------------------------------
    ボックスシャドウ
----------------------------------------------------------------------------------*/
.shadow {
  box-shadow: 0 5px 0 var(--color-gray);
}

/*----------------------------------------------------------------------------------
    強み　三角形アイコン
----------------------------------------------------------------------------------*/
.diagram {
  position: relative;
  width: 300px;
  height: 250px;
  margin: 0 auto;
  margin-bottom: 150px;
}

#features .diagram {
  margin-bottom: 200px;
}

.strength-circles {
  position: relative;
  width: 100%;
  height: 100%;
}

.circle {
  position: absolute;
  width: 165px;
  height: 165px;
  background-image: url("/wp-content/uploads/circle.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333;
  text-align: center;
  z-index: 2;
  font-family: var(--font-shippori);
  font-size: 26px;
}
.circle:nth-child(2) {
  position: absolute;
  background-image: url("/wp-content/uploads/circle02.svg");
}
.circle:nth-child(3) {
  position: absolute;
  background-image: url("/wp-content/uploads/circle03.svg");
}
.circle-top {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.circle-bottom-left {
  bottom: -130px;
  left: -45px;
}

.circle-bottom-right {
  bottom: -130px;
  right: -45px;
}

.strength-center {
  position: absolute;
  top: 82%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.center-text {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-align: center;
  white-space: nowrap;
}

/* タブレット帯（1065px〜769px）での重なり回避 */
@media (max-width: 1065px) and (min-width: 769px) {
  .diagram {
    width: 280px;
    height: 235px;
  }

  .circle {
    width: 150px;
    height: 150px;
    font-size: 22px;
  }

  .circle-bottom-left,
  .circle-bottom-right {
    bottom: -120px;
  }

  .circle-bottom-left {
    left: -55px;
  }
  .circle-bottom-right {
    right: -55px;
  }
}

@media (max-width: 768px) {
  .circle-bottom-left {
    position: absolute;
    left: -4% !important;
  }

  .circle-bottom-right {
    position: absolute;
    right: -4% !important;
  }
}

/* 狭幅時の重なり回避（サイズ縮小＋左右を外側へ） */

@media (max-width: 767px) {
  .center-text {
    font-size: 16px;
}
}


@media (max-width: 480px) {
  .diagram {
    width: 260px;
    height: 220px;
    margin-bottom: 120px;
  }

  .circle {
    width: 130px;
    height: 130px;
    font-size: 18px;
  }

  .circle-bottom-left,
  .circle-bottom-right {
    bottom: -105px;
  }

  .circle-bottom-left {
    left: -25px;
  }

  .circle-bottom-right {
    right: -25px;
  }
}

/* さらに狭い画面での重なり回避（段階的に縮小） */
@media (max-width: 400px) {

  .circle {
    width: 120px;
    height: 140px;
    font-size: 17px;
}

  .circle-bottom-left,
  .circle-bottom-right {
    bottom: -100px;
  }

  .circle-bottom-left {
    left: -10px;
  }
  .circle-bottom-right {
    right: -10px;
  }

  .circle-top {
    top: 30px;
  }
}

@media (max-width: 360px) {
  .diagram {
    width: 240px;
    height: 210px;
  }

  .circle {
    width: 110px;
    height: 110px;
    font-size: 16px;
  }

  .circle-bottom-left,
  .circle-bottom-right {
    bottom: -95px;
  }

  .circle-bottom-left {
    left: 10px;
  }
  .circle-bottom-right {
    right: 10px;
  }
}

/*----------------------------------------------------------------------------------
    contactfoam
----------------------------------------------------------------------------------*/
.required-label::after {
  content: " *";
  color: #d60000;
  font-weight: bold;
  margin-left: 4px;
}

.form-submit-wrapper {
  margin-top: 40px;
  text-align: center;
}

.form-section {
  margin-bottom: 32px;
}

/* ラベルと入力欄の間 */
.form-label {
  margin-bottom: 10px;
}

/* input & textarea 高さと余白 */
.contact-form input,
.contact-form textarea {
  padding: 16px 18px;
}

/* ボタン本体 */
.form-submit-wrapper {
  margin-top: 40px;
  text-align: center;
}

/* CF7 の送信ボタン */
.wpcf7 .submit-btn {
  display: inline-block;
  padding: 14px 70px 14px 40px; /* 右に矢印分の余白 */
  border-radius: 10px;
  border: none;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-size: var(--font-size-xs);
  font-family: var(--font-noto-serif-jp);
  letter-spacing: 0.1em;
  cursor: pointer;

  /* ここで矢印アイコンを右側に表示 */
  background-image: url("/wp-content/uploads/icon-arrow-1.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 20px 20px; /* アイコンの大きさ調整 */

  transition: background-color 0.3s ease, box-shadow 0.3s ease;

  transition: 
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    background-position 0.3s ease;
  
}

/* ▼ hover 時に矢印を少し右へ移動 */
.wpcf7 .submit-btn:hover {
  background-color: var(--gray2);
  background-position: right 5px center; /* ← ここで動かす */
}


.wpcf7 .submit-btn:hover {
  background-color: var(--gray2);
}

.contact-form .form-submit-wrapper {
  display: flex;
  justify-content: center;
}


.wpcf7-spinner{
  display: none;
}

.contact-form .form-section select[name="job_type"] {
  margin-bottom: 16px; /* 好きな値に変更可 */
}

/* SP用の微調整（必要なら） */
@media (max-width: 767px) {
  .contact-form .form-submit-wrapper {
    margin-top: 26px;
  }

  .wpcf7 .submit-btn {
    /* ボタン幅を少しだけ狭めたいなら */
    /* width: 220px; とかもOK。不要なら消してOK */
    /* width: 220px; */
  }
}

/*----------------------------------------------------------------------------------
    google recaptcha　アイコン非表示
----------------------------------------------------------------------------------*/

.grech {
  margin:40px 0 0 0;
  font-size: 12px;
}


.grecaptcha-badge { visibility: hidden; }
