@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900&display=swap&subset=japanese");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Oswald:wght@200..700&display=swap");
html,
body,
div,
span,
applet,
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,
strong,
sub,
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  line-height: 1;
}

body {
  font-size: 100%;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q,
blockquote {
  quotes: none;
}

q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

body,
button,
input,
select,
textarea {
  font-size: 1rem;
  line-height: 1;
}

a {
  color: inherit;
  text-decoration: none;
}
a:visited {
  color: inherit;
}

img {
  width: 100%;
  max-width: initial;
  vertical-align: bottom;
}
img[src$=".svg"] {
  max-width: 100%;
}

label {
  margin-bottom: 0;
}

input[type=search] {
  color: inherit;
  border: 1px solid #333;
  border-radius: 0;
  padding: 0.3em 0.3em 0.3em 35px;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  line-height: 1;
  margin: 0;
  padding: 0;
}

ul,
ol {
  margin: 0;
}

figure {
  margin: 0;
}

h1 {
  font-size: inherit;
}

p {
  margin: 0;
}

h2 {
  color: inherit;
  font-size: 1rem;
}

h3 {
  color: inherit;
}

dl {
  margin: 0;
}

dd {
  margin: 0;
}

h3 {
  font-size: 1rem;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 0;
}

h4 {
  color: inherit;
  font-size: inherit;
  font-weight: normal;
}

button,
input[type=button],
input[type=submit] {
  background-color: transparent;
}

ol {
  list-style: none;
}

a:hover,
a:active {
  color: inherit;
}

/*================================
	サイトごとに設定
=================================*/
/*================================
	メディアクエリの設定
=================================*/
/*================================
	サイト共通設定
=================================*/
html {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", YuGothic, "Yu Gothic", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-size: 16px;
  word-wrap: break-word;
  width: 100%;
}
html * {
  font-weight: inherit;
  box-sizing: border-box;
}
html {
  height: 100%;
}

/*================================
	PC 共通設定
=================================*/
@media print, screen and (min-width: 768px) {
  html {
    overflow-y: scroll;
  }
  .sp {
    display: none;
  }
  .inner {
    width: 90%;
    margin: auto;
  }
}
/*================================
	PC 相対値範囲設定
=================================*/
@media print, screen and (min-width: 768px) and (max-width: 1600px) {
  html {
    font-size: 1vw;
  }
}
/*================================
	SP 共通設定
=================================*/
@media only screen and (max-width: 767px) {
  html {
    font-size: 3.6458333333vw;
  }
  .inner {
    width: 90%;
    margin: auto;
  }
  .pc {
    display: none;
  }
}

body {
  color: #333;
}
@media print, screen and (min-width: 768px) {
  body {
    background-color: #003577;
    background: linear-gradient(0deg, rgb(0, 53, 119) 40%, rgb(20, 118, 190) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
}

@media print, screen and (min-width: 768px) {
  #canvas {
    z-index: 1;
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0.8;
    pointer-events: none;
  }
}
@media only screen and (max-width: 767px) {
  #canvas {
    display: none;
  }
}

.main {
  position: relative;
}
@media print, screen and (min-width: 768px) {
  .main {
    position: relative;
    margin: auto;
    height: 90vh;
    width: 90vw;
    margin-top: 5vh;
    overflow-y: auto;
    background-image: url(../images/img_dx/bg_img_pc.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .main::after {
    z-index: 2;
    position: fixed;
    content: "";
    top: 70%;
    left: 10vw;
    transform: translateY(-70%);
    width: 35rem;
    height: 25rem;
    background-image: url(../images/img_dx/mv_txt.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .main .hamburger {
    z-index: 99;
    position: fixed;
    right: 8.125rem;
    top: 8vh;
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    border: 0.125rem solid #003577;
    background-color: #fff;
    transition: 0.2s;
  }
  .main .hamburger:hover {
    opacity: 0.6;
  }
  .main .hamburger {
    cursor: pointer;
  }
  .main .hamburger span {
    position: absolute;
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #003577;
    transition: 0.2s;
  }
  .main .hamburger span:nth-child(1) {
    top: 1.125rem;
    left: 1.125rem;
  }
  .main .hamburger span:nth-child(2) {
    top: 1.125rem;
    right: 1.125rem;
  }
  .main .hamburger span:nth-child(3) {
    left: 1.125rem;
    bottom: 1.125rem;
  }
  .main .hamburger span:nth-child(4) {
    right: 1.125rem;
    bottom: 1.125rem;
  }
  .menuOpen .main .hamburger span {
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .menuOpen .main .hamburger span:nth-child(1), .menuOpen .main .hamburger span:nth-child(2) {
    transition-delay: 0.1s;
    width: 50%;
    height: 0.125rem;
  }
  .menuOpen .main .hamburger span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .menuOpen .main .hamburger span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .menuOpen .main .hamburger span:nth-child(3) {
    opacity: 0;
  }
  .menuOpen .main .hamburger span:nth-child(4) {
    opacity: 0;
  }
  .main .menuBox {
    z-index: 98;
    position: fixed;
    background-color: #003577;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -100%;
    top: 0;
    height: 100vh;
    width: 50vw;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
  }
  .menuOpen .main .menuBox {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    left: 0;
  }
  .main .menuBox .navItem > a {
    position: relative;
    font-size: 1.5rem;
    display: block;
    color: #fff;
    padding: 1.5625rem 0;
  }
  .main .menuBox .navItem > a:hover::after {
    transform-origin: right;
    transform: scale(1);
    background-color: rgba(255, 255, 255, 0.2);
    height: 0.125rem;
  }
  .main .menuBox .navItem > a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0.125rem;
    background-color: #fff;
    left: 0;
    bottom: 0.9375rem;
    transition: 0.2s;
    transform-origin: left;
    transform: scale(0, 1);
  }
  .main .navBg {
    z-index: 97;
    top: 0;
    position: fixed;
    width: 100%;
    left: -100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
    transition-delay: 0.15s;
  }
  .menuOpen .main .navBg {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    left: 0;
  }
}

.followBox {
  z-index: 3;
  position: fixed;
  display: flex;
}
.followBox .fBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: #003577;
}
.followBox .fBtn:nth-child(1) {
  background-color: #fef337;
}
.followBox .fBtn:nth-child(2) {
  background-color: #68c2ee;
}
@media print, screen and (min-width: 768px) {
  .followBox {
    top: 5vh;
    right: 0;
    flex-direction: column;
  }
  .followBox .fBtn {
    height: 17.5rem;
    width: 5vw;
    font-size: 1.375rem;
    writing-mode: vertical-rl;
  }
}
@media only screen and (max-width: 767px) {
  .followBox {
    bottom: 0;
    left: 0;
  }
  .followBox .fBtn {
    height: 15.625vw;
    width: 50vw;
    font-size: 1.1428571429rem;
  }
}

.wrap {
  box-shadow: 0 0 0.5rem #333;
  z-index: 2;
  position: relative;
  background-color: #fff;
}
@media print, screen and (min-width: 768px) {
  .wrap {
    left: 20rem;
    width: 30rem;
    margin: auto;
  }
  .wrap .scrollContainer {
    z-index: 2;
    position: absolute;
    right: -2.5rem;
    top: 21.125rem;
    height: 18.75rem;
  }
  .wrap .scrollContainer .scrollbarTxt {
    display: inline-block;
    position: absolute;
    bottom: 0;
    padding: 0.625rem 0.625rem 6.875rem;
    color: #003577;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: "Oswald", sans-serif;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    left: 50%;
    transform: translateX(-50%);
  }
  .wrap .scrollContainer .scrollbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.0625rem;
  }
  .wrap .scrollContainer .scrollbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0.125rem;
    height: 6.25rem;
    background: #003577;
  }
  .wrap .scrollContainer .scrollbar::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -0.1875rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #003577;
    animation: circlemove 3s ease-in-out infinite, cirlemovehide 3s ease-out infinite;
  }
}
@media only screen and (max-width: 767px) {
  .wrap {
    width: 100%;
  }
}

.inner_s {
  background-color: #fff;
}
@media print, screen and (min-width: 768px) {
  .inner_s {
    width: 30rem;
    margin: auto;
  }
}
@media only screen and (max-width: 767px) {
  .inner_s {
    width: 100%;
  }
}

.mv {
  position: relative;
}

.cta {
  position: relative;
}
.cta .btnBox {
  position: absolute;
  left: 50%;
  bottom: 3.5rem;
  transform: translateX(-50%);
}
.cta .btnBox .btnImg {
  margin: 0.375rem 0;
}
@media print, screen and (min-width: 768px) {
  .cta {
    position: relative;
  }
  .cta .btnBox {
    width: 75%;
  }
  .cta .btnBox .btnImg {
    transition: 0.2s;
  }
  .cta .btnBox .btnImg:hover {
    opacity: 0.6;
  }
}
@media only screen and (max-width: 767px) {
  .cta .btnBox {
    width: 80%;
  }
}

.titBox {
  position: relative;
  width: 100%;
}
.titBox .tit {
  font-size: 1.875rem;
  font-weight: 600;
  color: #003577;
  text-align: center;
}
.titBox .enTxt,
.titBox .enTxt02 {
  position: absolute;
  font-size: 6.375rem;
  font-weight: 500;
  font-family: "Oswald", sans-serif;
  opacity: 0.1;
  pointer-events: none;
}
.titBox .enTxt {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.titBox .enTxt02 {
  right: -7%;
  top: 180%;
}

.case {
  position: relative;
  padding: 4.6875rem 0 3.125rem;
  background-color: #f2f2f2;
}
.case::after {
  z-index: -1;
  position: absolute;
  content: "";
  width: 96%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.case .caseList {
  margin-top: 3.125rem;
}
.case .caseItem:not(:last-child) {
  margin-bottom: 2.1875rem;
}
.case .caseItem .num {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  width: 49%;
  font-family: "Oswald", sans-serif;
  text-align: center;
  font-size: 1.5625rem;
  color: #fff;
  background-color: #003577;
}
.case .caseItem .num::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.0625rem;
  background-color: #003577;
  left: 100%;
  top: 50%;
  margin-left: 2%;
  transform: translateY(-50%);
}
.case .caseItem .readTxt {
  font-size: 1.5625rem;
  color: #003577;
  font-weight: 600;
  line-height: 1.4;
  padding: 1.5rem 0;
}
.case .caseItem .txt {
  font-size: 1.125rem;
  line-height: 1.6;
}
.case .caseItem .txt:not(:last-child) {
  margin-bottom: 1.25rem;
}

.voice {
  padding-bottom: 8.125rem;
  overflow: hidden;
}
.voice .titBox {
  z-index: 2;
}
.voice .titBox .enTxt {
  left: auto;
  right: -6%;
}
.voice .swiper-container {
  position: relative;
}
.voice .swiper-container .swiper-pagination-bullet {
  background-color: #003577;
}
.voice .swiper-container .swiper-pagination {
  bottom: -1.875rem;
}
.voice .voiceList {
  padding-top: 1.5625rem;
  display: flex !important;
  align-items: stretch !important;
}
.voice .voiceItem {
  z-index: 1 !important;
  padding: 1.5625rem 1.25rem;
  width: 18.75rem;
  background-color: #dee8fc;
  border-radius: 1rem;
  height: auto;
}
.voice .voiceItem .voiceImg {
  display: flex;
  align-items: flex-end;
}
.voice .voiceItem .voiceImg img {
  width: 6.25rem;
  height: 6.25rem;
}
.voice .voiceItem .voiceImg .profileBox {
  font-size: 0.9375rem;
  margin-left: 1rem;
}
.voice .voiceItem .voiceImg .profileBox .age,
.voice .voiceItem .voiceImg .profileBox .genre {
  color: #fff;
  font-weight: 600;
  background-color: #003577;
  padding: 0.1875rem 0.5rem;
}
.voice .voiceItem .voiceImg .profileBox .genre {
  margin-top: 0.3125rem;
}
.voice .voiceItem .txtBox {
  padding-top: 0.9375rem;
}
.voice .voiceItem .txtBox .headTxt {
  font-size: 1.25rem;
  color: #003577;
  font-weight: 600;
  line-height: 1.4;
}
.voice .voiceItem .txtBox .txt {
  border-top: 4px dotted #fff;
  padding-top: 0.9375rem;
  margin-top: 0.9375rem;
  line-height: 1.6;
  font-size: 1.025rem;
}

@media print, screen and (min-width: 768px) {
  .price {
    text-align: center;
  }
  .price img {
    width: 92%;
    text-align: center;
  }
}
@media only screen and (max-width: 767px) {
  .price {
    padding: 0 4.1666666667vw;
  }
}

.solution {
  margin-top: 3.75rem;
}

.aviva {
  padding: 6.25rem 0;
}

.faq {
  padding: 7.5rem 0;
}
.faq .accoBox {
  padding-top: 3.125rem;
}
.faq .accoBox .panel {
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  border: 0.0625rem solid #1476be;
}
.faq .accoBox .panel .panelHeader {
  width: 100%;
  background-color: #1476be;
  text-align: left;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.2s;
}
.faq .accoBox .panel .panelHeader:hover {
  opacity: 0.7;
}
.faq .accoBox .panel .panelHeader .questTxt {
  position: relative;
  font-weight: 600;
  color: #fff;
  font-size: 1.125rem;
  flex: 1;
  padding: 0.9375rem 0.9375rem 0.9375rem 2.5rem;
  line-height: 1.4;
}
.faq .accoBox .panel .panelHeader .questTxt::before {
  position: absolute;
  content: "Q.";
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: normal;
  font-family: "Oswald", sans-serif;
  color: yellow;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}
.faq .accoBox .panel .panelHeader .innerWrap {
  display: flex;
  align-items: center;
}
.faq .accoBox .panel .panelHeader.active {
  border-radius: 0.5rem 0.5rem 0 0;
}
.faq .accoBox .panel .panelHeader.active .panelIcon {
  transform: rotate(180deg);
}
.faq .accoBox .panel .panelHeader .panelIcon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.2s;
  transform: rotate(0deg);
}
.faq .accoBox .panel .panelCont {
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease-out;
}
.faq .accoBox .panel .panelBody {
  background-color: #fff;
  padding: 2.5rem 1rem;
  border-top: 0.0625rem solid #eee;
  border-radius: 0 0 1rem 1rem;
}
.faq .accoBox .panel .panelBody .contBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq .accoBox .panel .panelBody .contBox .answerTxt {
  position: relative;
  line-height: 1.6;
  width: 100%;
  font-size: 1.125rem;
  padding-top: 1.5625rem;
}
.faq .accoBox .panel .panelBody .contBox .answerTxt::before {
  position: absolute;
  content: "";
  width: 100%;
  left: 0;
  height: 0.125rem;
  top: 0.625rem;
  left: 0;
  border-top: 0.25rem dotted #b3b3b3;
}
.faq .accoBox .panel .panelBody .contBox .answerTxt::after {
  position: absolute;
  content: "A.";
  left: 0;
  font-weight: 500;
  font-family: "Oswald", sans-serif;
  color: #003577;
  top: -2.1875rem;
  font-size: 1.5rem;
}

.copyright {
  color: #333;
  text-align: center;
  font-size: 0.875rem;
}
@media print, screen and (min-width: 768px) {
  .copyright {
    padding: 1.875rem 0;
    width: 30rem;
    margin: 0 auto;
    background: #fff;
  }
}
@media only screen and (max-width: 767px) {
  .copyright {
    padding: 6.5104166667vw 0;
  }
}

@keyframes circlemove {
  0% {
    bottom: 5.9375rem;
  }
  100% {
    bottom: 0;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
.container {
  margin: 0 30px;
  padding-bottom: 40px;
  text-align: center;
}

/* ボタン共通スタイル */
.cta-area {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  box-shadow: 3px 4px 5px 0 #ddd;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
  min-width: 160px;
  min-height: 30px;
}

.btn-orange,
.btn-submit {
  background-color: #003577;
  color: #fff;
  font-size: 1.25rem;
}

.btn-white,
.btn-back {
  background-color: #fff;
  color: #003577;
  border: 2px solid #003577;
}

.btn:hover {
  opacity: 0.8;
}

/* 各セクションの調整 */
.hero {
  background-color: #fff;
}

.hero .lead-txt {
  font-size: 0.8rem;
  line-height: 1.9;
  color: #555;
}

.hero .lead-txt span {
  color: #003577;
  font-weight: bold;
}

.content-image img {
  width: 100%;
}

/* ==========================================
お申し込みフォームセクション
========================================== */
@media print, screen and (min-width: 768px) {
  .form {
    width: 30rem;
    margin: auto;
    flex: 1;
  }
}
.form {
  background-color: #fff;
  padding: 100px 0;
}
.form h2 {
  font-size: 2rem;
  color: #003577;
  position: relative;
  display: inline-block;
  line-height: 1.5;
  font-weight: 600;
  padding-bottom: 1.25rem;
}
.form h2 span {
  font-size: 65%;
}

.form-lead {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.form-description {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.form-description span {
  color: #ff0000;
}

/* テーブルスタイル */
.form-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 30px;
}

.form-table tr {
  border-top: 2px solid #003577;
}

.form-table ul li input[type=text] {
  margin-top: 0.25rem;
}

.form-table tr:last-child {
  border-bottom: 2px solid #003577;
}

.form-table th,
.form-table td {
  display: block; /* スマホ幅に合わせて縦並びに */
  width: 100%;
  padding: 15px 0;
  box-sizing: border-box;
  line-height: 1.6;
}

.form-table th {
  font-weight: bold;
  color: #333;
  padding-top: 15px;
  padding-bottom: 0;
  line-height: 1.4;
}

/* 必須マーク */
.required {
  background-color: #ff3b30;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
}

/* 入力要素の共通スタイル */
.form-table input[type=text],
.form-table input[type=tel],
.form-table input[type=email],
.form-table select,
.form-table textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  box-sizing: border-box;
  font-family: inherit;
  background-color: #fff;
}

/* 入力選択時のハイライトをページのメインカラーに合わせる */
.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
  outline: none;
  border-color: #003577;
  box-shadow: 0 0 5px rgba(255, 133, 0, 0.2);
}

.form-table .date,
.form-table .age {
  width: auto;
}

/* フォーム内のリストの黒丸を消し、余白をリセット */
.form-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 3つのプルダウンを横並びにして幅100%に収める記述 */
.form-table .date-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 5px 0 10px;
}

/* 全体幅100%から文字分を引き、3つのセレクトボックスに均等配分 */
.form-table .date-group select.date {
  width: 25% !important;
  padding: 10px 5px;
  font-size: 0.9rem;
  text-align: center;
}

/* ラジオボタンやチェックボックスの文字の縦位置を揃える */
.form-table input[type=checkbox],
.form-table input[type=radio] {
  width: auto;
  margin-right: 6px;
  vertical-align: middle;
}

/* ラジオボタンの選択肢同士に横の隙間を作る */
.form-table input[type=radio] + font,
.form-table label {
  margin-right: 15px;
}

.form-table label {
  cursor: pointer;
  display: inline-block;
  padding: 8px 0;
}

.error {
  padding-bottom: 20px;
  line-height: 1.6;
}

.error-msg {
  color: #ff0000;
}

.thanks-msg {
  line-height: 1.6;
}

/* ボタン配置エリア */
.form-btn-wrap {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 送信ボタンの微調整 */
.form-submit {
  border: none;
  cursor: pointer;
  max-width: 320px;
}

.secured-form {
  margin-top: 40px;
  font-size: 0.75rem;
  color: #666;
}
.secured-form > p {
  padding-bottom: 8px;
}

/* 画面下端まで伸ばす調整 */
html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: auto;       /* PC時の height: 90vh を上書き解除 */
  margin-top: 0;      /* PC時の margin-top: 5vh を上書き解除 */
}

.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form {
  flex: 1;            /* フォームエリアを伸ばしてフッターを下端へ押し出す */
}