@charset 'UTF-8';

/*********************************************
/*
/* 三原山の赤い渓谷「赤ダレ」 コンテンツCSS
/*
/********************************************/

:root {
  --akadare-red: #c8222b;      /* ロゴの赤 */
  --akadare-rust: #8f2f22;     /* スコリアの赤褐色 */
  --akadare-lava: #2f2f2f;     /* 黒い溶岩 */
  --akadare-sand: #f6f2ee;     /* ボックス背景 */
  --akadare-line: #e6ddd6;
}

/* ===== メインビジュアル ===== */
.subpage-topimage-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 800px;
  padding-top: 70px; /* ヘッダー分 */
  margin-bottom: 20px;
  overflow: hidden;
  background: #2b2b2b url('../../img/individual/akadare/main_image001.webp') center center / cover no-repeat;
}

/* ロゴの可読性を保つためのごく薄い周辺減光 */
.subpage-topimage-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.subpage-logo_screen {
  position: relative;
  z-index: 2;
  line-height: 0;
}

/* ロゴ画像は800×800（四辺に透過余白あり） */
.subpage-logo_screen img {
  display: block;
  width: 650px;
  max-width: calc(100vw - 40px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.35));
  animation: akadareFadeIn 1.4s ease-out both;
}

@keyframes akadareFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-logo_screen img {
    animation: none;
  }
}

@media screen and (max-width: 1600px) {
  .subpage-topimage-section {
    height: 700px;
  }
  .subpage-logo_screen img {
    width: 570px;
  }
}

/** タブレット時 **/
@media screen and (max-width: 960px) {
  .subpage-topimage-section {
    height: 500px;
  }
  .subpage-logo_screen img {
    width: 400px;
  }
}

/** スマートフォン時 **/
@media screen and (max-width: 767px) {
  .subpage-topimage-section {
    height: 420px;
    padding-top: 60px;
  }
  .subpage-logo_screen img {
    width: 340px;
  }
}

@media screen and (max-width: 415px) {
  .subpage-topimage-section {
    height: 380px;
  }
  .subpage-logo_screen img {
    width: 320px;
  }
}

/* ===== 本文共通 ===== */
p {
  letter-spacing: 0.2rem;
}

p.normal {
  letter-spacing: 0.2rem;
  text-align: justify;
}

.inner-block img {
  max-width: 100%;
  height: auto;
}

.photo img {
  width: 100%;
  border-radius: 10px;
}

.photo picture {
  display: block;
}

img {
  border: none;
}

/* SP時のみ改行 */
br.sp_br {
  display: none;
}

/* ===== 見出し ===== */
h1.main_title {
  text-align: left;
  margin-top: 50px;
  margin-left: 20px;
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.1rem;
}

h1.main_title .main_subtitle {
  display: block;
  margin-top: 10px;
  color: var(--akadare-rust);
  font-size: 1.8rem;
  font-weight: 700;
}

h3.sub_title_lft {
  position: relative;
  font-size: 2.2rem;
  line-height: 3.2rem;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 30px;
  padding-left: 18px;
  letter-spacing: 0.1rem;
  font-weight: 900;
}

h3.sub_title_lft::before {
  content: "";
  position: absolute;
  top: 0.3em;
  bottom: 0.3em;
  left: 0;
  width: 5px;
  border-radius: 3px;
  background-color: var(--akadare-red);
}

@media screen and (max-width: 767px) {
  br.sp_br {
    display: inline;
  }
}

@media screen and (max-width: 415px) {
  h1.main_title {
    font-size: 1.8rem;
    margin-left: 0;
    letter-spacing: 0.05rem;
  }

  h1.main_title .main_subtitle {
    font-size: 1.5rem;
  }

  h3.sub_title_lft {
    font-size: 1.8rem;
    line-height: 2.6rem;
    margin-left: 0;
    margin-bottom: 30px;
    padding-left: 14px;
  }
}

/* ===== 情報ボックス（トレッキング情報・ジオガイド） ===== */
/* ボックス内の段落はサイト共通の左右余白（.inner-block p）を打ち消す */
.inner-block .akadare_box p {
  padding-left: 0;
  padding-right: 0;
}

.akadare_box {
  margin: 0 20px;
  padding: 30px;
  border-left: 5px solid var(--akadare-red);
  border-radius: 5px;
  background-color: var(--akadare-sand);
}

.akadare_box h4 {
  margin: 0 0 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1rem;
}

.akadare_info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 20px;
  margin: 0 0 20px;
  letter-spacing: 0.1rem;
  line-height: 1.8;
}

.akadare_info dt {
  font-weight: 700;
  color: var(--akadare-rust);
}

.akadare_info dt .fa {
  margin-right: 4px;
}

.akadare_info dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.akadare_box a {
  color: var(--akadare-rust);
  text-decoration: underline;
}

.akadare_box a:hover,
.akadare_box a:focus {
  color: var(--akadare-red);
}

.akadare_box .fa-external-link {
  margin-left: 2px;
  font-size: 85%;
}

/* ボックスの後の見出しとの間を広めにとる */
.mb80 {
  margin-bottom: 80px;
}

/* 注記 */
.akadare_note {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  color: #666;
}

.akadare_box .akadare_note {
  margin: 0;
}

/* ジオガイド紹介 */
.guide_profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.guide_profile_photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.guide_name {
  margin: 0 0 12px;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
}

.guide_name small {
  margin-left: 4px;
  color: #555;
  font-size: 75%;
  font-weight: 700;
}

.inner-block .guide_profile_text p.normal {
  margin-bottom: 12px;
}

.inner-block .guide_profile_text p.normal:last-child {
  margin-bottom: 0;
}

.guide_info_title {
  margin: 0 0 15px;
  padding-top: 20px;
  border-top: 1px solid var(--akadare-line);
  font-weight: 700;
  letter-spacing: 0.1rem;
}

@media screen and (min-width: 768px) {
  .guide_profile {
    grid-template-columns: 40% 1fr;
    gap: 25px;
    align-items: start;
  }
}

@media screen and (max-width: 600px) {
  .akadare_box {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
  }

  /* 項目名と内容を縦積みに */
  .akadare_info {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .akadare_info dd {
    margin-bottom: 12px;
    padding-left: 1.6em;
  }
}
