/* ----------------------------
 製品支給申請フォーム
フィールドスタッフ：河内
---------------------------- */

/* 共通項目 */

dl {
  border-bottom: 1px solid #aaa;
  margin-bottom: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

dl:nth-of-type(10) {
  border-bottom: none;
  margin-bottom: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

dl:nth-of-type(11) {
  border-bottom: none;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

dl:nth-of-type(12) {
  border-bottom: 1px solid #b6c9db;
  margin-bottom: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

dt {
  text-align: right;
  font-weight: normal;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 0;
}

@media ( max-width:767px) {
  dt {
    text-align: left;
  }
}

dd {
  width: 70%;
  text-align: left;
  padding-left: 1rem;
  margin-bottom: 0;
}

label:hover {
  cursor: pointer;
}

input[type=radio]:hover, input[type=checkbox]:hover {
  cursor: pointer;
}

.choice_img {
  max-height: 100px;
  display: block;
}

.conf_control {
  display: none;
}

.err_msg {
  color: crimson;
  background-color: #f8d7da;
  border: 1px solid crimson;
  padding: 5px 12px;
  border-radius: 3px;
  margin-top: 3px;
  display: none;
  width: 100%;
  font-size: 80%;
}

input, textarea, select {
  display: block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input[type=radio],input[type=checkbox]{
  display: inline;
  width: unset;
  height: unset;
  padding: unset;
  accent-color: #111;
}

input:focus, textarea:focus, select:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, .25);
}

.custom_contents{
  height: 100px;
}

input[name="zip"],select[name="pref"]{
  width: 200px;
  display: inline;
}

input[name="last_name"],input[name="first_name"]{
  display: inline;
}

.font80{
  font-size: 80%;
}


/* ----------------------------
 製品支給申請フォーム
フィールドスタッフ：河内
 CSS上書
---------------------------- */
/* 各フォーム共通 */

html {
  height: 100% !important;
}

/* --- CSS変数 --- */
:root {
  /* color */
  --white: #eee;
  --black: #333;
  --blue: #0f2350;  /* サイトメイン色：rgba(15,35,80,1) */
  --gray: #e6e6e6;
  --gray2: #454545;

  /* font-size */
  --fs_1: min( 3.611111vw, 27.0833px);  /* min: 13px; devpx:360 */
  --fs_2: min( 3.888889vw, 29.1667px);  /* min: 14px; devpx:360 */
  --fs_3: min( 4.166667vw, 31.2500px);  /* min: 15px; devpx:360 */
  --fs_4: min( 4.444444vw, 33.3333px);  /* min: 16px; devpx:360 */
}

/* --- body --- */
body {
  background-color: var(--white);
  color: var(--black);
  height: 100% !important;
}

/* --- container --- */
.container {
  padding-bottom: 10%;
}

.container .tbox {
  width: 70%;
  margin: auto;
}

.container .tbox p {
 	text-align: justify;
 	line-height: 1.5;
}


@media screen and (max-width:575px) {
	.container .tbox {
  	width: 90%;
  	margin: auto;
	}

	.container .tbox p {
  	text-align: justify;
  	line-height: 1.5;
	}

}

.container-fluid {
  margin: auto;
  max-width: 750px;
  background-color: var(--gray);
  position: relative;
  z-index: 0;
}

/* ------ header ------ */
header .header {
  margin: auto;
  width: 100%;
  padding: 0 !important;
  background-color: #000 !important;
  position: relative;
  z-index: 1;
}

header .header .inbox {
  margin: auto;
  width: 85%;
  position: relative;
}

header .header .inbox a {
  display: block;
  width: 100%;
  height: 100%;
}

header .header .inbox a:active {
  opacity: 0.6;
}

@media (orientation: landscape) and (min-width: 700px) {
	header .header .inbox a:hover {
  	opacity: 0.6;
	}

}

header .header .inbox a h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: min(3vw,22.5px) ;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translate(-50%, 0%);
}

/* ------ footer ------ */
footer {
  display: none;
}

/* ------ contents 背景 ------ */
dl dd span p span {
  background-color: var(--gray) !important;
}


/* --- ボタン --- */
.btn-primary {
	color: #eee;
	background-color: #111;
	border-color: #111;
}

.btn-primary:active,
.btn-primary:hover {
	color: #eee;
	background-color: #111;
	border-color: #111;
	opacity: 0.6;
}

.btn-primary:not(:disabled):not(.disabled):active {
	color: #eee;
	background-color: #111;
	border-color: #111;
	opacity: 0.6;
}

.btn-outline-primary {
	color: #111;
	border-color: #111;
}

.btn-outline-primary:hover {
	color: #111;
  background-color: transparent;
	border-color: #111;
  opacity: 0.6;
}

.btn-outline-primary:not(:disabled):not(.disabled):active {
	color: #111;
  background-color: transparent;
	border-color: #111;
  opacity: 0.6;
}



/* -------------------------
 margin（padding）調整
-------------------------- */

/* --- 氏名 --- */
@media screen and (max-width:575px) {
	form dl:nth-of-type(1) dd span p {
		margin-bottom: 0;
	}

}


/* --- 支給希望商品（青物用） --- */
/* --- 支給希望商品（縞鯵五目） --- */
/* --- 支給希望商品（真鯛専用） --- */


form dl:nth-of-type(4) dd div:last-of-type,
form dl:nth-of-type(5) dd div:last-of-type,
form dl:nth-of-type(6) dd span {
	1line-height: 1;
}

form dl:nth-of-type(4) dd div:last-of-type label,
form dl:nth-of-type(5) dd div:last-of-type label,
form dl:nth-of-type(6) dd div:last-of-type label {
	margin-bottom: 0;
}


form dl:nth-of-type(6) dd,
form dl:nth-of-type(7) dd {
	flex-direction: column;
}


@media screen and (max-width:575px) {
	form dl:nth-of-type(4) dt,
	form dl:nth-of-type(5) dt,
	form dl:nth-of-type(6) dt {
		margin-bottom: 2%;
	}

}

/* textarea */
form dl:nth-of-type(8) dd textarea {
	height: 7em;;
}



/* -------------------------
 input（width:幅）
-------------------------- */

input[id="name1"],
input[id="date_of_birth"],
input[id="date_of_fishing"],
input[id="name_of_fishing-lodge"] {
  width: 50%;
  -webkit-appearance: none;
}

@media screen and (max-width:767px) {

	input[id="name1"],
  input[id="date_of_fishing"],
  input[id="name_of_fishing-lodge"] {
  	width: 65%;
  	-webkit-appearance: none;
	}

}



/* --------------------------
 Images/Picture Setting
-------------------------- */
.obj-fit_cov {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  object-position: 50% 50%;
}

.obj-fit_cov--h100 {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  object-position: 50% 50%;
}

.obj-fit_cont {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  object-fit: contain;
  font-family: 'object-fit: contain;';
  object-position: 50% 50%;
}

.obj-fit_cont--h100 {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  font-family: 'object-fit: contain;';
  object-position: 50% 50%;
}



/* ----------------------------
製品支給申請フォーム
---------------------------- */
/* ------ Title ------ */
.PR-app1 {
  font-size: min(6vw,34.56px) ; /* px数はbootstrapの設定widthに合わせるため */
  letter-spacing: 0.1em;
  color: var(--black);
}

/* 名前 */
.app_form dl.dl-name1 dd span p {
  margin-bottom: 0.3em;
}

/* 釣行宿名 */
.app_form dl.dl-name_of_fishing-lodge dd span {
  margin-bottom: 0.3em;
}

/* --- text --- */
.app_form h3.TTL {
  margin: 5rem auto 3rem;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.app_form .TTLsub {
  margin-bottom: 1rem;
}

.app_form .TTLsub p {
  margin: auto;
  font-size: 0.9rem;
  position: relative;
}

.app_form .TTLsub p:nth-of-type(1) {
  margin-bottom: 1em;
  font-size: 1.0rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.06em;
}

.app_form .TTLsub p:not(:nth-of-type(1)) {
  padding-left: 1em;
  width: 100%;
}

.app_form .TTLsub p span.f2 {
  display: inline-block;
  position: absolute;
  top: 0em;
  left: 0em;
  transform: scale(0.7);
}

.app_form .TTLsub p span.fc {
  display: inline-block;
  color: #dc3545;
}

@media (min-width: 700px) {
  .container .tbox {
    width: auto;
  }
  .app_form .TTLsub p:not(:nth-of-type(1)) {
    padding-left: 1em;
    width: auto;
  }

}

@media (min-width: 768px) {
  .app_form .TTLsub p:not(:nth-of-type(1)) {
    margin-left: 10em;
  }

}



/* ----------------------------
製品支給申請フォーム チヌ
---------------------------- */
dl:has(.qty-select) {
  justify-content: center;
}


dl:has(.qty-select) {
  justify-content: center;
}

dd:has(.qty-select) select {
  width: 20%;
  margin: auto 5% auto auto;
  
}


@media (min-width: 576px) {
  dl:has(.qty-select) dt {
    flex: 0 0 55%;
    max-width: 55%;
    text-align: left;
  }

  dl:has(.qty-select) dd {
    flex: 0 0 13%;
    max-width: 13%;
  }

}






/* ------ Thanks page ------ */
.thankspage {
  height: calc(100svh - 56.666667vw);
  background-color: var(--gray);
}


.thankspage h6 {
  margin-top: 10% !important;
  line-height: 1.5;
}






