/*! Yaku Han JP (Gothic - All Include) v3.0.0 SIL by Qrac / Based on Noto Sans CJK JP */
@font-face {
  font-family: "YakuHanJP";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/YakuHanJP/YakuHanJP-Regular.eot");
  src: url("/fonts/YakuHanJP/YakuHanJP-Regular.woff2") format("woff2"), url("/fonts/YakuHanJP/YakuHanJP-Regular.woff") format("woff");
}

@font-face {
  font-family: "YakuHanJP";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/YakuHanJP/YakuHanJP-Medium.eot");
  src: url("/fonts/YakuHanJP/YakuHanJP-Medium.woff2") format("woff2"), url("/fonts/YakuHanJP/YakuHanJP-Medium.woff") format("woff");
}

@font-face {
  font-family: "YakuHanJP";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/YakuHanJP/YakuHanJP-Bold.eot");
  src: url("/fonts/YakuHanJP/YakuHanJP-Bold.woff2") format("woff2"), url("/fonts/YakuHanJP/YakuHanJP-Bold.woff") format("woff");
}

/* ============================================================
 common
============================================================ */
html {
  font-size: 62.5%;
}

body {
  font-size: 1.6em;
  -webkit-font-smoothing: antialiased;
}

.button__cave-in {
  transition: all .3s ease;
  box-shadow: 0px 2px 1px 0 #b0b0b0;
}

.button__cave-in:hover {
  transform: translateY(3px);
  box-shadow: none;
}

b {
  font-weight: 700;
}

/* ============================================================
 wrapper
============================================================ */
.wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 7px 0 70px;
  color: #35312f;
  font-family: 'YakuHanJP', 'NotoSansCJKjp-Regular';
}

.wrapper .article .mt30,
.wrapper .sidebar .mt30 {
  margin-top: 30px;
}

.wrapper .article .mt80,
.wrapper .sidebar .mt80 {
  margin-top: 80px;
}

.wrapper .article .mb30,
.wrapper .sidebar .mb30 {
  margin-bottom: 30px;
}

.wrapper .article .mb60,
.wrapper .sidebar .mb60 {
  margin-bottom: 60px;
}

/* ============================================================
 article
============================================================ */
.article {
  width: 100%;
  max-width: 670px;
}

.article__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 25px 0 9px;
  line-height: 1.4;
}

.article__info-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.article__date {
  font-size: 1.4rem;
  line-height: 2;
}

.article__categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 0 0 37px;
}

.article__categories__category {
  border-radius: 12px;
  font-size: 1.2rem;
  text-decoration: underline;
  line-height: 1;
  border: 1px solid #6c5b52;
  color: #6c5b52;
  padding: 4px 12px 5px;
  min-width: 78px;
  text-align: center;
}

.article__categories__category:not(:last-child) {
  margin: 0 6px 0 0;
}

.article .hrizonal-line {
  width: 100%;
  height: 1px;
  border-top: 1px solid #dcdcdc;
  margin: 11px 0;
}

.article__heading-lg {
  position: relative;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 0 11px;
  margin: 40px 0 30px;
}

.article__heading-lg::after {
  content: '';
  position: absolute;
  background: #a3ca0f;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0;
}

.article__heading-md {
  position: relative;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 0 0 23px;
  margin: 30px 0 20px;
}

.article__heading-md::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #a3ca0f;
  border-radius: 50%;
  top: 15%;
  left: 0;
}

.article__text {
  font-size: 1.5rem;
  line-height: 1.5;
  word-break: break-all;
  margin: 0 0 33px;
}

.article__img-main, .article__img-lg {
  width: 100%;
  margin: 0 0 20px;
}

.article__img__text {
  font-size: 1.3rem;
  color: #6c5b52;
  letter-spacing: 0;
  margin: 20px 0;
}

.article__references {
  width: 100%;
  padding: 30px 30px 40px 25px;
  background: #f4f5f1;
  font-size: 1.5rem;
  line-height: 1.6;
}

.article__use-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0 0 70px;
}

.article__use-item__img {
  min-width: 160px;
  min-height: 160px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article__use-item__img > img {
  height: 110px;
  width: auto;
}

.article__use-item__desc {
  margin: 0 0 0 40px;
}

.article__use-item__desc__name {
  font-size: 1.7rem;
  color: #669219;
}

.article__use-item__desc__text {
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 15px 0 20px;
}

.article__use-item__desc__detail-button {
  display: block;
  width: 190px;
  height: 40px;
  border-radius: 5px;
  background-color: #a3ca0f;
  color: #ffffff;
  line-height: 40px;
  text-align: center;
  font-size: 1.5rem;
  background-image: url(../../img/pc/choitashi/icon_link.png);
  background-repeat: no-repeat;
  background-position: 90% 50%;
  background-size: 17px;
}

/* ============================================================
 sns
============================================================ */
.sns-share {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 50px;
}

.sns-share__hukidashi {
  position: relative;
  display: inline-block;
  margin: 0 15px 0 0;
  padding: 4px 16px;
  width: 100px;
  font-size: 12px;
  letter-spacing: 0;
  border: solid 1px #dcdcdc;
  box-sizing: border-box;
}

.sns-share__hukidashi::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  margin: -7px 0 0;
  border: 7px solid transparent;
  border-left: 7px solid #FFF;
  z-index: 2;
}

.sns-share__hukidashi::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  margin: -7px 0 0;
  border: 7px solid transparent;
  border-left: 7px solid #dcdcdc;
  z-index: 1;
}

.sns-share__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.sns-share__buttons__button {
  position: relative;
  width: 170px;
  line-height: 30px;
  border-radius: 5px;
  padding: 0 0 0 85px;
  background-size: 19px auto;
  background-position: 10% 50%;
  background-repeat: no-repeat;
  font-weight: 700;
}

.sns-share__buttons__button a,
.sns-share__buttons__button a:visited {
  color: initial;
  text-decoration: none;
}

.sns-share__buttons__button:not(:last-child) {
  margin: 0 20px 0 0;
}

.sns-share__buttons__button.button__twitter {
  background-color: #55acee;
  color: #ffffff;
  font-size: 1.8rem;
  background-image: url(../../img/pc/choitashi/share_icon_twitter.png);
}

.sns-share__buttons__button.button__hatebu {
  background-color: #00a4de;
  color: #ffffff;
  font-size: 1.8rem;
  background-image: url(../../img/pc/choitashi/share_icon_hatebu.png);
}

.sns-share__buttons__button.button__share {
  border: solid 1px #dcdcdc;
  color: #35312f;
  background-image: url(../../img/pc/choitashi/share_icon_share.png);
  box-shadow: 0px 2px 1px 0 #b0b0b0;
  transition: all .3s ease;
  cursor: pointer;
}

.sns-share__buttons__button.button__share.button__share--visible {
  box-shadow: none;
  transform: translateY(3px);
}

.sns-share__buttons__button.button__share .sns-childs {
  position: absolute;
  bottom: 145%;
  width: 111%;
  left: -5.5%;
  height: 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0 10px 0;
  justify-content: space-around;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  transition: all .7s ease;
  visibility: hidden;
  opacity: 0;
}

.sns-share__buttons__button.button__share .sns-childs.sns-childs--visible {
  visibility: visible;
  opacity: 1;
}

.sns-share__buttons__button.button__share .sns-childs::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  margin-left: -8px;
  border: 7px solid transparent;
  border-top: 7px solid #FFF;
  z-index: 2;
}

.sns-share__buttons__button.button__share .sns-childs::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  margin-left: -8px;
  border: 7px solid transparent;
  border-top: 7px solid #b0b0b0;
  z-index: 1;
}

.sns-share__buttons__button.button__share .sns-childs__child {
  width: 35px;
  min-height: 35px;
}

.sns-share__buttons__button.button__share .sns-childs__child-pocket {
  width: 40px;
}

/* ============================================================
 slidebar
============================================================ */
.sidebar {
  width: 280px;
}

.sidebar__logo {
  width: 186px;
  height: auto;
  margin: 0 auto;
}

.sidebar__about {
  margin: 0 0 35px;
}

.sidebar__about__desc {
  font-size: 1.2rem;
  color: #6c5b52;
  margin: 20px 0 15px;
  line-height: 1.5;
}

.sidebar__about__desc__title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 10px;
}

.sidebar__about__beginner, .sidebar__about__challenge {
  width: 100%;
  border-radius: 6px;
  padding: 12px 15px 11px;
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0;
  background-repeat: no-repeat;
  background-size: auto 57px;
  background-position: 96% 50%;
}

.sidebar__about__beginner__title, .sidebar__about__challenge__title {
  color: #ffffff;
  width: 93px;
  border-radius: 11.5px;
  text-align: center;
  margin: 0 0 6px;
  padding: 5.5px 0;
  line-height: 1;
  letter-spacing: 1.3px;
}

.sidebar__about__beginner {
  margin: 0 0 4px;
  background-color: #e4ecfb;
  background-image: url(../../img/pc/choitashi/bg_beginner.png);
}

.sidebar__about__beginner__title {
  background-color: #8fabe6;
}

.sidebar__about__challenge {
  background-color: #f8e7e7;
  background-image: url(../../img/pc/choitashi/bg_challenge.png);
}

.sidebar__about__challenge__title {
  background-color: #e68f8f;
}

.sidebar__links {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar__links__link-img:first-child {
  margin: 0 0 8px;
}

.sidebar__sns {
  margin: 40px 0 0;
}

.sidebar__sns__title {
  line-height: 1;
}

.sidebar__sns__title::before {
  content: '';
  width: 4px;
  height: 22px;
  border-left: 4px solid #a3ca0f;
}

.sidebar__sns__desc {
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 18px 0;
}

.sidebar__sns__ac {
  display: flex;
  flex-direction: column;
}

.sidebar__sns__ac__twitter, .sidebar__sns__ac__instagram {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  color: #ffffff;
  padding: 0 0 0 90px;
  line-height: 50px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  background-size: 32px auto;
  background-repeat: no-repeat;
  background-position: 13px 50%;
}

.sidebar__sns__ac__twitter {
  margin: 0 0 6px;
  background-color: #55acee;
  background-image: url(../../img/pc/choitashi/sns_icon_twitter.png);
}

.sidebar__sns__ac__instagram {
  background-color: #d93177;
  background-image: url(../../img/pc/choitashi/sns_icon_instagram.png);
}

/* ============================================================
	sp & tablet
============================================================ */
@media screen and (max-width: 768px) {
  /* ============================================================
     wrapper
    ============================================================ */
  .wrapper {
    flex-direction: column;
    padding: 0 0 70px;
  }
  /* ============================================================
     article
    ============================================================ */
  .article {
    width: 100%;
    max-width: initial;
  }
  .article__title {
    font-size: 2.3rem;
    padding: 0 3.33333vw;
  }
  .article__info-wrapper {
    padding: 0 3.33333vw;
    flex-direction: column;
  }
  .article__date {
    margin: 0 auto 0 0;
  }
  .article__categories {
    margin: 0 auto 0 0;
  }
  .article .hrizonal-line {
    width: calc(100% - calc(3.33333vw * 2));
    margin: 11px auto;
  }
  .article__heading-lg {
    padding: 0 3.33333vw 11px;
    font-size: 2.1rem;
  }
  .article__heading-lg::after {
    width: calc(100% - calc(3.33333vw * 2));
    left: 3.33333vw;
  }
  .article__heading-md {
    font-size: 2rem;
    padding: 0 3.33333vw 0 calc(3.33333vw + 23px);
  }
  .article__heading-md::before {
    left: 3.33333vw;
  }
  .article__text {
    padding: 0 3.33333vw;
    font-size: 1.6rem;
    line-height: 1.6;
  }
  .article__img-main {
    width: 100%;
    margin: 0 0 20px;
  }
  .article__img-lg {
    width: calc(100% - calc(3.33333vw * 2));
    margin: 0 auto 30px;
  }
  .article__img__text {
    font-size: 1.5rem;
    padding: 0 3.33333vw;
    margin: 20px 0;
  }
  .article__references {
    width: calc(100% - calc(3.33333vw * 2));
    padding: 9.33333vw 5.33333vw 12vw;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.5;
  }
  .article__use-item {
    flex-direction: column;
    margin: 0 0 70px;
  }
  .article__use-item__img {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }
  .article__use-item__img > img {
    height: 165px;
    width: auto;
  }
  .article__use-item__desc {
    margin: 30px 0 0;
    padding: 0 3.33333vw;
  }
  .article__use-item__desc__name {
    font-size: 2rem;
  }
  .article__use-item__desc__text {
    font-size: 1.6rem;
  }
  /* ============================================================
     sns
    ============================================================ */
  .sns-share {
    flex-direction: column;
    padding: 0 3.33333vw;
  }
  .sns-share__hukidashi {
    width: 36.26667vw;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1;
    padding: 6.5px 0;
  }
  .sns-share__hukidashi::before {
    top: unset;
    right: 50%;
    bottom: -15px;
    margin: 0 0 1px;
    border: 7px solid transparent;
    border-top: 7px solid #FFF;
    z-index: 2;
    transform: translateX(50%);
  }
  .sns-share__hukidashi::after {
    top: unset;
    right: 50%;
    bottom: -15px;
    margin: 0;
    border: 7px solid transparent;
    border-top: 7px solid #dcdcdc;
    z-index: 1;
    transform: translateX(50%);
  }
  .sns-share__buttons__button {
    width: 29.33333vw;
    padding: 5px 0 5px 14.93333vw;
  }
  .sns-share__buttons__button:not(:last-child) {
    margin: 0 2.66667vw 0 0;
  }
  .sns-share__buttons__button.button__share .sns-childs {
    width: 190px;
    left: unset;
    right: 0;
    padding: 0 25px 0;
    justify-content: space-between;
  }
  /* ============================================================
     slidebar
    ============================================================ */
  .sidebar {
    width: 100%;
    padding: 0 3.33333vw;
  }
  .sidebar__about {
    margin: 0 0 22px;
  }
  .sidebar__about__desc {
    font-size: 1.5rem;
  }
  .sidebar__about__desc__title {
    font-size: 1.8rem;
  }
  .sidebar__about__beginner, .sidebar__about__challenge {
    padding: 12px 15px 15px;
    font-size: 1.5rem;
  }
  .sidebar__about__beginner__title, .sidebar__about__challenge__title {
    font-size: 1.5rem;
    border-radius: 15px;
    width: 120px;
    padding: 7.5px 0;
    margin: 0 0 11px;
  }
  .sidebar__links {
    flex-direction: row;
    justify-content: space-between;
  }
  .sidebar__links__link-img:first-child {
    margin: 0 1.06667vw 0 0;
  }
  .sidebar__sns__title {
    font-size: 1.8rem;
  }
  .sidebar__sns__desc {
    font-size: 1.5rem;
    margin: 18px 0;
    letter-spacing: 0;
  }
  .sidebar__sns__ac {
    flex-direction: row;
    justify-content: space-between;
  }
  .sidebar__sns__ac__twitter, .sidebar__sns__ac__instagram {
    font-size: 1.5rem;
    width: calc(50% - 5px);
    padding: 0 0 0 20%;
    background-size: 28px auto;
  }
  .sidebar__sns__ac__instagram {
    padding: 0 0 0 17%;
  }
}
