@charset "utf-8";

.access {
  margin-top: 12rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5rem;
}

address {
  font-style: normal;
}

/* 共通アイコン */

.access_title {
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-right: 2rem;
  font-size: 1rem;
  white-space: nowrap;
}

.access_title img {
  width: 70%;
}

.access_title h2 {
  margin-top: 0.8rem;
}

/*交通アクセス*/

.access_head {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.access_g_map {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.access_g_map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.access_map_body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.access_map_item {
  display: flex;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px dashed #595857;
  align-items: flex-start;
}

.access_map_item:first-child {
  grid-template-columns: 1fr;
}

.access_map_item h3 {
  font-size: 1.1rem;
  font-weight: normal;
}

.access_map_item p,
.access_map_item address {
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
  white-space: normal;
  word-break: break-word;
}

.access_map_item img {
  width: 32px;
  flex-shrink: 0;
}

.access_public {
  margin-top: 4rem;
}

.access_public_title {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.access_public_title img {
  width: 50px;
  flex-shrink: 0;
}

.access_public_body {
  border-top: 1px dashed #595857;
}

.access_public_item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px dashed #595857;
}

.access_public_item h3 {
  font-size: 1.1rem;
  font-weight: normal;
  white-space: nowrap;
}

.access_public_item p {
  font-size: 1rem;
  line-height: 1.8;
}

/*神社概要*/

.overview {
  margin-top: 13rem;
}

.overview_body {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.overview_body img {
  width: 100%;
}

.overview_item {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
}

.overview_text h5 {
  font-weight: normal;
  font-size: 1.3rem;
  margin: 0;
}

.overview_text p {
  font-size: 1.1rem;
  margin: 0;
}

/*お問い合わせ*/

.contact {
  margin-top: 13rem;
}

.contact_hade {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact_hade_text h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contact_hade_text p {
  font-size: 1.1rem;
  margin-top: 0.6rem;
  line-height: 1.4;
}

.contact_tel p {
  font-size: 1.5rem;
}

.contact_hade_text p.contact_fax {
  font-size: 1.5rem;
}

.contact_hade_text p.contact_time {
  font-size: 1.4rem;
}

/*フォーム*/

.contact_body {
  margin-top: 5rem;
  margin-bottom: 10rem;
}

.form_body {
  max-width: 800px;
  margin: 0 auto;
}

.form_head h2 {
  font-weight: normal;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form ul {
  padding: 0;
  margin: 0;
}

.contact-form li {
  margin-bottom: 2rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  border: none;
  border-bottom: 1px solid #595857;
  transition: border-color 0.2s ease;
  padding: 0.6rem 0;
  font-size: 1rem;
  background: transparent;
}

.contact-form input:focus {
  outline: none;
  border-bottom-color: #e94709;
}

.contact-form li p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.contact-form label {
  margin-right: 1.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.contact-form input[type="radio"] {
  margin-right: 0.3rem;
}

.contact-form textarea {
  width: 100%;
  border: 1px solid #595857;
  background-color: #f7f7f7;
  padding: 1rem;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact-form textarea:focus {
  border-color: #e94709;
  outline: none;
}

.contact-form input:focus,
.contact-form input:not(:placeholder-shown) {
  border-bottom-color: #e94709;
}

.contact-form input[type="radio"] {
  accent-color: #e94709;
}

.contact-form input[type="submit"] {
  width: 100%;
  background: #595857;
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  opacity: 0.85;
}

::placeholder {
  color: #131314;
  opacity: 1;
}

.required {
  color: #c00;
  font-size: 0.9rem;
}

/*===========JS用==========*/
/*タイトル*/

/* 初期：ぼやけ＋少し下 */
.js-title {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(12px);
  transition:
    opacity 1.1s ease,
    filter 1.1s ease,
    transform 1.1s ease;
}

/* 表示 */
.js-title.is-show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* 画像 */
.js-fade {
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.08);
  transition:
    opacity 1.2s ease,
    filter 1.2s ease,
    transform 1.2s ease;
}

.js-fade.is-show {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition-delay: 0.3s;
}

/*===========レスポンシブ==========*/

@media screen and (max-width: 1024px) {

  .access_head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .access_map_body {
  min-width: 0;
}

  .access_map_item {
    flex-wrap: wrap;
    min-width: 0;
  }

  .access_map_item h3 {
    white-space: normal;
  }
}

@media screen and (max-width: 800px) {
  /* 共通レイアウト幅 */

  .section-inner {
    padding: 0 1.5rem;
  }

  .access {
    margin-top: 6rem;
  }

  .access_title {
    flex-direction: row;
    width: auto;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .access_title img {
    width: 32px;
  }

  .access_title h2 {
    margin-top: 0;
    font-size: 1.3rem;
  }

  /* 交通アクセス */

  .access_head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .access_map_item {
    gap: 1rem;
    padding: 1rem 0;
  }

  .access_map_item h3 {
    font-size: 1rem;
    white-space: nowrap;
  }

  .access_map_item p,
  .access_map_item address {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .access_public_item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .access_public_item h3 {
    font-size: 1rem;
  }

  .access_public_item p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* 神社概要 */

  .overview {
    margin-top: 6rem;
  }

  .overview_body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .overview_item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
  }

  .overview_text h5 {
    font-size: 1.1rem;
  }

  .overview_text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* お問い合わせ */

  .contact {
    margin-top: 6rem;
  }

  .contact_hade {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact_hade_text h5 {
    font-size: 1.2rem;
  }

  .contact_tel,
  .contact_fax,
  .contact_time {
    font-size: 1.2rem;
  }

  .contact_body {
    margin-top: 4rem;
    margin-bottom: 6rem;
  }

  .form_head h2 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .contact-form label {
    display: block;
    margin-bottom: 0.6rem;
  }

  .contact-form input[type="submit"] {
    font-size: 1rem;
    padding: 0.9rem;
  }

}