@charset "UTF-8";
/* 共通部分
--------------------------------------------- */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Shippori Mincho B1", "游明朝", "Yu Mincho", YuMincho,
    "Hiragino Mincho Pro", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #394f57;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
/* レイアウト */
span {
  display: inline-block;
}
.wrapper {
  max-width: 1120px;
  margin: 0 auto 180px auto;
  padding: 0 4%;
}
.text-center {
  text-align: center;
}
/* 見出し */
.site-title {
  font-weight: 400;
  letter-spacing: 0.05em;
}
.section-title {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 80px;
}
.sub-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}
/* アイコン */
.icon-instagram {
  width: 29px;
}
/* テキストアニメ */
.text-anime {
  animation-name: textanime; /*keyname*/
  animation-duration: 5s; /*最大再生時間*/
}
@keyframes textanime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
/* 下からフェードイン */
.js-fadeBottom {
  opacity: 0;
  visibility: hidden;
  transform: translateY(80px);
  transition: opacity 2s, visibility 2s, transform 2s;
}
.js-fadeBottom.inview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
/* 左からフェードイン */
.js-fadeLeft {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-80px);
  transition: opacity 5s, visibility 5s, transform 5s;
}
.js-fadeLeft.inview {
  opacity: 1;
  visibility: visible;
  transform: translateX(0px);
}
/* ヘッダー
--------------------------------------------- */
#header a {
  color: #394f57;
}
#header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 8vh;
  padding: 0 4%;
}
.nav-links {
  display: flex;
  justify-content: space-around;
  width: 38%;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  transition: all 0.3s;
}
.nav-links a:hover {
  opacity: 0.5;
}

/* メインビジュアル
--------------------------------------------- */
#main-visual {
  display: flex;
  width: 100%;
  margin: 0 auto 120px auto;
}
.main-left {
  width: 56%;
}
.main-left img {
  width: 100%;
  height: 800px;
  vertical-align: bottom;
  object-fit: cover;
}
.main-right {
  width: 44%;
}
.main-text {
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  margin: 280px auto 0 auto;
  letter-spacing: 0.05em;
}
.main-text h2 {
  font-size: 4rem;
  font-weight: 400;
  line-height: 3;
}
.text-indent {
  text-indent: 3em;
}

/* イントロダクション
--------------------------------------------- */
#introduction {
  max-width: 1120px;
  margin: 0 auto 80px auto;
  padding: 0 4%;
  text-align: center;
}
.intro-text p {
  margin-bottom: 1rem;
}

/* お知らせ
--------------------------------------------- */
#news {
  max-width: 800px;
  margin: 0 auto 240px auto;
  padding: 0 4%;
}
.catch {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.catch:before,
.catch:after {
  border-top: 1px solid;
  content: "";
  width: 2em;
}
.catch:before {
  margin-right: 1em;
}
.catch:after {
  margin-left: 1em;
}
.catch h3 {
  font-size: 2rem;
  font-weight: 400;
}
#news a {
  color: #0071c1;
  text-decoration: underline;
}

/* 空木の会とは
--------------------------------------------- */
/* 空木の会は */
.about-utsuginokai {
  max-width: 800px;
  margin: 0 auto 100px auto;
}
.about-utsuginokai p {
  margin-bottom: 1.5rem;
}
.lead-text {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 64px;
}
/* 主な活動 */
.about-activities {
  max-width: 480px;
  margin: 0 auto 120px auto;
}
.about-activities ul {
  list-style: none;
  margin-top: 80px;
}
.about-activities li {
  margin-bottom: 64px;
}
.about-activities li p {
  padding-left: 56px;
}
.about-activities h5 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0 0 16px 56px;
}
.activities-1 {
  background-image: url(../images/activities_img_1.png);
  background-repeat: no-repeat;
  background-size: 40px;
}
.activities-2 {
  background-image: url(../images/activities_img_2.png);
  background-repeat: no-repeat;
  background-size: 40px;
}
/* グリーフケアについて */
.about-griefcare {
  max-width: 800px;
  margin: 0 auto 120px auto;
}
/* 参加をご検討の方へ */
.about-eligibility {
  max-width: 800px;
  margin: 0 auto 120px auto;
}
.about-eligibility p {
  margin-bottom: 1.5rem;
}
/* 大切な人を亡くした後 */
.about-Thoughts {
  max-width: 800px;
  margin: 0 auto;
}
.about-Thoughts p {
  margin-bottom: 1.5rem;
}

/* 開催予定
--------------------------------------------- */
#info {
  margin-bottom: 180px;
}
.info-frame {
  border: 1px solid #c1c7c6;
  border-radius: 16px;
  width: 90%;
  max-width: 1000px;
  padding: 8% 4%;
  margin: 0 auto;
}
.info-line {
  border-top: 1px dashed #c1c7c6;
  max-width: 800px;
  margin: 120px auto;
}
.info-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
.info-table th,
td {
  padding: 1em;
}
.info-table th {
  text-align: left;
  width: 20%;
  min-width: 4em;
  position: relative;
}
.info-table th::after {
  content: "";
  background-color: #c1c7c6;
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
}
.info-table a {
  color: #0071c1;
  text-decoration: underline;
}
.info-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
}
/* Googleマップ */
iframe {
  width: 58%;
  aspect-ratio: 16/9; /* アスペクト比（縦横比）を指定 */
  border-radius: 8px;
  margin-top: 1rem;
}
.info-text {
  width: 42%;
}

/* 空木の会のきまり
--------------------------------------------- */
#rules ul {
  margin-left: 20px;
  list-style-type: disc;
  list-style-position: outside;
}
#rules li {
  padding: 4px;
}
.rules-textarea {
  max-width: 800px;
  margin: 0 auto;
}

/* フッター
--------------------------------------------- */
.footer {
  font-size: 1rem;
  padding: 160px 8% 80px 8%;
  background-image: url(../images/footer_img.jpg);
  background-size: cover;
}
.footer a {
  transition: all 0.3s;
}
.footer a:hover {
  opacity: 0.5;
}
.footer-text {
  margin-bottom: 24px;
}
.footer-text > p:nth-child(2) {
  font-size: 1.5rem;
  margin: 8px 0 16px 0;
}
.footer-text > p:nth-child(5) {
  margin-top: 1rem;
}
.copyright {
  margin-top: 3rem;
  text-shadow: 2px 2px 6px rgb(255, 255, 255);
}
/* トップに戻るボタン全体 */
#page_top {
  width: 40px;
  height: 40px;
  position: fixed;
  right: 24px;
  bottom: 72px;
  background: #ffffff;
  opacity: 0.7;
  border-radius: 50%;
  box-shadow: 0 2px 10px -6px rgba(0, 0, 0, 0.5),
    0 3px 10px -4px rgba(0, 0, 0, 0.2);
}
/* Font Awesome */
#page_top::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f106";
  font-size: 20px;
  color: #394f57;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

/* レスポンシブ対応
--------------------------------------------- */
@media screen and (max-width: 1280px) {
  .nav-links {
    width: 55%;
  }
}

@media screen and (max-width: 800px) {
  /* 共通部分 */
  body {
    font-size: 1rem;
  }
  .wrapper {
    margin: 0 auto 80px auto;
  }
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 48px;
  }
  .sub-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }
  /* ヘッダー */
  .nav-links {
    width: 100%;
    font-size: 0.875rem;
  }
  .site-title {
    display: none;
  }
  .icon-instagram-sp {
    width: 20px;
  }
  /* メインビジュアル */
  #main-visual {
    flex-direction: column;
    margin: 0 auto 80px auto;
  }
  .main-left,
  .main-right {
    width: 100%;
  }
  .main-left {
    margin-bottom: 48px;
  }
  .main-left img {
    height: 55vh;
    border-radius: 0;
  }
  .main-text {
    writing-mode: horizontal-tb;
    text-align: center;
    margin: 0 auto;
  }
  .main-text h2 {
    font-size: 2rem;
  }
  .text-indent {
    text-indent: 0em;
  }
  /* お知らせ */
  #news {
    margin: 0 auto 80px auto;
  }
  .catch h3 {
    font-size: 1.5rem;
  }
  /* 空木の会とは */
  .about-utsuginokai {
    margin: 0 auto 80px auto;
  }
  .lead-text {
    font-size: 1.125rem;
    margin-bottom: 24px;
  }
  .about-activities {
    margin: 0 auto 80px auto;
  }
  .about-activities li {
    margin-bottom: 40px;
  }
  .about-activities ul {
    margin-top: 40px;
  }
  .about-activities h5 {
    font-size: 1rem;
  }
  .about-griefcare {
    margin: 0 auto 80px auto;
  }
  .about-eligibility {
    margin: 0 auto 80px auto;
  }
  /* 開催予定 */
  #info {
    margin-bottom: 80px;
  }
  .info-line {
    margin: 40px auto;
  }
  .info-flex {
    flex-direction: column-reverse;
  }
  iframe {
    width: 100%;
  }
  .info-text {
    width: 100%;
  }
  /* フッター */
  .footer {
    font-size: 1rem;
    padding: 80px 8% 80px 8%;
    background-image: url(../images/footer_img_sp.jpg);
    background-size: cover;
  }
}
