@charset "utf-8";

/* **********************

  RESET

********************** */

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f2f2f2;
}

h1,h2,h3,h4,h5 {
  font-weight:normal;
}

/* IE6 */
* html .clearfix {
  zoom: 1;
}

/* IE7 */
*:first-child + html .clearfix {
  zoom: 1;
}



/* **********************

  HEADER

********************** */

.header img {
  height: 35px;
  margin: 0 auto;
  display: block;
}

.header__inner {
  padding: 3vw 0;
}

.form-header {
  background: #4F9D62;
  color: #fff;
  padding: 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.form-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 1.25rem solid transparent;
  border-right: 1.25rem solid transparent;
  border-top: 1.25rem solid #4F9D62;
}

.form-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.item_notes{
  margin: 40px;
  color: #262323;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 2px;
  text-align: center;
}



/* **********************

  CONTETN

********************** */

.form-container {
  max-width: 750px;
  margin: 0 auto;
  display: block;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: #fff;
}

.button-container {
  text-align: center; 
  margin: 40px 0; 
  padding-bottom: 30px;
}

/* ボタン本体のスタイル */
.submit-button {
  /* 色とテキスト */
  background-color: #A3984D; 
  color: #ffffff;          
  font-size: 18px;         
  font-weight: bold;       
  
  /* サイズと形 */
  padding: 15px 60px;      
  border: none;             
  border-radius: 5px;       
  
  /* 操作性 */
  cursor: pointer;         
  transition: background-color 0.3s ease;
}

.submit-button:hover,
.submit-button:focus {
  background-color: #D9CF6D;
  outline: none;           
}


/* **********************

  FORM

********************** */

/* フォーム行 */
.form-row {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.form-label {
  display: block;
  margin-left: 5px;
  margin-bottom: 5px;
  font-size: 17px;
}

/* 入力共通 */
.form-input {
  width: 100%;
  box-sizing: border-box;   /* paddingとborderを高さに含めて計算する */
  height: 40px;
  padding-left: 10px;
  border-radius: 6px;
  font-size: 15px;
}

/* 選択共通 */
.select-wrapper {
  position: relative;
}

/* アイコンを疑似要素で作成 */
.select-wrapper::after {
  /* Font Awesomeの指定 */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Solidスタイルのアイコンは900を指定 */
  content: "\f13a"; /* アイコンコード */

  /* アイコンの位置とスタイル */
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%); /* 上下中央に配置 */
  pointer-events: none; /* アイコンのクリックを無効化し、下のselect要素を操作できるようにする */
  color: #A3984D; /* アイコンの色 */
  font-size: 1.2em; /* アイコンのサイズ */
}
.form-select {
  /* OS標準のスタイルを無効にする */
  -webkit-appearance: none;
  appearance: none;
 
  width: 100%;
  height: 40px;
  cursor: pointer;
  padding-left: 10px;
  border-radius: 6px;
  font-size: 15px;
}

/* ラジオボタン */
.option-row.two-col input[type="radio"] {
  display: none;
}
.option-row.two-col label {
  text-align:center;
  padding: 8px;
  border: 1px solid #000000;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}
.option-row.two-col input[type="radio"]:checked + label {
  background-color: #4F9D62 !important;
  border-color: #4F9D62 !important;
  color: #fff;
}

/* オプション行 */
.option-row {
  display: flex;
  gap: 10px;
}
.option-row.two-col > *, .option-row.three-col > * {
  flex: 1;
}
.option-row.two-col .address-item {
  flex: 1; 
}
.option-row.three-col .birth-item {
  flex: 1;
}
.full-width {
  margin-top: 5px;
}


/* 生年月日3列のエラーを各ボックス直下に揃える */
.select-wrap {
  display: flex;
  flex-direction: column;
}


/* フリガナ項目の非表示（西口） */
#furigana-row {
    display: none;
}


/* 住所項目の非表示（西口） */
#address-row {
    display: none;
}


/* エラーメッセージ */
.hintBox {
  font-weight: normal;
  line-height: 125%;
  font-size: 12px;
  overflow: hidden;
  display: none;
}
.validate_error {
  padding: 2px 0 0 18px;
  background: #FFFFFF url("../images/error_mark.gif") 0 4px no-repeat;
  color: #FE0000;
  margin: 6px;
}


/* 同意項目のチェックボックス */
.agree-row {
  gap: 10px;
  
}
.agree-label {
  margin-left:5px;
  cursor: pointer;
  color: #0066c0;
  font-weight: bold;
  font-size: 13px;
  position: relative;
  top: -1.5px;
}
.agree-label:hover {
  text-decoration: underline;
}

/* チェック入ればラベル変更 */
.agree-item input[type="checkbox"]:checked + .agree-label {
  font-weight: normal;
  color: #7b42af;
}
#points, #policy {
  cursor: pointer;
}

input[type=checkbox] {
  transform: scale(1.5);
}

/* モーダルウィンドウ */
.modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  width: 100%;
  max-width: 800px;
  padding: 20px;
  border-radius: 8px;
  position: relative;
}
.modal-content iframe {
  width: 100%;
  height: 400px;
  border: none;
}
.modal-close {
  position: absolute;
  top:8px; right:8px;
  cursor: pointer;
  font-size: 18px;
}


/* **********************

  seal

********************** */

#sealBox {
  display: flex;
  align-items: center;     /* 垂直方向の中央揃え */
  gap: 20px;               /* 画像とテキストの間の隙間 */
  margin: 20px auto 20px;
  padding: 10px;
  max-width: 600px; /* コンテナの最大幅を指定 */
}

#sealBox p {
  font-size: 12px;
  line-height: 20px;
}

/* **********************

  FOOTER

********************** */

#footer {
  background-image: url(../images/underline.gif);
  background-repeat: repeat-x;
  background-position: left top;
  position: relative;
}

#footer li{
  float:left;
  padding:0 0 0 15px;
  margin:0 0 0 10px;
  font-size:10px;
  color:#333333;
}

#footer li a {
  color:#B4A647;
  text-decoration:none;
  padding:2px 0 2px 0;
  color:#787878;
  background-image: url(../images/underline.gif);
  background-repeat: repeat-x;
  background-position: bottom;
}

#footer li a:hover{

  background:none;
  color:#B4A647;}

#footer address{
  text-align:center;
  clear: both;
  padding-top: 5px;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

#footer p,

#footer address{
  font-size:11px;
  color:#999999;
  font-style:normal;
}

#footer_link {
  list-style-type: none;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  width: 286px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 40px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}



/* **********************

  importantPoints

********************** */

.warning_box{
  font-size:13px;
}

.warning_box ol.order {
  margin: 8px 0 15px 0;
  counter-reset:li;
  padding:0;
  list-style:none;
}

.warning_box ol.order li {
  position:relative;
  margin:0 0 6px 2em;
  padding:4px 8px;
  border-top:2px solid #C00;
  background:#ffeaea;
  font-weight: bold;
}

.warning_box ol.order li:before {
  content:counter(li);
  counter-increment:li;

  /* Position and style the number */

  position:absolute;
  top:-2px;
  left:-2em;
  width:2em;
  padding:4px 0;
  border-top:2px solid #C00;
  color:#fff;
  background:#C00;
  font-weight:bold;
  text-align:center;
}

p.sub_title {font-weight:bold;margin:8px 0;}

.warning_box {margin-top: 15px;}

.warning_box ol.order li div.ilist {
  border: 0px none;
  background: none;
  font-weight: normal;
  line-height: 2;
}

.warning_box ol.order li span.caution {color:#C00;font-weight:bold;}
