@charset "utf-8";

/* ========================================
共通
======================================== */
/* レイアウト */
#wrapper {
  overflow: hidden;
}

/* アコーディオン */
.accordionTitle {
  margin: 0;
  text-align: center;
  border-bottom: 1px solid #2b2b2b;
  padding: 3px 0;
  position: relative;
}

.accordionTitle::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 15px;
  height: 15px;
  border: 2px solid;
  border-color:  transparent transparent #565656 #565656;
  transform: rotate(-45deg);
}

.accordionTitle.accordionTitle--open::after {
  border-color: #565656 #565656 transparent transparent;
  top: 15px;
}

.accordionContents {
  display: none;
  padding: 15px 15px 10px;
}

/* ボタン */
.ankerBtn {
  text-align: center;
}

.ankerBtn a {
  transition: .5s;
  background: linear-gradient(to right, #000 0%, #000 50%, transparent 50%,transparent 100%) right/202% no-repeat,transparent;
  text-decoration: none;
  color: #000;
  padding: 5px 30px;
  line-height: 1.0;
  font-size: 1.6rem;
  border: 1px solid #000;
}

.ankerBtn a:hover {
  cursor: pointer;
  opacity: 1;
  background-position: left;
  color: #fff;
}

/* 文字装飾 */
.fontStyleItalic {
  font-style: italic;
}

.readText {
  font-size: 2.0rem;
  letter-spacing: 1px;
  line-height: 1.4;
}

.readTextEn {
  font-size: 2.5rem;
  letter-spacing: 3px;
  display: inline-block;
  margin: 0 3px 0 0;
}

@media screen and (min-width: 900px) {
  .readText {
    font-size: 2.0rem;
  }

  .readTextEn {
    font-size: 3.0rem;
  }
}

/* 例文 囲み枠 */
.textBoxLine {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #000;
  display: block;
  position: relative;
}

.textBoxLine::before {
  content: "【例】";
  position: absolute;
  top: -1em;
  left: 0;
  background: #fff;
}

/* ========================================
HEADER
======================================== */
header {
  padding: 20px 10px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.headerLogo {
  max-width: 250px;
  width: 90%;
  margin-bottom: 5px;
}

.headerTitle {
  margin: 15px 0;
}

.headerImg {
  text-align: center;
  margin-bottom: 15px;
}

.headerImg img {
  margin: 0 auto;
  max-width: 900px;
  width: 95%;
}

.headerDescriptionDate {
  text-align: right;
  display: block;
  margin-top: 20px;
  font-size: 1.2rem;
}

@media screen and (min-width: 1200px) {
  /* grid レイアウト ここから */
  header {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto auto auto;
    grid-template-rows: auto auto auto;
    -ms-grid-columns: auto 650px;
    grid-template-columns: auto 650px;
  }

  .headerLogo {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
  }

  .headerTitle {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2 / 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
  }

  .headerDescription {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3 / 4;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
  }

  .headerImg {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    grid-row: 1 / 4;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
  }
  /* grid レイアウト ここまで */

  header {
    padding: 0 10px;
    margin-bottom: 70px;
  }

  .headerLogo {
    margin-bottom: 0;
    max-width: 250px;
    padding-top: 10px;
  }

  .headerTitle {
    margin: 0;
    font-size: 1.6em;
  }

  .headerDescription {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    padding-bottom: 40px;
  }

  .headerImg {
    margin: 0;
  }

  .headerImg img {
    max-width: 100%;
    width: 100%;
  }

  .headerDescriptionDate {
    display: inline-block;
    text-align: left;
    margin: 0;
    font-size: 1.2rem;
    position: absolute;
    right: -20px;
    bottom: 0;
  }

  .headerSp-only {
    display: none;
  }
}

/* ========================================
コンテンツ
======================================== */

/* 共通 */
section {
  max-width: 990px;
  margin: 40px auto;
  padding: 0 15px;
}

@media screen and (min-width: 900px) {
  section {
    margin: 70px auto;
    padding: 0 20px;
  }
}

/* 利用ガイドライン */
.guidelineList {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
}

.guidelineList>li {
  position: relative;
  padding-left: 1.5em;
}

.guidelineList>li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 0;
  top: 0;
}

.guidelineList>li::after {
  content: "）";
  position: absolute;
  left: .6em;
  top: 0;
}

/* 利用規約 */
.termsList>li>.termsList {
  counter-reset: my-counter;
  list-style: none;
  padding-left: 0;
}

.termsList>li>.termsList>li {
  padding-left: calc(1em + 8px);
  position: relative;
}

.termsList>li>.termsList>li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  color: #000;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 4px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(1em + 6px);
  width: calc(1em + 6px);
  font-size: 1.2rem;
}

.termsList>li>.termsList>li:after {
  content: "";
  border: 1px solid #000;
  height: calc(1em + 4px);
  width: calc(1em + 4px);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 4px;
}

/* ぬるぬる解説 */
.commentary {
  position: relative;
}

.commentary::after {
  content: "";
  background: url(../../../../images/main/top/bg_icon.jpg) right bottom / contain no-repeat;
  width: 45%;
  height: 900px;
  position: absolute;
  bottom: -40px;
  right: -25px;
  z-index: 0;
}

.commentaryWrapper {
  position: relative;
  padding-top: 100px;
  z-index: 2;
}

.commentaryText h2 {
  padding-left: 80px;
}

.commentaryImg {
  max-width: 80px;
  width: 90%;
  display: inline-block;
  position: absolute;
  top: 0;
}

.commentaryText {
  text-shadow:
    0 0 20px #ffffff,
    0 0 20px #ffffff,
    0 0 15px #ffffff,
    0 0 15px #ffffff,
    0 0 15px #ffffff,
    0 0 15px #ffffff,
    0 0 10px #ffffff,
    0 0 10px #ffffff,
    0 0 10px #ffffff,
    0 0 10px #ffffff,
    0 0 5px #ffffff,
    0 0 5px #ffffff,
    0 0 5px #ffffff,
    0 0 5px #ffffff,
    0 0 1px #ffffff,
    0 0 1px #ffffff
  ;
}

@media screen and (min-width: 900px) {
  .commentary {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .commentary::after {
    width: 500px;
    height: 700px;
    bottom: 70px;
    right: -15px;
  }

  .commentaryWrapper {
    display: flex;
    padding-top: 0;
    max-width: 990px;
    margin: 0 auto;
  }

  .commentaryImg {
    max-width: 100%;
    width: 250px;
    display: block;
    position: initial;
    text-align: center;
  }

  .commentaryImg img {
    padding: 40px 25px 0;
  }

  .commentaryText {
    width: calc(100% - 300px);
  }

  .commentaryText h2 {
    padding-left: 0;
  }
}