@charset "utf-8";
/* TOP */
.top_intro {
  position: relative;
  isolation: isolate;
  background: linear-gradient(transparent, var(--wata-paper));
}
body.on .top_intro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('https://watanohana.co.jp/system_panel/uploads/images/ae295.jpg') center/cover;
  opacity: .4;
  pointer-events: none;
}
.main-img {
  position: relative;
  height: 650px;
}
.fv_photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.fv_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.on .fv_photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #cff1ff4d;
  mix-blend-mode: multiply;
}
.fv_title {
  position: absolute;
  top: 321px;
  left: max(calc((100vw - 1190px)/2), 30px);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
}
.fv_title > h1, .fv_title > p {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  background: var(--wata-blue);
  color: #fff;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 2.1px;
  padding: 10px 9px;
  white-space: nowrap;
  text-shadow: 0 4px 40px #0004;
}
.fv_title > p {
  margin-top: 120px;
}
.quick_links {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 930px;
  margin: -52px 0 0 auto;
  border-radius: 55px 0 0 55px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 50px #3a393714;
}
.quick_link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 100px;
  padding: 18px 22px;
  box-sizing: border-box;
  border-right: 1px solid #e7e4dd;
}
.quick_link:hover {
  background: var(--wata-paper);
}
.quick_icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quick_icon img {
  width: auto;
  height: auto;
  max-width: none;
}
.quick_english {
  font-family: Montserrat, sans-serif;
  color: #9b9995;
  letter-spacing: 1.44px;
}
.quick_link > div > p:last-child {
  font-weight: 700;
}
.quick_link > .quick_arrow {
  margin-left: auto;
  width: auto;
  height: auto;
  max-width: none;
  flex-shrink: 0;
}
.about_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.about_copy {
  position: relative;
  z-index: 1;
}
.about_message {
  margin: 40px 0;
  color: var(--wata-pink);
  line-height: 1.7;
  letter-spacing: .08em;
}
.about_text {
  line-height: 1.75;
  letter-spacing: .03em;
}
.about_photos {
  height: 730px;
  position: relative;
}
.about_photo {
  position: absolute;
  border-radius: 9px;
  overflow: hidden;
}
.about_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about_photo01 {
  left: 5.6%;
  top: 3%;
  width: 72%;
  height: 263px;
  transform: rotate(-2.5deg);
}
.about_photo01 img {
  width: 104.87%;
  max-width: none;
  height: 111%;
  margin-left: -2.54%;
  margin-top: -1.7%;
}
.about_photo02 {
  right: -3%;
  top: 285px;
  width: 77%;
  height: 273px;
  transform: rotate(3deg);
}
.about_photo03 {
  left: 5.6%;
  top: 535px;
  width: 70%;
  height: 257px;
  transform: rotate(-2.5deg);
}
.service_section {
  background: var(--wata-paper);
}
.service_item {
  display: grid;
  grid-template-columns: minmax(0, 552fr) minmax(0, 540fr);
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.service_copy {
  display: grid;
  gap: 30px;
}
.service_title {
  display: flex;
  gap: 10px;
  align-items: center;
}
.service_title > img {
  width: auto;
  height: auto;
  max-width: none;
  flex-shrink: 0;
}
.service_english {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--wata-pink);
}
.service_title h3 {
  letter-spacing: .06em;
  line-height: 1.6;
}
.service_description {
  line-height: 1.9;
  letter-spacing: .03em;
}
.service_image img {
  width: 100%;
  height: auto;
  aspect-ratio: 540/479;
  object-fit: contain;
}
.service_aquarium .service_copy {
  grid-column: 2;
  grid-row: 1;
}
.service_aquarium .service_image {
  grid-column: 1;
  grid-row: 1;
}
.service_aquarium .service_english {
  color: var(--wata-blue);
}
.service_rental .service_english {
  color: var(--wata-yellow);
}
.service_icon_circle {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: #faedca;
  border-radius: 50%;
  flex-shrink: 0;
}
.service_icon_circle img {
  width: auto;
  height: auto;
  max-width: none;
}
.news_list > .webgene-blog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.news_card > a {
  display: block;
}
.news_photo {
  aspect-ratio: 245.5/148;
  overflow: hidden;
  border-radius: 10px;
}
.news_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.news_card > a:hover img {
  transform: scale(1.04);
}
.news_category {
  display: table;
  padding: 5px 10px;
  border: 1px solid var(--wata-blue);
  border-radius: 50px;
  margin-top: 13px;
}
.news_card h3 {
  font-weight: 700;
  line-height: 1.6;
  margin-top: 13px;
}
.news_date {
  font-family: Montserrat, sans-serif;
  color: #707070;
  margin-top: 13px;
}
.instagram_section {
  background: #faedca;
}
.instagram_heading {
  text-align: center;
}
.instagram_heading > img {
  width: auto;
  height: auto;
  margin: 0 auto 5px;
}
.instagram_heading .section_english {
  color: var(--wata-yellow);
  line-height: 1.2;
}
.instagram_heading h2 {
  margin: 5px 0 20px;
}
.instagram_list > .webgene-blog {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}
.instagram_card {
  border: 3px solid #ffffff80;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px #00000026;
}
.instagram_card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .35s;
}
.instagram_card a:hover img {
  transform: scale(1.04);
}
.instagram_more {
  justify-content: center;
  margin-top: 30px;
}
.company_inner {
  display: grid;
  grid-template-columns: 1fr 2.06fr;
  gap: 30px;
  align-items: start;
}
.company_list {
  border: 1px solid #e7e4dd;
  border-radius: 10px;
  overflow: hidden;
}
.company_row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 94px;
  border-bottom: 1px solid #e7e4dd;
}
.company_row:last-child {
  border-bottom: 0;
}
.company_row h3 {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  background: #f3f3f1;
  border-right: 1px solid #e7e4dd;
  font-weight: 700;
}
.company_row > div {
  display: flex;
  align-items: center;
  padding: 25px 38px;
}
@media(min-width:1441px) {
  .main-img {
    height: 45.14vw;
    max-height: 820px;
  }
  .fv_title {
    top: 49.4%;
  }
}
@media(max-width:1080px) {
  .quick_links {
    max-width: 85%;
  }
  .quick_link {
    padding: 15px;
    gap: 8px;
  }
  .quick_english {
    font-size: 13px;
  }
  .quick_link > div > p:last-child {
    font-size: 14px;
  }
  .about_inner {
    gap: 20px;
  }
  .about_photos {
    height: 620px;
  }
  .about_photo01 {
    height: 200px;
  }
  .about_photo02 {
    top: 225px;
    height: 220px;
  }
  .about_photo03 {
    top: 430px;
    height: 200px;
  }
  .about_message {
    font-size: 26px;
  }
  .service_item {
    gap: 30px;
  }
  .company_row {
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .company_row h3, .company_row > div {
    padding: 20px;
  }
}
@media(max-width:768px) {
  .main-img {
    height: 620px;
  }
  .fv_photo img {
    object-position: 58% center;
  }
  .fv_title {
    top: 240px;
    left: 25px;
  }
  .fv_title > h1, .fv_title > p {
    font-size: 20px;
    padding: 10px 7px;
  }
  .fv_title > p {
    margin-top: 80px;
  }
  .quick_links {
    max-width: 100%;
    border-radius: 0;
    margin-top: 0;
  }
  .quick_link {
    padding: 15px 10px;
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .quick_link > .quick_arrow {
    display: none;
  }
  .about_inner {
    grid-template-columns: 1fr;
  }
  .about_photos {
    max-width: 580px;
    width: 100%;
    height: 700px;
    margin: auto;
  }
  .about_photo01 {
    height: 245px;
  }
  .about_photo02 {
    top: 250px;
    height: 250px;
    right: 0;
  }
  .about_photo03 {
    top: 470px;
    height: 235px;
  }
  .about_copy {
    padding-top: 0;
  }
  .service_item {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 60px;
  }
  .service_copy {
    gap: 25px;
  }
  .service_image {
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  .service_aquarium .service_copy, .service_aquarium .service_image {
    grid-column: auto;
    grid-row: auto;
  }
  .news_list > .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
  .instagram_list > .webgene-blog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .company_inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media(max-width:576px) {
  .main-img {
    height: 560px;
  }
  .fv_title {
    left: 20px;
    top: 220px;
    gap: 10px;
  }
  .fv_title > h1, .fv_title > p {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
  .fv_title > p {
    margin-top: 65px;
  }
  .quick_english {
    font-size: 10px;
    letter-spacing: .05em;
  }
  .quick_link > div > p:last-child {
    font-size: 12px;
  }
  .quick_icon {
    height: 38px;
    transform: scale(.8);
  }
  .about_message {
    margin: 30px 0;
    font-size: clamp(20px, 5.6vw, 28px);
    letter-spacing: .04em;
  }
  .about_photos {
    height: 490px;
  }
  .about_photo01 {
    height: 165px;
    top: 15px;
  }
  .about_photo02 {
    height: 175px;
    top: 165px;
  }
  .about_photo03 {
    height: 165px;
    top: 325px;
  }
  .service_item {
    margin-top: 45px;
  }
  .service_title h3 {
    font-size: 22px;
  }
  .news_list > .webgene-blog {
    gap: 25px 15px;
  }
  .news_category {
    padding: 3px 8px;
  }
  .news_date {
    font-size: 12px;
  }
  .instagram_list > .webgene-blog {
    gap: 10px;
  }
  .instagram_card {
    border-radius: 10px;
  }
  .company_row {
    grid-template-columns: 95px minmax(0, 1fr);
    min-height: 80px;
  }
  .company_row h3, .company_row > div {
    padding: 18px 12px;
  }
}
/* 空の背景をABOUTの下端で自然に紙色へつなぐ */
body.on .top_intro::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(249, 248, 244, 0) 46.3%, #f9f8f4 100%);
}
/* タブレット・スマホ：事業紹介は画像を先に表示 */
@media(max-width:768px) {
  .service_section .service_item > .service_image {
    grid-column: 1;
    grid-row: 1;
  }
  .service_section .service_item > .service_copy {
    grid-column: 1;
    grid-row: 2;
  }
}
/* タブレット・スマホ：ABOUT USは画像を先に表示 */
@media(max-width:768px) {
  .about_section .about_inner > .about_photos {
    grid-column: 1;
    grid-row: 1;
  }
  .about_section .about_inner > .about_copy {
    grid-column: 1;
    grid-row: 2;
  }
}
/* Instagram画像を枠の上下いっぱいまで表示 */
.instagram_section .instagram_card {
  aspect-ratio: 1;
  box-sizing: border-box;
}
.instagram_section .instagram_card > a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.instagram_section .instagram_card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
/* 画像が上に並ぶ幅では、写真とABOUT見出しの間隔を確保 */
@media(max-width:768px) {
  .about_section .about_inner {
    row-gap: clamp(40px, 7vw, 60px);
  }
}
/* ABOUTに続く事業紹介の上余白を除く */
.main-wrap .service_section {
  padding-top: 0;
}
/* FV：画像移動を使わず、5秒ごとにフェードで切り替え */
.main-img .fv_slide {
  width: 100%;
  height: 100%;
}
body.on .main-img .fv_slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
body.on .main-img .fv_slide.is-current {
  opacity: 1;
}
body.on .fv_photo::after {
  pointer-events: none;
}
/* body.onのない編集画面では、全画像と文章を操作できる状態にする */
body:not(.on) .main-img {
  height: auto;
  max-height: none;
  padding-top: 160px;
}
body:not(.on) .main-img .fv_photo {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}
body:not(.on) .main-img .fv_slide {
  position: relative;
  height: auto;
  opacity: 1 !important;
  transition: none !important;
}
body:not(.on) .main-img .fv_slide img {
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
body:not(.on) .main-img .fv_title {
  position: relative;
  top: auto;
  left: auto;
  justify-content: center;
  padding: 30px 20px;
}
@media(prefers-reduced-motion:reduce) {
  body.on .main-img .fv_slide {
    transition: none;
  }
}
@media(max-width:576px) {
  .main-wrap .section_heading {
    text-align: center;
  }
  .about_copy .about_message {
    text-align: center;
  }
  .service_section .service_title {
    justify-content: center;
  }
  .service_section .service_title > div {
    text-align: center;
  }
  .main-wrap .more_btn {
    justify-content: center;
  }
  .news_section .section_intro {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .news_section .section_intro > .section_heading {
    text-align: left;
    flex-shrink: 0;
  }
  .news_section .section_intro > .more_btn {
    justify-content: flex-end;
  }
  .news_section .section_intro > .more_btn > a {
    padding: 12px 18px;
    gap: 14px;
  }
  .news_section .news_list > .webgene-blog {
    grid-template-columns: minmax(0, 1fr);
  }
  .instagram_section .instagram_list > .webgene-blog {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .instagram_section .instagram_list > .webgene-blog > .webgene-item {
    flex: 0 0 calc((100% - 20px)/3);
    min-width: 0;
  }
}
/* FVコピーを画像の内側に収め、下の事業リンクとの重なりを防ぐ */
body.on .main-img .fv_title {
  top: auto;
  bottom: 85px;
}
@media(max-width:768px) {
  body.on .main-img .fv_title {
    top: auto;
    bottom: 40px;
  }
  .quick_links {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
  }
}
@media(min-width:1081px) and (max-width:1440px) {
  body.on .main-img .fv_title > h1, body.on .main-img .fv_title > p {
    font-size: 21px;
  }
}
/* タブレットでもInstagramの最終行を中央に配置 */
@media(min-width:577px) and (max-width:768px) {
  .instagram_section .instagram_list > .webgene-blog {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .instagram_section .instagram_list > .webgene-blog > .webgene-item {
    flex: 0 0 calc((100% - 30px)/3);
    min-width: 0;
  }
}