﻿/*
Theme Name: eブックス　onlyone恵那trip特設サイト\\
Template URI: https://www.gifu-ebooks.jp
Description: onlyone恵那trip特設サイト css
Author: 株式会社太洋社
Author URL: https://www.p-taiyosha.co.jp/
Version: 4.0
tags:このスタイルシートは、ヘッダ・フッタなどサイト共通用に制作されたものです。
*/

/* 共通のスタイル
------------------------------ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: YuGothic, 游ゴシック, 'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  padding-top: 50px;
}

img {
  image-rendering: -webkit-optimize-contrast;
}

a {
  text-decoration: none;
}

.only-one_body {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.ol_subtitle img {
  width: 100%;
}
.only-one_backgrond {
  background-size: auto auto;
  background-color: rgba(255, 255, 255, 1);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(212, 242, 247, 1) 4px,
    rgba(212, 242, 247, 1) 6px
  );
  background-attachment: fixed;
}

/* ol_top_container
------------------------------ */
.mainVisual {
  max-width: 1280px;
  height: auto;
  margin: 0 auto;
}
.mainVisual img {
  width: 100%;
  height: auto;
}

/* グローバルナビ */
.gnav {
  max-width: 1280px;
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
  justify-content: center;
  padding: 1%;
}

.gnav__list {
  width: calc(calc(100% / 6) - 1%);
}
.gnav__list img {
  width: 100%;
}

/* トップに戻るボタン */
.ol_retop_btn__container {
  position: fixed;
  z-index: 20;
  right: 10%;
  bottom: 20px;
  width: 100px;
}
.ol_retop_btn__container img {
  width: 100%;
}

/* ol_movie_container
------------------------------ */
/* タイトル */
.ol_movie_container {
  max-width: 1280px;
  height: auto;
  margin: 0 auto;
  padding: 70px 0;
}
.movie__title {
  width: 180px;
  height: auto;
  margin: 50px auto 20px auto;
}
.movie__title img {
  width: 100%;
}

/* 動画一覧 */
.movie__container_pc {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.movie__item {
  width: calc(calc(100% / 3) - 40px);
  position: relative;
  z-index: 10;
}
.movie__item img {
  width: 100%;
}

.movie__text {
  color: #000;
  line-height: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
  font-size: clamp(13px, 1.68vw, 16px);
  line-height: 1.5;
  margin-top: 6px;
}

/* 外部リンク */
.movie__link--container {
  display: flex;
  justify-content: center;
  gap: 5%;
  margin-top: 50px;
  padding: 1%;
  position: relative;
  z-index: 5;
}
.movie__link--item {
  max-width: 330px;
}
.movie__link--item img {
  width: 100%;
}

/* ol_pamph_container
------------------------------ */
.ol_pamph_container {
  max-width: 1280px;
  height: auto;
  margin: 0 auto;
  padding: 70px 3%;
  display: flex;
  justify-content: center;
  gap: 7%;
}
.pamph__item {
  max-width: 767px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

/* 電子書籍 */
.pamph__item--subtitle-read {
  max-width: 180px;
  margin-bottom: 15px;
}
.pamph__item--subtitle-read img {
  width: 100%;
}
.pamph__item--img {
  max-width: 330px;
}
.pamph__item--img img {
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #cdcdcd;
}
.pamph__item--btn_read {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 50px;
  background: #80cde4;
  border-radius: 25px;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.15));
  font-size: 20px;
  text-align: center;
}
.pamph__item--btn_read span {
  color: #fff;
  font-weight: 700;
}

/* googleマップ */
.pamph__item--subtitle-watch {
  max-width: 238px;
  margin-bottom: 15px;
}
.pamph__item--subtitle-watch img {
  width: 100%;
}

.pamph__item--btn-watch {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 50px;
  background: #a49aca;
  border-radius: 25px;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.15));
  font-size: 20px;
  text-align: center;
}
.pamph__item--btn-watch span {
  color: #fff;
  font-weight: 700;
}

/* ol_find_container
------------------------------ */
.ol_find_container {
  max-width: 1280px;
  margin: 5% auto;
  padding: 5% 2% 8% 2%;
  background-image: url(../images/back_green.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}
/* タイトル */
.find__title {
  max-width: 390px;
  margin: 0 auto 5% auto;
  padding: 0 3% 0 3%;
}
.find__title img {
  width: 100%;
}

/* タイトル周りイラスト */
.find__title-img01 {
  width: 190px;
  position: absolute;
  z-index: 5;
  top: -5%;
  left: 15%;
}
.find__title-img01 img {
  width: 100%;
}
.find__title-img02 {
  width: 217px;
  position: absolute;
  z-index: 5;
  top: -5%;
  right: 18%;
}
.find__title-img02 img {
  width: 100%;
}

.find__container_pc {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.find__item {
  width: calc(calc(100% / 3) - 20px);
}
.find__item img {
  width: 100%;
}

/* ol_photocon_container
------------------------------ */
.ol_photocon_container {
  padding: 20px;
  margin-top: 10%;
  position: relative;
}

.subtitle_04 {
  max-width: 338px;
  margin: 0 auto 15px auto;
}

.photocon_banner {
  max-width: 918px;
  height: auto;
  margin: 2% auto;
  position: relative;
  z-index: 10;
}
.photocon_banner img {
  width: 100%;
}

/* ol_book_container
------------------------------ */
.kanren_book_sp {
  display: none;
}

.ol_book_container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 0 50px 0;
}

/* スライダー */
.onlyone-ena_slider {
  max-width: 1024px;
  height: auto;
}
.onlyone-ena_slider .swiper-slide {
  width: calc(calc(100% / 3) -10px);
}
.onlyone-ena_slider .swiper-slide img {
  width: 100%;
  height: auto;
}
/* スライダーページネーション */

.swiper-pagination {
  width: 100%;
}
.swiper-pagination-bullet {
  margin-left: 15px;
}
.swiper-pagination-bullet:first-child {
  margin-left: 0;
}

/* スライダー矢印カスタマイズ */

.ena_slide-prev:after,
.ena_slide-next:after {
  content: none !important;
}

.slider_box {
  position: relative;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(5px, 1.33vw, 10px);
  margin-top: clamp(25px, 6.65vw, 50px);
}

.onlyone-ena_slider .swiper-slide img {
  width: 100%;
  height: auto;
}

/* キャプションの位置調整 */
.movie__text {
  margin-bottom: 20px;
}

/* ol_banner_container
------------------------------ */
.ol_banner_container {
  max-width: 1280px;
  margin: 7% auto 0 auto;
  padding-top: 5%;
  padding-bottom: 2%;
  background-image: url(../images/fotter_back.svg);
  background-repeat: no-repeat;
  background-position: top;
  position: relative;
  background-size: cover;
}

.subtitle_06 {
  height: 30px;
  max-width: 300px;
  margin: 0 auto 2% auto;
  position: relative;
  z-index: 10;
}
@media (max-width: 900px) {
  .ol_banner_container {
    padding-top: 3%;
    margin-top: 5%;
  }
  .subtitle_06 {
    width: 170px;
    margin-bottom: 3%;
  }
}
.subtitle_06 img {
  width: 100%;
}
.img__girls {
  width: 130px;
  height: auto;
  position: absolute;
  top: -8%;
  right: 20%;
}
.img__girls img {
  width: 100%;
}
@media (max-width: 930px) {
  .img__girls {
    width: 110px;
    top: -8%;
  }
}
@media (max-width: 650px) {
  .img__girls {
    width: 110px;
    top: -5%;
    right: 10%;
  }
  .subtitle_06 {
    margin: 15px auto 40px auto;
  }
}
@media (max-width: 450px) {
  .img__girls {
    width: 90px;
    top: -2%;
    right: 2%;
  }
}

.banner__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 2%;
}
.banner__item {
  width: calc(calc(100% / 4) - 2%);
  justify-content: center;
  align-items: center;
  margin: 1%;
}
@media (max-width: 768px) {
  .banner__item {
    width: calc(calc(100% / 2) - 2%);
  }
}
.banner__item img {
  width: 100%;
}

/*
=======================
→レスポンシブ設定
=======================
 */

@media (max-width: 1350px) {
  /* トップに戻るボタン */
  .ol_retop_btn__container {
    right: 5px;
    bottom: 5px;
    width: 100px;
  }
}

/* spグローバルナビ---- */
@media (max-width: 834px) {
  .gnav__list {
    width: calc(calc(100% / 3) - 1%);
  }
}
@media (max-width: 450px) {
  .gnav__list {
    width: calc(calc(100% / 2) - 1%);
  }
}

/* sp動画紹介---- */
@media screen and (min-width: 768px) {
  .movie__container_sp01 {
    display: none;
  } /*横幅768px以上では表示しない*/
  .movie__container_sp02 {
    display: none;
  } /*横幅768px以上では表示しない*/
}

@media screen and (max-width: 767px) {
  .movie__container_pc {
    display: none;
  } /*横幅767px以下では表示しない*/
}

/* sp外部リンク */
@media screen and (max-width: 450px) {
  .movie__link--container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }
}

/* sp電子書籍、マップ紹介---- */
@media screen and (max-width: 450px) {
  .ol_pamph_container {
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .pamph__item {
    margin: 30px auto;
  }
}

/* sp恵那のオンリーワンを見つけよう---- */

/* spみつけよう一覧 */
@media screen and (min-width: 768px) {
  .find__container_sp {
    display: none;
  } /*横幅768px以上では表示しない*/
}

@media screen and (max-width: 767px) {
  .find__container_pc {
    display: none;
  } /*横幅767px以下では表示しない*/
}

/* spタイトル周りイラスト */
@media (max-width: 1200px) {
  .find__title-img01 {
    width: 171px;
    position: absolute;
    top: -5%;
    left: 13%;
  }
  .find__title-img02 {
    width: 195px;
    position: absolute;
    top: -5%;
    right: 15%;
  }
}

@media (max-width: 1000px) {
  .find__title-img01 {
    width: 152px;
    position: absolute;
    top: -5%;
    left: 8%;
  }
  .find__title-img02 {
    width: 173px;
    position: absolute;
    top: -5%;
    right: 10%;
  }
}

@media (max-width: 800px) {
  .find__title-img01 {
    width: 108px;
    position: absolute;
    top: 0%;
    left: 2%;
  }
  .find__title-img02 {
    width: 124px;
    position: absolute;
    top: 0%;
    right: 3%;
  }
}

@media (max-width: 650px) {
  .ol_find_container {
    margin-top: 20%;
  }
  /* タイトル */
  .find__title {
    margin-top: 3%;
  }
  .find__title-img01 {
    width: 108px;
    position: absolute;
    top: -6%;
    left: 2%;
  }
  .find__title-img02 {
    width: 124px;
    position: absolute;
    top: -6%;
    right: 3%;
  }
  @media (max-width: 450px) {
    .ol_find_container {
      margin-top: 20%;
    }
    /* タイトル */
    .find__title {
      margin-top: 7%;
    }
    .find__title-img01 {
      width: 108px;
      position: absolute;
      top: -12%;
      left: 2%;
    }
    .find__title-img02 {
      width: 124px;
      position: absolute;
      top: -12%;
      right: 3%;
    }
  }
}

/* spフォトコン結果バナー */
@media screen and (max-width: 560px) {
  .photocon_banner {
    max-width: 400px;
    margin: 5% auto 2% auto;
  }
}

/* レスポンシブ設定 */
/* iPad Pro 設定*/
@media (max-width: 1024px) {
  .only-one_body {
    overflow: hidden;
  }
  .ena_prev04 {
    left: -18px !important;
  }

  .ena_next04 {
    right: -18px !important;
  }
  .subtitle_05 {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* iPad設定 */
@media (max-width: 768px) {
  .ena_slide-prev {
    left: -15px !important;
  }

  .ena_slide-next {
    right: -15px !important;
  }

  .ol_book_container {
    padding-bottom: 120px;
  }
}

/* モバイル設定 */
@media (max-width: 460px) {
  .kanren_book_pc {
    display: none;
  }
  .kanren_book_sp {
    display: block;
  }
  .ol_book_container {
    padding: 30px 0 50px 0;
  }
}

/* 背景のランダムに散らばってるやつ
-------------------------------------- */
.ol_movie_container {
  position: relative;
}
.sprinkle_pink {
  position: absolute;
  left: 8%;
  bottom: 3%;
  z-index: 0;
}
.sprinkle_pink img {
  width: 100%;
}

.ol_pamph_container {
  position: relative;
}
.splinkle_blue {
  position: absolute;
  right: 8%;
  bottom: 50%;
  z-index: 1;
}
.splinkle_blue img {
  width: 100%;
}

.sprinkle_purple01 {
  position: absolute;
  left: 3%;
  top: -3%;
  z-index: 1;
}
.sprinkle_purple01 img {
  width: 100%;
}

.sprinkle_orange {
  position: absolute;
  right: -2%;
  top: 55%;
  z-index: 1;
}
.sprinkle_orange img {
  width: 100%;
}

@media (max-width: 460px) {
  .sprinkle_orange {
    display: none;
  }
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-pagination {
  top: ;
}

/* 前ページ、次ページボタン共通のスタイル */
.swiper-button-prev,
.swiper-button-next {
  width: 48px!important; /* ボタンの幅 */
  height: 48px!important; /* ボタンの高さ */
  background-size: 48px 48px; /* 背景画像としてのサイズ（＝表示したい画像サイズ） */
  margin-top: -24px; /* 縦中央配置用：ボタンの高さの半分のネガティブマージン（top:50%がすでに設定されている） */
}

/* 次ページボタンのスタイル */
.swiper-button-next {
  background-image: url(../images/ena_next.png);
}
/* 前ページボタンのスタイル */
.swiper-button-prev {
  background-image: url(../images/ena_prev.png);
}
