@charset "UTF-8";

/* === 全体にかかる設定 =============== */

/* 基本設定 */
html {
  font-size: 16px;
}

body {
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* コンテナの左右の余白 */
.container {
  padding: 0 15px;
}

/* 画像の幅 */
img {
  width: 100%;
}

/* === 見出し =============== */

h2 {
  margin: -4rem 0 2rem 0;
  padding: 0.5rem 1rem;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  line-height: 1;
}

/* === リンク色 =============== */

/* 標準 */
a:link {
  color: #36f;
  text-decoration: none;
}

a:visited {
  color: #69f;
}

a:hover {
  color: #f30;
}

a:active {
  color: #fc0;
}

/* 黒いリンク文字 */
.black_link a:link {
  color: #333;
  text-decoration: none;
}

.black_link a:visited {
  color: #666;
}

.black_link a:hover {
  color: #36f;
}

.black_link a:active {
  color: #f30;
}

/* 白いリンク文字 */
.white_link a:link {
  color: #fff;
  text-decoration: none;
}

.white_link a:visited {
  color: #fff;
}

.white_link a:hover {
  color: #fc0;
}

.white_link a:active {
  color: #f30;
}


.section p {
  margin-bottom: 0;
font-family: 'Hiragino Mincho ProN', 'MS 明朝', 'Yu Mincho', serif;
}

/*
.text {*/
/* もともともはsvh スマホの高さサイズ
  height: 100svh; */
/* flexbox
  display: grid;*/

/* align-items と justify-items の一括指定
  place-items: center;
  font-size: max(18px, 2.5vw);
}*/

.section {
  /* もともともはsvh スマホの高さサイズ */
  height: 100vh;
  /* 位置の指定 */
  position: relative;

  background-color: #fff;
  color: #333;
}

.section.sougyou {
  background-image: url(images/wakaebis.jpg);
  background-size: 170%;
  background-position: left center;
  background-repeat: no-repeat;
  background-color: #000 !important;
}

.section:nth-child(even) {
  background-color: #111;
  color: #fff;
}

.section:nth-of-type(2) {
  background-image: url(images/godaime.jpg);
  background-size: 150%;
  background-position: right top;
  background-repeat: no-repeat;
}

.section:nth-of-type(3) {
  background-image: url(images/nakamura.jpg);
  background-size: 170%;
  background-position: left bottom;
  background-repeat: no-repeat;
  background-color: #000 !important;
}

.section:nth-of-type(4) {
  background-image: url(images/gizaemon.jpg);
  background-size: cover;
  background-position: center;
  color: #333;
  background-color: #fff !important;
}

.section:nth-of-type(5) {
  background-image: url(images/reiwa.jpg);
  background-size: cover;
  background-position: center bottom;
  color: #fff;
}


/* 以下、背景色の指定
.section:nth-of-type(1) {
  background-color: #111;
}

.section:nth-of-type(2) {
  background-color: #333;
}

.section:nth-of-type(3) {
  background-color: #666;
}

.section:nth-of-type(4) {
  background-color: #999;
}

.section:nth-of-type(5) {
  background-color: #ccc;
}
*/
.section__inner {
  /* 配置 */
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* height: inherit; であるべき？ */
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

h2 {
  /* 高さの割合 */
  margin-bottom: 2vw;
  text-align: center;
  font-size: 4.5vw;
  font-weight: bold;
  line-height: 1.5;
}

p {
  padding: 0 30px;
  text-align: center;
  font-size: 3vw;
  line-height: 2;
}

p span {
  white-space: nowrap;
}


/* === ボタン =============== */

.btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin: 0 auto;
  padding: .7em 3em .7em 2em;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
  font-size: 1em;
}

.btn a::after {
  position: absolute;
  right: 1.5em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: .5em;
  background-color: #000;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: transform .3s;
}

.btn a:hover::after {
  transform: translateY(-50%) scaleX(1.4);
}

/* === フッター =============== */

footer {
  padding: 2rem 2rem 0 1rem 0;
  text-align: center;
  line-height: 4;
  font-size: 0.9rem;
  background-color: #ddd;
}

footer .container {
  position: relative;
}

footer a {
  display: block;
  padding: 1rem 1rem;
  line-height: 1;
  font-feature-settings: "palt";
  color: #333 !important;
  font-weight: bold;
  letter-spacing: 0.1rem;
  text-align: center;
  width: 100%;
}
footer a:hover {
  color: #666 !important;
}

address {
  padding: 1rem 0;
}

.admin_name {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
}

/* === 戻るボタン =============== */

.back_btn {
  margin: 0;
}

.back_btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto 0 auto;
  padding: .7em 3em .7em 2em;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
  font-size: 1em;
  font-family: 'Hiragino Mincho ProN', 'MS 明朝', 'Yu Mincho', serif;
  max-width: 380px;
}

.back_btn a::after {
  position: absolute;
  right: 1.5em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: .5em;
  background-color: #000;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: transform .3s;
}

.back_btn a:hover::after {
  transform: translateY(-50%) scaleX(1.4);
}

/* === メディアクエリ =============== */

@media (min-width:600px) {
  body {
    line-height: 2;
  }
p {
  font-size: 18px;
}

h2 {
  font-size: 3.2vw;
}
}

@media (min-width:1025px) {
  .container {
    width: 1025px;
    margin: 0 auto;
  }
  .section.sougyou {
    background-size: cover;
    background-position: center;
  }
  .section:nth-of-type(2) {
    background-size: cover;
    background-position: center;
  }
  .section:nth-of-type(3) {
    background-size: cover;
    background-position: center;
  }
}


/* === 改行 =============== */


.disp_pc {
  display: none;
}

@media (min-width:600px) {

  .disp_sp {
    display: none;
  }

  .disp_pc {
    display: inline;
  }

}