@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
    background: #f0f0ef;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

.movie {
    text-align : center;
    margin-top: 50px;
}

/* 大きな背景画像 */
.big-bg {
    background-size: cover;
    background-position: center top;
}

/* 見出し */
.page-title {
    font-size: 5rem;
    font-family: 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
}
.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #0bd solid;
    font-weight: normal;
}

/* ボタン */
.button {
    font-size: 1.2rem;
    background: #fff;
    color: #009bc6;
    border-radius: 10px;
    padding: 9px 16px;
    position: relative;
    top: 280px;
}
.button:hover {
    background: #0090aa;
}
.button2 {
    font-size: 1.2rem;
    background: #fff;
    color: #009bc6;
    border-radius: 10px;
    padding: 9px 16px;
}
.button2:hover {
    background: #0090aa;
}

/* iframe */
iframe {
    width: 100%;
}

/* HEADER
------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
}
.logo {
    width: 210px;
    margin-top: 1px;
}
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 60px;
    list-style: none;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}
.main-nav2 {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 60px;
    list-style: none;
}
.main-nav2 li {
    margin-left: 36px;
}
.main-nav2 a {
    color: #fff;
}
.main-nav2 a:hover {
    color: #0bd;
}
* {
  margin: 0;
  padding: 0;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
article {
  padding: 60px 15px 20px;
}
article p {
  margin-bottom: 1.5em;
}
article a {
  color: #0b8793;
}
h1 {
  color: #0b8793;
  font-size: 22px;
  margin-bottom: .7em;
}

#wrap {
  position: relative;
}
/* nav-toggle */
#nav-toggle {
  top: 14px;
  left: 14px;
  width: 30px;
  height: 27px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
  margin-top: 40px;
  margin-right: 40px;
}
#nav-toggle span {
  background: #0b8793;
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 11px;
}
#nav-toggle span:nth-child(3) {
  top: 22px;
}

/* nav-toggle animation */
.nav-open #nav-toggle span:nth-child(1) {
  top: 11px;
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
}
.nav-open #nav-toggle span:nth-child(2) {
  width: 0;
  left: 50%;
}
.nav-open #nav-toggle span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-315deg);
  transform: rotate(-315deg);
}


/* side-nav */
#side-nav {
  color: #fff;
  font-size: 17px;
  background: #0b8793;
  position: fixed;
  z-index: 1000;
  width: 400px;
  height: 100%;
  right: -400px;
  top: 0;
  padding: 20px;
}
#side-nav ul {
  list-style: none;
}
#side-nav ul li {
  padding: 10px;
}
#side-nav a {
  color: #fff;
  text-decoration: none;
}
#side-nav-btn {
  position: absolute;
  left: 400px;
}

/* HOME
------------------------------- */
#home {
    background-image: url(../images/main-bg.jpg);
    min-height: 100vh;
}
#home .page-title {
    text-transform: none;
}
.home-content {
    text-align: center;
    margin-top: 10%;
}
.home-content p {
    font-size: 1.125rem;
    margin: 10px 0 42px;
}

/* NEWS
------------------------------- */
#news {
    background-image: url(../images/news-bg.jpg);
    height: 270px;
    margin-bottom: 40px;
}
#news .page-title {
    text-align: center;
}
.news-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

/* 記事部分 */
article {
    width: 74%;
}
.post-info {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}
.post-date {
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}
.post-date span {
    font-size: 1rem;
    border-top: 1px rgba(255,255,255,.5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 2rem;
    font-weight: normal;
}
.post-title,
.post-cat {
    margin-left: 120px;
}
article img {
    margin-bottom: 20px;
}
article p {
    margin-bottom: 1rem;
}

/* サイドバー */
aside {
    width: 22%;
}
.sub-menu {
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu li {
    border-bottom: 1px #ddd solid;
}
.sub-menu a {
    color: #432;
    padding: 10px;
    display: block;
}
.sub-menu a:hover {
    color: #0bd;
}
aside p {
    padding: 12px 10px;
}

/* MENU
------------------------------- */
#menu {
    background-image: url(../images/menu-bg.jpg);
    min-height: 100vh;
}
.menu-content {
    max-width: 670px;
    margin-top: 10%;
}
.menu-content .page-title {
    text-align: center;
}
.menu-content h3 {
    font-size: 2rem;
    text-align: center;
}
.menu-content p {
    font-size: 1.125rem;
    text-align: center;
    margin-top: 5%;
}
.grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 0.8fr 0.8fr 0.8fr;
    text-align: center;
}
.item {
  position: relative;  /* 帯の表示位置の基準とする */
}
.item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.item p {
  font-size: 0.8rem;
  color: #3b82c4;
  text-align: center;
  text-transform: uppercase;
  width: 100%;         /* 画像の幅に合わせるため */
  padding: 40px 0;
  position: absolute;  /* relativeの要素を基準にする */
  left: 0;             /* 基準からみて左寄せ */
  bottom: 0;           /* 基準からみて下寄せ */
  background: rgba( 255, 255, 255, 0.8 );  /* 半透明の背景。 */
}
.item2 {
  position: relative;  /* 帯の表示位置の基準とする */
  text-align: center
}
.item2 img {
  max-width: 80%;
  object-fit: cover;
}
.item2 p {
  font-size: 0.8rem;
  color: #3b82c4;
  text-align: center;
  width: 100%;         /* 画像の幅に合わせるため */
  padding: 20px 0;
  position: absolute;  /* relativeの要素を基準にする */
  left: 0;             /* 基準からみて左寄せ */
  bottom: 0;           /* 基準からみて下寄せ */
  background: rgba( 255, 255, 255, 0.7 );  /* 半透明の背景。 */
}
.title {
    font-size: 1rem;
    text-align: center;
    padding-bottom: 50px;
  }

/* CONTACT
------------------------------- */
#contact {
    background-image: url(../images/contact-bg.jpg);
    min-height: 100vh;
}
#contact2 {
    background-image: url(../images/profile.jpg);
    min-height: 100vh;
}

/* フォーム */
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,.5);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 240px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}
/* SNS */
#sns {
    background: #fff;
    padding: 4% 0;
}
#sns .wrapper {
    display: flex;
    justify-content: space-between;
}
#sns .sub-title {
    margin-bottom: 30px;
}
.sns-box {
    width: 100%;
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background: #999;
}

.element {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}
/* フェードイン時に入るクラス */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

  .swiper{
    padding:0 50px;
  }
  
  .swiper-wrapper {
    /* wrapperのサイズを調整 */
    width: 100%;
  }
  
  .swiper-slide {
    /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
    color: #f0f0ef;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 150px;
    padding-top: 50px;
  }
  
  .swiper-slide:nth-child(3n + 1) {
    background-color: #f0f0ef;
  }
  
  .swiper-slide:nth-child(3n + 2) {
    background-color: #f0f0ef;
  }
  
  .swiper-slide:nth-child(3n + 3) {
    background-color: #f0f0ef;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 28px; /* ボタンの幅 */
    height: 44px; /* ボタンの高さ */
    background-size: 28px 44px; /* 表示したいサイズ */
    transform: translateY(-50%);
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    opacity: 0.8;
  }
  
  /* 次ページボタンのスタイル */
  .swiper-button-next {
    background-image: url('https://kiomiru.co.jp/blog/wp-content/uploads/2021/09/img_arrow_black_01.png');
  }
  
  /* 前ページボタンのスタイル */
  .swiper-button-prev {
    background-image: url('https://kiomiru.co.jp/blog/wp-content/uploads/2021/09/img_arrow_black_01.png');
    transform: translateY(-50%) scale(-1, 1); /* 左右反転 */
  }
  
  .swiper-button-prev:after,
  .swiper-button-next:after {
   display: none;
  }

  .swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    margin: 0 0 0 10px !important;
    background: #333 !important;
  }

/* フッター
------------------------------- */
footer {
    background: #432;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/* モバイル版
------------------------------- */
@media (max-width: 600px) {
  .movie {
    height: 600px;
    width: 100%;
    text-align: center;
  }
  .page-title {
      font-size: 3rem;
      font-family: 'Philosopher', serif;
      text-transform: uppercase;
      font-weight: normal;
  }
  .menu-content {
      max-width: 300px;
  }
  .menu-content .page-title {
      text-align: center;
  }
  .menu-content h3 {
      font-size: 1.2rem;
      text-align: center;
  }
  .menu-content p {
      font-size: 0.8rem;
      text-align: center;
      margin-top: 5%;
  }
  .page-header h1{
      margin-top: -10px;
      margin-left: -40px;
  }
  .grid {
      display: grid;
      gap: 24px;
      grid-template-columns: 1fr;
      text-align: center;
  }
  .title {
    font-size: 0.5rem;
    text-align: center;
    padding-bottom: 50px;
  }
  .item2 img {
    max-width: 95%;
    object-fit: cover;
  }
  .big-bg {
      background-size: 160%;
      background-position: center;
      margin-bottom: -200px;
  }
  .main-nav {
      display: flex;
      font-size: 1rem;
      text-transform: uppercase;
      margin-top: 20px;
      list-style: none;
  }
  .swiper-slide {
    /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
    color: #f0f0ef;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 100px;
    padding-top: 20px;
    opacity: 0.8;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 20px; /* ボタンの幅 */
    height: 36px; /* ボタンの高さ */
    background-size: 20px 36px; /* 表示したいサイズ */
    transform: translateY(-50%);
    margin-top: -10px;
    margin-left: 0px;
    margin-right: 0px;
  }
    /* 次ページボタンのスタイル */
    .swiper-button-next {
      background-image: url('https://kiomiru.co.jp/blog/wp-content/uploads/2021/09/img_arrow_black_01.png');
    }
    /* 前ページボタンのスタイル */
    .swiper-button-prev {
      background-image: url('https://kiomiru.co.jp/blog/wp-content/uploads/2021/09/img_arrow_black_01.png');
      transform: translateY(-50%) scale(-1, 1); /* 左右反転 */
    }
    .swiper-pagination-bullet {
      width: 10px !important;
      height: 10px !important;
      margin: 0 0 0 8px !important;
      background: #333 !important;
    }

}
