/* -----------------------------------
	main
----------------------------------- */

.main {
  margin-top:50px;
}

ruby {
  ruby-position: over;
}

/* -----------------------------------
	section-01
----------------------------------- */

#section-01 {
  width: 88%;
  margin: 0 auto;
}

.item-name {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 90%;
  margin: 0 auto 50px auto;
  text-align:center;
}

.item-name h1 {
  width: 50%;
  max-width: 320px;
}

.item-name p {
  max-width: 270px;
  margin-right:3%;
}

.item-name h1 img,
.item-name p img {
  width: 100%;
  height: auto;
}

#section-01 figure {
  width: 92%;
  margin: 0 auto 80px auto;
  text-align:center;
}

#section-01 h1 img {
  display:inline-block;
  width: 100%;
  height:auto;
}

#section-01 figure img {
  display:inline-block;
  width: 100%;
  max-width: 172px;
  height:auto;
}

@media screen and (min-width:837px){
ul.buy_drop-down-items li:nth-child(5),ul.buy_drop-down-items li:nth-child(10) { border-right:1px solid black;}
}

@media screen and (max-width: 836px){
ul.buy_drop-down-items li:nth-last-child(-n+3) { margin-bottom: 1em;}
}

@media screen and (max-width:559px){
#section-01 { width: 100%;}
#section-01 h1,#section-01 figure { margin: 0 auto 4em auto;}
#section-01 .item-name { margin: 0 auto;}
}

/* -----------------------------------
	section-02
----------------------------------- */

#section-02 {
  width: 100%;
  max-width:2560px;
  margin: 80px auto 90px auto;
  text-align:center;
}

#section-02 figure img {
  display:inline-block;
  width: 100%;
  height:auto;
}

ul.flexbox-set2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

ul.flexbox-set2 li {
  flex-basis: 50%;
  margin-bottom:2%;
}

ul.flexbox-set2 li img {
  width: 100%;
  height:auto;
}

@media screen and (max-width:800px){
#section-02 { margin: 120px auto 100px auto;}
}

@media screen and (max-width:559px){
#section-02 {margin: 50px auto;}
ul.flexbox-set2 { flex-direction: column;}
ul.flexbox-set2 li {flex-basis: 1; margin-bottom:8px;}
}

/* -----------------------------------
	section-03
----------------------------------- */

#section-03{
  width: 90%;
  max-width:1500px;
  margin: 0 auto;
  text-align:center;
}

.section-03-title{
  width: 100%;
  margin-bottom:40px;
}

.section-03-title h2{
  position:relative;
  width: 100%;
  font-size:clamp( 18px, calc( 13px + 1.25vw ), 28px );
  font-weight:500;
  line-height: 1.8;
  letter-spacing: 0.12em;
  margin: 0 auto 0.7em auto;
  text-align:center;
  z-index:2;
}

.section-03-title p {
  position:relative;
  width: 100%;
  font-size:16px;
  line-height:1.6;
  margin: 0 auto 20px auto;
  text-align:center;
  z-index:2;
}

.section-03-title p span {
  font-size:12px;
}

.section-03-title figure {
  position:relative;
  width: 100%;
  margin: -30px auto 40px auto;
  text-align:center;
  z-index:1;
}

@media screen and (max-width:1028px){
.section-03-title figure { margin: 0 auto 40px auto;}
}

.section-03-title figure img{
  display:inline-block;
  width:100%;
  max-width:1247px;
  height:auto;
}

.section-03-cution {
  width:90%;
  max-width:900px;
  margin: 30px auto 60px auto;
  text-align:center;
}

.section-03-cution1 {
  text-align: right;
}

.section-03-cution2 {
  text-align:left;
  display: inline-block;
}

.section-03-cution2 li {
  font-size:12px;
  margin-bottom:2px;
  padding-left:1em;
  text-indent:-1em;
}

hr{
  clear:both;
  border:none;
  border-top:solid 1px #84919E;
  height:1px;
  color:#FFFFFF;
  margin:70px auto;
}

.item-list {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  margin: 50px auto 0 auto;
  text-align:center;
}
.item {
  width: 47.8%;
  max-width: 430px;
  box-sizing: border-box;
  margin-bottom:50px;
}
.item h3 {
  font-size:20px;
  font-weight:500;
  margin-bottom:16px;
}
.item p {
  font-size:16px;
  line-height:1.6;
  text-align:left;
}
.item-image {
  position: relative;
  margin-bottom: 1.5em;
}
.item-image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.item-list_s {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin:0 auto;
  text-align:center;
}
.item-list_s .item {
  width: 48%;
  box-sizing: border-box;
}
.item-list_s .item h3 {
  font-size:20px;
  font-weight:500;
  margin-bottom:16px;
  text-align: center;
}
.item-list_s .item-image {
  position: relative;
  margin: 0 auto 1.5em auto;
  text-align: center;
}
.item-list_s .item-image img {
  display:inline-block;
  width: 100%;
  max-width: 121.5px;
  height: auto;
  vertical-align: bottom;
}

.gradeup {
  position: absolute;
  right: -20px;
  bottom: -47px;
  width: 26% !important;
  max-width: 99px;
  height: auto;
  vertical-align: bottom;
}

@media screen and (max-width:559px){
#section-03{margin: 0 auto 30px auto;}
.section-03-title {margin-bottom: 30px;}
.section-03-title p{font-size:12px; margin: 0 auto 30px auto;}
.section-03-title p img{ width: 80%;}
.section-03-title figure { width: 88%; margin-bottom:30px;}
ul.section-03-test-img { width: 80%; text-align:left;}
ul.section-03-test-img li { display:block;}
ul.section-03-test-img li:last-child { margin:30px 0 15px 0;}
ul.section-03-test-img li:nth-child(2) { margin-left:0;}
.item-list { width:92%;margin: 0 auto;flex-direction: column;}
.item { width: 100%; margin-bottom:30px;}
.item h3 { font-size:18px;line-height:1.4;}
.item p { font-size:14px;}
}

/* -----------------------------------
	section-05
----------------------------------- */

.gray {
    background: #E0E3E4;
    padding: 100px 0;
}

#section-05 {
    width: 100%;
    margin: 50px auto 0 auto;
}

#section-05 .cutionBox {
	border-top: 8px dotted #80858C;
    margin: 30px auto;
    width: 100%;
}

#section-05 .cutionBox h3 {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 0.8em;
	padding-top: 1.5em;
	text-align: left;
}

#section-05 .cution-mark{
    width: 30px;
	padding: 0 6px 1px 0;
}

#section-05 ol {
    counter-reset:list;
    list-style-type:none;
    font: 14px/1.6 'arial narrow', sans-serif;
}

#section-05 ol li {
    font-size: 15px;
    text-indent: -1.2em;
    margin-bottom: 0.4em;
    padding-left: 1em;
}
#section-05 ol li::first-letter {
    font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic","Century Gothic", sans-serif;
    padding-right: 0.1em;
}

.spec {
	width: 90%;
	max-width: 824px;
	margin: 0 auto;
}

.spec figure {
  max-width: 100%;
  margin: 50px auto 20px auto;
  text-align:center;
}

.spec figure img {
  display:inline-block;
  width: 100%;
  max-width: 1095px;
  height:auto;
}

ul.spec-sub{
  width:100%;
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

ul.spec-sub img{
  max-width: 228px;
  height:auto;
}

@media (max-width: 599px) {
.gray { padding: 80px 0;}
}

dl.dl-spec dd {
  width: calc(100% - 10em);
}

dl.dl-spec dd:after{
  display: block;
  content: "";
  clear: both;
  text-align: justify;
  text-justify: inter-ideograph; /* IEで必要 */
  text-justify: inter-character; /* Firefoxで必要 */
}

.variation {
  display: grid;
  grid-template-columns: repeat(4, max-content); /* 各列の幅を内容に合わせて調整 */
  gap: 10px;
  justify-content: start;
}

.var1 {
  width: 6.5em;
  text-align: left;
}
.var2 {
  width: 7.5em;
  text-align: left;
}

.var1::after,
.var2::after {
  content: ":";
}

 .jan{
  text-align: left;
}

/* PC用（1行4列） */
@media (min-width: 1024px) {
  .variation {
    grid-template-columns: repeat(4, max-content);}
    .var2 { padding-left:1em;}
}

/* タブレット用（2行2列） */
@media (max-width: 1023px) and (min-width: 600px) {
  .variation {
    grid-template-columns: repeat(2, max-content); 
  }
}

/* スマホ用（4行1列） */
@media (max-width: 599px) {
  .variation {
    grid-template-columns: 1fr;
	gap: 2px;
  }
}

@media screen and (max-width:559px){
.spec figure {width: 100%;margin: 30px auto 10px 0;}
.spec-sub{flex-direction: column;-webkit-box-pack:center; -webkit-justify-content:center; -ms-flex-pack:center; justify-content:center;}
.spec-sub img{display:inline-block;padding-top:20px;}
dl.dl-spec dd { width: calc(100% - 9em);}
}
