@charset "UTF-8";

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo,sans-serif;
}
h3{
	color:#182987;
}
h4{
	background:#182987;
	color:#FFF;
	font-size: 0.9rem;
	font-weight:400;
	padding: 0 0.8rem;
	display:inline-block;
	margin-left: 10%;
}

* { margin: 0; padding: 0; box-sizing:border-box;}
html {
	height: 100%;
	font-size:18px;
	 line-height:1.8;
	 color: #666;
}
a{
	text-decoration: none;
}
a:hover{
	opacity:0.6;
}
li{
	list-style:none;
}
img{max-width:100%;}
.pc{display: inherit;}
.sp{display: none;}
.full_contents{width:100%;}
.common_contents{display:block;width:1000px;margin:0 auto;}
.center{text-align: center;}
.page-template-default .site-header + section,
.error404 .site-header + section{
	padding-top: 140px;
}
.preparation{
	height: 55vh;
	display:flex;
	align-items: center;
	justify-content: center;
}
body{
}
#loading_cover{
	position: fixed;
	width: 100%;
	height: 100%;
	background: #ffffffbd;
	z-index: 9999;
	display: grid;
	justify-content: center;
}
.loading_text{
	text-align:center;
	position:relative;
	top: 47vh;
}
  .loader{
  width: 100%;           /* ロゴサイズに合わせて調整 */
  margin: 0 auto;
  perspective: 300px;    /* 3D感の要 */
  display: flex;
  align-items: center;
  justify-content: center;
  }

  .loader img{
	  width: 50%;
	  display: block;
	  transform-style: preserve-3d;
	  animation: logoSpin 2s ease-in-out infinite;
  }

/* Y軸回転 */
@keyframes logoSpin {
  0% {
    transform: rotateY(0deg);
  }

  25% {
    transform: rotateY(90deg);
  }

  50% {
    transform: rotateY(180deg);
  }

  75% {
    transform: rotateY(270deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.site-header{
	width: 100%;
	height: 76px;
	background: #182987;
	position: fixed;
	z-index: 999;
}
.header_inner{
	width:1000px;
	height: 60%;
	position: relative;
	top: 14px;
	margin:0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header_inner img,
.header_inner a{
	height:100%;
	color:#fff;
	font-size: 0.9rem;
}
.header_inner ul{
	display:flex;
}
.header_inner li{
	margin: 0.5rem;
}
footer{
	background: linear-gradient(180deg, #ffffff 0%, #bfffef 100%);
}
.copyright{
	background:#182987;
	text-align:center;
	color:#fff;
	padding: 0.2rem;
	margin-top: 3rem;
}

.top{
	background: url(../img/top_img_bg.png);
	background-position: center;
	background-size: cover;
}

#service{
	display:flex;
}
.service_block{
	padding: 1rem 2rem;
	margin: 1rem 0;
	border-right:1px solid #999;
	font-size:0.9rem;
}
.service_block:last-child{
	border:none;
}
.service_block img{
	height:100px;
	width:100%;
	object-fit:contain;
}

#concept{
	margin:3rem 0;
}

#reason h3{
	background:url(../img/bar_bg.png);
	background-size:cover;
	text-align:center;
	color:#fff;
	font-size: 1.8rem;
	margin-top: 5rem;
	padding: 0.5rem;
}
.reason_block{
	display:grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}
.reason_block .content{
	margin:2rem;
	color:#0071bc;
}
.reason_block .content div,
.reason_block .content b{
	color:#182987;
}
.reason_block .content div{
	font-size:0.8rem;
}
.reason_block .content b{
	font-size:1.8rem;
}

#news {
	margin-top:5rem;
}
#news ul{
	background:#f2f2f2;
	margin:1rem 0;
	padding: 1rem;
	padding-left: 10%;
	font-size: 0.9rem;
}

#works{
	margin-top:3rem;
}

#service_info{
	margin-top:5rem;
}
#service_info .service_info_block{
	display:grid;
	grid-template-columns: 360px 1fr;
	align-items: center;
}
#service_info .service_info_block h3{
	grid-column:1 / span 2;
	text-align:center;
	color: #0071bc;
	font-size: 1.4rem;
	margin: 1rem;
}
#service_info .service_info_block p{
	margin-left:2rem;
}
#service_info .service_info_block a{
	grid-column:1 / span 2;
	text-align:center;
	background: url(../img/bar_bg.png);
	background-size: cover;
	background-position: center;
	border-radius: 5px;
	padding: 0.2rem 0;
	color: #fff;
	font-size: 1.6rem;
	margin: 1rem 0 3rem;
}

.com{
	display:flex;
	margin:1rem auto;
	justify-content: center;
	font-size:1.2rem;
	line-height:1.2;
	align-items: center;
}
.com img{
	width: 50px;
	height: auto;
	margin-right: 5px;
}
.com span{
	display:block;
	font-size: 0.95rem;
}

.site-map{
	border-top:1px solid #666;
	padding:1rem;
	display: flex;
	justify-content: space-evenly;
	font-size: 0.8rem;
}
.site-map ul{
	color:#000;
	font-weight:700;
}
.site-map a{
	color:#666;
	font-weight:400;
}

.about-table {
  margin: 1rem 0 0;
}
.about-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  border: 1px solid #182987;
}
.about-table th, .about-table td {
  padding: 8px 7px;
  text-align: left;
  vertical-align: top;
}
.about-table th {
  background: #182987;
  color: #fff;
  width: 110px;
  font-weight: bold;
}
.about-table tr:not(:last-child) td, .about-table tr:not(:last-child) th {
}
.about-table td {
  color: #0e2255;
}


/* =========================
  Form UI (PC) for CF7 + ACF
  - palette: #182987 / #0071bc
========================= */

/* フォーム全体の箱 */
.form-wrap,
.wpcf7,
.acf-form {
  background: #f7f9ff;
  border: 1px solid #e3e9ff;
  border-radius: 8px;
  padding: 24px;
}

/* ラベル */
form label,
.wpcf7 label,
.acf-field .acf-label label {
  display: block;
  font-weight: 700;
  color: #182987;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* 補足テキスト（CF7の説明文があればこれで整う） */
form .help,
.wpcf7 .help,
.acf-field .description,
.acf-field .acf-input .acf-description {
  color: #667;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* 1項目ごとの余白（CF7はspanで包まれがちなのでそれもケア） */
form .field,
.wpcf7 .wpcf7-form p,
.wpcf7 .wpcf7-form-control-wrap,
.acf-field {
  margin: 0 0 18px;
}

/* 入力共通（CF7は .wpcf7-form-control が付く） */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea,

/* ACF */
.acf-input input[type="text"],
.acf-input input[type="email"],
.acf-input input[type="tel"],
.acf-input input[type="url"],
.acf-input input[type="number"],
.acf-input input[type="date"],
.acf-input input[type="password"],
.acf-input select,
.acf-input textarea,

/* CF7 */
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  border: 1px solid #cfd8ff;
  background: #fff;
  color: #333;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

/* テキストエリア */
textarea,
.acf-input textarea,
.wpcf7 textarea.wpcf7-form-control {
  min-height: 140px;
  resize: vertical;
}

/* フォーカス時 */
input:focus,
select:focus,
textarea:focus,
.acf-input input:focus,
.acf-input select:focus,
.acf-input textarea:focus,
.wpcf7 .wpcf7-form-control:focus {
  border-color: #0071bc;
  box-shadow: 0 0 0 4px rgba(0,113,188,0.15);
}

/* プレースホルダー */
::placeholder {
  color: #a0a8c0;
}

/* チェック/ラジオ（CF7） */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"],
input[type="checkbox"],
input[type="radio"] {
  transform: translateY(1px);
}

/* 必須マーク（CF7は自前で付けるケースが多いのでクラス対応） */
.required,
.acf-required,
.wpcf7 .required {
  color: #d12b2b;
  font-weight: 700;
  margin-left: 4px;
}

/* 送信ボタン（CF7は input.wpcf7-submit） */
button,
input[type="submit"],
.acf-form-submit .acf-button,
.acf-form-submit input[type="submit"],
.wpcf7 input.wpcf7-submit {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 1rem;
  cursor: pointer;
  background: #182987;
  color: #fff;
  transition: transform .12s ease, opacity .15s ease;
}

button:hover,
input[type="submit"]:hover,
.acf-form-submit .acf-button:hover,
.wpcf7 input.wpcf7-submit:hover {
  opacity: .9;
  transform: translateY(-1px);
}

button:active,
input[type="submit"]:active,
.acf-form-submit .acf-button:active,
.wpcf7 input.wpcf7-submit:active {
  transform: translateY(0);
}

/* CF7: バリデーションエラー枠（inputのエラー） */
.wpcf7 .wpcf7-not-valid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 4px rgba(255,107,107,0.12);
}

/* CF7: エラーメッセージ（項目下の赤文字） */
.wpcf7 .wpcf7-not-valid-tip {
  color: #a40000;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* CF7: フォーム全体のエラー枠 */
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-response-output {
  background: #fff1f1;
  border: 1px solid #ffcccc;
  color: #a40000;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0 0;
}

/* CF7: 成功メッセージ（送信完了時） */
.wpcf7 form.sent .wpcf7-response-output {
  background: #f0fff8;
  border: 1px solid #b7f0da;
  color: #0d6b43;
}

/* 2カラム用ユーティリティ（必要なら） */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
