@charset "UTF-8";

/* 背景全体に桜画像、白い霞がかかったように */
body {
  margin: 0;
  padding: 0;
  background: url("../img/haikei/sakura101.png") no-repeat center center fixed;
  background-size: cover;
  position: relative;
  z-index: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* 白い霞レイヤー */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

/* メインコンテンツエリア */
.main {
  margin-top: 130px;
  margin-right: 30px;
  margin-left: 30px;
  text-align: left;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.text {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wrapper label {
  font-size: 16px;
}

input[type="text"],
select {
  font-size: 16px;
  padding: 6px 8px;
  width: 200px;
  max-width: 100%;
  margin-top: 4px;
}

input[type="radio"] {
  margin-left: 10px;
}

.btn_send {
  margin-top: 16px;
  text-align: left;
}

input[type="submit"] {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #6495ed;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #4169e1;
}

/* 生年月日選択グループ */
.select-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-left: 10px;
}

.select-group span {
  font-size: 16px;
}

.select-group select {
  width: 90px;
  font-size: 16px;
  padding: 6px 8px;
}

.label-heading {
  font-weight: bold;
  margin-bottom: 6px;
  margin-left: 10px;
  font-size: 16px;
}

.return-button a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #004d99;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.return-button a:hover {
  background-color: #0066cc;
  transform: scale(1.03);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .main {
    margin: 100px 16px 30px 16px;
    font-size: 15.5px;
  }

  .text, .box {
    padding: 15px;
  }

  .wrapper {
    gap: 12px;
  }

  .select-group {
    flex-direction: column;
    align-items: flex-start;
  }

  input[type="text"],
  select {
    width: 100%;
  }

  .select-group select {
    width: 100%;
  }
}
