@charset "utf-8";

body {
  margin: 0;
  font-family: yu-mincho-pr6n, sans-serif;
}

.container {
  padding: 0 16px 0 16px;
}

section .container {
  display: flex;
  flex-flow: column;
}


/*スクロールアニメーション*/
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: .8s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


/*画像の縮小設定*/
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}



/* ナビ */
.nav .container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.nav .container {
  transition: top .3s ease;
}

.nav .container.hide {
  top: -70px;
}

/* メニューボタン */
.menu-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;
  border: none;
  background: url(../images/menuba40x40.png) no-repeat center;
  background-size: contain;
  cursor: pointer;
  z-index: 101;
}

.menu-btn.open {
  background-image: url(../images/menubaopen40x40.png);
}

/* メニューボタン表示 */
.menu-btn {
  display: none;
}


.profile-menu {
  font-weight: bold;
}


.nav.scrolled .title a,
.nav.scrolled .navbar li a {
  color: #fff;
}

/*画像と文章*/
.row {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 95%;
  margin: 0 auto;
}

.reverse {
  flex-direction: row-reverse;
}

.image,
.text {
  flex: 1;
}

.text {
  max-width: 600px;
  line-height: 1.8;

}

.text p {
  margin-bottom: 1.1em;
  line-height: 1.8;
}

/*改行*/
.br-sp {
  display: none;
}


.name-1 {
  font-weight: bold;
  font-size: 1.5em;
}

.image {
  position: relative;
  /* 追加 */
  overflow: hidden;
  /* はみ出し防止 */
}

.image img {
  display: block;
  width: 100%;
}

.image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fade-left::after {
  background: linear-gradient(to right,
      #fff 0%,
      transparent 40%);
}

.fade-right::after {
  background: linear-gradient(to left,
      #fff 0%,
      transparent 40%);
}

.image.fade-left {
  width: 90%;
}


.footer-inner {
  text-align: center;
  font-size: 0.5em;
}

/* ---------- スマホ用 ---------- */
@media only screen and (max-width:767px) {

  .row,
  .reverse {
    flex-direction: column;
  }

  /*ナビ*/
  .nav .container {
    position: fixed;
  }

  section .container {
    padding: 0 16px;
  }

  .nav .container {
    padding: 0;
  }

  .br-sp {
    display: none;
  }

  /* メニューボタン */
  .menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 101;
  }

  .row {
    display: flex;
    align-items: center;
    gap: 0px;
    width: 100%;
    margin: 0 auto;
  }


  /* メニュー（初期状態は非表示） */
  #menu {
    display: none;
  }

  /* 開いたときだけ表示 */
  #menu.open {
    display: block;
    position: absolute;
    top: 70px;
    /* ヘッダーの高さに合わせる */
    left: 0;
    width: 100%;
    background: rgba(181, 153, 72, 0.8);
    z-index: 100;
  }

  /* メニュー縦並び */
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 20px 0;
  }

  .navbar li {
    flex: none;
    width: 100%;
  }

  .navbar li a {
    display: block;
    text-align: center;
    padding: 15px 0;

    color: #fff;
    font-size: 1.4em;
    text-decoration: none;
    white-space: nowrap;
    padding: 20px 0;
  }

  /* スクロール後 */
  .nav .container {
    background: rgba(181, 153, 72, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  .title a,
  .nav.scrolled .navbar li a {
    color: #fff;
  }

  /*画面、文章を縦並び*/
  .row.reverse {
    flex-direction: column !important;
  }

  .text {
    width: 90%;
    text-wrap: normal;
    text-align: left;
  }

}

/* ---------- PC用 ---------- */
@media only screen and (min-width:768px) {

  /* メニュー横並び */
  .nav {
    height: 100px;
  }

  .nav .container nav {
    width: 100%;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background: rgba(181, 153, 72, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  .navbar li a {
    display: block;
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 15px;
  }

  .navbar li.profile-menu a {
    position: relative;
    display: inline-block;
  }



  /* ナビゲーション */
  .navbar li {
    flex: 1;
    text-align: center;
  }

  /*サブ*/
  .navbar li a:hover {
    transform: scale(1.1);
  }

  .main-inner {
    padding: 0px 10px 50px 10px;
    background: #fff;
  }

  main p {
    margin: 0;
  }

  .row {
    flex-direction: row;
  }

  .row.reverse {
    flex-direction: row-reverse;
  }


  /*ナビゲーション*/

  .main-inner {
    background: #fff;
  }

  #menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .navbar {
    justify-content: center;
  }

}

/* ---------- 1680px幅 ---------- */
@media only screen and (max-width: 1680px) {

  .nav {
    height: 80px;
  }
}