strong{
  font-weight: 600;
}


.top-text{
  font-size: 20px;
}

.small{
  font-size: 0.8em;
}

/* アンカーリンク */

.navi-box {
  display: flex;                         /* ← 横並びに */
  justify-content: space-evenly;        /* ← ボタン同士と両端を均等に配置 */
  gap: 30px;                             /* ← 必要に応じて間隔調整（任意） */
  box-sizing: border-box;               /* ← パディング含めた幅計算 */
}

.button001 {
  width: 100%; /* 子ボタンが親と同じ幅になるように */
}


.button001 a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 25px;
  border-radius: 3px;
  background: #fff;
  color: #333333;
  font-weight: 300;
  gap: 8px;
  text-decoration: none;
  border: solid 1px #333;
  opacity: 10;    

}


.button001 a:hover {
  background: #eeeeee70;
  color: #333333;
}

.button001 .arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-left: 3px solid #333333;
  border-bottom: 3px solid #333333;
  transform: rotate(-45deg);
  border-radius: 1px;
}



/* スマホ対応（768px以下の画面サイズ時） */
@media (max-width: 768px) {
  .navi-box {
    flex-direction: column; /* 縦に並べる */
    text-align: center;
    gap: 20px;
    align-items: stretch; /* ボタンの幅を揃える */
  }

  .button001 {
    width: 100%; /* 子ボタンが親と同じ幅になるように */
    position: relative; 
  }

  .button001 a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    border-radius: 3px;
    background: #fff;
    color: #333333;
    font-weight: 300;
    gap: 8px;
    text-decoration: none;
    border: solid 1px #333333;
    opacity: 10;     
  }

  .button001 a:hover {
    background: #eeeeee70;
    color: #333333;
  }

  .button001 .arrow {
    position: absolute;
    left: 20px; 
    width: 8px;
    height: 8px;
    box-sizing: border-box;
    border-left: 3px solid #333;
    border-bottom: 3px solid #333;
    transform: rotate(-45deg);
    border-radius: 0; /* 任意。1pxだとずれが強調される場合がある */
    background-clip: padding-box;
  }

} 

/*見出し*/

.category-title-w {
  padding: 0.25em 0.6em;/*文字周りの余白*/
  color: #333333;/*文字色*/
  background: #F2F2F2;/*背景色*/
  margin-bottom: 20px;
  font-size: 23px;
  font-weight: 700;
}      


/*スライダー*/

/* Swiperのサイズ調整 */
.swiper {
  width: 100%;
  max-width: 378px;
  height: auto;
  position: relative;
}

/* スライド画像に合わせるため画像に100%幅を指定 */
.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* スライドのスタイル */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ページネーションをスライダーの外側（下側）に配置 */
.swiper-pagination {
  position: relative;
  margin-top: 10px;
  text-align: center;
}

/* ナビボタン：見た目はそのまま */
.swiper-button-next,
.swiper-button-prev {
  font-size: 20px !important;    
  width: 20px;
  height: 20px;
  z-index: 2;
}

.swiper-pagination-bullet-active  {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: #41bbda;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important; 
  color: #b5b5b5;
  font-weight: 600;
}      

/* スマホ対応（768px以下の画面サイズ時） */
@media (max-width: 768px) {      
/* ナビボタンのクリック範囲をスライド画像に合わせて広げる */
.swiper-button-next::before,
.swiper-button-prev::before {
  content: "";
  position: absolute;
  top: -104px;
  left: -10px;         /* ボタン位置の左に+50px */
  width: 40px;
  height: 220px;        /* スライド画像の高さに合わせる */
  background: transparent;
  z-index: -1;
}

/* Swiperのサイズ調整 */
.swiper {
  width: 100%;
  max-width: initial;
  height: auto;
  position: relative;
}


}        

.pc { display:inline;}
.sp { display:none;}

.pc_kuhaku { display:inline;}
.sp_kuhaku { display:none; }        


.top-text-box {
  margin-bottom: 30px;
}

.text-box {
  margin-bottom: 20px;
}    

.g-title1 {
  font-weight: bold;
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;  
}
.g-title2 {
  font-weight: bold;
  border-bottom: 1px solid #999;
}
.category-title h2 {
  margin-bottom: 0px;
}
.contents {
  padding: 145px 30px 48px;
}

.button_og {
  width: fit-content;
  display: flex;
  margin: 0 auto;
}
.button_og a {
  background-color: #41bbda;
  font-size: 22px;
  font-weight: 600;
  color: #FFF;
  border-radius: 50px;
  padding: 15px 50px;
  margin-top: 20px; 
}
.img-box img {
  width: 30%;
  max-height: 640px;
  object-fit: contain;
  margin-bottom: 20px;
}
.img-box {
  width: 100%;
  display: flex;
  margin-bottom: 10px;
}
.img-box p{
  padding: 20px;
}
.img-box2 img {
  width: 100%;
  object-fit: contain;
}
.img-box2 {
  width: 100%;
  margin-bottom: 40px;
}
.item-list li {
  width: calc((100% - 60px) / 4) !important;
  margin-right:20px;
}
.item-list li:last-child {
  margin-right: 20px !important;
}

.center {
  text-align: center;
}
.mgt20 {
  margin-top: 10px;
}
.subtitle2 {
  display: flex;
  align-items: baseline;
  border-bottom: 3px solid #622216;
  height: 48px;
  font-size: 25px;
  font-weight: 700;
  margin: 30px 0;
}
.subtitle2_icon {
  background-image: url(https://www.rakuten.ne.jp/gold/pianoline/wrapping/img/icon.png);
  background-position: 3px 2px;
  width: 44px;
  height: 40px;
  background-repeat: no-repeat;
  margin-right: 10px;
}
.sp_none {
  display: block;
}
.pc_none {
  display: none;
}
.wrapping1100 {
  font-size: 20px;
}

.text-red-b {
  color: red;
  font-weight: 600;
}

@media screen and (max-width: 768px) {

  .pc { display:none;}
  .sp { display:inline;}

  .contents {
    margin-top: 20px;
    padding: 0 12px 48px;
  }
  .item-list {
    flex-wrap: wrap;
  }
  .img-box {
    margin: 0 auto 20px;
    display: grid;
  }
  .item-list li {
    width: calc((100% - 16px) / 2) !important;
    margin-right:16px;
  }
  .item-list li:last-child {
    margin-right: 0px !important;
  }
  .sp_none {
    display: none;
  }
  .pc_none {
    display: block;
  }
  .subtitle2 {
    height: 60px;
    font-size: 22px;
    margin: 20px 0 20px;
    line-height: 25px;
  }
  .subtitle2_icon {
    height: 70px;
    margin: auto 10px auto 0;
  }
  .wrapping1100 {
    font-size: 16px;
    margin: 0;
  }
  .button_og a {
    padding: 15px 20px;
  }
  .img-box img {
    order: 2;width: 80%;
    margin: 0 auto 20px;

  }

  .img-box p {
    order: 1;
    padding: 0px;
}

  .img-box2 img {
    margin-bottom: 0px;
  }
  .g-title1 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height:1.4;
    text-align: center;
    margin-top: 0;
  }
  .guide-section {
    margin-top: 0 !important;
  }

}

/*---20241008追記---*/ 

.guide-title-wrapping  {
  font-size: 1.6rem;
}

.subtitle1 {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid #41BBDA;
  font-size: 28px;
  font-weight: 700;
  margin: 80px 0 30px 0;
  
}
.subtitle1_icon {
  background-image: url(https://www.rakuten.ne.jp/gold/pianoline/wrapping/img/icon.png);
  background-position: 3px 2px;
  width: 44px;
  height: 40px;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.subtitle3 {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid #41BBDA;
  font-size: 28px;
  font-weight: 700;
  margin: 100px 0 30px 0;

}

.subtitle3-sentence {
  display: flex;
  align-items: baseline;
  font-size: 28px;
  font-weight: 700;

}    

/*=============
ラッピング用品カードデザインCSS
=============*/
.wrapping-area {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 align-items: stretch;
 margin-bottom: 40px; 
}

.wrapping-box {
  background: #fff;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  width: 375px;
  color: #333333;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  position: relative;
  margin-bottom: 20px;  
}

.wrapping-box:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent #CCCCCC transparent;
}           

.wrapping-box-title  {
  border-bottom: 1px solid #000;
  font-weight: bold;
  font-size: 20px;
}

.wrapping-box-text   {
  padding: 0 10px 10px;
}

.wrapping-box-text2   {
  padding: 10px;
} 

img{
  max-width: 100%;
  height: auto;
}

h3 {
  font-size: 25px;
  font-weight: 700;
}

h3.heading {
  font-size: 22px;
  font-weight: 700;
  background: #F2F2F2;
  padding: 10px 10px 10px 64px;
  position: relative;
  margin-bottom: 20px;
}

h3.heading::before {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  content: "";
  width: 24px;
  height: 24px;
  background-image: url(https://gigaplus.makeshop.jp/pianoline/img/common/base/wrapping/note.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.heading2 {
  font-size: 22px;
  font-weight: 700;
  background: #F2F2F2;
  padding: 10px 10px 10px 20px;
  margin-bottom: 20px;
}    

.section-box-red {
  background-color: #FFF3F3;
  margin-top: 10px;
  padding: 20px;
  color: red;
  line-height:24px;
}           

.bold  {           
 font-weight: bold; 
 font-size: 20px;   
}
.wrapping-textbox     {           
  margin-bottom: 40px;
}

section #paid      {           
  padding-top: 115px;
  margin-top: -115px;
}

section #free      {           
  padding-top: 115px;
  margin-top: -115px;
}    

section #qa      {           
  padding-top: 115px;
  margin-top: -115px;
}

section #wrapping      {           
  padding-top: 115px;
  margin-top: -115px;
}

.indent {
  text-indent: -1em;
  padding-left: 1em; 
}



.wrapping_ng {
  list-style-type: disc;
  margin-left: 18px;
  margin-bottom: 10px;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: #333333;
  text-underline-offset: 2px;
}


@media screen and (max-width: 768px) {
  .wrapping-area {
    display: block;
    align-items: center;
    margin-bottom: 60px;
  }

  .wrapping-area-left,
  .wrapping-area-right {
    width: 100%;
    flex: 1;
  }

  .wrapping-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;  
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  h3.heading {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;

  }

  .subtitle1 {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid #41BBDA;
    font-size: 24px;
    font-weight: 700;
    margin: 70px 0 30px 0;
    line-height: 1.6;

  } 

  .subtitle3 {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid #41BBDA;
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 10px;
    margin: 0 0 30px 0;
    line-height: 1;

  } 

  .subtitle3-sentence {
    display: block; 
    align-items: baseline;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
  }   


  section #paid      {           
    padding-top: 10px;
    margin-top: -10px;
  }

  section #free      {      
    position: relative;     
    padding-top: 70px;
    margin-top: -70px;
  }    
  div #free2      {      
    position: relative;     
    padding-top: 60px;
    margin-top: -60px;
  }  

   section #qa      {           
    padding-top: 10px;
    margin-top: -10px;
  }  

  section #wrapping      {           
    padding-top: 10px;
    margin-top: -10px;
  }

}    

img { image-rendering: -webkit-optimize-contrast; }

main{
  font-family: 'Arial','Hiragino Sans','Noto Sans JP','ヒラギノ角ゴシック','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,sans-serif;
  font-size: 1rem;
  margin-bottom: 100px;
}

.annotation {   
 font-size: 14px;
}

/*=============
ラッピングフロー表
=============*/

/* 全体共通スタイル */
.wrap-section {
  margin: 30px 0;
  border-radius: 10px;
}

.wrap-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  color: #fff;
  background: #41bbda;
}

.wrap-flow {
  display: flex;
  justify-content: space-between;
}

/* 各ステップボックス */
.wrap-step {
  margin: 10px;
  flex: 1 1 30%;
  text-align: left;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  transition: all 0.3s ease;
}

.wrap-step-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.wrap-img {
  width: 60%;
  height: auto;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wrap-step p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  padding: 10px 20px;
  color: #555555;
}

.highlight {
  color: red;
}

.blue .highlight {
  color: #0075c2;
}



/* 矢印（横並び時） */
.wrap-arrow {
  align-self: center;
  font-size: 24px;
  color: #999;
  transform: rotate(90deg);
  margin: 0 10px;
}


/* デフォルトは縦並び（PC） */
.wrap-content {
  display: block;
}

/* テキスト側余白 */
.wrap-text {
  margin-top: 10px;
}

/* ===== Q＆A ===== */    
.qa-box {
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
}

.qa-item {
  margin-bottom: 20px;
  padding: 20px;
  border:solid 1px #cccccc;  
}

.qa-question {
  font-weight: bold;
  color: #41bbda;
  font-size: 18px;
  margin-bottom: 10px;
}

.qa-answer {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.qa-font {
  font-weight: bold;    
}

.qa-link {    
  text-decoration: underline #333333;
  text-underline-offset: 0.2em;
  font-weight: 700;
  color: #41bbda;
}

.other-notes   {
  background: #cccccc29;
  padding: 20px;
  font-size: 14px;
  line-height: 1.4;  
}  

.qa-title {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
}

.qa-line {
  font-weight: 700;
  border-bottom: 1px solid #333333;
}



/* ===== レスポンシブ対応 ===== */
@media screen and (max-width: 768px)  {
  .wrap-flow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch; 
  }

  .wrap-step {
    margin: 5px;
  }

  .wrap-step p{
    padding: 10px 5px;
  }

  .wrap-title {
    font-size: 16px;
    padding: 8px;
  }

  .wrap-step-title {
    font-size: 15px;
  }


  .wrap-arrow {
    transform: rotate(180deg); /* ▲を下向きに */
  }

  .wrap-content {
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    text-align:left;
  }

  .wrap-img {
    flex-shrink: 0;
    width: 160px;
    margin: 0;
  }

  .wrap-text {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.4;
  }  

  .button_og a {
    padding: 12px 20px;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 120px;
  }

}

/* ===== チェックボックスお悩み ===== */
.section-onayami {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  margin: auto;
  flex-wrap: wrap;
  background: #d7b4ff26;
}

.onayamitext-block {
  flex: 1;
  min-width: 300px;
  justify-content: center;
  display: flex;
}

checklist-text{
  margin-left: 10px;
}

.indent2 {
  text-indent: -2.1em;
  padding-left: 2.4em; 
}

.text-block h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.title-onayami  {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  margin-bottom: 20px;
  line-height: 1.6;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.image-block img {
  width: 171px;
  height: 260px;
}

@media screen and (max-width: 768px) {
  .section-onayami {
    flex-direction: column;
    text-align: left;
    padding: 30px 20px;
  }

  .image-block {
    margin-top: 30px;
  }

  .title-onayami  {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
  }

}



.dli-check-circle {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff;
  line-height: 1;
  position: relative;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  box-sizing: content-box;
  margin-right: 10px;
  background-color: #a8a6ff;
}

.dli-check-circle > span {
  width: 0.78em;
  height: 0.5em;
  border: 0.15em solid currentColor;
  border-top: 0;
  border-right: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(-45deg);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}


.triangle-down {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 40px solid #cccccc; /* 矢印の色 */
  margin: 20px auto;
}
.text-under {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
}
.under {
  background: linear-gradient(transparent 50%, #fffbc9 70%);
}

@media screen and (max-width: 768px) {
  .triangle-down {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #41bbda; /* 矢印の色 */
    margin: 20px auto;
  }

}
