@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap");
/* ------------------------------------
// common
------------------------------------ */
.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
img {
  vertical-align: bottom;
}

:root {
  --color-base: #4d4d4d;
  --color-lightgreen: #f2fdf6;
}

.contents {
  font-family: "M PLUS 1", sans-serif;
  color: var(--color-base);
}
.contents p {
  font-size: 1.6rem;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .contents p {
    font-size: 1.5rem;
  }
}
.contents a {
  color: var(--color-base);
  transition: 0.3s;
}
.contents a:hover {
  opacity: 0.8;
}
.contents a:hover img {
  opacity: 1;
}
.contents a.pop {
  display: block;
}

main {
  background: var(--color-lightgreen);
  padding: 0 2rem;
  overflow: hidden;
}

/* ------------------------------------
// top_mv
------------------------------------ */
#top_mv {
  margin: 0 -2rem 5rem;
}

/* ------------------------------------
// top_lead
------------------------------------ */
#top_lead {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 5rem;
}
#top_lead p {
  line-height: 1.8;
  font-size: clamp(1.5rem, 1.5vw, 1.8rem);
}
#top_lead p.author {
  text-align: right;
}
@media screen and (max-width: 767px) {
  #top_lead {
    padding-bottom: 2rem;
  }
}

/* ------------------------------------
// top_slider
------------------------------------ */
#top_slider {
  margin: 0 -2rem;
  padding: 8rem 0;
  overflow: hidden;
  background: #fff;
}
#top_slider .swiper-wrapper {
  transition-timing-function: linear !important;
}
#top_slider .swiper-slide {
  width: 29rem;
}
#top_slider .swiper-slide.is-even a {
  margin-top: 10rem;
}
#top_slider .swiper-slide a {
  display: block;
  position: relative;
  transition: opacity 0.3s;
}
#top_slider .swiper-slide a hgroup {
  position: absolute;
  right: 0;
  bottom: 3rem;
  width: 80%;
}
#top_slider .swiper-slide a hgroup p {
  width: 7.4rem;
  margin-bottom: 0.5rem;
}
#top_slider .swiper-slide a hgroup h2 {
  background: #666666;
  color: var(--color-lightgreen);
  font-size: 1.5rem;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  padding: 0.5rem 1rem;
}
@media (min-width: 768px) {
  #top_slider.no_slide .swiper {
    overflow: visible;
    width: auto;
    max-width: 800px;
    margin: 0 auto;
  }
  #top_slider.no_slide .swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    transform: none !important;
    transition: none !important;
    width: auto;
    height: auto;
  }
  #top_slider.no_slide .swiper-slide {
    width: 30%;
    height: auto;
    margin: 0;
  }
  #top_slider.no_slide .swiper-slide:nth-child(even) a {
    margin-top: 10rem;
  }
}
@media screen and (max-width: 767px) {
  #top_slider {
    padding: 0;
    background: var(--color-lightgreen);
  }
  #top_slider .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 0;
  }
  #top_slider .swiper-wrapper .swiper-slide {
    width: auto;
  }
  #top_slider .swiper-wrapper .swiper-slide:first-child {
    grid-column: 1/span 2;
  }
  #top_slider .swiper-wrapper .swiper-slide:nth-child(n+2) a hgroup {
    bottom: 1.5rem;
  }
  #top_slider .swiper-wrapper .swiper-slide:nth-child(n+2) a hgroup p {
    width: 6rem;
  }
  #top_slider .swiper-wrapper .swiper-slide:nth-child(n+2) a hgroup h2 {
    font-size: 1.2rem;
  }
}

/* ------------------------------------
// history
------------------------------------ */
#history {
  max-width: 70rem;
  margin: 8rem auto 10rem;
}
#history h2 {
  font-size: 2.7rem;
  background: #fff;
  border: solid 1px var(--color-base);
  padding: 1rem 3rem;
  margin-bottom: 8rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #history h2 {
    font-size: 2rem;
    padding: 0.5rem 2rem;
    margin-bottom: 4rem;
  }
}
#history .history {
  width: fit-content;
  margin: 0 auto;
  position: relative;
}
#history .history::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 18.8rem;
  width: 0.3rem;
  background: url(images/feature/onagawa/dot_vline.svg) repeat-y center top/0.3rem auto;
}
@media screen and (max-width: 767px) {
  #history .history::before {
    left: 14rem;
  }
}
#history .history > div {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.6s ease;
}
#history .history > div.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#history .history > div + div {
  margin-top: 6rem;
}
@media screen and (max-width: 767px) {
  #history .history > div + div {
    margin-top: 3rem;
  }
}
#history .history dt {
  font-size: 2.2rem;
  text-align: right;
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: center;
  gap: 2rem;
  position: relative;
  width: 20rem;
}
#history .history dt::after {
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #41caa9;
}
@media screen and (max-width: 767px) {
  #history .history dt {
    font-size: 1.6rem;
    width: 15rem;
  }
  #history .history dt::after {
    width: 1.6rem;
  }
}
#history .history dt.blue_01::after {
  background: #5784e3;
}
#history .history dt.blue_02::after {
  background: #1b1464;
}
#history .history dd {
  font-size: 2rem;
  align-self: center;
}
@media screen and (max-width: 767px) {
  #history .history dd {
    font-size: 1.5rem;
  }
}

/* ------------------------------------
// top_backnumber
------------------------------------ */
#top_backnumber {
  background: #fff;
  margin: 0 -2rem;
  padding: 8rem 2rem 10rem;
}
@media screen and (max-width: 767px) {
  #top_backnumber {
    padding-block: 4rem 5rem;
  }
}
#top_backnumber .top_backnumber {
  max-width: 850px;
  margin: 0 auto;
}
#top_backnumber h2 {
  font-size: 2.7rem;
  background: #fff;
  border: solid 1px var(--color-base);
  padding: 1rem 3rem;
  max-width: 700px;
  margin: 0 auto 14rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #top_backnumber h2 {
    font-size: 2rem;
    border: none;
    padding: 0;
    margin-bottom: 3rem;
  }
}
#top_backnumber ul {
  display: grid;
  gap: 4.5rem;
}
@media screen and (max-width: 767px) {
  #top_backnumber ul {
    gap: 2.5rem;
  }
}
#top_backnumber ul li a {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "image text";
  gap: 5rem;
  align-items: center;
}
@media screen and (max-width: 767px) {
  #top_backnumber ul li a {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "text";
    gap: 1.5rem;
  }
}
#top_backnumber ul li a .image {
  grid-area: image;
}
#top_backnumber ul li a .text {
  grid-area: text;
  padding-bottom: 5rem;
  position: relative;
  max-width: 34rem;
}
#top_backnumber ul li a .text .date {
  font-size: 1.3rem;
}
#top_backnumber ul li a .text .title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
@media screen and (max-width: 767px) {
  #top_backnumber ul li a .text .title {
    font-size: 1.6rem;
    line-height: 1.5;
  }
}
#top_backnumber ul li a .text::after {
  content: "";
  width: 3.6rem;
  aspect-ratio: 1;
  background: url(images/feature/onagawa/icon_arrow_01.webp) no-repeat 0 0/contain;
  position: absolute;
  right: 0;
  bottom: 0;
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  #top_backnumber ul li a .text {
    padding: 0;
    max-width: none;
  }
  #top_backnumber ul li a .text .summary {
    display: none;
  }
  #top_backnumber ul li a .text::after {
    display: none;
  }
}
#top_backnumber ul li a:hover .text::after {
  background-image: url(images/feature/onagawa/icon_arrow_01_on.webp);
}
#top_backnumber ul li:nth-child(even) a {
  grid-template-areas: "text image";
}
#top_backnumber ul li:nth-child(even) a .text {
  justify-self: end;
}
@media screen and (max-width: 767px) {
  #top_backnumber ul li:nth-child(even) a {
    grid-template-areas: "image" "text";
  }
}

/* ------------------------------------
// mv_lower
------------------------------------ */
#mv_lower {
  margin: 0 -2rem;
  position: relative;
  aspect-ratio: 2400/800;
}
@media screen and (max-width: 767px) {
  #mv_lower {
    aspect-ratio: 1500/1837;
  }
}
#mv_lower > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
#mv_lower .site {
  position: absolute;
  right: 2rem;
  top: 2rem;
}
@media screen and (max-width: 767px) {
  #mv_lower .site {
    top: auto;
    bottom: 1.5rem;
  }
}
#mv_lower .site .logo a {
  display: block;
  width: 16.8rem;
  aspect-ratio: 336/214;
  mask: url(images/feature/onagawa/logo.svg) no-repeat 0 0/contain;
  background: #fff;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
#onagawa_2 #mv_lower .site .logo a {
  background: #000;
}
@media screen and (max-width: 767px) {
  #mv_lower .site .logo a {
    width: 12rem;
  }
  #onagawa_2 #mv_lower .site .logo a {
    background: #fff;
  }
  #onagawa_3 #mv_lower .site .logo a {
    background: #000;
  }
}
#mv_lower .site .num {
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  border: solid 1px var(--color-base);
  background: #d3f7e0;
  font-size: 1.6rem;
  margin: 1rem 0 0 auto;
}
@media screen and (max-width: 767px) {
  #mv_lower .site .num {
    width: 5rem;
    font-size: 1.3rem;
  }
}
#mv_lower::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  aspect-ratio: 528/800;
  height: 100%;
  background: url(images/feature/onagawa/mv_map.webp) no-repeat 0 0/contain;
}
@media screen and (max-width: 767px) {
  #mv_lower::before {
    top: auto;
    bottom: 0;
    aspect-ratio: 341/572;
    background-image: url(images/feature/onagawa/mv_map_sp.webp);
    width: 17rem;
    height: auto;
  }
}
#mv_lower hgroup {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 767px) {
  #mv_lower hgroup {
    top: 20%;
  }
}
#mv_lower hgroup h1 {
  font-size: clamp(2.6rem, 2.7vw, 3.2rem);
  padding: 0 clamp(1rem, 1.7vw, 2rem);
  border-bottom: solid 1px #fff;
}
#mv_lower hgroup p {
  font-size: clamp(1.5rem, 1.7vw, 2rem);
  margin-top: 1rem;
}

/* ------------------------------------
// lead
------------------------------------ */
#lead_lower {
  background: #fff;
  padding: 5rem 2rem;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 5rem;
}
#lead_lower .lead {
  max-width: 600px;
  margin: 0 auto;
}
#lead_lower .lead p {
  line-height: 1.8;
  font-weight: 400;
}
#lead_lower .lead p.dialogue {
  background: var(--color-lightgreen);
  padding: 1.5rem 2.5rem;
  border-radius: 1.5rem;
  font-weight: 500;
}
#lead_lower .lead .data {
  margin-top: 2rem;
}
#lead_lower .lead .data p {
  margin: 0;
  text-align: right;
}
#lead_lower .lead .data + .shareaholic-canvas {
  display: block;
  margin: 2rem 0 0 0;
}
#lead_lower .lead .shareaholic-canvas {
  display: none;
}

/* ------------------------------------
// article
------------------------------------ */
article {
  max-width: 600px;
  margin: 0 auto;
}
article .movie {
  margin: 5rem 0 6rem;
}
article .movie a {
  display: block;
  position: relative;
  transition: 0.3s;
}
article .movie a img {
  width: 100%;
}
article .movie a:hover {
  opacity: 0.8;
}
article .movie a:hover img {
  opacity: 1;
}
article .movie a::before {
  content: "";
  width: 60px;
  height: 42px;
  background: url(images/common/icon_play.webp) no-repeat 0 0/100% auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
article .movie .notice {
  max-width: 370px;
  margin: 20px 0 0 auto;
}
article .summary {
  margin: 95px -50px;
  position: relative;
}
article .summary h2 {
  position: absolute;
  left: 25px;
  top: 0;
  max-width: 360px;
  transform: translateY(-54%);
}
article .summary .text {
  border: solid 1px #000;
  background: rgba(121, 192, 209, 0.1);
  padding: 60px 45px 30px;
}
article .summary .text p {
  font-size: 1.6rem;
  font-weight: 500;
}
article .summary .text p + p {
  margin-top: 0.7em;
}
article .page {
  margin-bottom: 60px;
  transition: opacity 1s;
}
article .page:last-child {
  margin-bottom: 0;
}
article .page + .page {
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-100%, 0);
}
article .page.show {
  opacity: 1;
  visibility: visible;
  position: static;
  transform: none;
}
article section + * {
  margin-top: 60px;
}
article h2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1em;
}
article h2.large {
  text-align: center;
  font-size: 3.3rem;
  margin-bottom: 2em;
}
article p {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 2;
}
article p + * {
  margin-top: 2em;
}
article p.question {
  color: #0a6a9a;
  font-weight: 500;
  margin-bottom: 1.5em;
}
article p.question span,
article p.question .q {
  font-size: 2.5rem;
  font-family: "M PLUS 1", sans-serif;
  display: block;
  font-weight: 600;
}
article p.person {
  color: #0a6a9a;
  font-weight: 500;
}
article p.person + * {
  margin-top: 0;
}
article p.note {
  font-size: 1.3rem;
  line-height: 1.5;
}
article p.dialogue {
  background: #fff;
  padding: 1.5rem 2.5rem;
  border-radius: 1rem;
  font-weight: 500;
}
article ul {
  margin-bottom: 2em;
}
article ul + * {
  margin-top: 2em;
}
article ul li {
  font-size: clamp(1.5rem, 1.4vw, 1.7rem);
  font-weight: 600;
  padding-left: 1em;
  position: relative;
}
article ul li + * {
  margin-top: 0.5em;
}
article ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}
article ol {
  margin-bottom: 2em;
  counter-reset: number;
}
article ol + * {
  margin-top: 2em;
}
article ol li {
  font-size: clamp(1.5rem, 1.4vw, 1.7rem);
  font-weight: 600;
  padding-left: 1.5em;
  position: relative;
}
article ol li + * {
  margin-top: 0.5em;
}
article ol li::before {
  position: absolute;
  left: 0;
  counter-increment: number;
  content: counter(number) ".";
}
article .image {
  margin: 2em 0;
}
article .image .caption {
  text-align: right;
  font-size: 1.4rem;
  margin-top: 10px;
}
article a.pop {
  max-width: none;
}
article .wp-caption:has(img) {
  margin: 2em 0;
}
article .wp-caption .wp-caption-text {
  text-align: right;
  font-size: 1.4rem;
  margin-top: 10px;
}
article .nextbox {
  text-align: center;
}
article .nextbox.hide {
  display: none;
}
article .nextbox:hover {
  opacity: 0.8;
}
article .nextbox > * {
  display: grid;
  place-content: center;
  place-items: center;
  letter-spacing: 0.2em;
  cursor: pointer;
  background: #79c0d1;
  padding: 15px 0 15px;
}
article .nextbox > * .page_count {
  font-size: 1.7rem;
}
article .nextbox > * .page_count .num {
  font-size: 1.9rem;
  color: #fff;
  margin-left: 0.5em;
}
article .nextbox > * .title {
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: "M PLUS 1", sans-serif;
  line-height: 1.5;
}
article .nextbox > *::after {
  content: "";
  aspect-ratio: 44/26;
  width: 22px;
  background: url(images/feature/radioisotope/icon_arrow_05.webp) no-repeat 0 0/100% auto;
  display: block;
  margin: 10px auto 0;
}
article *:has(> iframe) {
  width: 100%;
  aspect-ratio: 16/9;
}
article *:has(> iframe) iframe {
  width: 100%;
  height: 100%;
}
article div.alignright,
article img.alignright,
article a.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
article div.alignright.wp-caption,
article img.alignright.wp-caption,
article a.alignright.wp-caption {
  margin-right: -10px;
}
article div.alignright.wp-caption .wp-caption-text,
article img.alignright.wp-caption .wp-caption-text,
article a.alignright.wp-caption .wp-caption-text {
  margin-right: 10px;
}
article div.alignleft,
article img.alignleft,
article a.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
article div.aligncenter,
article img.aligncenter,
article a.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
  padding: 1em 0 0;
}

@media screen and (max-width: 767px) {
  article .movie {
    margin: 4rem 0;
  }
  article .movie .notice {
    max-width: 22rem;
    margin-top: 1.5rem;
  }
  article .summary {
    margin: 6rem -2rem;
  }
  article .summary h2 {
    left: 2rem;
    max-width: 60vw;
  }
  article .summary .text {
    padding: 3rem 2rem 1.5rem;
  }
  article .summary .text p {
    font-size: 1.4rem;
  }
  article section + * {
    margin-top: 5rem;
  }
  article h2 {
    font-size: 1.8rem;
    margin-bottom: 1em;
  }
  article h2.large {
    font-size: 2.2rem;
  }
  article .image {
    margin: 2em 0;
  }
  article .image .caption {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }
  article .wp-caption .wp-caption-text {
    text-align: left;
    font-size: 1.2rem;
  }
  article .nextbox > * {
    padding: 1.5rem;
  }
  article .nextbox > * .page_count {
    font-size: 1.2rem;
  }
  article .nextbox > * .page_count .num {
    font-size: 1.4rem;
  }
  article .nextbox > * .title {
    font-size: 1.4rem;
  }
}
/* ------------------------------------
// btn_back
------------------------------------ */
.btn_back {
  width: fit-content;
  margin: 10rem auto;
}
@media screen and (max-width: 767px) {
  .btn_back {
    margin: 5rem auto;
  }
}
.btn_back a {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 3rem;
}
.btn_back a .logo {
  width: 15rem;
}
.btn_back a .icon {
  display: grid;
  font-size: 2rem;
  text-align: center;
  gap: 0.5rem;
}
.btn_back a .icon::after {
  content: "";
  width: 6rem;
  aspect-ratio: 1;
  background: url(images/feature/onagawa/icon_arrow_01.webp) no-repeat 0 0/contain;
  transition: 0.3s;
  justify-self: center;
}
.btn_back a:hover .icon::after {
  background-image: url(images/feature/onagawa/icon_arrow_01_on.webp);
}

/* ------------------------------------
// others
------------------------------------ */
#others {
  background: #fff;
  margin: 0 -2rem;
  padding: 8rem 2rem 10rem;
}
@media screen and (max-width: 767px) {
  #others {
    padding-block: 4rem 5rem;
  }
}
#others .others {
  max-width: 935px;
  margin: 0 auto;
}
#others h2 {
  font-size: clamp(2rem, 1.9vw, 2.3rem);
  text-align: center;
  margin-bottom: 5rem;
}
#others ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 5rem;
  margin-bottom: -5rem;
}
@media screen and (max-width: 767px) {
  #others ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: -2rem;
  }
}
#others ul li a {
  display: block;
  position: relative;
  transition: opacity 0.3s;
}
#others ul li a hgroup {
  position: absolute;
  right: 0;
  bottom: 3rem;
  width: 80%;
}
#others ul li a hgroup p {
  width: 7.4rem;
  margin-bottom: 0.5rem;
}
#others ul li a hgroup h3 {
  background: #666666;
  color: var(--color-lightgreen);
  font-size: 1.5rem;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  padding: 0.5rem 1rem;
}
@media screen and (max-width: 767px) {
  #others ul li a hgroup {
    bottom: 1.5rem;
  }
  #others ul li a hgroup p {
    width: 6rem;
  }
  #others ul li a hgroup h3 {
    font-size: 1.2rem;
  }
}

/* ------------------------------------
// pagetop
------------------------------------ */
.pagetop {
  text-align: right;
  position: fixed;
  bottom: 20px;
  right: 10px;
  width: 20px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.pagetop.show {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 767px) {
  .pagetop {
    width: 1.5rem;
    right: 0.8rem;
    bottom: 2rem;
  }
}