@charset "UTF-8";
/* CSS Document */

/* price01_list.html */

/*-----------料金表--------------*/
.price-table {
  width: 100%;
  margin: 20px 0;
}

.list-header {
  background: var(--accent-color);
  color: white;
  text-align: center;
  padding: 10px;
}

.list-header div {
  font-size: 1.2em;
}

.list-header .media {
  color: #333;
}

.price-header {
  font-size: 1.2em;
}

dd {
  display: grid;
  grid-template-columns: 250px 1fr;
  margin: 0;
  border-bottom: 1px solid #ddd;
  align-items: center;
  transition: background-color 0.3s ease;
}

dd:hover {
  background-color: #f8f8f8;
}

.media {
  background: #f5f5f5;
  font-weight: bold;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.plans {
  display: flex;
  flex-wrap: wrap;
  font-weight: bold;
  gap: 10px;
  padding: 10px;
}

.plan {
  flex: 1;
  min-width: 200px;
  text-align: center;
  transition: transform 0.2s ease;
}

.plan:hover {
  transform: translateY(-2px);
}

.plan-name {
  display: block;
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}

.price {
  color: var(--accent-color);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.price:hover {
  transform: scale(1.2);
  color: var(--accent-color);
}

.price b {
  font-size: 2em;
  line-height: 1;
}

.single-price {
  color: var(--accent-color);
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

.single-price b {
  font-size: 2em;
  line-height: 1;
}

.note {
  font-size: 80%;
  margin-left: 0.5em;
}

.times-two {
  display: inline;
}

@media (max-width: 768px) {
  .note {
    display: block;
    margin-top: 0.3em;
  }
  
  .times-two {
    display: block;
    font-size: 0.9em;
  }
  
  .list-header,
  dd {
    grid-template-columns: 150px 1fr;
  }
  
  .plan {
    flex: 100%;
  }
}

/*-----------メディア比較表--------------*/
.media-comparison {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.media-comparison__cell {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.media-comparison__cell--header {
    background-color: #f2f2f2;
    font-weight: bold;
}

.media-comparison__row:nth-child(2) {
    background-color: #f9f9f9;
}

.media-comparison__row:nth-child(1),
.media-comparison__row:nth-child(3) {
    background-color: #ffffff;
}

@media screen and (max-width: 767.98px) {
    .media-comparison,
    .media-comparison__header,
    .media-comparison__body,
    .media-comparison__cell,
    .media-comparison__row {
        display: block;
    }
    
    .media-comparison__header .media-comparison__row {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .media-comparison__row {
        margin-bottom: 15px;
    }
    
    .media-comparison__cell {
        border: none;
        position: relative;
        padding-left: 50%;
        min-height: 30px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
        padding-top: 10px;
    }
    
    .media-comparison__cell:before {
        position: absolute;
        top: 50%;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label);
        font-weight: bold;
        transform: translateY(-50%);
    }
    
    .media-comparison__cell:first-child {
        font-weight: bold;
        padding-left: 6px;
        display: flex;
        align-items: center;
        min-height: 40px;
        border-bottom: 2px solid #aaa; /* メディア名の行の下罫線を太く */
    }
    
    .media-comparison__cell:first-child:before {
        content: none;
    }
    
    /* 各メディアの最後のセル（耐久性）の下罫線を削除 */
    .media-comparison__cell:last-child {
        border-bottom: none;
    }
}

/* order03_shipping.html */
/* 送料表　*/

.ship {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* ===== PC表示 ===== */

.ship_cell {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.ship_cell:first-child {
    text-align: left;
}

.ship_cell--header {
    background-color: #e9ecef;
    font-weight: bold;
    font-size: 13px;
}

.ship_row:nth-child(even) {
    background-color: #f9f9f9;
}

.ship_row:nth-child(odd) {
    background-color: #ffffff;
}


/* ===== モバイル表示（完全版） ===== */

@media screen and (max-width: 600px) {

    /* Bootstrapの余白制限を解除 */
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 画面いっぱいに広げる（これが重要） */
    .ship {
        display: block;
        width: 90vw;　/* 100vw */
        max-width: 90vw;　/* 100vw */
        margin-left: auto;
        margin-right: auto;
        border: none;
    }

    .ship_header {
        display: none;
    }

    .ship_body {
        display: block;
        width: 100%;
    }

    /* カード */
    .ship_row {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    /* 各行 */
    .ship_cell {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        border-bottom: 1px solid #eee;
        padding: 14px 16px;
        font-size: 1.5em;
    }

    /* 左：サイズ */
    .ship_cell::before {
        content: attr(data-label);
        color: #555;
        font-weight: 500;
    }

    /* 右：金額 */
    .ship_cell:not(:first-child) {
        font-weight: bold;
    }

    /* 地域名 */
    .ship_cell:first-child {
        display: block;
        font-weight: bold;
        background-color: #edf1f0; /* ライトグレー */
        border-bottom: 2px solid #ddd;
        padding: 16px;
        font-size: 1.6em;
    }

    .ship_cell:first-child::before {
        content: none;
    }

    /* 最後の線消す */
    .ship_cell:last-child {
        border-bottom: none;
    }
}


/* ============info表(免責・プライバシーポリシー)============ */

/* ===== PC表示 ===== */

.info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.info_cell {
    border: 1px solid #ddd;
    padding: 14px;
    word-break: break-word; /* 長文対策 */
    line-height: 1.6; /* 長文対策 */
}

.info_cell--title {
    background-color: #edf1f0; /* ライトグレーで統一 */
    font-weight: normal; /* bold */
    width: 30%;
}

/* ===== モバイル表示 ===== */

@media screen and (max-width: 575px) {

    .info {
        display: block;
        width: 90vw;
        margin-left: auto; /* autoの右ズレ修正 */
        margin-right: auto;
        border: none;
    }

    .info_body {
        display: block;
    }

    .info_row {
        display: block;
        margin-bottom: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    .info_cell {
        display: block;
        border: none;
        border-bottom: 1px solid #eee;
        padding: 16px;
        font-size: 1.0em; /* 1.5em */
    }

    /* 項目（見出し） */
    .info_cell--title {
        background-color: #edf1f0;
        font-weight: normal /* bold */
        border-bottom: 1.5px solid #ddd; /* 2px */
        font-size: 1.0em; /* 1.6em */
        width: 100%;
    }

    /* 本文 */
    .info_cell:not(.info_cell--title) {
        background: #fff;
    }

    .info_cell:last-child {
        border-bottom: none;
    }
	
    /* rowのズレを打ち消す（←これが本命） */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* colの余白も整理 */
    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    /* ヘッダー左右のマージンを復活 */
	.header {
		padding-left: 10px;
        padding-right: 10px;
	}
}

/* ============特定商取引法表============ */
/* ===== PC表示 ===== */

.lawinfo {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.lawinfo_cell {
    background-color: #fff;
	border: 1px solid #ddd;
    padding: 14px;
    word-break: break-word; /* 長文対策 */
    line-height: 1.6; /* 長文対策 */
}

.lawinfo_cell--title {
    background-color: #fff;
    font-weight: normal; /* bold */
    width: 20%;
}

/* ===== モバイル表示 ===== */

@media screen and (max-width: 575px) {

    .lawinfo {
        display: block;
        width: 90vw;
        margin-left: auto;
        margin-right: auto;
        border: none;
    }

    .lawinfo_body {
        display: block;
    }

    .lawinfo_row {
        display: block;
        margin-bottom: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    .lawinfo_cell {
        display: block;
        border: none;
        border-bottom: 1px solid #eee;
        padding: 16px;
        font-size: 1.0em; /* 1.5em */
    }

    /* 項目（見出し） */
    .lawinfo_cell--title {
        background-color: #fff;
        font-weight: normal /* bold */
        border-bottom: 1.5px solid #ddd; /* 2px */
        font-size: 1.0em; /* 1.6em */
        width: 100%;
    }

    /* 本文 */
    .lawinfo_cell:not(.lawinfo_cell--title) {
        background: #fff;
    }

    .lawinfo_cell:last-child {
        border-bottom: none;
    }
	
    /* rowのズレを打ち消す（←これが本命） */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* colの余白も整理 */
    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    /* ヘッダー左右のマージンを復活 */
	.header {
		padding-left: 10px;
        padding-right: 10px;
	}
	
}

/* ============ ヤマト代引き手数料 ============ */
#yamato-daibiki{
	width: 95%;
	border-collapse: collapse;
	font-size: 14px
}
#yamato-daibiki td,
#yamato-daibiki th{
	padding: 5px;
	border: 1px solid #ddd;
	vertical-align: text-top;
}
#yamato-daibiki th{
	font-weight: normal;
}
#yamato-daibiki thead th{
	background:#f5f5f5;
}

/* 480px以下の画面表示 */
@media only screen and (max-width:480px){
	#yamato-daibiki{
		display: block;
	}
		#yamato-daibiki thead{
			display: none;
		}
		#yamato-daibiki tbody{
			display: block;
		}
			#yamato-daibiki tbody tr{
				display: block;
				margin-bottom: 1.5em;
			}
			#yamato-daibiki tbody th,
			#yamato-daibiki tbody td{
				display: list-item;
				border: none;
			}
			#yamato-daibiki tbody th{
				margin-bottom: 5px;
				list-style: none;
				background: #f5f5f5;
			}
			#yamato-daibiki tbody td{
				margin-left: 5px;
				padding: 0;
				list-style: none;
			}
			#yamato-daibiki tbody td:nth-of-type(1):before { content: "[1万円未満] "; }/* 項目名をhtmlと同じに変更 */
			#yamato-daibiki tbody td:nth-of-type(2):before { content: "[3万円未満] "; }/* 項目名をhtmlと同じに変更 */
			#yamato-daibiki tbody td:nth-of-type(3):before { content: "[10万円未満] "; }/* 項目名をhtmlと同じに変更 */
			#yamato-daibiki tbody td:nth-of-type(4):before { content: "[30万円未満] "; }/* 項目名をhtmlと同じに変更 */
}