@charset "UTF-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif !important;
	color: #4C4C4D;
	font-size:16px;
  background:#fff;
}


/* --------------- 見出し画像 --------------- */
.main-img-wrapper {
  background-image: url('../image/recruit.jpg');
}




/* --------------- タブ --------------- */
.tab-area {
  width: 100vw;
  background-color: #ECECEF;
  padding-top:50px;
}

.tab-bg {
  width:100%;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ECECEF;
}
@media screen and (max-width:1030px) {/* sp */
	.tab-bg { 
    max-width:95%;
   }
}

.tabs {
  display: flex;
  justify-content: center;
  background-color: #ECECEF;
  overflow: hidden;
}

.tab {
  flex: 1;
  max-width: 275px;
  text-align: center;
  padding: 15px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.7;
  background-color: #ffffff78;
  color: #00275B;
  cursor: pointer;
  position: relative;
}
@media screen and (max-width:1030px) {/* sp */
	.tab { 
    padding: 5px;
    line-height: 1.6;
    font-size:14px;
   }
}
@media screen and (max-width: 757px) {
  .tab span {
    display: inline-block; /* ← 必須！ */
    line-height: 2.3;
    font-size: 11px;
    font-weight: bold;
    transform: scale(1, 1.5); /* 横1：縦1.5（長体） */
    transform-origin: center; /* 中央から伸ばす */
  }
}

.tab:nth-of-type(2) {
  flex: 1;
  max-width: 275px;
  text-align: center;
  padding: 15px;
  padding-top:30px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.7;
  background-color: #ffffff78;
  color: #00275B;
  cursor: pointer;
  position: relative;
}
@media screen and (max-width:1030px) {/* sp */
  .tab:nth-of-type(2) { 
    font-size: 15px;
    padding: 5px;
    line-height: 1.6;
    text-wrap: balance;
   }
}

.tab.active {
  background-color: #fff;
  color: #00275B;
}

.tab.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #DACA4D; /* 黄色の線 */
  border-radius: 2px;
}

.tab-content {
  display: none;
  background-color: #fff;
  padding: 40px 20px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  position: relative;
}

.tab-content.active {
  display: block;
}



/* --------------- 固定エントリーボタン --------------- */
/* ── 既存の .entry-btn に追加／修正 ── */
.entry-btn {
  position: fixed;
  bottom: 70px;
  right: 0;
  width: auto;
  padding: 20px 28px;
  border-radius: 15px 0 0 15px;
  background-color: #DACA4D;
  overflow: hidden;   
  z-index: 99999;
}

/* 擬似要素で流れる色を作る */
.entry-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00275B; 
  transform: scaleX(0);    
  transform-origin: left center;  
  transition: transform 0.4s ease;
  z-index: 0;                
}

/* ホバー時に擬似要素を横いっぱいに広げる */
.entry-btn:hover::before {
  transform: scaleX(1);   
}

/* ── テキスト部分は擬似要素より上に表示させる ── */
.entry-btn-moji {
  position: relative;
  z-index: 1;         
  color: #00275B;
  font-size: 18px;
  font-weight: bold;
}

.entry-btn:hover .entry-btn-moji {
  color: #fff;
}

/* スマホ幅（max-width:1030px）の調整はそのまま残す */
@media screen and (max-width:1030px) {
  .entry-btn {
    bottom: 70px;
    padding: 15px 20px;
  }
  .entry-btn-moji {
    font-size: 16px;
  }
}



/* --------------- 共通（見出しなど） --------------- */
h3 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #00275B;
  border-left: 8px solid #DACA4D;
  height:50px;
  padding-left: 15px;
  padding-top:5px;
}
@media screen and (max-width:1030px) {/* sp */
	h3 { 
    font-size:21px;
    height:40px;
    margin-bottom:30px;
   }
}

.wrap-1000 {
  width:100%;
  max-width:1000px;
  margin: 0 auto;
  margin-top:50px;
  margin-bottom:100px;
}
@media screen and (max-width:1030px) {/* sp */
	.wrap-1000  { 
    margin-top:20px;
   }
}

.wrap-1100 {
  width:100%;
  max-width:1100px;
  margin: 0 auto;
  margin-top:50px;
}


/* --------------- パーパス・代表メッセージ  --------------- */
/* ----- パーパス ---- */
.vision-section {
  display: flex;
  align-items: flex-start;
  margin-bottom:100px;
}
@media screen and (max-width:1030px) {/* sp */
  .vision-section { 
    display: block;
   }
}

.vision-text {
  width: 100%;
  font-size: 16px;
  color: #00275B;
  line-height: 2.8;
  font-weight: bold;
}
@media screen and (max-width:1030px) {/* sp */
	.vision-text { 
    line-height: 2.2;
   }
}

.vision-text h2 {
  font-size: 69px;
  color: #00275B;
  margin-bottom: 50px;
  letter-spacing: 9px;
}
@media screen and (max-width:1030px) {/* sp */
	.vision-text h2 { 
    font-size: 35px;
    letter-spacing:6px;
    margin-bottom: 30px;
   }
}

.vision-image {
  position: absolute;
  top: 280px; 
  right: 0;
  width: 35vw;
  z-index: 0;
}
@media screen and (max-width: 1030px) {
  .vision-image {
    position: static;
    top: 0px; 
    width: 100vw;
    margin: 30px 0;
    transform: translateX(-50%);
    left: 50%;
    position: relative;
  }

  .vision-image img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.vision-image img {
  width: 100%;
  height: auto;
  display: block;
}



/* -----代表メッセージ ---- */
.president-section {
  margin-bottom:100px;
}

.president-image img {
  width: 100%;
  height: auto;
  display: block;
}

.president-message h2 {
  font-size: 41px;
  font-weight: bold;
  color: #00275B;
  margin-top:40px;
  margin-bottom: 30px;
  letter-spacing: 4px;
}
@media screen and (max-width:1030px) {/* sp */
  .president-message h2 { 
    font-size: 25px;
    letter-spacing:0px;
   }
}

.president-message p {
  font-size: 16px;
  color: #4C4C4D;
  line-height: 2;
  margin-bottom: 20px;
}

.president-sign {
  margin-top: 40px;
  text-align: right;
}
@media screen and (max-width:1030px) {/* sp */
  .president-sign { 
    text-align: left;
   }
}

.sign-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 15px; /* テキストと画像の間隔 */
}

.sign-wrapper .position {
  font-size: 16px;
  color: #4C4C4D;
  margin: 0;
  white-space: nowrap;
}

.sign-wrapper img {
  height: 50px;
}
@media screen and (max-width: 1030px) {
  .sign-wrapper {
    flex-direction: column; /* 横並び → 縦並びに */
    align-items: flex-start; /* 左寄せ */
  }

  .sign-wrapper img {
    display: block;
  }
}



/* --------------- 社員インタビュー   --------------- */
.member-section {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.member-card {
  width: calc(50% - 40px); /* 2列レイアウト */
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom:60px;
}
@media screen and (max-width:1030px) {/* sp */
  .member-card { 
  margin-bottom:40px;
   }
}

.member-card img {
  width: 100%;
  height: auto;
}

.member-card h4 {
  font-size: 30px;
  font-weight: bold;
  color: #00275B;
  gap: 30px;
  align-items: center;
  margin-bottom: 0;
}
@media screen and (max-width:1030px) {/* sp */
  .member-card h4 { 
    font-size: 24px;
    gap: 20px;
   }
}

.member-card .year {
  font-size: 18px;
  color: #00275B;
  font-weight: bold;
  margin-top:10px;
  display: block;
}
@media screen and (max-width:1030px) {/* sp */
  .member-card .year { 
    font-size: 15px;
    margin-top:5px;
   }
}

.member-card p {
  font-size: 16px;
  line-height: 2;
  color: #4C4C4D;
  text-align: justify;
    display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}

.member-card .btn {
  display: inline-block;
  align-self: start;
  width:80%;
  padding: 15px 24px;
  margin: 0 auto;
  border: 2px solid #00275B;
  color: #00275B;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  margin-top:10px;
  transition: 0.3s;
}

.member-card .btn:hover {
  background: #00275B;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .member-card {
    width: 100%;
  }
}



/* -----個人 ---- */
.person-detail {
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  color: #00275B;
}

.person-image img {
  width: 100%;
  height: auto;
  display: block;
}

.person-text {
  max-width: 900px;
  margin: 0 auto;
}

.section-line {
  border: none;
  border-top: 1px solid #00275B;
  width: 1200px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 50px;
  margin-bottom: 120px;
}
@media screen and (max-width:1030px) {/* sp */
  .section-line { 
    margin-top: 20px;
    margin-bottom: 80px;
   }
}

.person-text h4 {
  font-size: 30px;
  font-weight: bold;
  color: #00275B;
  align-items: center;
}
@media screen and (max-width:1030px) {/* sp */
  .person-text h4 { 
    font-size:25px;
   }
}

.person-text .year {
  font-size: 18px;
  color: #00275B;
  font-weight: bold;
  display: block;
  margin-top: -10px;
}
@media screen and (max-width:1030px) {/* sp */
  .person-text .year { 
    font-size:15px;
   }
}

.person-text h5 {
  font-size: 32px;
  font-weight: bold;
  color: #00275B;
  margin-top: 0px;
  margin-bottom: -10px;
}
@media screen and (max-width:1030px) {/* sp */
  .person-text h5 { 
    font-size:24px;
    line-height: 0.3;
    margin-top:30px;
    margin-bottom:30px;
   }
}

.person-text h5 span {
  color:#DACA4D;
  display: inline-block;
  margin-right:5px;
}

.person-text p {
  font-size: 16px;
  line-height: 2;
  color: #4C4C4D;
  margin-bottom: 20px;
}

.person-text span {
  font-weight: bold;
  display: block;
  margin-top:30px;
  margin-bottom: 10px;
}
@media screen and (max-width:1030px) {/* sp */
.person-text span { 
  margin-top:20px;
  margin-bottom: 10px;
   }
}

.person-text .note {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-top: 40px;
}



/* --------------- 募集要項・選考フロー  --------------- */
/* --- 募集要項アコーディオン  ---- */
.bosyu {
  margin-bottom:100px;
}

.accordion-bosyu {
    max-width: 1100px;
    margin-bottom: 15px;
    /* -border-bottom: 2px solid #d0d0d0;-- */
}

.accordion-bosyu summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0.8em 2em;
    color: #fff;
    font-size:20px;
    font-weight: 600;
    cursor: pointer;
    background-color: #00275B;
    border-radius: 5px;
}
@media screen and (max-width:1030px) {/* sp */
  .accordion-bosyu summary { 
    font-size:18px;
   }
}

.accordion-bosyu summary::-webkit-details-marker {
    display: none;
}

.accordion-bosyu summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
    transition: transform .3s;
}

.accordion-bosyu[open] summary::after {
    transform: rotate(225deg);
}

.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
  max-width: 950px;
  margin: 0 auto;
  margin-top:40px;
  margin-bottom:50px;
}
@media screen and (max-width:1030px) {/* sp */
  .btn-wrap { 
    gap:3%;
    margin-bottom:30px;
   }
}

.fancy-btn {
  position: relative;
  display: inline-block;
  padding: 25px 40px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border-radius: 15px;
  background-color: #00275B;
  overflow: hidden;
  z-index: 0;
  transition: color 0.3s ease;
  width:300px;
}
@media screen and (max-width:1030px) {/* sp */
  .fancy-btn { 
    width:48%;
    margin-bottom:20px;
    padding: 20px 20px;
    font-size: 15px;
   }
}

.fancy-btn.gray {
    background-color: #d0d3e1;
      cursor: default;        /* 矢印に固定 */
      pointer-events: none;   /* クリックやホバーの反応をなくす */
}

.fancy-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #DACA4D;
  transition: left 0.4s ease;
  z-index: -1;
}

.fancy-btn:hover::before {
  left: 0;
}

.fancy-btn:hover {
  color: #00275B;
  font-weight: bold;
}

.hw-moji-1 {
  font-size:24px;
  font-weight: bold;
  color: #00275B;
  margin: 0 auto;
  margin-left:30px;
  max-width: 950px;
}
@media screen and (max-width:1030px) {/* sp */
  .hw-moji-1 { 
    font-size:20px;
    line-height:32px;
    margin-top:20px;
    margin-left:0px;
   }
}

.hw-moji-1 a {
  color: #00275B;
  text-decoration: underline;
}

.hw-moji-1 span {
  color: #DACA4D;
  margin-right:10px;
}

.hw-moji-2 {
  font-size:16px;
  color: #00275B;
  margin-top:10px;
  margin-bottom:100px;
  margin-left:35px;
}
@media screen and (max-width:1030px) {/* sp */
  .hw-moji-2 { 
    margin-left:0px;
   }
}



.flow {
  margin-bottom:100px;
}
@media screen and (max-width:1030px) {/* sp */
  .flow { 
    margin-bottom:80px;
   }
}

.flow summary::-webkit-details-marker {
  display: none;
}

.flow-moji {
  font-size:21px;
  font-weight: bold;
  color: #00275B;
}
@media screen and (max-width:1030px) {/* sp */
  .flow-moji { 
    font-size:16px;
    line-height: 2;
   }
}


.accordion {
  position: relative;
  max-width: 1100px;
  margin-bottom: 30px;
  border: 3px solid #DACA4D;
  background-color: #fff;
  border-radius: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
@media screen and (max-width:1030px) {/* sp */
  .accordion { 
    padding:8px;
   }
}

.accordion:last-child {
  position: relative;
  max-width: 1100px;
  margin-bottom: 30px;
  border: 3px solid #DACA4D;
  background-color: #DACA4D;
  border-radius: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media screen and (max-width:1030px) {/* sp */
  .accordion:last-child { 
    padding:6px;
    text-align: center;
   }
}

/* 下の三角 */
.accordion:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  width: 30px;
  height: 30px;
  background-color: #fff;
  border: 3px solid #DACA4D;
  border-top: none;
  border-right: none;
  z-index: 1;
}
@media screen and (max-width:1030px) {/* sp */
  .accordion:not(:last-of-type)::after { 
    width: 20px;
    height: 20px;
    bottom: -12px;
   }
}


.accordion summary {
  font-weight: normal;
  display: flex;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: #00275B;
  font-size: 16px;
  cursor: default;
}
@media screen and (max-width:1030px) {
  .accordion summary {
    display: block; /* ← 横並びを解除して縦に並べる */
    padding: 1em 1em;
    font-size: 16px;
  }
}

.step {
  color: #DACA4D;
  font-weight: bold;
  margin-right: 20px;
  font-size: 20px;
  line-height: 1;
}
@media screen and (max-width:1030px) {/* sp */
  .step { 
    font-size: 16px;
   }
}

.text {
  font-weight: bold;
  font-size: 21px;
  width:200px;
}
@media screen and (max-width:1030px) {/* sp */
  .text { 
    font-size: 18px;
    width:auto;
   }
}

.sub-text {
  line-height: 32px;
}
@media screen and (max-width:1030px) {
  .sub-text {
    display: block; /* スマホでは改行 */
    margin-top: 8px;
  }
}

.naitei {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin: 0 auto;
  letter-spacing: 2px;
}
@media screen and (max-width:1030px) {
  .naitei {
    font-size: 21px;
  }
}


.co-moji-1 {
  font-size:16px;
  color:#00275B;
  font-weight: bold;
  margin-bottom:10px;
}

.co-moji-2 {
  font-size:16px;
  color:#00275B;
  margin-bottom:20px;
  line-height: 28px;
}

.none {
  display:none;
}

.block {
  display:block;
}

.con-card .btn {
  display: inline-block;
  align-self: start;
  width:400px;
  padding: 15px 24px;
  margin: 0 auto;
  border: 2px solid #00275B;
  color: #00275B;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  margin-top:10px;
  transition: 0.3s;
}

.con-card .btn:hover {
  background: #00275B;
  color: #fff;
}

@media screen and (max-width: 757px) {
  .con-card .btn {
    width: 100%;
  }
}





/* --------------- 福利厚生・研修制度  --------------- */
.recruit-moji {
  font-size: 16px;
  color: #4C4C4D;
  line-height: 2;
  margin-bottom:100px;
}
@media screen and (max-width:1030px) {
  .recruit-moji {
    margin-bottom:70px;
  }
}



/* --------------- 問い合わせフォーム  --------------- */
.wrap-900 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  padding-top: 50px;
  padding-bottom: 100px;
}
@media screen and (max-width:1030px) {/* sp */
  .wrap-900 { 
    width: 90%;
    padding-top: 50px;
    padding-bottom: 80px;
   }
}

.contact-moji-1 {
  font-size:21px;
  font-weight: bold;
  color: #00275B;
  margin-top:20px;
  margin-bottom:20px;
}
@media screen and (max-width:1030px) {/* sp */
  .contact-moji-1 { 
    font-size:18px;
    line-height:32px;
  margin-bottom:20px;
   }
}


/* 共通フォームコントロール（input／textarea／select） */
/* 共通フォームコントロール（input／textarea／select） */
.cf7-item .wpcf7-form-control,
.cf7-item .wpcf7-form-control-wrap select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  font-size: 16px;
  border: 2px solid #DAC44E;
  border-radius: 8px;
  margin-bottom: 0.6em;
  background-color: #fff;  /* 背景色を白に設定 */
  color: #333;  /* 文字色を黒に設定 */
}

.cf7-item .wpcf7-form-control-wrap textarea {
  min-height: 8em;
  background-color: #fff;  /* 背景色を白に設定 */
  color: #333;  /* 文字色を黒に設定 */
}


/* ラベルと必須／任意バッジ */
.cf7-item .cf7-label {
  font-size: 18px;
  font-weight: bold;
  color: #00275B;
  margin-bottom: 0.5em;
}
.required-badge,
.optional-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 5px;
  margin-left: 0.5em;
  vertical-align: middle;
}
.required-badge { background: #C62828; color: #fff; }
.optional-badge { background: #a1a1a1;    color: #fff; }

/* ラジオボタン（カード風×横並び50%） */

/* グループ全体の余白リセット */
.cf7-item.cf7-radio-group {
  margin: 0 0 0.6em !important;
  padding: 0 !important;
}

/* CF7自動ラッパーの余白・枠リセット */
.cf7-item.cf7-radio-group .wpcf7-form-control-wrap,
.cf7-item.cf7-radio-group .wpcf7-form-control {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* 横並び設定 */
.cf7-radio-group .cf7-radio-btn {
  display: flex;
  gap: 4%;
  margin-top: 0.5em;
}

/* 各選択肢を50%幅に */
.cf7-radio-group .cf7-radio-btn .wpcf7-list-item {
  flex: 0 0 48%;
  max-width: 48%;
}

.wpcf7-list-item {
  margin: 0 !important;
}

/* ラジオボタンの外観をリセットしてカスタムデザインを適用 */
.cf7-radio-group .cf7-radio-btn .wpcf7-list-item input[type="radio"] {
  -webkit-appearance: none;  /* Safari */
  -moz-appearance: none;     /* Firefox */
  appearance: none;          /* その他ブラウザ */
  width: 20px;
  height: 20px;
  border: 1px solid #DAC44E; /* 枠線の色 */
  border-radius: 50%;        /* 丸くする */
  background-color: #fff;    /* 背景色 */
  position: relative;        /* チェックマークを配置するため */
  cursor: pointer;
    margin-right: 8px;
}

/* 選択されたときのラジオボタンの色変化 */
.cf7-radio-group .cf7-radio-btn .wpcf7-list-item input[type="radio"]:checked {
  background-color: #01234F;  /* 選択状態の背景色 */
  border-color: #01234F;      /* 選択状態の枠線色 */
}

/* チェックマークを作成 */
.cf7-radio-group .cf7-radio-btn .wpcf7-list-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #fff; /* チェックマークの色 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%; /* 丸にする */
  box-shadow: inset 0 0 0 3px #01234F; /* チェックマークの枠 */
}

/* ラベル */
.cf7-radio-group .cf7-radio-btn .wpcf7-list-item label {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  border: 2px solid #DAC44E;
  border-radius: 8px;
  cursor: pointer;
  background-color: #fff;  /* ラベルの背景色 */
  color: #333; /* 文字色 */
  transition: background-color .2s, border-color .2s;
}

/* ラベルが選択されたとき */
.cf7-radio-group .cf7-radio-btn .wpcf7-list-item input[type="radio"]:checked + span {
  background-color: #D6E1FF; /* 選択時のラベル背景色 */
  border-color: #01234F; /* 選択時の枠線色 */
}


/* --------------- 利用規約チェックボックス（カード風100%幅） --------------- */
.cf7-checkbox-agree .cf7-label {
  margin-bottom: 1.8em;
}

.cf7-label a {
  text-decoration: underline !important;
}

.cf7-checkbox-agree label {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  box-sizing: border-box;
  padding: 15px !important;
  border: 2px solid #DAC44E !important;
  border-radius: 4px !important;  /* 角を少し丸く */
  cursor: pointer !important;
  margin: 0.5em 0;
}

/* 内側の二重枠を消去 */
.cf7-checkbox-agree .wpcf7-list-item,
.cf7-checkbox-agree .wpcf7-list-item label {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* チェックボックス入力の余白 */
.cf7-checkbox-agree .wpcf7-list-item input[type="checkbox"] {
  -webkit-appearance: none;  /* Safari */
  -moz-appearance: none;     /* Firefox */
  appearance: none;          /* その他ブラウザ */
  width: 20px;
  height: 20px;
  border: 1px solid #DAC44E; /* 枠線の色 */
  background-color: #fff;    /* 背景色 */
  position: relative;        /* チェックマークを配置するため */
  cursor: pointer;
  margin-right: 8px;
  top: 2px; 
}

/* チェックボックス選択時の色変化 */
.cf7-checkbox-agree .wpcf7-list-item input[type="checkbox"]:checked {
  background-color: #fff;  /* 選択時の背景色（紺色） */
  border-color: #DAC44E;      /* 選択時の枠線色（紺色） */
}

/* チェックボックスが選択されたときに表示するチェックアイコン（紺色のチェックマーク） */
.cf7-checkbox-agree .wpcf7-list-item input[type="checkbox"]:checked::after {
  content: '✔︎';  /* チェックマークのアイコン */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;  /* チェックマークのサイズ */
  color: #01234F;  /* チェックマークの色（白） */
}

/* チェックボックスラベル */
.cf7-checkbox-agree .wpcf7-list-item label {
  display: flex;
  align-items: center;
  width: 100% !important;
  padding: 15px;
  border: 2px solid #DAC44E;
  border-radius: 4px; /* 角を少し丸く */
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

/* チェックボックスが選択されたとき */
.cf7-checkbox-agree .wpcf7-list-item input[type="checkbox"]:checked + span {
  background-color: #D6E1FF; /* 選択時のラベル背景色 */
  border-color: #01234F; /* 選択時の枠線色（紺色） */
}



/* --------------- 送信ボタン --------------- */
.cf7-submit {
  display: block !important;
  width: 100% !important;
  padding: 20px !important;
  font-size: 18px !important;
  font-weight: bold;
  text-align: center !important;
  color: #fff !important;
  background: #00275B !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  margin-top: 80px !important;
}

/* --------------- サンプル文字の色を変更  --------------- */
.cf7-item .wpcf7-form-control::placeholder {
  color: #cac9c9 !important;
  opacity: 1; /* Firefox 用に透明度をリセット */
}

/* textarea の場合も同様 */
.cf7-item .wpcf7-form-control-wrap textarea::placeholder {
  color: #cac9c9 !important;
  opacity: 1;
}

/* ブラウザ別ベンダープレフィックス（必要に応じて） */
::-webkit-input-placeholder { color: #cac9c9 !important; }
:-ms-input-placeholder { color: #cac9c9 !important; }
:-moz-placeholder { color: #cac9c9 !important; opacity: 1; }
::-moz-placeholder { color: #cac9c9 !important; opacity: 1; }



/* --------------- reCAPTCHA  --------------- */
.reCAPTCHA {
  text-align: center;
  font-size: 13px;
}
@media screen and (max-width:757px) {/* sp */
	.reCAPTCHA { text-align:left; }
}


