@charset "UTF-8";

body, body * {
  font-family: 游ゴシック体, "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}

table {
	border-collapse: collapse;
	
}
table th ,
table td {
	border: solid 1px #cecece;
	padding: 10px 15px;
}
table th {
	text-align: left;
	background-color: #f9f9f9;
	padding-right: 65px;
	z-index: -1;
	max-width: 30%;
}
aside {
	text-align: center;
	padding: 15px 30px 30px 30px;
}
input, textarea, select {
	border: solid 1px #ddd;
	padding: 7px 10px;
	margin: 5px 0;
	vertical-align: middle;
	border-radius: 1px;
	font-size: 16px;
}

textarea {
	width: calc(100% - 35px);
	height: 150px;
}
p {
	margin: 0;
}
p.desc {
	margin-bottom: 20px;
}

.rule {
	font-weight: normal;
	font-size: 0.8em;
	color: #888;
}


/**
 * for Mobile (~599px)
 * -------------------------------------------------------------------
 */
@media screen and (max-width:599px) {
	table th ,
	table td {
		display: block;
		margin-top: -1px;
		max-width: 100%;
	}
}

/**
 * for PC (600px~)
 * -------------------------------------------------------------------
 */
@media screen and (min-width:600px) {
	table th {
		max-width: 50%;
	}
}

/**
 * for StepForm
 * -------------------------------------------------------------------
 */
@media screen and (max-width:599px) {
	table th {
		width: 100%;
	}
}
@media screen and (min-width:600px) {
	table th {
		width: 50%;
	}
}

/**
 * for Product List (Target Design: cap-box)
 * -------------------------------------------------------------------
 */

/* Update product and product_item to adjust the grid layout */
.product {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.product_item {
  width: 100%;
  max-width: 380px;
  position: relative;
}

/* Cap box design styles */
.cap-box {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cap-box-title {
  background-color: #014e95;
  color: #ffffff;
  padding: 17px 10px;
  text-align: center;
  font-size: 21px;
  font-weight: 500;
  border-radius: 5px 5px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.4;
}
.cap-box-title span {
  display: block;
}

.cap-box strong {
  font-weight: inherit;
}
.cap-box-content {
  border: 2px solid #014e95;
  border-radius: 0 0 5px 5px;
  padding: 25px 15px;
  margin-top: -2px; /* overlaps title to hide the border */
  text-align: center;
  background-color: #fff;
  flex: 1; /* stretches when height is applied */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cap-box-content .product-image {
  margin: 0;
}
.cap-box-content .product-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 17px;
}
.cap-box-content .product-price {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 17px;
  font-weight: 500;
  color: #333;
}
.cap-box-content .product-price span {
  font-size: 14px;
}
.cap-box-content .product-link a {
  color: #1176d4;
  text-decoration: underline;
  font-weight: bold;
  font-size: 16px;
}
.cap-box-content .product-link a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/**
 * Responsive adjustments for Product List
 */
@media screen and (min-width:768px) {
  .product_item {
    width: 31%; /* 3 columns on PC */
  }
}
@media screen and (max-width:767px) {
  .product_item {
    width: 100%;
    margin-bottom: 10px;
  }
}
