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

/* ローダー*/
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff; /* ローディング画面の背景色 */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  display: flex; /* アニメーションを中央に配置 */
  justify-content: center; /* 水平方向中央揃え */
  align-items: center; /* 垂直方向中央揃え */
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

@-webkit-keyframes ball-beat {
  50% {
    opacity: 0.2;
    -webkit-transform: scale(0.75);
            transform: scale(0.75); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }

@keyframes ball-beat {
  50% {
    opacity: 0.2;
    -webkit-transform: scale(0.75);
            transform: scale(0.75); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }

.ball-beat > div {
  background-color: #808080; /* グレイ系のアニメーションの色 */
  width: 15px;
  height: 15px;
  border-radius: 100%;
  margin: 2px;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  display: inline-block;
  -webkit-animation: ball-beat 0.7s 0s infinite linear;
          animation: ball-beat 0.7s 0s infinite linear; }
  .ball-beat > div:nth-child(2n-1) {
    -webkit-animation-delay: -0.35s !important;
            animation-delay: -0.35s !important; 
}

/* 予約フォーム */
.hidden-area {
  display: none;
}
/* ラジオボタンとチェックボックスの全体をクリック可能にする */
.wpcf7 .wpcf7-radio .wpcf7-list-item,
.wpcf7 .wpcf7-checkbox .wpcf7-list-item {
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

/* ホバー時のスタイル */
.wpcf7 .wpcf7-radio .wpcf7-list-item:hover,
.wpcf7 .wpcf7-checkbox .wpcf7-list-item:hover {
    background-color: #f0f0f0;
}

/* ラベル全体をクリック可能にする */
.wpcf7 .wpcf7-radio .wpcf7-list-item label,
.wpcf7 .wpcf7-checkbox .wpcf7-list-item label {
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 4px 0;
}

/*全体*/
.hidden_box {
  margin: 2em auto;
  padding: 0;
}
h2.yoyaku-btn { 
  font-size: 1.5rem;
  margin-top: 20px;
}
/*ボタン装飾*/
.hidden_box label.yoyakusuru {
  color: #fff;
  padding: 13px 15px 15px 38px;
  font-weight: bold;
  background: #00a1a2;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* チェックボックスオン時の背景色変更 */
.hidden_box input:checked + label.yoyakusuru {
  background: #ffb6c1; /* 薄いピンク */
  color: #fff; /* 文字色も見やすく調整 */
}
/* デフォルト（オフ時）の右向き三角 */
.hidden_box label.yoyakusuru::before {
  content: "▶";
  position: absolute;
  left: 15px;
  font-size: 1rem;
  color: #fff;
  transition: transform 0.3s ease; /* 三角の回転をスムーズに */
}
/* 下三角の表示 */
.hidden_box input:checked + label.yoyakusuru::before {
  content: "▼";
  position: absolute;
  left: 15px;
  font-size: 1rem;
  color: #fff;
}

.hidden_box input[type=checkbox] {
transform: scale(1.5, 1.5);
display:block;
}

.nextform { padding:5px 20px; border:1px solid #000; border-radius:4px; max-width:390px; height:48px; text-align:center; position:relative;}
.nextform a {color:#000; padding:0; width:100%; height:100%; top:0; left:0; position:absolute;}
.nextform a:hover {color:#ff0000 !important;}
/*中身を非表示にしておく*/
.hidden_box .hidden_show {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
  padding: 10px 0;
  height: auto;
  opacity: 1;
}

/* events */
.entry-content section {
  padding: 0 !important;
}
/* イベント情報全体のコンテナ */
.event-wrap2col {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

/* 上部のアクセントライン */
.event-wrap2col:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00a1a2 0%, #f9a8d4 100%);
}

/* ヘッダー部分（日付と料金） */
.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 30px 15px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-bottom: 1px solid #f9a8d4;
}

.event-date-section {
  flex: 1;
}

.event-price-section {
  flex: 0 0 auto;
}

/* 日付とタイトル部分 */
.event-date {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #00a1a2;
  margin-right: 10px;
}

.event-date + span {
  display: inline-block;
  background: linear-gradient(135deg, #00a1a2 0%, #008a8b 100%);
  color: white;
  padding: 1px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  vertical-align: top; /* 上寄せ */
  margin-top: 0px; /* さらに上に調整 */
}

.event-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin: 15px 0 0 0;
  line-height: 1.4;
}

/* 価格表示（右上） */
.event-price {
  background: linear-gradient(135deg, #00a1a2 0%, #008a8b 100%);
  color: white;
  padding: 3px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 161, 162, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.event-price-top {
    background: linear-gradient(135deg, #00a1a2 0%, #008a8b 100%);
    color: white;
    padding: 3px 15px;
    border-radius: 100px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: .8rem;
    display: inline-block;
}

.event-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 161, 162, 0.4);
}

/* コンテンツ部分 */
.event-content {
  padding: 30px;
}

/* 画像スタイル */
.event-image {
  margin-bottom: 25px;
  text-align: center;
}

.event-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 161, 162, 0.15);
  transition: transform 0.3s ease;
}

.event-image a:hover img {
  transform: scale(1.02);
}

/* 画像がない場合は非表示 */
.event-image:empty {
  display: none;
}

/* 内容表示 */
.event-contents {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid #00a1a2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.event-contents span {
  display: block;
  font-weight: 700;
  color: #00a1a2;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.event-contents span:after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #00a1a2;
  margin: 5px 0 15px 0;
}

/* Googleフォームリンク */
.event-googleform {
  margin: 20px 0;
  text-align: center;
}

.event-googleform a {
  display: inline-block;
  background: linear-gradient(135deg, #00a1a2 0%, #008a8b 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 161, 162, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-googleform a:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.event-googleform a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 161, 162, 0.4);
  background: linear-gradient(135deg, #009a9b 0%, #007d7e 100%);
}

.event-googleform a:hover:before {
  left: 100%;
}

/* 備考表示 */
.event-notes {
  background: #fdf2f8;
  border: 1px solid #f9a8d4;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  position: relative;
}

.event-notes span {
  display: block;
  font-weight: 700;
  color: #be185d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.event-notes span:after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #be185d;
  margin: 5px 0 15px 0;
}

.event-notes:before {
  content: '!';
  position: absolute;
  top: 15px;
  right: 20px;
  background: #ec4899;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .event-wrap2col {
      margin: 10px;
      border-radius: 8px;
  }
  
  .event-header {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px 20px 15px;
  }
  
  .event-price-section {
      margin-top: 15px;
      align-self: flex-end;
  }
  
  .event-content {
      padding: 20px;
  }
  
  .event-title {
      font-size: 24px;
  }
  
  .event-date {
      font-size: 20px;
  }
  
  .event-price {
      font-size: 14px;
      padding: 10px 16px;
  }
  
  .event-googleform a {
      padding: 12px 25px;
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  .event-wrap2col {
      margin: 5px;
  }
  
  .event-header {
      padding: 15px 15px 10px;
  }
  
  .event-content {
      padding: 15px;
  }
  
  .event-title {
      font-size: 20px;
  }
  
  .event-date {
      font-size: 18px;
  }
  
  .event-googleform a {
      width: 100%;
      text-align: center;
      box-sizing: border-box;
  }
	.event-list-title a {
		font-size: .96rem !important;
	}
	.event-list-date {
		margin-bottom: -16px;
	}
}

/* アニメーション効果 */
.event-wrap2col {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* ホバー効果 */
.event-contents:hover {
  box-shadow: 0 4px 20px rgba(0, 161, 162, 0.1);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.event-notes:hover {
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* テキストの色調整 */
.event-contents,
.event-notes {
  color: #374151;
  line-height: 1.6;
}

/* 空の要素を非表示にする */
.event-contents:empty,
.event-googleform:empty,
.event-notes:empty {
  display: none;
}

.event-list-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  border: 3px solid #e0e0e0;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px -1px 10px 4px #f2e0ff;
}
.event-list-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee !important;
  gap: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.event-list-item:last-child {
  border-bottom: none;
}

.event-list-date {
  flex-shrink: 0;
  min-width: 100px;
  font-size: 14px;
}

.event-list-date .date {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

.event-list-date .week {
  font-size: 12px;
  color: #666;
  margin-left: 4px;
}

.event-list-title {
  flex-grow: 1;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-list-title a {
  font-size: 1.16rem;
  color: #000 !important;
}
.event-list-title a:hover {
  color: #00a1a2 !important;
}

.event-list-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-closed {
  color: #ff0000;
  font-weight: bold;
  font-size: 0.9em;
}

.event-detail-btn {
  font-size: .9rem !important;
  display: inline-block;
  padding: 6px 12px;
  background: #00a1a2;
  color: white !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
}

.event-detail-btn:hover {
  background: #05afaf;
}

.event-list-no-events {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.event-content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 20px 0;
}
.event-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 0;
}

.event-content ul li {
  list-style: none;
  position: relative;
  padding-left: 19px;
}
.event-content ul li::before {
  content: "\f00c";
  position: absolute;
  left: -1px;
  top: 3px;
  font-weight: 900;
  font-family: 'Font Awesome 5 Free';
  font-size: 1rem;
  color: #05afaf;
}

.event-content h3 span {
  font-size: 1.4rem;
}
.event-content h2 span {
  font-size: 1.6rem;
}
.event-content h2 span::after {
  display: none;
}

/* ----------------------------- CUSTOM BUTTON STYLES ----------------------------- */
img{max-width:100%;}
.clear{clear:both;}
.text-center{text-align:center;}
.text-left{text-align:left;}
.text-right{text-align:right;}

/* ----------------------------- COLUMN CONTENT STYLES ----------------------------- */
.full_width {width: 100%;}
.one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .four_fifth{ float:left; margin-bottom:20px; position:relative;}
.last_column{clear:right; margin-right:0 !important; }
.one_half{width:48%; margin-right:4%;}
.one_third{width:30%; margin-right:5%;}
.two_third{width:65%; margin-right:3%;}
.one_fourth{width:22%; margin-right:4%;}
.three_fourth{width:72%;  margin-right:3%;}
.one_fifth{width:18%; margin-right:2%;}

/* ----------------------------- TOGGLE STYLES ----------------------------- */
.topmargin15{margin-top:15px;}
.slide_toggle{ color: #333; margin:0 !important; padding:5px 10px !important; background-color:#efefef; background: -moz-linear-gradient(center top , #FFFFFF, #efefef); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFFF), to(#efefef)); background: -webkit-linear-gradient(top, #FFFFFF, #efefef); background: -ms-linear-gradient(top, #FFFFFF, #efefef); background: -o-linear-gradient(top, #FFFFFF, #efefef); border:1px #ccc solid !Important; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; -khtml-border-radius:10px;}
.slide_toggle a{text-decoration:none !important; display:block; color:#34c6f6;}
h3.slide_toggle a:before { background-color: #353535; border-radius:25px; -moz-border-radius:25px; -webkit-border-radius:25px; -khtml-border-radius:25px; color: #CCCCCC; content: "+"; display: inline-block; font-family: Tahoma; font-size: 11px; height: 15px; line-height: 13px; margin-right: 10px; position: relative; text-align: center; top: -2px; width: 15px;}
h3.clicked{border-radius:10px 10px 0 0 !important; -moz-border-radius:10px 10px 0 0 !important;; -webkit-border-radius:10px 10px 0 0 !important;; -khtml-border-radius:10px 10px 0 0 !important; margin-bottom:0 !important;}
h3.clicked a{color:#000000;}
h3.clicked a:before{content: "-";}
.slide_toggle_content{padding:10px; background:#f6f6f6;  border:1px #ccc solid; border-top-width:0 !important; border-radius:0 0 10px 10px !important; -moz-border-radius:0 0 10px 10px !important;; -webkit-border-radius:0 0 10px 10px !important;; -khtml-border-radius:0 0 10px 10px !important; }

/* ----------------------------- TABS STYLES ----------------------------- */
.tabs-wrapper{margin-bottom:15px; clear:both; position:relative;}

.tabs-wrapper ul.tabs{width:32%;margin:20px 0 0 0;padding:20px 0 190px;float:left; background:#f8f7f7; font-size:15px; position:relative; height:100%; box-sizing:border-box;}
.tabs-wrapper ul.tabs:after{ position:absolute; background:#f8f7f7; content:' '; bottom:0; left:-100%; width:100%; height:100%;}
.tabs-wrapper ul.tabs li{display:block; margin:0;border-bottom: dashed 1px #e4e4e4;}
.tabs-wrapper ul.tabs li:last-child{ border:none;}
.tabs-wrapper ul.tabs li a{color:#2c2c2c; display:block;text-decoration:none; padding:15px 25px;  cursor:pointer; overflow:hidden; outline:none; text-transform:uppercase; position:relative;}
.tabs-wrapper ul.tabs li a i{text-align:right; float:right; font-size:18px;}
.tabs-wrapper ul.tabs li a.selected, .tabs-wrapper ul.tabs li:hover a{color:#f6c311;}
.tabs-wrapper .tab-content{float:right; width:62%; padding:25px 0 80px 0;}
.tabs-wrapper .tab-content p{ margin-bottom:15px;}
.js_on .tabs-wrapper .tab-content { display:none; margin-bottom:15px;}
.tabs-wrapper .tab-content .tabs-inner-padding { padding:10px;}
.tabs-wrapper .tab-content img{width:100%; height:380px;}
.tabs-wrapper .tab-content h3{ text-transform:uppercase; font-size:22px; margin:25px 0 30px 0}
.tabs-wrapper .tab-content h6{ margin-bottom:30px}

/* ----------------------------- ACCORDION STYLES ----------------------------- */
.accordion-box{margin-bottom:10px;}
.accordion-box h2{ padding:15px 15px 15px 20px !important; margin:0; cursor:pointer; color:#0f0f0f; font-size:17px; font-weight:bold; text-align:left; margin-bottom:10px; position:relative; background-color:#fafafa; }
.accordion-box h2 span{ font-weight:400;}
.acc-content{ padding:20px; color:#606060;}
.acc-content p{ margin:0;} 
.accordion-wrapper{padding-bottom:15px;}

.accordion-container { margin:0 0 1px; padding:0; overflow:hidden; width:100%; clear:both; }
.accordion-container .content-block { padding:20px; }

.accordion-box h2{ position:relative}
.accordion-box h2:before {content: "\f067"; font-family:'Font Awesome 5 solid'; float:right; font-size: 11px; margin-right:5px;position: relative;text-align: center; top:2px;}
.accordion-box h2.active{ margin-bottom:0 !important;}
.accordion-box h2.active:before{content: "\f068"; font-family: 'Font Awesome 5 solid'; }

/* ----------------------------- HORIZONTAL RULE STYLES ----------------------------- */
.linktotop{color:#666; font-size:11px; text-align:right;}
.linktotop a{text-decoration:none;}

/* ------------------ default styles ------------------ */
.postmeta, .entry-meta{padding:10px 0; color:#999;}
/* footer.entry-meta{clear:both; } */
.breadcrumbs{padding:10px 0; margin-bottom:0;}
ol.commentlist{list-style:none;}
#commentform p{margin:5px 0;}
#commentform label{display:block;}
#commentform input#email, #commentform input#url, #commentform input#author, #commentform textarea, #commentform input#eazycfc_captcha{max-width:96%; border:1px #ccc solid; padding:5px 2%;}
#commentform input#submit{background:#34c6f6; border:none; padding:8px 15px; color:#fff;  display:inline-block; cursor:pointer; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;}
#commentform input#submit:hover{background:#eee; color:#34c6f6;}
.form-allowed-tags{display:none;}
ul.errormsg{background:#ffe4e4;}
ul.errormsg li{padding:5px;}
.entry-content table, .comment-body table{ border-collapse:collapse; margin:10px 0;}
.entry-content table td, .entry-content table th, .comment-body table td, .comment-body table th{padding:10px 5px; text-align:left;}
.entry-content table th, .comment-body table th{color:#676767; font:normal 18px Oswald; border-bottom:1px #888 solid;}
.entry-content table td, .comment-body table td{border-bottom:1px #ccc solid;}
.fvch-codeblock:hover .comment-form-url{display:block !important;}

/*------------------------------------------- COMMENT STYLES -------------------------------------------*/
.comment-author.vcard{ margin-right:15px; float:left;}
.comment-list ul.children li.comment{background-image:none; padding-left:15px;}
.hrule{border-top:1px #999 dotted; margin-top:15px; padding-bottom:15px;}

  /* フォーム全体のスタイル */
.cf7-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* セクションスタイル */
.form-section {
  margin-bottom: 40px;
  padding: 25px;
  background: #fafbfc;
  border-radius: 8px;
  border-left: 4px solid #00a1a2;
}

.section-title {
  margin: 0 0 25px 0;
  font-size: 20px;
  font-weight: 600;
  color: #00a1a2;
  border-bottom: 2px solid #e1e8ed;
  padding-bottom: 10px;
}

/* フォーム行（横並び） */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

/* フォームグループ */
.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333;
  font-size: 14px;
}

/* 必須マーク */
.form-group.required label::after {
  content: " *";
  color: #e74c3c;
  font-weight: bold;
}

/* 入力フィールド共通スタイル */
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #00a1a2;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-control::placeholder {
  color: #999999;
}

/* テキストエリア */
textarea.form-control {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.wpcf7-form textarea[name="inquiry-message"] {
    height: 250px;
}

/* セレクトボックス */
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

/* ラジオボタンスタイル */
.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.radio-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
  margin-bottom: 0;
}

.radio-group input[type="radio"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  accent-color: #00a1a2;
}

span.wpcf7-form-control.wpcf7-radio.radio-item {
    display: flex;
}

/* タブレット */
@media (max-width: 1024px) and (min-width: 769px) {
    span.wpcf7-form-control.wpcf7-radio.radio-item {
        gap: 15px;
    }
}

/* スマートフォン：縦並び */
@media (max-width: 768px) {
    span.wpcf7-form-control.wpcf7-radio.radio-item {
        flex-direction: column;
        gap: 12px;
    }
}

/* 小さなスマートフォン */
@media (max-width: 480px) {
    span.wpcf7-form-control.wpcf7-radio.radio-item {
        gap: 10px;
    }
}

/* チェックボックススタイル（テキスト位置・クリック領域改善版） */
.checkbox-group {
  display: block;
  margin-top: 8px;
}

/* Contact Form 7のチェックボックスリスト */
.checkbox-group .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* チェックボックスの項目が1つだけの場合 */
.checkbox-group .wpcf7-checkbox:has(label:only-child) {
  grid-template-columns: repeat(1, 1fr);
}

/* 各チェックボックス項目（クリック領域全体） */
.checkbox-group .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 16px;
  background: rgba(44, 90, 160, 0.02);
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 48px;
  box-sizing: border-box;
}

/* 項目全体をクリック可能にする */
.checkbox-group .wpcf7-list-item:hover {
  background: rgba(44, 90, 160, 0.08);
  border-color: rgba(44, 90, 160, 0.2);
  transform: translateY(-1px);
}

.checkbox-group .wpcf7-list-item:active {
  transform: translateY(0);
  background: rgba(44, 90, 160, 0.12);
}

/* チェック済みの項目 */
.checkbox-group .wpcf7-list-item:has(input:checked) {
  background: rgba(44, 90, 160, 0.1);
  border-color: #00a1a2;
  box-shadow: 0 2px 4px rgba(44, 90, 160, 0.1);
}

/* ラベル要素（クリック領域拡大） */
.checkbox-group .wpcf7-list-item label {
  display: flex !important;
  align-items: center !important;
  font-weight: normal !important;
  margin: 0 !important;
  cursor: pointer !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  color: #333333 !important;
  font-size: 14px !important;
  min-height: 24px !important;
}

/* チェックボックス本体 */
.checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #00a1a2;
  border-radius: 4px;
  background: white;
  margin-right: 12px !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  align-self: flex-start;
  top: 2px; /* テキストとの位置調整 */
}

.checkbox-group input[type="checkbox"]:checked {
  background: #00a1a2;
  border-color: #00a1a2;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.checkbox-group input[type="checkbox"]:hover {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

/* ラベルテキスト部分の調整 */
.checkbox-group .wpcf7-list-item-label {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #333333 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
  margin-top: 1px !important; /* テキスト位置を少し下げる */
}

/* より具体的なセレクタでテキストを確実に表示・調整 */
.cf7-form-wrapper .checkbox-group .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start !important; /* 上揃えから変更 */
  color: #333333 !important;
  font-size: 14px !important;
  padding-top: 2px !important; /* テキスト全体を少し下げる */
}

.cf7-form-wrapper .checkbox-group .wpcf7-list-item-label {
  display: inline !important;
  color: #333333 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin-top: 0px !important;
}

/* JavaScript代替：ラベル全体のクリック対応 */
.checkbox-group .wpcf7-list-item {
  position: relative;
}

/* 項目全体をクリック可能にするオーバーレイ */
.checkbox-group .wpcf7-list-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 1;
}

.checkbox-group .wpcf7-list-item input[type="checkbox"],
.checkbox-group .wpcf7-list-item label {
  position: relative;
  z-index: 2;
}

/* より大きな画面での調整 */
/* @media (min-width: 1200px) {
  .checkbox-group .wpcf7-checkbox {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 25px;
  }
} */

/* タブレット表示 */
@media (max-width: 1024px) and (min-width: 769px) {
  .checkbox-group .wpcf7-checkbox {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .checkbox-group .wpcf7-list-item {
    padding: 14px 18px;
    min-height: 52px;
  }
  
  .checkbox-group input[type="checkbox"] {
    top: 3px;
  }
  
  .cf7-form-wrapper .checkbox-group .wpcf7-list-item label {
    padding-top: 3px !important;
  }
}

/* スマホ表示 */
@media (max-width: 768px) {
  .checkbox-group .wpcf7-checkbox {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .checkbox-group .wpcf7-list-item {
    min-width: auto;
    width: 100%;
    padding: 16px 20px;
    min-height: 56px;
    border-radius: 12px;
    background: rgba(44, 90, 160, 0.03);
    border: 2px solid rgba(44, 90, 160, 0.1);
  }
  
  .checkbox-group .wpcf7-list-item:hover,
  .checkbox-group .wpcf7-list-item:active {
    background: rgba(44, 90, 160, 0.1);
    border-color: rgba(44, 90, 160, 0.3);
    transform: scale(0.98);
  }
  
  .checkbox-group .wpcf7-list-item label {
    font-size: 16px !important;
    padding: 8px 0 !important;
    padding-top: 4px !important;
  }
  
  .checkbox-group input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 16px !important;
    border-width: 3px;
    top: 4px;
  }
  
  .checkbox-group input[type="checkbox"]:checked::after {
    font-size: 16px;
  }
  
  .checkbox-group .wpcf7-list-item-label {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
}

/* 超小画面での最適化 */
@media (max-width: 480px) {
  .checkbox-group .wpcf7-list-item {
    padding: 18px 16px;
    min-height: 60px;
  }
  
  .checkbox-group input[type="checkbox"] {
    width: 26px;
    height: 26px;
    margin-right: 18px !important;
    top: 5px;
  }
  
  .checkbox-group .wpcf7-list-item label,
  .checkbox-group .wpcf7-list-item-label {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  
  .cf7-form-wrapper .checkbox-group .wpcf7-list-item label {
    padding-top: 5px !important;
  }
}

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

.submit-btn {
  background: linear-gradient(135deg, #00a1a2 0%, #1e3a8a 100%);
  color: white;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
  min-width: 200px;
}

.submit-btn:hover {
  /* background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%); */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .cf7-form-wrapper {
    margin: 10px;
    padding: 15px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-section {
    padding: 20px 15px;
    margin-bottom: 25px;
  }
  
  .section-title {
    font-size: 18px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 14px 24px;
  }
}

/* エラーメッセージスタイル */
.wpcf7 .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.wpcf7 .wpcf7-not-valid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.wpcf7 .wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 6px;
  font-weight: 500;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wpcf7 .wpcf7-validation-errors {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* 企業向けお問い合わせフォーム */
.corporate-contact {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.corporate-contact .form-section {
  margin-bottom: 40px;
  padding: 30px 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  border-left: 5px solid #00a1a2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.corporate-contact .section-title {
  margin: 0 0 30px 0;
  font-size: 22px;
  font-weight: 700;
  color: #00a1a2;
  border-bottom: 3px solid #e9ecef;
  padding-bottom: 12px;
  position: relative;
}

.corporate-contact .section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #00a1a2;
}

/* フォーム行（横並び） */
.corporate-contact .form-row {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.corporate-contact .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

/* フォームグループ */
.corporate-contact .form-group {
  margin-bottom: 25px;
  position: relative;
}

.corporate-contact .form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* 必須マーク */
/* .corporate-contact .form-group.required label::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
  font-size: 16px;
} */

/* メインのラベルにのみ*を表示 */
.corporate-contact .form-group.required > label::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
  font-size: 16px;
}

/* ラジオボタン内のlabelには*を表示しない */
.corporate-contact .form-group.required .radio-group label::after {
  content: none;
}

/* 入力フィールド共通スタイル */
.corporate-contact .form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.corporate-contact .form-control:focus {
  outline: none;
  border-color: #00a1a2;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  background-color: #ffffff;
}

.corporate-contact .form-control::placeholder {
  color: #6c757d;
  opacity: 0.8;
}

/* テキストエリア */
.corporate-contact textarea.form-control {
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

/* セレクトボックス */
.corporate-contact select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 18px;
  padding-right: 45px;
  appearance: none;
}

/* ファイルアップロード */
.corporate-contact .file-upload-wrapper {
  position: relative;
}

.corporate-contact .file-upload-wrapper .form-control {
  padding: 12px 15px;
  border-style: dashed;
  border-width: 2px;
  background-color: #f8f9fa;
}

.corporate-contact .file-note {
  display: block;
  margin-top: 8px;
  color: #6c757d;
  font-size: 13px;
  font-style: italic;
}

/* ラジオボタンスタイル */
.corporate-contact .radio-group {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.corporate-contact .radio-group .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 18px;
  background: rgba(0, 123, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.corporate-contact .radio-group .wpcf7-list-item:hover {
  background: rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.2);
}

.corporate-contact .radio-group .wpcf7-list-item:has(input:checked) {
  background: rgba(0, 123, 255, 0.15);
  border-color: #00a1a2;
}

.corporate-contact .radio-group input[type="radio"] {
margin-bottom: 7px;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: #00a1a2;
  vertical-align: top;
  margin-top: 5px;
  margin-right: 8px;
}

.corporate-contact .radio-group label {
  font-weight: normal;
  margin-bottom: 0;
  cursor: pointer;
  color: #495057;
}

/* シンプルチェックボックス */
.corporate-contact .simple-checkbox .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 15px;
}

.corporate-contact .simple-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 15px;
  background: rgba(0, 123, 255, 0.03);
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.corporate-contact .simple-checkbox .wpcf7-list-item:hover {
  background: rgba(0, 123, 255, 0.08);
  border-color: rgba(0, 123, 255, 0.2);
}

.corporate-contact .simple-checkbox .wpcf7-list-item:has(input:checked) {
  background: rgba(0, 123, 255, 0.12);
  border-color: #00a1a2;
}

.corporate-contact .simple-checkbox input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  accent-color: #00a1a2;
}

.corporate-contact .simple-checkbox label {
  font-weight: normal;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 14px;
  color: #495057;
}

/* 同意チェックボックス */
.corporate-contact .agreement .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 15px 20px;
  background: rgba(40, 167, 69, 0.05);
  border: 2px solid rgba(40, 167, 69, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.corporate-contact .agreement .wpcf7-list-item:hover {
  background: rgba(40, 167, 69, 0.1);
  border-color: rgba(40, 167, 69, 0.4);
}

.corporate-contact .agreement input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 3px;
  width: 20px;
  height: 20px;
  accent-color: #28a745;
}

.corporate-contact .agreement label {
  font-weight: 600;
  margin-bottom: 0;
  cursor: pointer;
  color: #155724;
  line-height: 1.5;
}

.privacy-notice {
    font-size: .9rem;
}

.email-notice {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
  font-size: 14px;
}

.email-notice p {
    margin: 0;
}

.email-notice strong {
  color: #495057;
}

.email-notice ul {
  margin: 10px 0;
  padding-left: 20px;
  padding-right: 0;
}

.email-notice li {
  padding-left: 0 !important;
	padding-right: 0;
  line-height: 1.5;
  list-style: none;
  position: relative;
}

.email-notice ul li::before {
    content: "\f00c";
    position: absolute;
    left: -19px;
    top: 3px;
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    font-size: 1rem;
    color: #05afaf;
}

.email-notice ul ul {
  margin-top: 5px;
}

.recaptcha-notice {
  background-color: #f0f8ff;
  border: 1px solid #b0d4f1;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  font-size: 14px;
}

.recaptcha-notice strong {
  color: #0056b3;
}

.recaptcha-notice p {
  margin: 5px 0;
  line-height: 1.5;
}

.recaptcha-notice a {
  color: #0056b3;
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  text-decoration: none;
}

.email-validation-error {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 5px;
  padding: 5px;
  border-left: 3px solid #d32f2f;
  background-color: #ffebee;
}

.wpcf7-form input.error {
  border-color: #d32f2f !important;
  box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
}