@charset "utf-8";
/*
Template: jstork19
Theme Name: stork19_custom
Theme URI:http://open-cage.com/stork19/
Version: 1.3.0
Author: opencage
Author URI: https://open-cage.com/
*/

/* CSSファイルの一番上に追加 */
:root {
  --main-color: #215b9f;
  --sub-color: #ffe200;
	--red-color: #dc3545;
	
}


/*************************************

デフォルトのテーマデザインカスタマイズ

**************************************/

body {
	font-weight: 500;
}

/*
#inner-content:has(wp_block_cover) {
	padding: 0!important;
}
*/


/*************************************

いつものCSS

**************************************/

.text-c{
    text-align: center;
}
.text-r{
    text-align: right;
}
.text-lc,.text-l{
    text-align: left;
}
.text-cl{
    text-align: center;
}

@media (min-width:768px) {
	.text-lc{
		text-align: center;
	}
	.text-cl{
		text-align: left;
	}
}

.fs-80p {
    font-size: 80%;
}
.fs-90p {
    font-size: 90%;
}
.fs-110p {
    font-size: 110%;
}
.fs-120p {
    font-size: 120%;
}

/* ----------------------------------------------------------------------
 margin
---------------------------------------------------------------------- */
.mtb-1{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.mtb-2{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mt-1{
    margin-top: 1rem;
}


.mt-2{
    margin-top: 2rem;
}

.mt-3{
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
	.mt-3{
	   	margin-top: 3rem;
	}
}

.mt-4{
    margin-top: 2rem;
}
@media (min-width: 768px) {
	.mt-4{
	   	margin-top: 4rem;
	}
}

.mt-5 {
	margin-top: 2.5rem;
}
@media (min-width: 768px) {
	.mt-5{
	   	margin-top: 5rem;
	}
}
.mt-6 {
	margin-top: 3rem;
}
@media (min-width: 768px) {
	.mt-6{
	   	margin-top: 6rem;
	}
}


.mt-7 {
	margin-top: 3.5rem;
}
@media (min-width: 768px) {
	.mt-7{
	   	margin-top: 7rem;
	}
}


.mt-8 {
	margin-top: 4rem;
}
@media (min-width: 768px) {
	.mt-8{
	   	margin-top: 8rem;
	}
}

.mt-10{
    margin-top: 5rem;
}
@media (min-width: 768px) {
	.mt-10{
	   	margin-top: 10rem;
	}
}


.mt-15{
    margin-top: 5rem;
}
@media (min-width: 768px) {
	.mt-15{
	   	margin-top: 15rem;
	}
}


.mt-20{
    margin-top: 5rem;
}
@media (min-width: 768px) {
	.mt-20{
	   	margin-top: 20rem;
	}
}

.mb-10{
    margin-bottom: 5rem;
}
@media (min-width: 768px) {
	.mb-10{
	   	margin-bottom: 10rem;
	}
}

.mb-15{
    margin-bottom: 7.5rem;
}
@media (min-width: 768px) {
	.mb-15{
	   	margin-bottom: 15rem;
	}
}

.mb-20{
    margin-bottom: 10rem;
}
@media (min-width: 768px) {
	.mb-20{
	   	margin-bottom: 20rem;
	}
}

.ml-04{
    margin-left: .4rem;
}
.ml-05{
    margin-left: .5rem;
}
.ml-1{
    margin-left: 1rem;
}
.ml-2{
    margin-left: 2rem;
}
.ml-3{
    margin-left: 3rem;
}

.mr-1{
    margin-right: 1rem;
}
.m-auto {
	margin-left : auto;
	margin-right: auto; 
}

.pt-1{
    padding-top: 1rem;
}


.pt-1-sp-0 {
    padding-top: 0rem;
}
@media (min-width: 768px) {
	.pt-1-sp-0 {
		padding-top: 1rem;
	}
}


.pt-2{
    padding-top: 2rem;
}


.pt-10 {
	padding-top: 5rem;
}
@media (min-width: 768px) {
	.pt-10 {
		padding-top: 10rem;
	}
}


.pd-1 {
    padding: 1rem;
}
.pd-2 {
    padding: 2rem;
}
.pd-3 {
    padding: 3rem;
}
.pd-4 {
    padding: 4rem;
}
.pd-5 {
    padding: 3.5rem;
}
@media (min-width: 768px) {
	.pd-5 {
		padding: 5rem;
	}
}


.pb-05{
    padding-bottom: .5rem;
}
.pb-1{
    padding-bottom: 1rem;
}
.pb-2{
    padding-bottom: 2rem;
}
.pb-3{
    padding-bottom: 3rem;
}

.pb-6{
    padding-bottom: 3rem;
}
@media (min-width: 768px) {
	.pb-6{
		padding-bottom: 6rem;
	}
}

.pb-20 {
	padding-bottom: 10rem;
}
@media (min-width: 1025px) {
.pb-20 {
	padding-bottom: 20rem;
}
}

.pd-bm-4 {
	padding-bottom: 2.5rem;
}
@media (min-width: 1025px) {
	.pd-bm-4 {
		padding-bottom: 4rem;
	}
}

.pd-tb-1 {
	padding: 1rem 0;
}
.pd-tb-2 {
	padding: 2rem 0;
}
.pd-tb-3 {
	padding: 3rem 0;
}

.pd-tb-4 {
	padding: 4rem 0;
}

.mg-lr-3 {
	margin-left: 3rem;
	margin-right: 3rem;
}

.mt-m1{
    margin-top: -1rem;
}


/* ==========================================================================
   ヘッダー
   ========================================================================== */
@media only screen and (min-width: 768px) {
    .site__logo .custom-logo-link {
        display: grid;
        place-items: start !important;
    }
}

/* ==========================================================================
   heroエリア
   ========================================================================== */
#custom_header .en {
    font-size: 240% !important;
    font-size: clamp(28px, 6vw, 45px);
    margin-bottom: 0.375em;
}
@media only screen and (min-width: 768px) {
    #custom_header .en {
		font-size: 345% !important;
	}
}
#custom_header .ja {
    font-size: 100% !important;
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 700;
    margin: 0 1em 1.5em;
}
@media only screen and (min-width: 768px) {
	#custom_header .ja {
	    font-size: 140% !important;
	}
}

@media only screen and (min-width: 768px) {
    #custom_header .stk_custom_header__text {
        width: 100%;
        max-width: 800px !important;
    }
}

/* ==========================================================================
   お問い合わせフォーム (Contact Form 7 対応)
   ========================================================================== */
.contact-section {
  /* 背景色は親セクションで制御 */
}

.form-group {
  /* 各フォーム項目のグループ */
}

.form-label {
  display: flex;
  align-items: baseline;
  font-weight: 500;
  color: #333;
}

.label-tag {
  display: inline-block;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 10px;
  line-height: 1;
}
.label-tag.red {
  background-color: var(--red-color);
}
.label-tag.dark {
  background-color: #777;
}
.label-text {
	display: inline-block;
	font-weight: 600;
}


.form-job-id {
  font-size: 18px;
  font-weight: bold;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.form-note {
  font-size: 12px;
  color: #e53935;
}


/* テキスト入力欄、セレクトボックスの共通スタイル */
.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="password"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="date"],
.wpcf7-form-control-wrap input[type="url"],
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap select {
	width: 100%;
	padding: 12px 15px;
	margin-top: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	background-color: #fff;
	color: #333;
}
input::placeholder,textarea::placeholder {
  color: #bbb;
}


/* セレクトボックス特有のスタイル */
.wpcf7-form-control-wrap select {
  appearance: none;
}
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  border-color: #888 transparent transparent transparent;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 生年月日セレクトボックスの幅 */
.birthdate-select-group {
  gap: 10px;
  flex-wrap: wrap;
}
.birthdate-select-group .select-wrapper {
  flex-shrink: 0;
}
.birthdate-select-group .select-wrapper.year {
  width: 140px; 
}
.birthdate-select-group .select-wrapper.month,
.birthdate-select-group .select-wrapper.day {
  width: 100px;
}
.birthdate-select-group span {
  align-self: center;
}
.birthdate-select-group span.wpcf7-form-control-wrap {
  display: block;
}
/* 生年月日プレースホルダー用のスタイル */
.wpcf7-form-control-wrap select.placeholder-selected {
  color: #999 !important;
}


/* 性別ラジオボタンのスタイル */

.radio-group {
  display: flex;
  gap: 10px; /* ← この行を追加 */
}

.radio-group .wpcf7-list-item {
	margin-top: 5px;
}

.radio-group input[type="radio"] {
  display: none;
}
.radio-group .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 25px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s;
}
.radio-group input[type="radio"]:checked + span {
  background-color: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

/* 送信ボタン */
.form-submit {
  text-align: center;
}
button, html input[type=button], input[type=reset], input[type=submit] {
    appearance: button;
    cursor: pointer;
	font-size: 18px;
	font-weight: bold;
    background: var(--main-color);
    color: #fff;
	border: none;
	border-radius: 50px;
	width: 100%;
	padding: 15px 20px;
	margin-top: 50px;
	transition: opacity 0.3s;
	-webkit-appearance: none;
}

button, html input[type=button], input[type=reset], input[type=submit]:hover {
  opacity: 0.8;
}


/* Contact Form 7 送信完了メッセージのスタイル */
.wpcf7-mail-sent-ok {
    display: block !important;
    margin: 20px 0 !important;
    padding: 20px !important;
    border: 2px solid #4caf50 !important; /* 緑色の枠線 */
    background-color: #f0fff0 !important; /* 薄い緑色の背景 */
    color: #333 !important; /* 文字色 */
    font-size: 1.1em !important;
    font-weight: bold !important;
    text-align: center;
}

/* 送信後フォームを非表示にする */

form.sent .form-area {
	display: none;
}












/* ▼ここからシンプルな追尾バナーのCSS▼ */

/* バナー全体のコンテナ設定 */
#simple-sticky-banner {
  position: fixed;   /* 画面に固定 */
  bottom: 20px;      /* 画面下からの位置 */
  left: 20px;        /* 画面左からの位置 */
  z-index: 9999;     /* 他の要素より手前に表示 */
  transition: width 0.2s ease-in-out; /* サイズ変更を滑らかに */
  box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* 影を付けて立体感を出す */
  border-radius: 8px; /* 角を少し丸くする */
  /* overflow: hidden; を削除 */
}

/* バナー内の画像が親要素に収まるように設定 */
#simple-sticky-banner img {
  display: block;    /* 画像下の余白を消す */
  width: 100%;
  height: auto;
  border-radius: 8px; /* 【変更点】画像自体に角丸を設定 */
}

/* --- パソコンでの表示サイズ (画面幅769px以上) --- */
@media (min-width: 769px) {
  #simple-sticky-banner {
    width: 140px; /* PCでのバナー幅 */
  }
}

/* --- スマホでの表示サイズ (画面幅768px以下) --- */
@media (max-width: 768px) {
  #simple-sticky-banner {
    width: 90px; /* スマホでのバナー幅 */
    bottom: 15px;
    left: 15px;
  }
}

/* ▼ここから追尾バナーの閉じるボタン用CSS▼ */

/* 閉じるボタンの位置とデザイン */
#close-sticky-banner {
  position: absolute;
  top: -60px;
  right: -10px;
  width: 26px;
  height: 26px;
  background-color: #333;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 10000;
}

#close-sticky-banner:hover {
  background-color: #e60000;
}

/* JSでこのクラスが付いたらバナーを非表示にする */
#simple-sticky-banner.is-hidden {
  display: none;
}
/* ▲ここまで追尾バナー関連のCSS▲ */



/* お問い合わせページのreCAPTCHAバッジの位置を調整 */
body.page-slug-contact .grecaptcha-badge {
  bottom: auto !important; /* デフォルトの下位置を解除 */
  right: auto !important;  /* デフォルトの右位置を解除 */
  
  /* ここから新しい位置を指定します（値は調整してください） */
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 9999; /* 他の要素より手前に表示 */
}


