body {
  font-family: "Segoe UI", "Yu Gothic", "游ゴシック体", sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  /* background-color: #f0f9e2; */
}

h1 {
  text-align: center;
  color: #333;
  font-size: clamp(1.4rem, 4vm, 2.5rem);
  letter-spacing: -0.08em;
}
h2 {
  text-align: center;
  color: #333;
}

h1.yamagakuma{
  position: relative;
  padding: 10px 0px;              /* 文字の上下余白を調整 */
  background-image: url("../yamagakuma.png"); /* ←画像パス */
  background-repeat: no-repeat;
  background-size: 200px 172px; /* 画像サイズを指定 */
  background-size: contain;   /* ←自動縮小 */
  background-position: right center; /* 右側に重ねる例 */
  max-width: 550px;
  margin: 0 auto;
}

h2.logo-yg {

  font-weight: 600;
  font-size: 1.2rem;
  color: #ffffff;

  /* ロゴっぽい装飾 */
  padding: 0.4em 0.9em;
  margin: 20px auto;
  /* display: inline-block; */
  background: linear-gradient(135deg, #0059b3, #00a0e9);
  border-radius: 999px;          /* pill 形状 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  /* text-align: center; */
  /* transform: scale(0.9);   /* 少し縮小 */
  /* transform-origin: center; */
}
/* ちょっとだけ立体感を出す文字の影 */
h2.logo-yg {
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
  /* text-align: center; */
}

.container_y {
  max-width: 650px;
  margin: 0 auto;  
}
@media (max-width:600px){
  h1 {
    text-align: center;
    color: #333;
    font-size: 1.6rem;
    letter-spacing: -0.08em;
    margin: 5px 5px;
  }
  h2 {
    text-align: center;
    color: #333;
    font-size: 1.2rem;
    letter-spacing: -0.08em;
    margin: 5px 5px;
  }
}
form,.appdata{
  max-width: 480px;
  margin: 0px auto 20px auto;
  padding: 15px 15px 15px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #efefdc;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}

.same_label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}


label.explanation_club {
  font-weight: normal;
  /* display: block; */
  /* border: 1px solid #000000; */
  /* letter-spacing: -0.1em;
  font-size: 0.9em;
  align-items: center; */
}

[name="course_label"] {
  font-weight: normal;
  display: block;
  /* border: 1px solid #000000; */
  letter-spacing: -0.1em;
  font-size: 0.95em;
  align-items: center;
}

.copact_str{
  letter-spacing: -0.1em;
  font-size: 1em;
}

input[type="radio"] {
  transform: scale(1.5);
  margin-right: 6px;
}

input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 6px;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
}

#school_city_input {
  width: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
}

.radio-group {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.radio-group-m {
  display: flex;
  gap: 8px;
  margin-top: 0px;
}



.radio-group label {
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.error {
  color: red;
  display: none;
  margin-top: 4px;
}


.highlight {
  background-color: #fff8dc; /* 薄い黄色系 */
  border: 2px solid #ff9800; /* オレンジの太めの枠線 */
  border-radius: 4px;
  padding: 6px 10px;
  font-weight: bold;
  color: #333;
}

button.posi , a.posi{
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: #007acc;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font: inherit;        /* ← これ重要 */
  line-height: 1.2;     /* ← a と揃える */
}

button.nega , a.nega{
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: #cc0066;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font: inherit;        /* ← これ重要 */
  line-height: 1.2;     /* ← a と揃える */
}

button.neutral , a.neutral{
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: #9b9b9b;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font: inherit;        /* ← これ重要 */
  line-height: 1.2;     /* ← a と揃える */
}

button.posi:hover , a.posi:hover{
  background-color: #005f99;
  display: inline-block;
}
button.nega:hover , a.nega:hover{
  background-color: #99004d;
  display: inline-block;
}

button.neutral:hover , a.neutral:hover{
  background-color: #7a7a7a;
  display: inline-block;
}

.warning {
  font-weight: bold;
  background-color: #ffff40;
}

.notion {
  font-size: 0.8rem;
  font-weight: normal;
  letter-spacing: -0.1em;
  color:  #444;
}

.explan {
  font-size: 0.9rem;
  font-weight: normal;
  letter-spacing: -0.1em;
  color:  #222;
  display: inline;
}

.text_gray{
  color: #666666
}