@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
*/



/* h2の親を相対配置にして画像を重ねる土台にする */
.heading-wrapper {
  position: relative;
  display: inline-block; /* 必要なら block に */
  width: 100%;

}

/* 日本語見出し（中央揃え & 高級感） */
.with-english-label {
  position: relative;
  text-align: center;
  margin: 1em 0 !important;
  font-size: 2em !important;
  font-family: "Yu Mincho", "Hiragino Mincho Pro", "游明朝", serif;
  font-weight: 500;
  line-height: 1.4;
}

/* 英語装飾テキスト（左寄りに配置） */
.with-english-label::before {
  position: absolute;
  top: -15px;
  left: 40px; /* ←この位置を尊重 */
  content: attr(data-english);
  font-family: "Allura", cursive;
  font-size: 1.5em;
  font-weight: 400;
  transform: translateX(-15%) rotate(-12deg);
  color: gray;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* 透かし画像（右上） */
.migiue {
  position: absolute;
  top: -20px;
  right: 20px;       /* 英語と重ならないよう右に余白 */
  width: 80px;
  opacity: 1;     /* より控えめな透かしに */
  pointer-events: none;
  z-index: 1;
}

/* PCサイズでサイズ・位置強化 */
@media screen and (min-width: 768px) {
  .with-english-label {
    font-size: 2.5em !important;
    margin: 2em 0 !important;
  }

  .with-english-label::before {
    font-size: 3em;
    top: -30px;
  }

  .migiue {
    top: -30px;
    right: 30px;
    width: 100px;
    opacity: 0.15;
  }
}


.top #content {
    padding-top: 0em !important;
}



/*問い合わせページcss*/
/* テーブル全体をスマホ対応 */
.CF7_table {
  width: 100%;
  border-collapse: collapse;
}

/* ヘッダーとデータにパディングを追加 */
.CF7_table th,
.CF7_table td {
  padding: 12px;
  border: 1px solid #ddd;
  vertical-align: top;
  text-align: left;
}

/* 必須・任意マーク */
.CF7_req,
.CF7_unreq {
  background-color: #e74c3c;
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 3px;
  margin-right: 5px;
  display: inline-block;
}

.CF7_unreq {
  background-color: #95a5a6;
}



/* スマホ（〜767pxまで）にだけ適用 */
@media screen and (max-width: 767px) {
	
	.CF7_table,
  .CF7_table thead,
  .CF7_table tbody,
  .CF7_table th,
  .CF7_table td,
  .CF7_table tr {
    display: block;
    width: 100%;
  }

  .CF7_table tr {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
  }

  .CF7_table th {
    font-weight: bold;
    padding-bottom: 5px;
    background: none;
    border: none;
  }

  .CF7_table td {
    border: none;
    padding-top: 0;
  }


}

.CF7_table input[type="text"],
.CF7_table input[type="email"],
.CF7_table input[type="tel"],
.CF7_table textarea,
.CF7_table select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box; /* 余白も含めて100%にする */
  padding: 8px;
  font-size: 16px;
}

.CF7_btn {
  text-align: center;
  margin-top: 20px;
}

.CF7_btn input[type="submit"],
.CF7_btn button {
  display: inline-block;
  margin: 0 auto;
}

