@charset "utf-8";

/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

body * {
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: #000;
}


/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

address {
  font-style: normal;
}

cite {
  font-style: normal;
}

/* reset.cssおわり**************************************************************************************** */
/* パンくずリスト */
/* ===== パンくずリスト ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 14px;
}

.breadcrumbs__item {
  color: #333;
}

/* 区切り記号（HTMLに書かない） */
.breadcrumbs__item+.breadcrumbs__item::before {
  content: ">";
  margin: 0 8px;
  color: #666;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* 現在ページ */
.breadcrumbs__item[aria-current="page"] {
  font-weight: 600;
}

/* style.cssの上書き */
.lower__header {
  min-height: 39svh;
}


/* フォーム */
/* 行は2列のまま。各列は行の高さいっぱいに伸びる */
.form-row {
  display: grid;
  grid-template-columns: 25vw 1fr;
  align-items: stretch;
}
@media (min-width: 1001px) and (max-width: 1200px) {
  .form-row {
    grid-template-columns: 28vw 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .form-row {
    grid-template-columns: 37vw 1fr;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* セル自体はフレックス。中身の配置を制御しやすくする */
.form-label,
.form-field {
  display: flex;
  align-items: center;
  /* フォールバックとして中央寄せ */
}

/* ★ label をセルの高さいっぱいに伸ばし、テキストは縦中央 */
.form-label label {
  display: flex;
  /* 行内で縦中央にするためにflexに */
  align-items: center;
  /* 縦中央 */
  width: 100%;
  height: 100%;
  /* ← セルいっぱいに背景を伸ばす */
  background-color: #003b90;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding: 30px 40px;
  /* 高さ感はpaddingで調整 */
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
}

/* 必須バッジ */
.form-label .req {
  color: #003b90;
  background-color: #fff;
  margin-left: 6px;
  font-weight: 700;
  font-size: 14px;
  padding: 2px 5px;
}

/* 入力側セル：背景色だけ付け、固定高さは付けない */
.form-field {
  background-color: #f2f2f2;
  padding: 0 10px;
  border-bottom: 1px solid #fff;
}

@media (max-width: 768px) {
  .form-field {
    padding: 10px 10px;
  }
}


/* 入力系：見た目差分の元をまずリセット */
.form-field input,
.form-field textarea {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  font: inherit;
  /* フォントを完全継承（念のため） */
  line-height: 1.5;
  /* 行間を統一 */
  border: 1px solid #fff;
  background-color: #f2f2f2;

  /* 余白は論理プロパティで明示（上下／左右） */
  padding-block: 12px;
  /* 上下の余白 */
  padding-inline: 10px;
  /* 左右の余白 */

  width: 100%;
  box-sizing: border-box;
}

/* textarea：UA 差分をさらに吸収 */
.form-field textarea {
  /* 自動伸長に合わせた推奨設定（すでに導入済み） */
  resize: none;
  overflow: hidden;

  /* 文字の始点が上寄せに見えすぎるのを抑える微調整（必要なら） */
  /* line-height: 1.6;  ← もしまだ“上が広く見える”場合は 1.6 にしてみてください */

  /* iOS Safari での内側余白のブレ対策として明示 */
  padding-block-start: 12px;
  padding-block-end: 12px;

  /* rows に左右されない初期感にしたい場合は最小値だけ確保 */
  min-height: 120px;
  /* ここはお好みで */
}

/* フォーカス */
.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(0, 120, 212, 0.25);
  border-color: #0078d4;
}

/* バリデーション */
.form-field input:invalid,
.form-field textarea:invalid {
  border-color: #d13438;
}

/* モバイル時のラベル余白調整（高さは固定しない） */
@media (max-width: 768px) {
  .form-label label {
    padding: 14px 16px;
    font-size: 18px;
  }
}

/* 行として初期の見栄え高を確保したい場合（任意） */
.form-row#message-row {
  min-height: 200px;
  /* 必要なければ削除可。自動伸長があれば超えて伸びます */
}



/* ===== 確認画面（表示のみ）向け ===== */
.form-grid--confirm .form-value {
  padding: 10px 12px;
  border: 1px solid #f3f3f3;
  background: #f3f3f3;
  line-height: 1.6;
  word-break: break-word;
}

.form-grid--confirm .form-row {
  margin-top: 20px;
  margin-bottom: 20px;
}
.form-grid--confirm .form-label{
  padding-top:12px;
  padding-bottom:12px;
}
.form-grid--confirm .form-label .req {
  color: #fff;
  background-color: #003b90;
}
.txt12{
  font-size: 17px;
    line-height: 2.1;
    color:#003b90;
}

.inquiry_contents {
  width: 62.5vw;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 0;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .inquiry_contents {
    width: 84vw;
  }
}


.inquiry_top_txt {
  font-size: 17px;
  line-height: 2.1;
}

.inquiry_top_txt a {
  border-bottom: 1px solid #000;
}

.inquiry_top .inquiry_phone {
  padding: 80px 0;
  display: flex;
  flex-direction: row;
  gap: 100px;
}

.inquiry_top .inquiry_phone li {
  width: 360px;
}

.inquiry_top .inquiry_phone h1 {
  font-size: 22px;
  color: #003b90;
  background: linear-gradient(to right, #1055b8, #fff);
  /* 左から右へ */
  background-size: 100% 1px;
  /* 線の幅100%・太さ3px */
  background-repeat: no-repeat;
  background-position: bottom;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.inquiry_top .inquiry_phone p {
  font-size: 22px;
}

@media (max-width: 768px) {
  .inquiry_contents {
    width: 100vw;
  }

  .inquiry_top {
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
  }

  .inquiry_top_txt {
    font-size: 15px;
  }

  .inquiry_top .inquiry_phone {
    flex-direction: column;
    padding: 60px 0;
    gap: 60px;
  }

  .inquiry_top .inquiry_phone li {
    width: 100%;
  }

  .inquiry_top .inquiry_phone h1 {
    font-size: 20px;
  }

  .inquiry_top .inquiry_phone p {
    font-size: 20px;
  }
}

/* 確認、送信、トップに戻るボタン */
.inq_end_btn {
  margin-top: 100px;
}

.inq_end_btn button {
  display: block;
  font-size: 20px;
  color: #003b90;
  border: 1px solid #003b90;
  padding: 35px 216px 35px 25px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

.inq_end_btn button:hover {
  color: #fff;
  background: #003b90;
}

.inq_end_btn button:hover svg .cls-3 {
  fill: #fff;
}

.inq_end_btn a {
  display: inline-block;
  font-size: 20px;
  color: #003b90;
  border: 1px solid #003b90;
  padding: 35px 216px 35px 25px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

.inq_end_btn a:hover {
  color: #fff;
  background: #003b90;
}

.inq_end_btn a:hover svg .cls-3 {
  fill: #fff;
}

.inq_end_btn button svg {
  width: 88px;
  height: 88px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.inq_end_btn a svg {
  width: 88px;
  height: 88px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

@media (max-width: 768px) {
  .inq_end_btn {
    margin-top: 60px;
  }
}