@charset "utf-8";

/* font */
@font-face {
  font-family: 'ysdktnb';
  src: url('../font/YSDKTNB-Regular.woff') format('woff'), url('../font/YSDKTNB-Regular.woff2') format('woff2'), url('../font/YSDKTNB-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ysdktnb_italic';
  src: url('../font/YSDKTNB-Italic.woff') format('woff'), url('../font/YSDKTNB-Italic.woff2') format('woff2'), url('../font/YSDKTNB-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* base */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 15px;
}

body {
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-feature-settings: "palt"1;
  font-kerning: normal;
  -webkit-font-kerning: normal;
  line-height: 1.7;
  letter-spacing: 0.002em;
  font-family: YakuHanMPs, 'ysdktnb', 'Zen Old Mincho', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-align: center;
  margin: 0;
  padding: 0;
  background-color: #FFF;
  color: #121212;
}

body.study {
  background-color: #E2E2E0;
}

img {
  vertical-align: bottom;
  height: auto;
  width: 100%;
}

::selection {
  background: #6B6A6B;
  color: #F1F1F1;
}

::-moz-selection {
  background: #F1F1F1;
}

/* link */
a:link,
a:visited,
a:active {
  color: #121212;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#wpadminbar .ab-empty-item,
#wpadminbar a.ab-item,
#wpadminbar>#wp-toolbar span.ab-label,
#wpadminbar>#wp-toolbar span.noticon {
  color: #F1F1F1 !important;
}

/* fadein */
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s;
}

/* iOS */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
}

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}

input[type="radio"] {
  display: inline-block;
}

input[type="radio"]:checked+label {
  background: #ff0000;
}

/* text */
.en {
  font-family: YakuHanMPs, 'ysdktnb', 'Zen Old Mincho', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 0.01em;
  font-size: 0.95em;
  line-height: 1.6;
}

.italic {
  font-family: 'ysdktnb_italic', "IBM Plex Serif", serif;
  letter-spacing: 0.01em;
  font-size: 0.95em;
  line-height: 1.6;
}

.spbr {
  display: none !important;
}

.pcbr {
  display: block !important;
}

/* button */
.line_link {
  border-bottom: 1px solid #707070;
  font-size: 0.9em;
  padding-bottom: 5px;
}

.line_link a {
  display: block;
  color: #121212;
  width: 100%;
  position: relative;
}

.line_link a:after {
  font-family: 'ysdktnb', "IBM Plex Serif", serif;
  content: '↗︎';
  font-size: 0.8em;
  position: absolute;
  right: 0.2em;
  bottom: 0.2em;
}

.button_link {
  border: 1px solid #707070;
  background-color: #E2E2E0;
  font-size: 0.9em;
  border-radius: 30px;
}

.study .button_link {
  background-color: #FFF;
}

.button_link a {
  display: block;
  color: #121212;
  width: 100%;
  height: 100%;
  padding: 8px 0;
  position: relative;
}

/* pagein */
.pagein {
  animation: .6s pageIn .8s forwards;
  -webkit-animation: .6s pageIn .8s forwards;
  opacity: 0;
}

@keyframes pageIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes pageIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

/* lazyload */
#gallery_list li picture img {
  opacity: 0;
}

#gallery_single img {
  opacity: 0;
}

#study_single img {
  opacity: 0;
}

img.lazyloaded {
  -webkit-transition: opacity .5s !important;
  transition: opacity .5s !important;
  opacity: 1 !important;
}

/* sp */
@media screen and (max-width: 600px) {
  html {
    font-size: 14px;
  }

  .spbr {
    display: block !important;
  }

  .pcbr {
    display: none !important;
  }
}

/* media screen */
@media screen and (min-width: 601px) and (max-width: 1280px) {
  html {
    font-size: 12px;
  }
}

@media screen and (min-width: 1281px) and (max-width: 1300px) {
  html {
    font-size: 12.18px;
  }
}

@media screen and (min-width: 1301px) and (max-width: 1325px) {
  html {
    font-size: 12.36px;
  }
}

@media screen and (min-width: 1326px) and (max-width: 1350px) {
  html {
    font-size: 12.54px;
  }
}

@media screen and (min-width: 1351px) and (max-width: 1375px) {
  html {
    font-size: 12.72px;
  }
}

@media screen and (min-width: 1376px) and (max-width: 1400px) {
  html {
    font-size: 12.9px;
  }
}

@media screen and (min-width: 1401px) and (max-width: 1425px) {
  html {
    font-size: 13.08px;
  }
}

@media screen and (min-width: 1426px) and (max-width: 1450px) {
  html {
    font-size: 13.26px;
  }
}

@media screen and (min-width: 1451px) and (max-width: 1475px) {
  html {
    font-size: 13.44px;
  }
}

@media screen and (min-width: 1476px) and (max-width: 1500px) {
  html {
    font-size: 13.62px;
  }
}

@media screen and (min-width: 1501px) and (max-width: 1525px) {
  html {
    font-size: 13.8px;
  }
}

@media screen and (min-width: 1526px) and (max-width: 1550px) {
  html {
    font-size: 13.98px;
  }
}

@media screen and (min-width: 1551px) and (max-width: 1575px) {
  html {
    font-size: 14.16px;
  }
}

@media screen and (min-width: 1576px) and (max-width: 1600px) {
  html {
    font-size: 14.34px;
  }
}

@media screen and (min-width: 1601px) and (max-width: 1625px) {
  html {
    font-size: 14.52px;
  }
}

@media screen and (min-width: 1626px) and (max-width: 1650px) {
  html {
    font-size: 14.7px;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1675px) {
  html {
    font-size: 14.88px;
  }
}

@media screen and (min-width: 1676px) and (max-width: 1700px) {
  html {
    font-size: 15px;
  }
}