@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+KR:wght@400;700&family=Noto+Sans+SC:wght@400;700&family=Noto+Sans+TC:wght@400;700&family=Noto+Serif:wght@400;700&family=Noto+Serif+JP:wght@400;700&family=Noto+Serif+KR:wght@400;700&family=Noto+Serif+SC:wght@400;700&family=Noto+Serif+TC:wght@400;700&display=swap');


*,
::before,
::after {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
a[href] {
  cursor: pointer;
}
@media (min-resolution: .001dpcm) {
  _:-o-prefocus, HTML {
    font-size:10px;
  };
}
html {
  color: #383636;
  font-size: 62.5%;
  -o-font-size: 10px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media only screen and
  (-webkit-min-device-pixel-ratio: 2),
  (min-resolution: 2dppx) {
    html {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
}
body {
  margin: 0 auto;
  font-size: 1.6rem;
  line-height:1;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;


  font-feature-settings: "palt";
  letter-spacing: 0.03em;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}


/* style */
.jp{
  font-family: 'Noto Serif JP', serif;
}
.en{
  font-family: 'Noto Serif', serif;
}
.sc{
  font-family: 'Noto Serif SC', serif;
}
.tc{
  font-family: 'Noto Serif TC', serif;
}
.kr{
  font-family: 'Noto Serif KR', serif;
}
.jp_serif,
.jp .serif {
  font-family: 'Noto Serif JP', serif;
}
.en_serif,
.en .serif {
  font-family: 'Noto Serif', serif;
}
.sc_serif,
.sc .serif {
  font-family: 'Noto Serif SC', serif;
}
.tc_serif,
.tc .serif {
  font-family: 'Noto Serif TC', serif;
}
.kr_serif,
.kr .serif {
  font-family: 'Noto Serif KR', serif;
}
.jp_sans,
.jp .sans {
  font-family: 'Noto Sans JP', sans-serif;
}
.en_sans,
.en .sans {
  font-family: 'Noto Sans', sans-serif;
}
.sc_sans,
.sc .sans {
  font-family: 'Noto Sans SC', sans-serif;
}
.tc_sans,
.tc .sans {
  font-family: 'Noto Sans TC', sans-serif;
}
.kr_sans,
.kr .sans {
  font-family: 'Noto Sans KR', sans-serif;
}


#container {
  width: 100%;
  min-height: 100vh;
  background-color: #f1f1f1;
  position: relative;
  background-image: url(/assets/img/bg_default.png);
}

/*トップ*/
#container .inner {
  width: 360px;
  min-height: 100vh;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 14px;
}
.logo {
  padding: 35px 0 33px;
}
.logo img {
  width: 160px;
  display: block;
  margin: 0 auto;
}
.btn {
  /* padding: 0 72px; */
  width: 240px;
  margin: 0 auto;
}
.btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  text-align: center;
  font-size: 2rem;
  height: 45px;
  color: #fff;
  font-weight: 400;
  padding: 10px 0;
  background-color: #383636;
  letter-spacing: 0.05em;
}
a.disabled {
  pointer-events: none;
  background-color: #969696;
}

p {
  margin-top: 40px;
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
}


/* 町家選択 */
.btn_machiya_solo {
  /* height: 45px; */
  display: flex;
  margin-bottom: 15px;
}
.btn_machiya_solo img {
  display: block;
  height: 100%;


  height: 45px;
}
.btn_machiya_solo a {
  flex: 1 0 auto;
  font-size: 2rem;
  margin-left: 1px;
  padding: 0 8px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;


  max-width: 194px;
  height: auto;
  line-height: 1.2;
}

.kr .btn_machiya_solo a {
  font-size: 1.6rem;
}
.en .btn_machiya_solo a {
  font-size: 1.3rem;
}


.btn_back {
  margin-top: 60px;
}
.btn_back a {
  width: 160px;
  height: auto;
  margin: 0 auto;
  font-size: 1.6rem;
  padding: 10px 0;
  background-color: #383636;
  letter-spacing: 0.05em;
}

/* 下層振り分け */
.gunsmith .logo img,
.yamaguchi .logo img,
.seigakuin .logo img {
  width: 200px;
}
.gunsmith .btn_back,
.yamaguchi .btn_back,
.seigakuin .btn_back {
  /* margin-top: 20px; */
  margin-bottom: 30px;
}

:root {
  --gunsmith: #5b3931;
  --yamaguchi: #666138;
  --seigakuin: #412a60;
}
.inner {
  background-repeat: repeat-y;
  background-size: 100%;
}
#container.gunsmith {
  background-image: url(/assets/img/bg_gunsmith.png);
}
#container.yamaguchi {
  background-image: url(/assets/img/bg_yamaguchi.png);
}
#container.seigakuin {
  background-image: url(/assets/img/bg_seigakuin.png);
}
.gunsmith a.corner {
  border: 2px solid var(--gunsmith);
}
.gunsmith a.corner span {
  background-color: var(--gunsmith);
}
.yamaguchi a.corner {
  border: 2px solid var(--yamaguchi);
}
.yamaguchi a.corner span {
  background-color: var(--yamaguchi);
}
.seigakuin a.corner {
  border: 2px solid var(--seigakuin);
}
.seigakuin a.corner span {
  background-color: var(--seigakuin);
}



/* 下層パーツ */

.btn_corner {
  width: 240px;
  margin: 0 auto;
  text-align-last: left;
}
.btn_corner a.corner {
  background-color: inherit;
  color: #383636;
  display: flex;
  align-items: center;
}
.btn_corner a span {
  color: #fff;
  font-size: 1.8rem;
  min-width: 50px;
  height: 32px;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 4px 5px 6px;
}
.btn_corner a {
  display: block;
  margin-bottom: 15px;
  /* text-align: center; */
  font-size: 2rem;
  color: #fff;
  font-weight: 400;
  padding: 4px;
  background-color: #383636;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.kr .btn_corner a {
  font-size: 1.6rem;
}
.en .btn_corner a {
  font-size: 1.3rem;
}
.btn_corner a i {
  /* display: contents; */
}


.name {
  font-weight: 700;
  margin: 15px 0 13px;
}
.name::before {
  content: "■";
}
.img img:not(:last-child) {
  margin-bottom: 10px;
}
.caption {
  display: block;
  width: 100%;
  text-align: right;
  font-size: 1.3rem;
  line-height: 1.3;
}
.txt {
  margin: 0 10px;
  line-height: 1.6;
}
.txt .title {
  min-height: 2.4em;
  margin: 20px 0 18px;
  padding-left: 1em;
  border-left: 2px solid #383636;
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  line-height: 1.4;
  font-weight: 700;
}


/* フェードイン */
.name, .img, .txt{
	opacity: 0;
}
.img{
animation-delay: 0.2s;
}
.txt{
animation-delay: 0.4s;
}
.btn_back{
animation-delay: 0.6s;
}
.fadeUp {
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity: 0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}
