
/*
Theme Name: Sturtup Test
Theme URI: https://example.com
Author: Your Name
Description: カスタムテーマです
Version: 1.0
*/
/* --------------------
入力フォーム
-------------------- */
body {
    font-family: 'Kinto Sans', sans-serif;

    background-color: #eef5ff;
    margin: 0;
    padding: 0;
    color: #1e3c72;
}

header {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    color: white;
    padding: 1.2em;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    border-bottom: 6px solid #f3853e;
}
.center{
    text-align: center;
}
form {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background-color: #eef5ff;
}


input.year-input,
input.month-input {
    width: 80px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.radio-group {
    display: flex;
    gap: 10px;

    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;

}

label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

.date-group span {
    white-space: nowrap;
}

.item-center {
    align-items: center;
}

.required {
    color: #F49750;
    font-size: 0.9em;
    margin-left: 5px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #16305a;
    font-size: 1em;
}

.form-row {
    margin-top: 20px;
}

.error {
    color: #F49750;
    font-size: 0.9em;
    display: none;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 10px;
}

.date-group {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.date-group>* {
    vertical-align: middle;
}

.radio-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 0;
    height: 40px;

}

textarea {
    height: 150px;
}

button {
    display: block;
    margin: 40px auto 0;
    padding: 15px 30px;
    background-color: #1e3c72;
    color: white;
    font-size: 1em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.btn{
    margin: 70px auto 0;
    padding: 15px 30px;
    background-color: #1e3c72;
    color: white;
    font-size: 1em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

button:hover {
    background-color: #16305a;
}
.back-btn{
    margin-top: 50px;
}


/* --------------------
入力フォームSP対応
-------------------- */
@media screen and (max-width: 768px) {

    input[type="text"],
    input[type="email"],
    select,
    textarea {
        width: 97%;
    }

    .date-group {
        display: block; 
        width: 100%;
    }


    .year-input,
    .month-input {
        width: 20% !important;
        display: inline-block; /* 横並びに */
        margin-right: 4%; /* 右に少しスペース */
    }


    .date-group span {
        display: inline-block;
        width: auto;
    }


    .radio-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
    }

    .radio-group label {
        width: 48%; 
    }

}

/* --------------------
確認フォーム
-------------------- */




form > div {
  margin-bottom: 1.5em;
}

form strong {
  display: block;
  margin-bottom: 0.5em;
}

form div > div {
  font-size: 1em;
  padding: 0.5em;

  border-radius: 5px;
}


.privacy-note {
  font-size: 0.85em;
  color: #444;
  margin-top: 2em;
}

.privacy-note a {
  color: #f49030;
  text-decoration: none;
}
.form-buttons {
  display: flex;
  gap: 1em;
  margin-top: 2em;
}

.back-button,
.submit-button {
  background-color: #23447b;
  color: white;
  border: none;
  padding: 1em 2em;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.back-button:hover,
.submit-button:hover {
  background-color: #1b3563;
}

.form-message {
  margin-top: 1.5em;
  font-weight: bold;
  font-size: 1em;
  color: red;
}
.form-message.success {
  color: #2a5298;
}

/* --------------------
確認フォームSP対応
-------------------- */
@media screen and (max-width: 768px) {

.form-buttons {
    display: block;
}
}