/*
    Theme Name: SWELL
    Theme URI: https://swell-theme.com/
    Description: シンプルなのに高機能。ブロックエディターの使い心地にこだわった国内最高峰のWordPressテーマ
    Version: 2.13.0
    Requires at least: 5.6
    Requires PHP: 7.3.0
    Author: LOOS,Inc.
    Author URI: https://loos.co.jp/
    Text Domain: swell
    Domain Path: /languages
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* 要素全体の高さが低い場合にフッターの下部に余白が発生する現象を解消（開始） */
html, body {
  height: 100%;	
}
#body_wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.p-breadcrumb {
  width: 100%;
}
.l-content {
  width: 100%;
  flex: 1;
}

/* トップページ（home クラスが body_wrap にある場合）は打ち消す */
span.required{
  color: #E62A2A !important;
  font-size: 90% !important;
}
body .post_content button,
body .post_content input,
body .post_content select,
body .post_content textarea {
  background-color: #ffffff !important;
}
.post_content th{
  background-color: #EDF4F3 !important;	
}
.cf7-table {
  width: 100%;
  border-collapse: collapse;
}

.cf7-table th {
  width: 30%;
  text-align: left;
  vertical-align: top;
  padding: 0.5em;
  font-weight: 500;
}

.cf7-table td {
  width: 70%;
  padding: 0.5em;
}

.cf7-table input,
.cf7-table textarea {
  width: 80%; /* 入力欄をtdにフィットさせる */
  max-width: 80%;
  box-sizing: border-box;
}
p.contact-text {
  margin-bottom: 25px !important;
}
.button,
.wp-block-button__link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 50px !important;
  padding: 0 24px !important;
  line-height: 1.4 !important;
  font-size: 16px !important;
  box-sizing: border-box;
}
.swl-inline-icon:after {
  margin-left: 0.4em; /* ← ここで隙間を調整 */
}
.btn-orange::after,
.btn-green::after {
  content: "";
  display: inline-block;
  margin-left: 0.6em;
  vertical-align: middle;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 4.5px solid #ffffff; /* ボタン内の矢印色（白） */
	border-radius:2px;
}
.btn-orange,
.btn-green {
  display: inline-flex;
  align-items: center;
}
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4db6ac;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  gap: 0.5em;
  transition: background 0.3s;
}

.wpcf7 .wpcf7-submit::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid white;
  border-radius: 1px;
}

.wpcf7 .wpcf7-submit:hover {
  background: #11A89C;
}
body .post_content .btn-green {
  background: #4db6ac !important;
  color: white !important;
  display: block; /* 中央揃えのため */
  margin: 60px auto 100px !important; /* 中央に配置 */
  min-width: 400px !important; /* 横幅の最小値 */
  text-align: center; /* テキスト中央 */
  padding: 16px 16px !important;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
main#main_content .l-mainContent__inner > .post_content {
  margin-top: 1.5em !important;
}

@media (max-width: 768px) {
}

/* トップページ（home クラスが body_wrap にある場合）は打ち消す */
#body_wrap.home main#main_content .l-mainContent__inner > .post_content {
  margin-top: 0 !important;
}
