/*
Theme Name: koami_SYS Child
Template: koami_SYS
Version: 1.0.1
*/

@charset "UTF-8";

/* ------------------- 共通フォーム ------------------- */
.container2 {
    max-width: 1200px;
    margin: 0 auto;
}

.form-row {
  margin-bottom: 6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.form-row-first {
  border-top: none;
  margin-top: 3em;
}

.form-row:last-of-type {
  border-bottom: none;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

.form-row-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.form-row-full {
    width: 100%;
    margin-bottom: 2.5rem;
}

#booking-package_inputFormPanel #pray-form label {
    display: block !important;
    margin-bottom: 0.6rem !important;
    text-align: left;
    font-weight: 600;
    font-size: 2rem;
}

.form-field {
    margin-bottom: 3rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 1rem;
    font-size: 2rem;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    box-sizing: border-box;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.special-char {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.special-char input[type="checkbox"] {
    width: 2rem;
    height: 2rem;
    margin: 0;
}
.error-row {
    background-color: #ffecec;
    border: 2px solid red;
    padding: 10px;
    border-radius: 4px;
}

#booking-package_inputFormPanel input#prayer_undecided {
    transform: scale(1.5);
    cursor: pointer;
    margin: 0.9em;
}

/* ------------------- 「booking package」自動生成項目(利用規約以外) ------------------- */
#booking-package_inputFormPanel .row {
    font-weight: 600;
    font-size: 2rem;
}
#booking-package_inputFormPanel .row input {
    font-weight: normal;
    font-size: 2rem;
}
#booking-package_inputFormPanel .row .terms_box {
    font-weight: normal;
    font-size: 16px;
}

/* ------------------- 住所 ------------------- */
.form-field textarea#address, .form-field textarea#addressf {
    min-height: 2.5rem;
}

/* ------------------- 願意アコーディオン ------------------- */
.prayer-accordion-item {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.prayer-accordion-header {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    background-color: #fff1e8;
    border-radius: 5px 5px 0 0;
}
.prayer-accordion-header label {
    flex: 1;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.prayer-accordion-header input[type="checkbox"] {
    transform: scale(1.5);
    cursor: pointer;
}
.arrow {
    margin-left: auto;
    font-size: 1.2em;
}
.prayer-accordion-content {
    display: none;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}
/* ------------------- 金額選択 ------------------- */
/* 金額オプション */
.amount-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 3fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  border: 1px solid #ccc;
  padding: 0.5rem;
  border-radius: 6px;
}

.option img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.fixed-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  gap: 1rem;
  margin-top: 0.8rem;
}
.fixed-images img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
/* ------------------- 家内安全 mini ------------------- */
.household-wrapper {
    margin-top: 8px;
    padding: 6px;
}
.household-type {
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 10px;
    background: #fafafa;
    margin-bottom: 12px;
    position: relative;
}
.household-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    position: relative;
    background: #fff7f0;
    border: 1px solid #f0d8c3;
    font-weight: 700;
}
.household-accordion-header .arrow {
    font-size: 1.2rem;
    color: #666;
    transition: transform .25s;
}
.household-accordion-header.open .arrow {
    transform: rotate(180deg);
}
.household-accordion-content {
    display: none;
    padding: 12px;
    border-top: 1px solid #eee;
    background: #fff;
    margin-top: 8px;
    border-radius: 0 0 6px 6px;
}
/* ------------------- コメント ------------------- */
#booking-package_inputFormPanel div.comment-note {
    text-align: left;
    font-size: 18px;
}
/* ------------------- SP対応 ------------------- */
@media screen and (max-width:480px) {
    .form-row-2col {
        grid-template-columns: 1fr;
    }
.amount-options {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 10px;
    flex-direction: column;
}
.option {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fixed-images{
    display: flex;
    flex-direction: column;
    align-items: center;
}
}
