@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* ACFのフィールドを表にする */
table.acf-custom-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  border-bottom: 1px solid #ccc; /* 下線のみ残す */
}

table.acf-custom-table th,
table.acf-custom-table td {
  padding: 8px;
  text-align: left;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

table.acf-custom-table th {
  background: #fff !important;
  border-bottom: 1px solid #ccc !important;
}

table.acf-custom-table td {
  border-bottom: 1px solid #ccc !important;
}

/* タイトル背景画像の高さを設定 */
@media (min-width: 600px) {
  .l-topTitleArea {
    min-height: 100px; /* お好みの高さに調整 */
  }
}

/* カスタムアイコン付きテキスト */
/* 左寄せバージョン */
.custom-alert-left {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.custom-icon-left {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 28px; /* ← ここでフォントサイズ調整 */
  font-weight: bold;
}

.custom-text-left {
  flex: 1;
  font-weight: bold;
  text-align: left;
}

/* 中央寄せバージョン */
.custom-alert-center {
  display: flex;
  justify-content: center;
  background-color: #fafad2;
  padding: 10px;
  border-radius: 4px;
}

.custom-alert-center .inner {
  display: flex;
  align-items: center;
  text-align: center;
}

.custom-icon-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 28px;
  font-weight: bold;
}

.custom-text-center {
  font-weight: bold;
  text-align: center;
  font-size: 1.2em; /* ← お好みで 1.2em〜1.5em 程度 */
}


/* 投稿リストに表示するカスタムフィールドのスタイル */
/* 表の外枠と基本 */
.custom-acf-table {
  margin: 20px 0;
}

.custom-acf-table table.design01 {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* 各セル共通 */
.custom-acf-table table.design01 td {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: none;
  border-right: none;
  padding: 12px 8px;
}

/* 最終行の罫線を消す */
.custom-acf-table table.design01 tr:last-child td {
  border-bottom: none;
}

/* 紹介文の下の線を消す */
.custom-acf-table table.design01 tr.intro-row td {
  border-bottom: none;
}

/* 吹き出し行の上線を消す */
.custom-acf-table table.design01 tr.bubble-row td {
  border-top: none;
}

/* 紹介料の本文を太字 */
.custom-acf-table .fee-cell {
  font-weight: bold;
}

/* 吹き出しスタイル */
/* 吹き出し全体の配置 */
.speech-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
  margin: 0px 0;
}

/* テキスト＋三角の親ボックス */
.speech-text-box-wrap {
  position: relative;
  max-width: 80%;
}

/* 吹き出し本体 */
.speech-text-box {
  background: #fffacd;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 三角部分（外付け） */
.speech-triangle {
  position: absolute;
  right: -10px;
  bottom: 16px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #fffacd;
}

/* テキスト部分 */
.speech-text {
  font-size: 12px;
  line-height: 1.6;
}

/* アイコン */
.speech-icon img {
  width: 40px;
  height: auto;
  border-radius: 50%;
}

/* Contact Form7スマホ・タブレット用カスタマイズ */
@media(max-width:850px){
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   padding:1em 0!important;
   width:100%;
   border:0;
}

/* 送信ボタン */
input.wpcf7-submit{
   margin-bottom:30px;
   width:100%;
}
}

/* 日付タグ上のテキストをPCとスマホで変更 */
@media(max-width:900px){
.pcdate{
   display: none;
}
}
@media(min-width:1000px){
.spdate{
   display: none;
}
/* 日付タグの幅を調整 */
.wpcf7-date.dateform{
   width: 25%;
}
}

/* Contact Form7全体カスタマイズ */

/* 自動入力されるPタグを無効にする */
.inquiry p {
   display: inline;
}

/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   border:solid 1px #d7d7d7;
   line-height:1.2;
   vertical-align:middle;
}

/* テーブルの行 */
.inquiry tr {
   border:0!important;
}

/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444;
   padding:1em 0.5em;
   width:0;
   background:#efefef;
   border:solid 1px #d7d7d7;
   white-space: nowrap;
   vertical-align: middle;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:13px;
   padding:5px;
   background:#ff9393;
   color:#fff;
   border-radius:2px;
   margin-right:5px;
   font-weight:normal;
}

/* 任意タグの背景カラー */
.any{
   background:#93c9ff;
}

/* テーブルフォーム側 */
.inquiry td{
   font-size:13px;
   border:solid 1px #d7d7d7;	
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
   margin: 5px 0;
   background:#eff1f5;
   border: none;
   padding:0.7em;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
   vertical-align:middle;
}
.wpcf7-list-item-label{
   padding:0 5px 0 2px;
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto;
   padding:1em 0;
   width:80%;
   background: linear-gradient(to right, #1a4bed, #0bbfa1);
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:40px;
   border: none;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}

/* タイトル背景画像の高さを設定 */
@media (min-width: 600px) {
  .l-topTitleArea {
    min-height: 100px; /* お好みの高さに調整 */
  }
}


/* 会員マイページカスタマイズ */
/* ラベルの文字の色を変更 */
.tml-form-table th label {
  color: #2b2b2b;
  font-weight: bold;
}
/* ラベルの背景の色を変更 */
.tml-form-table th {
  background-color: #bbe2f1;
}
/* ラベルの前に四角角丸（赤）の中に必須と入るようにする */
.required-label {
  display: inline-block;
  background-color: #e53935; /* 赤系 */
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-right: 6px;
  vertical-align: middle;
}
/* 新しいパスワードラベルの前に四角角丸（青）の中に変更と入るようにする */
.password-label {
  display: inline-block;
  background-color: #1976d2; /* 青系 */
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-right: 6px;
  vertical-align: middle;
}


/* お問い合わせ（TEL）セクションのスタイル */
.contact-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-box {
  border: 2px solid #ddd;
  background-color: transparent;
  padding: 20px;
  margin: 60px auto;
  max-width: 800px;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.contact-box:hover {
  background-color: rgba(0, 123, 255, 0.15); /* ホバー時にうっすら色を付けても◎ */
}

.contact-inner {
  display: inline-block;
}

.contact-title {
  font-size: 1.0em;
  color: #ddd;
  font-weight: bold;
  margin-bottom: 12px;
}

.contact-tel {
  font-size: 1.6em;
  color: #ddd;
  margin-bottom: 8px;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-weight: 900; /* ← 追加（boldまたは 700 や 900 にしてもOK） */
}


.contact-time {
  font-size: 0.85em;
  color: #ddd;
}

/* お問い合わせ（メール）セクションのスタイル */
.email-box-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.email-box {
  border: 2px solid #ccc;
  background-color: transparent;
  border-radius: 12px;
  padding: 40px 20px;
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
  transition: background-color 0.3s ease;
}

.email-box:hover {
  background-color: rgba(0, 123, 255, 0.15); /* ホバー時に薄く青くなる */
}

.email-box__label {
  font-size: 1em;
  color: #ddd;
  margin-bottom: 10px;
}

.email-box__title {
  font-size: 1.4em;
  font-weight: bold;
  color: #ddd;
  margin: 0;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.email-box__title .arrow {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.3s ease;
  font-size: 1.2em;
  vertical-align: middle;
}

.email-box:hover .arrow {
  transform: translateX(6px); /* 矢印が右へスライド */
}

/* 共通クラスでTELとメールの高さをそろえる */
.contact-box-common {
  min-height: 180px; /* 同じ高さに設定（必要に応じて調整） */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

