@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap");
#secondpage {
  border-bottom: 1px solid #b3b3b3; }

.input-wrap .input-text {
  text-align: center;
  margin-bottom: 3rem; }
  .input-wrap .input-text span {
    color: red; }
  .input-wrap .input-text a {
    color: red;
    text-decoration: underline;
    transition: .5s opacity; }
    .input-wrap .input-text a:hover {
      opacity: .5; }

.form {
  display: block;
  width: 100%;
  margin-bottom: 3rem; }
  .form th, .form td {
    padding: 0 0 2rem; }
  .form tr:last-child th, .form tr:last-child td {
    padding-bottom: 0; }
  .form th {
    width: 25rem;
    padding-right: 2rem; }
    .form th span {
      color: red; }
    .form th.baseline {
      vertical-align: baseline; }
  .form td {
    width: 73rem; }
    .form td input, .form td textarea {
      border-radius: 0;
      border: 1px solid #cccccc;
      font-size: 1.6rem;
      font-family: sans-serif;
      padding: 5px;
      box-sizing: border-box; }
    .form td.radio {
      display: flex;
      justify-content: flex-start;
      align-items: center; }
      .form td.radio p:first-of-type {
        margin-right: 2rem; }
      .form td.radio input[type="radio"] {
        position: relative;
        width: 20px;
        height: 20px;
        border: 1px solid #cccccc;
        border-radius: 0;
        vertical-align: -4px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        margin: 0 5px 0 0; }
      .form td.radio input[type="radio"]:checked:before {
        position: absolute;
        content: "";
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 14px;
        height: 14px;
        background: #1d2477; }
    .form td.textbox input {
      width: 100%;
      height: 4rem; }
    .form td textarea {
      max-width: 73rem;
      width: 100%;
      min-height: 20rem; }

.form-under {
  background: #f0fafd;
  padding: 2rem;
  box-sizing: border-box;
  margin-bottom: 6rem; }
  .form-under .check {
    text-align: center;
    font-size: 1.8rem;
    font-family: sans-serif;
    margin-bottom: 2rem; }
    .form-under .check a {
      color: black;
      text-decoration: underline;
      transition: .5s opacity; }
      .form-under .check a:hover {
        opacity: .5; }
  .form-under .c-input {
    text-align: center; }

.send-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 25rem;
  width: 100%;
  position: relative;
  margin: 0 auto; }
  .send-btn input {
    font-size: 1.6rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    color: black;
    padding: 0 1rem 1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left; }
  .send-btn img {
    transition: transform 0.5s; }
  .send-btn .line {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    background: black;
    left: 0;
    bottom: 0;
    margin: auto;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .send-btn:hover .line {
    width: 0; }
  .send-btn:hover img {
    transform: translateX(1rem); }
  .send-btn.send-back .line {
    left: auto;
    right: 0; }
  .send-btn.send-back input {
    text-align: right;
    padding: 0 0 1rem 1rem; }
  .send-btn.send-back img {
    transform: rotate(-180deg); }
  .send-btn.send-back:hover img {
    transform: rotate(-180deg) translateX(1rem); }

.confirm .confirm-text {
  text-align: center;
  margin: 3rem auto; }
.confirm .error-wrap {
  margin-bottom: 5rem; }
  .confirm .error-wrap .error_messe {
    margin-bottom: 1rem; }
    .confirm .error-wrap .error_messe:last-child {
      margin-bottom: 0; }
.confirm .send-back {
  margin-top: 3rem; }

.thanks .thanks-text {
  text-align: center;
  margin: 5rem auto; }
.thanks .btn {
  margin: 0 auto; }

@media screen and (max-width: 920px) {
  .input-wrap .input-text {
    text-align: left;
    max-width: 60rem;
    margin: 0 auto 3rem; }
    .input-wrap .input-text .spno {
      display: none; }

  .form {
    display: block;
    width: 100%;
    margin-bottom: 3rem; }
    .form tbody {
      display: block;
      width: 100%; }
    .form th, .form td {
      width: 100% !important;
      display: block;
      box-sizing: border-box; }
    .form tr {
      display: block;
      width: 100%; }
      .form tr:first-child th {
        border-top: 1px solid #1d2477;
        padding-top: 2rem; }
      .form tr:last-child th, .form tr:last-child td {
        padding-bottom: 1rem; }
    .form th {
      padding: 0 0 1rem 0; }
      .form th br {
        display: none; }
    .form td {
      border-bottom: 1px solid #1d2477;
      margin-bottom: 2rem; }
      .form td textarea {
        max-width: 100%; }

  .form-under .check .sp {
    display: block; } }
@media screen and (max-width: 500px) {
  .form td.radio {
    display: block; }
    .form td.radio p:first-of-type {
      margin: 0 auto 1rem; }

  .form-under .check {
    text-align: left; }
    .form-under .check .sp {
      display: none; }
  .form-under .c-input {
    text-align: left; } }
/*
main{
	.attention{
		margin-bottom: 8rem;
		span{
			color: $primary;
		}
	}
	.form{
		width: 100%;
		margin: 5rem auto 4rem;
		&.conf-table{
			margin-top: 0;
		}
		tr{
			th,td{
				padding: 0 0 3rem;
			}
			th{
				width: 30%;
				vertical-align: baseline;
				span{
					color: $primary;
					margin-left: 1rem;
					@include fz(16);
				}
			}
			td{
				width: 70%;
				&.textbox{
					input{
						width: 100%;
						height: 5rem;
						padding: 15px;
						box-sizing: border-box;
						font-size: 16px;
						border-radius: 0;
						border: 1px solid $b2;
					}
				}
				textarea{
					max-width: 70rem;
					width: 100%;
					min-height: 20rem;
					padding: 15px;
					box-sizing: border-box;
					@include fz(16);
					border-radius: 0;
					border: 1px solid $b2;
				}
				a{
					text-decoration: underline;
					color: $text;
					@include opacity;
				}
			}
			&.area{
				vertical-align: top;
				th{
					padding-top: 1.5rem;
				}
			}
		}
	}//form
	.pp{
		text-align: center;
		margin-bottom: 8rem;
		p{
			&:first-of-type{
				margin-bottom: 1rem;
			}
		}
		a{
			color: $text;
			text-decoration: underline;
			&:hover{
				text-decoration: none;
			}
		}
	}
	//ボタン
	.send-btn{
		height: 46px;
		width: 25rem;
		margin: 0 auto;
		position: relative;
		display: block;
		border: none;
		background: none;
		box-sizing: border-box;
		text-align: center;
		input{
			@include front;
			@include fz(16);
			height: 100%;
			width: 100%;
			color:$text-sub;
			border: none;
			background: $primary;
			cursor: pointer;
			transition: .3s opacity;
		}
		span{
			@include ar-common;
			z-index: 2;
		}
		&:hover{
			input{
				opacity: .5;
			}
		}
		&.conf-top{
			margin-top: 3rem;
		}
		&.send-back{
			span{
				left: 2rem;
				right: auto;
				transform: rotate(-135deg);
			}
		}
	}//send-btn
	//エラー
	.confirmation{
		.error-wrap{
			margin: 3rem auto 0;
			.error_messe{
				margin-bottom: 2rem;
				&:last-of-type{
					margin-bottom: 0;
				}
			}
		}
		.conf-table{
			margin-top: 3rem;
		}
	}
	//完了
	.thanks{
		p{
			padding: 0 0 3rem;
		}
		.btn{
			max-width: 20rem;
		}
	}
	.confirmation,.thanks{
		h2{
			text-align: center;
			@include fz(18);
			margin-bottom: 2rem;
			font-weight: bold;
			span{
				position: relative;
				padding: 0 3rem;
				&:before,&:after{
					@include pseudo;
					background: $primary;
					width: 2rem;
					height: 1px;
					top: 12px;
				}
				&:before{
					left: 0;
				}
				&:after{
					right: 0;
				}
			}
		}
		.center{
			text-align: center;
		}
	}
}//main

@media screen and (max-width: $md) {
	main{
		.form{
			margin: 3rem auto;
			max-width: 90rem;
			tr{
				th,td{
					width: 100% !important;
					display: block;
				}
				th{
					padding-bottom: 1rem;
				}
				td{
					padding-bottom: 2rem;
					border-bottom: 1px solid $gray;
					margin-bottom: 2rem;
					textarea{
						max-width: 90rem;
					}
				}
				&:last-child{
					td{
						border-bottom: none;
						padding: 0;
					}
				}
			}
		}//form
	}//main
}

@media screen and (max-width: $sp) {
	main{
		.attention{
			margin-bottom: 4rem;
		}
		.pp{
			text-align: left;
			margin-bottom: 4rem;
		}
		.confirmation,.thanks{
			.center{
				text-align: left;
			}
		}
	}
}
*/
