@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
*/
/*
 Theme Name:   Swell Child
 Template:     swell
*/

body {
  font-size: 0.8rem; /* デフォルトの文字サイズ */
}

body.small-font * {
  font-size: 0.8rem;
}

body.medium-font * {
  font-size: 1.0rem;
}

body.large-font * {
  font-size: 1.2rem;
}

.active {
  background-color: #007bff;
  color: white;
}
/*フォントサイズ変更ボタン*/
#font-size-controls {
  display: flex;
  justify-content: center; /* ボタンを中央に配置 */
  gap: 5px; /* ボタン間のスペース */
  margin-bottom: 20px;
}

#font-size-controls button {
  padding: 3px 6px; /* ボタンの内側の余白をさらに小さく */
  font-size: 0.75rem; /* ボタンのフォントサイズをさらに小さく */
  cursor: pointer; /* カーソルをポインタに変更 */
  border: 1px solid #ccc; /* ボタンの境界線 */
  border-radius: 3px; /* ボタンの角を丸く */
  background-color: #f8f8f8; /* ボタンの背景色 */
  transition: background-color 0.3s; /* 背景色の変化にアニメーションを追加 */
}

#font-size-controls button:hover {
  background-color: #e0e0e0; /* ホバー時の背景色 */
}

#font-size-controls button.active {
  background-color: #007bff; /* アクティブ状態の背景色 */
  color: white; /* アクティブ状態の文字色 */
}

/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
.cftop {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	text-align: center;
  margin-bottom: 20px;
}

.cf-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 2em 0;
	border-bottom: 1px dashed #ccc;
	transition: all .3s;
}

.cf-area:last-child {
	border-bottom: none;
}

.cf-area dt {
  width: 200px;
  padding-right: 30px;
  text-align: right;
	line-height:1.5em;
}

.cf-area dd {
    flex: 1;
}

.cf-area input, .cf-area textarea {
  width: 100%;
  padding: 0.8em;
  border: none;
  background-color: #e6e6e6;
  font-size: 16px;
	resize: vertical;
	transition: all .3s;
}

.cf-area input:focus,.cf-area textarea:focus {
	outline: none;
	background: #dde2e9;
}

.cf-required {
	background: #b91e23;
	color: #fff;
	font-size: 0.8em;
	padding: 0 5px 2px;
	border-radius: 2px
}

.cf-send input {
	display: block;
	background: #9d221b;
	width: 300px;
	height: 45px;
	margin: 30px auto 0;
	border: none;
	border-radius: 10px;
	color: #fff;
	box-shadow: 2px 5px 15px 0 rgba(0, 0, 0, .2);
	font-size: 1.3em;
	font-weight: bold;
	transition: all .3s;
}

.cf-send input:hover {
	filter: brightness(1.25);
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	background-color: #fce3e3;
	border: none;
	text-align: center;
}

@media screen and (max-width:768px){
	.cf-area {
		display: block;
	}

	.cf-area dt {
    width: 100%;
		margin-bottom: 5px;
    padding-right: 0;
    text-align: left;
		line-height:1.5em;
	}
}