@charset "UTF-8";

/* ========================================
   アクセス＆お問い合わせ
======================================== */

:root {
  --access-text: #292929;
  --access-green: #247150;
  --access-light-green: #edf8f2;
  --access-cream: #fff8e8;
  --access-white: #ffffff;
  --access-line: #e5ded5;
}

.access-container {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
}


/* ========================================
   ページタイトル
======================================== */

.access-hero {
  padding: 110px 24px 105px;
  text-align: center;
  background-color: #f9dce9;
}

.access-hero__eyebrow {
  margin: 0 0 28px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
}

.access-hero__title {
  margin: 0;
  color: var(--access-text);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.access-hero__lead {
  margin: 32px 0 0;
  color: var(--access-text);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.06em;
}


/* ========================================
   お気軽にご相談ください
======================================== */

.access-intro {
  padding: 110px 0;
  background: #ffffff;
}

.access-intro__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.access-intro__image {
  flex: 0 0 300px;
  text-align: center;
}

.access-intro__image img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.access-intro__text {
  flex: 1;
}

.section-label {
  margin: 0 0 16px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
}

.access-intro__text h2 {
  margin: 0 0 28px;
  color: var(--access-green);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.access-intro__text p {
  margin: 0 0 22px;
  color: var(--access-text);
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.access-intro__text p:last-child {
  margin-bottom: 0;
}


/* ========================================
   電話相談
======================================== */

.access-phone {
  padding: 100px 0;
  background: var(--access-light-green);
}

.access-phone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  max-width: 760px;
  margin: 0 auto 42px;
}

.access-phone__text {
  flex: 1;
}

.access-phone__text h2 {
  margin: 0 0 24px;
  color: var(--access-green);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.access-phone__text > p:not(.section-label) {
  margin: 0;
  color: var(--access-text);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.access-phone__image {
  flex: 0 0 190px;
}

.access-phone__image img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.phone-item {
  padding: 24px 28px;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  box-shadow: 0 7px 20px rgba(44, 76, 62, 0.06);
}

.phone-item__name {
  margin: 0 0 10px;
  color: var(--access-green);
  font-size: 15px;
  font-weight: 700;
}

.phone-item a {
  color: var(--access-text);
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}


/* ========================================
   2つの事業所
======================================== */

.access-offices {
  padding: 105px 0 120px;
  background: var(--access-cream);
}

.access-section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.access-section-heading__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 16px;
}

.access-section-heading__title img {
  width: 100px;
  height: auto;
}

.access-section-heading__title .section-label {
  margin-bottom: 8px;
}

.access-section-heading h2 {
  margin: 0;
  color: var(--access-text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.access-section-heading > p {
  margin: 0;
  color: var(--access-text);
  line-height: 1.9;
}

.access-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 820px;
  margin: 0 auto;
}

.access-office-card {
  margin: 0;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(70, 58, 38, 0.07);
  scroll-margin-top: 110px;
}

.access-office-card__heading {
  margin-bottom: 26px;
}

.access-office-card__number {
  margin: 0 0 8px;
  color: #d8b75f;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.access-office-card__heading h3 {
  margin: 0;
  color: var(--access-green);
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.access-office-card__info dl {
  margin: 0 0 28px;
}

.access-office-card__info dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--access-line);
}

.access-office-card__info dt {
  color: var(--access-green);
  font-weight: 700;
}

.access-office-card__info dd {
  margin: 0;
  line-height: 1.85;
}

.access-office-card__info a {
  color: var(--access-text);
  text-decoration: none;
}

.access-map-placeholder {
    margin-top: 24px;
    border-radius: 20px;
    overflow: hidden;
}

.access-map-placeholder p {
  margin: 0;
}

.access-map-placeholder {
    margin-top: 24px;
}

.access-map-placeholder iframe {
    display: block;
    width: 90%;
    height: 260px;
    margin: 0 auto;
    border: 0;
    border-radius: 20px;
}


/* ========================================
   タブレット・スマートフォン
======================================== */

@media (max-width: 800px) {

  .access-container {
    width: min(100% - 36px, 680px);
  }

  .access-hero {
    padding: 80px 20px 75px;
  }

  .access-hero__title {
    font-size: 36px;
  }

  .access-hero__lead {
    font-size: 15px;
  }

  .access-hero__lead br {
    display: none;
  }

  .access-intro {
    padding: 80px 0;
  }

  .access-intro__inner {
    flex-direction: column;
    gap: 38px;
    text-align: center;
  }

  .access-intro__image {
    flex-basis: auto;
    width: 210px;
  }

  .access-intro__text h2 {
    font-size: 30px;
  }

  .access-phone {
    padding: 80px 0;
  }

  .access-phone__top {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 35px;
    text-align: center;
  }

  .access-phone__image {
    flex-basis: auto;
    width: 165px;
  }

  .access-phone__text h2 {
    font-size: 30px;
  }

  .phone-list {
    grid-template-columns: 1fr;
  }

  .phone-item {
    text-align: center;
  }

  .access-offices {
    padding: 80px 0;
  }

  .access-section-heading {
    margin-bottom: 40px;
  }

  .access-section-heading__title {
    flex-direction: column;
    gap: 12px;
  }

  .access-section-heading__title img {
    width: 85px;
  }

  .access-office-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .access-office-card {
    padding: 30px 25px;
  }

  .access-office-card__heading h3 {
    font-size: 23px;
  }

  .access-office-card__info dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .access-map-placeholder {
    min-height: 250px;
  }
}


@media (max-width: 520px) {

  .access-hero__title {
    font-size: 38px;
  }

  .access-intro__text h2,
  .access-phone__text h2,
  .access-section-heading h2 {
    font-size: 28px;
  }

  .access-intro__image {
    width: 180px;
  }

  .access-phone__image {
    width: 145px;
  }

  .phone-item {
    padding: 22px 18px;
  }

  .phone-item a {
    font-size: 23px;
  }

  .access-office-card__heading h3 {
    font-size: 21px;
  }

  .access-map-placeholder {
    min-height: 220px;
  }
}

/* ========================================
   お問い合わせフォーム
======================================== */

.contact-form-section {
  padding: 110px 0 120px;
  background: #f3eee8;
}

.contact-form__header {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 760px;
  margin: 0 auto 52px;
}

.contact-form__image {
  flex: 0 0 150px;
  text-align: center;
}

.contact-form__image img {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto;
}

.contact-form__title {
  flex: 1;
}

.contact-form__title h2 {
  margin: 0 0 22px;
  color: var(--access-text);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.contact-form__title > p:not(.section-label) {
  margin: 0;
  color: var(--access-text);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 52px 50px;
  border-radius: 24px;
  background: var(--access-white);
  box-shadow: 0 10px 30px rgba(70, 58, 38, 0.08);
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--access-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.form-group label span {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 20px;
  color: #9a4f4f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  background: #f8e8e8;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #d9d3cb;
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--access-text);
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
  min-height: 56px;
  padding: 0 16px;
}

.form-group textarea {
  min-height: 210px;
  padding: 16px;
  line-height: 1.8;
  resize: vertical;
}

.form-group select {
  appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, #657068 50%),
    linear-gradient(135deg, #657068 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 24px,
    calc(100% - 15px) 24px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--access-green);
  outline: none;
  box-shadow: 0 0 0 4px rgba(36, 113, 80, 0.1);
}

.form-check {
  margin: 6px 0 36px;
  text-align: center;
}

.form-check label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--access-text);
  font-size: 14px;
  line-height: 1.7;
  cursor: pointer;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--access-green);
}

.form-submit {
  text-align: center;
}

.form-submit button {
  min-width: 260px;
  padding: 17px 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--access-green);
  box-shadow: 0 8px 20px rgba(36, 113, 80, 0.2);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.form-submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(36, 113, 80, 0.25);
}

.form-submit button:active {
  transform: translateY(0);
}


/* ========================================
   お問い合わせフォーム
   タブレット・スマートフォン
======================================== */

@media (max-width: 800px) {

  .contact-form-section {
    padding: 80px 0;
  }

  .contact-form__header {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    text-align: center;
  }

  .contact-form__image {
    flex-basis: auto;
    width: 180px;
  }

  .contact-form__title h2 {
    font-size: 30px;
  }

  .contact-form {
    padding: 36px 30px 40px;
  }

  .form-submit button {
    width: 100%;
    min-width: 0;
  }
}


@media (max-width: 520px) {

  .contact-form__image {
    width: 150px;
  }

  .contact-form {
    padding: 30px 20px 34px;
    border-radius: 18px;
  }

  .form-group {
    margin-bottom: 25px;
  }

  .form-group input,
  .form-group select {
    min-height: 52px;
  }

  .form-group textarea {
    min-height: 190px;
  }

  .form-check label {
    align-items: flex-start;
    text-align: left;
  }
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

