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

/* サムネイルを記事タイトル上に表示 */
/* 記事詳細ページの要素を再配置 */
.l-mainContent__inner {
  display: flex;
  flex-direction: column;
}

/* アイキャッチ画像を最初に表示 */
.p-articleThumb {
  order: -1;
  margin-bottom: 20px;
}

/* contact */
.form-section {
  width: 100%;
  margin: 0 auto;
}

.form-item {
  margin-bottom: 2em;
}

.form-item label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.input-field {
  width: 100%;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.submit-btn {
  background-color: #555;
  color: #fff;
  padding: 0.8em 1.5em;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.submit-btn:hover {
  background-color: #333;
}

.required {
  color: red;
  font-size: 0.8em;
  margin-bottom: 0.8em;
  display: inline-block;
  line-height: 1;
}

/* ラジオ・チェックボックスを縦並び + 横幅いっぱい */
.wpcf7-list-item {
  display: block;
  margin-bottom: 0.75em;
  margin-left: 0;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7-list-item label:hover {
  background: #f5f5f5;
}

.wpcf7-list-item input[type="radio"],
.wpcf7-list-item input[type="checkbox"] {
  margin-right: 1em;
}
