@charset "UTF-8";

body.page{
	padding-top: 57px;
	background: #EDF1F3;
}

body.page header{
    background-color: #000;
}

#pageHead{
	background: #333;
	padding: 20px 0;
	margin-bottom: 40px;
}

h1.pageTtl{
	background: #4641A4;
	color: #fff;
	font-size: 22px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 20px;
}

.pageMain{
	margin-bottom: 40px;
}


#pageCont h3{
	border-top: 1px solid #233;
	border-bottom: 1px solid #233;
	padding: 10px 0;
	font-size: 20px;
	color: #233;
}


#pageCont p{
	margin-bottom: 1em;
}

#pageCont strong{
	font-weight: bold;
	margin-bottom: 10px;
}

.dFlex{
	display: flex;
	align-items: flex-start;
	padding-top: 40px;
}

.dFlex aside{
	width: 100%;
	max-width: calc(300px - 40px);
	height: 100%;
	
}

.dFlex #pageCont{
	width: 100%;
	max-width: calc(100% - 300px);
	margin-right: 40px;
	background: #FFF;
	border-radius: 5px;
}

.page article{
	padding: 40px;
}

aside{
	min-height: 100vh;
	-webkit-border-radius: 5px;
	        border-radius: 5px;
	    padding-bottom: 10px;
}

aside .fixBox{
	position: sticky;
	top: 97px;
	background: #FFF;
	padding: 8px;
	-webkit-border-radius: 5px;
	        border-radius: 5px;
}
aside h4{
	color: #233;
	border-bottom: 3px solid #233;
	padding: 10px;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 20px;
	text-align: center;
}

aside h4:first-of-type{
	margin-top: 0;
}

aside dl{
	padding: 0 10px;
}

aside dl dt{
	padding:10px;
	border-top: 1px solid #233;
	cursor: pointer;
	position: relative;
	font-weight: bold;
	color: #233;
 transition: all 0.3s ease;
}

aside h4 + dl dt{
	border: none;
}

.fixBox dd{
	display: none;
margin-bottom: 20px;
}

.fixBox dd.open {
    display: block;
}


aside dl dt:after{
	content: "▼";
	font-weight: bold;
	font-size: 12px;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(-50%, -50%);
}

aside dl dt.active:after{
	content: "▲";
	font-size: 12px;
	font-weight: bold;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(-50%, -50%);
}


aside dl dd a{
	display: block;
	padding: 10px;
	position: relative;
	text-indent: 1em;
	border-bottom: 1px dotted #ccc;
}

aside dl dd a:last-of-type{
	border: none;
}

aside dl dd a:before{
	content: "▶";
	font-size: 7px;
	color: #4641A4;
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translate(-50%, -50%);
}

#pageCont a{
	text-decoration: underline;
}

.c-container a{
	text-decoration: none !important;
}



/*single*/
@media screen and (max-width: 768px) {

	aside{
		display: none;
	}

	.dFlex{
		display: block !important;
	}

	.dFlex #pageCont{
		max-width: none;
	}

	.page article{
		padding: 20px;
	}

.wp-block-table th,
.wp-block-table td{
	display: block;
	width: 100%;
}

}


/* contact */

/* 全体 */
.form-group {
  margin-bottom: 2em;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* 項目タイトル */
.form-title {
  font-weight: 600;
  margin-bottom: 0.5em;
  font-size: 1em;
  color: #333;
}

/* 必須マーク */
.required {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.1em 0.4em;
  font-size: 0.75em;
  color: #fff;
  background: #e53935;
  border-radius: 3px;
  vertical-align: middle;
}

/* 入力フィールド系 */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  max-width: 480px;
  padding: 0.65em;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  font-size: 1em;
  box-sizing: border-box;
}

/* プレースホルダ */
::placeholder {
  color: #aaa;
}

/* テキストエリア */
textarea {
  height: 120px;
  resize: vertical;
}

/* 補足テキスト */
.form-note {
  margin-top: 0.5em;
  font-size: 0.85em;
  color: #666;
  line-height: 1.4;
}

/* ラジオボタンなど */
.wpcf7-radio {
  display: flex;
  gap: 1.5em;
  margin-top: 0.3em;
  flex-wrap: wrap;
}
.wpcf7-radio label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.95em;
  color: #333;
}

/* セレクトボックス */
select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='gray' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E") no-repeat right 0.75em center;
  background-size: 1em;
}

/* 送信ボタン */
input[type="submit"] {
  background-color: #4641A4;
  color: #fff;
  padding: 1em 2em;
  width: 100%;
  max-width: 280px;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #5a54c9;
  box-shadow: 0 4px 10px rgba(70, 65, 164, 0.4);
}