@charset "utf-8";
/* CSS Document */

body {
  color: #333333;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
  margin: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  margin: 0;
  outline: none;
  padding: 0;
}

button:focus-visible {
    outline: 2px solid #668AFB;
    outline-offset: 2px;
}

.has-text-align-center {
    text-align: center;
}

.wpcf7 form {
    display: flex;
    flex-direction: column;
}

.hidden-fields-container {
    order: 1;
}

.wpcf7-response-output {
    order: 2;
}

.p-contact__form {
    order: 3;
}

.akismet-fields-container {
    order: 4;
}

input[type="radio"] {
    accent-color: #ff6600;
}

img {
    width: 100%;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.footer {
    margin: 0 auto 2rem;
    text-align: center;
}

.p-contact {
    display: block;
    margin: 0 auto;
    min-width: 300px;
    max-width: 900px;
    padding: 30px 0 0;
    width: 90%;
}

.p-contact ul {
    display: block;
    margin: 30px auto;
    min-width: 260px;
    max-width: 900px;
    padding: 0;
    width: 90%;
}

.p-contact__input,
.p-contact__select,
.p-contact__textarea {
    border: 1px solid #cccccc;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.6;
    padding: 6px 10px;
    transition: background-color .2s ease,
                border-color .2s ease,
                box-shadow .2s ease;
    width: 100%;
}

.p-contact__input:focus,
.p-contact__select:focus,
.p-contact__textarea:focus {
    background-color: #EBEDFF;
    border-color: #668AFB;
    box-shadow: 0 0 0 3px rgba(102,138,251,.15);
    outline: none;
}

.p-contact__heading {
    margin: 0 auto 2rem;
    width: 100%;
}

.p-contact__heading-title {
    margin-bottom: 2rem;
    text-align: center;
}

.p-contact__heading-notes {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.p-contact__heading-note li::before {
    content: "※";
    padding-right: 0.25rem;
}

.p-contact__section {
    border: 1px solid #cccccc;
    border-radius: 16px;
    margin-bottom: 6rem;
    padding: 1rem;
    width: 100%;
}

.p-contact__summary {
    margin-bottom: 4rem;
}

.p-contact__notice {
    color: #F44C3C;
}

.p-contact__table {
    border-collapse: collapse;
    width: 100%;
}

.p-contact__table th {
    display: block;
    line-height: 2.2;
    width: 100%;
}

.p-contact__table td {
    display: block;
    padding-bottom: 1rem;
    width: 100%;
}

.p-contact__label {
    text-align: left;
    width: fit-content;
}

.p-contact__field-group {
    width: 100%;
}

.p-contact__field-group--half {
    display: flex;
    gap: 0.5rem;
}

.p-contact__field-group--half > * {
    flex: 1;
}

.p-contact__field-group > .wpcf7-form-control-wrap {
    flex: 1;
}

.p-contact__field-note {
    margin: 0.5rem 0 0;
}

.p-contact__textarea {
    resize: vertical;
}

.p-contact__field-info {
    border-top: 1px dashed #000;
    margin-top: 1em;
    padding: 1em 1em 0;
}

.p-contact__field-info.is-hidden {
    display: none;
}

.p-contact__radio {
    align-items: center;
    display: flex;
    gap: .5rem;
}

.p-contact__radio-input {
    display: block;
}

.c-required {
    color: #F44C3C;
    display: inline-block;
    padding-left: 0.25rem;
}

.p-contact__button {
    margin-top: 2rem;
    text-align: center;
}

.p-contact__button-submit {
    aspect-ratio: 684/100;
    background-color: #e66b35;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    line-height: 1.0;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    transition: opacity .3s ease;
    width: 100%;
}

.p-contact__button-submit::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    bottom: 0;
    box-sizing: border-box;
    content: '';
    height: 9px;
    margin: auto;
    position: absolute;
    right: 27px;
    top: 0;
    transform: rotate(45deg);
    width: 9px;
}

.p-contact__button-submit:hover {
    opacity: .85;
}

.p-contact__button-submit:disabled {
    opacity: .5;
    pointer-events: none;
}

.p-contact__attention {
    margin: 0 auto 2rem;
    width: 100%;
}

.p-contact__attention-title {
    margin-bottom: 2rem;
    text-align: center;
}

.p-contact__attention .p-contact__section {
    background-color: #FFFFdd;
}

@media screen and (min-width: 769px){

  body {
  color: #333333;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
  margin: 0;
}

.p-contact__section {
    padding: 2rem;
}

.p-contact__table th {
      display: table-cell;
      padding: 1rem 0;
      vertical-align: top;
      white-space: nowrap;
      width: auto;
  }

  .p-contact__table td {
      display: table-cell;
      padding: 1rem 0;
      vertical-align: top;
      width: auto;
  }

  .p-contact__button-submit {
      width: 30%;
  }

}

/* ==========================
   Contact Form 7
   ========================== */

/* スクリーンリーダー用（画面には表示しない） */
.screen-reader-response {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.wpcf7-not-valid {
    border-color: #d63638 !important;
}

.wpcf7-not-valid:focus {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 3px rgba(214,54,56,.15);
}

.wpcf7-not-valid-tip {
    color: #d63638;
    display: block;
    font-size: 13px;
    margin-top: .4rem;
}

/* Contact Form 7 メッセージ */

.wpcf7-response-output {
    border: 1px solid;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    margin: 2rem 0 0;
    padding: 1rem 1.25rem;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #f0f8f0;
    border-color: #4caf50;
    color: #2e7d32;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background: #fff5f5;
    border-color: #d63638;
    color: #b42318;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: #fff8e6;
    border-color: #ff9800;
    color: #8a5a00;
}

.wpcf7 form.submitting {
    pointer-events: none;
}

.wpcf7 form.submitting .p-contact__button-submit {
    cursor: wait;
    opacity: .6;
}

.wpcf7 .hidden-fields-container {
    display: none;
}

/* Contact Form - Complete */

.wpcf7 form.sent .p-contact__form {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #fafafa;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    box-sizing: border-box;
    color: #333;
    display: block;
    font-size: 18px;
    line-height: 1.9;
    margin: 48px auto 24px;
    max-width: 720px;
    padding: 40px 32px;
    text-align: left;
}


