html { scroll-behavior: smooth; }

body {
    margin:0;
    font-family: "FP-ヒラギノUD角ゴ StdN W5", sans-serif;
}

img {max-width:100%;}

.left_menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 425px / 2);
    background: #dae8ff;
    position: fixed;
    height: 100vh;
}

.right_menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 425px / 2);
    inset: 0 0 0 calc(50% + 425px / 2);
    background: #dae8ff;
    position: fixed;
    height: 100vh;
}

.right_menu li {
    margin: 1em;
    list-style: none;
}

.right_menu li a {
    color: #5f5f5f;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.right_menu li a:after {
    content: "";
    position: absolute;
    transition: 0.5s;
    width: 0px;
    border-bottom: solid 1px #5f5f5f;
    float: left;
    height: 0px;
    box-sizing: border-box;
    display: block;
}

.right_menu li a:hover:after {
    width: 100%;
}

@media (max-width: 700px) {
.left_menu {
    display: none;
    }
.right_menu {
    display: none;
    }
}


.ms-lp-wrap {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  color: #333333;
  width: 100%;
  max-width: 425px;
  margin: 0 auto;
  background: #FFFFFF;
  box-sizing: border-box;
}
.ms-lp-wrap * { box-sizing: border-box; }

/* 画像サイズの制御 */
.ms-lp-img-box {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
}
.ms-lp-img-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* =======================================================
   Navigation
======================================================= */
#ms-lp-nav-toggle { display: none; }
.ms-lp-header {
  position: sticky; top: 0; width: 100%; height: 70px;
  background: rgba(255, 255, 255, 0.98);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 20px; z-index: 100; border-bottom: 2px solid #f0f0f0;
}
.ms-lp-header-logo { font-weight: 900; color: #0368B3; font-size: 1.4rem; text-decoration: none; }
.ms-lp-header-cta {
  background: #E7261A;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 7px 8px;
    border-radius: 5px;
    font-size: 1rem;
    margin-left: 6px;
}

/* =======================================================
   1. [FV]
======================================================= */
.ms-lp-fv {
  padding: 40px 20px;
  background: #FFFFFF;
  text-align: center;
}
.ms-lp-fv-catch {
  font-size: 2.8rem; font-weight: 900; line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #0368B3, #01b3cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ms-lp-fv .ms-lp-img-box {
  max-width: 1200px; margin: 0 auto;
  aspect-ratio: 21 / 9; /* FV用ワイド */
}

/* =======================================================
   2. [悩み]
======================================================= */
.ms-lp-problem {
  background-color: #0c68b3; /* サブカラー */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}
.ms-lp-problem h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}
.ms-lp-problem-list {
  background: rgba(255,255,255,0.1);
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 8px;
  text-align: left;
}
.ms-lp-problem-list p {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  padding-left: 2em;
  position: relative;
}
/* チェックマーク描画 */
.ms-lp-problem-list p::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 8px;
  height: 16px;
  border-right: 3px solid #01b3cd; /* メインカラー */
  border-bottom: 3px solid #01b3cd;
  transform: rotate(45deg);
}

/* =======================================================
   3. [特徴] 
======================================================= */
.ms-lp-feature { padding: 100px 20px; background: #f9f9f9; text-align: center; }
.ms-lp-feature h2 { font-size: 2.2rem; color: #333; margin-bottom: 60px; }
.ms-lp-feature-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.ms-lp-feature-item {
  flex: 1; min-width: 300px; background: #fff; padding: 40px 25px;
  border-top: 5px solid #00B3CD; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* =======================================================
   4. [ラインナップ] 
======================================================= */
.ms-lp-lineup { padding: 100px 20px; background: #fff; text-align: center; }
.ms-lp-lineup-grid { display: flex; gap: 30px; }
.ms-lp-lineup-item {
  flex: 1; border: 1px solid #eee; border-radius: 15px; overflow: hidden;
  transition: transform 0.3s;
}
.ms-lp-lineup-item:hover { transform: translateY(-5px); }
.ms-lp-lineup-item .ms-lp-img-box {
  border-radius: 0; aspect-ratio: 1 / 1; /* 商品画像は正方形 */
}
.ms-lp-lineup-item .ms-lp-img-box img{
    aspect-ratio: 1 / 1;
}
.ms-lp-lineup-body { padding: 30px; }
.ms-lp-lineup-price { font-size: 2.2rem; font-weight: 900; margin: 15px 0; }

/* =======================================================
   5. [CTA]
======================================================= */
.ms-lp-cta { padding: 100px 20px; background: linear-gradient(135deg, #0368B3 0%, #01b3cd 100%); }
.ms-lp-cta-box { background: #fff; padding: 60px 40px; border-radius: 20px; text-align: center; }
.ms-lp-btn {
  display: block; width: 100%; max-width: 500px; margin: 30px auto;
  background: #E7261A; color: #fff; font-size: 1.8rem; font-weight: 900;
  padding: 25px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 10px 0 #b31d14;
}
.ms-lp-btn:active { transform: translateY(5px); box-shadow: 0 5px 0 #b31d14; }

/* ====================================================
     Spec Table
  ==================================================== */
  .ms-lp-section {
    padding: 50px 20px;
    background: #f9f9f9;
  }

  .ms-lp-section h2{
    text-align: center;
  }

  .ms-lp-table-wrap {
    overflow-x: auto; /* スマホで横スクロール可能に */
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    background: var(--color-white);
  }
  .ms-lp-spec-table {
    width: 100%;
    /*min-width: 600px; 最低幅を確保しスマホではスクロールさせる */
    border-collapse: collapse;
    text-align: left;
    background: #fff;
  }
  .ms-lp-spec-table th, .ms-lp-spec-table td {
    padding: 15px 20px;
    border: 1px solid #eeeeee;
    font-size: 0.8em;
  }
  .ms-lp-spec-table th {
    background: #f8fbff;
    color: var(--color-sub);
    width: 20%;
    font-weight: bold;
  }

/* =======================================================
   Responsive
======================================================= */
@media screen and (max-width: 768px) {
  /* 全体のベース文字サイズをアップ */
  .ms-lp-wrap { font-size: 16px; }
  
  .ms-lp-header { height: 60px; }
  .ms-lp-header-logo { font-size: 1.1rem; }
  .ms-lp-header-cta { padding: 8px 12px; font-size: 0.8rem; }

  .ms-lp-fv-catch { font-size: 1.8rem; }
  .ms-lp-problem h2, .ms-lp-feature h2, .ms-lp-lineup h2 { font-size: 1.6rem; }
  
  .ms-lp-problem-list { padding: 30px 20px; }
  .ms-lp-problem-item { font-size: 1.1rem; margin-bottom: 20px; }

  .ms-lp-lineup-grid { flex-direction: column; }
  .ms-lp-lineup-body { padding: 20px; }
  .ms-lp-lineup-price { font-size: 1.8rem; }

  .ms-lp-btn { font-size: 1.3rem; padding: 20px; }
  .ms-lp-cta-box { padding: 40px 20px; }
}

section#mp_tokutyo {
    background-image: linear-gradient(#d0dff0 5%, #d1dff1 30%, #f2f7fc 51%, #d3e1f2 88%, #ffffff);
}
    
.mp_tokutyo_title {
    background-image: url(https://d2w53g1q050m78.cloudfront.net/wwwmeasisjp/uploads/img/product/measis_pb/pb_bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    text-align: center;
}

.mp_tokutyo_inner {
    background-color: #FFF;
    margin: 4%;
    padding: 1.5em;
    border-radius: 15px;
    text-align: left;
}

.mp_tokutyo_inner img {
    float: right;
    width: 25%;
    margin: 0 0.5em;
}

.mp_tokutyo_inner h3, .pb_spec {
    font-size: 1.1em;
    font-weight: 600;
}

.mp_tokutyo_inner p {
    clear: both;
    font-size: 0.85em;
    margin-top: 2.5em;
}

#mp_tokutyo h1 {
    font-size: 1.3em;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 5.9em 0 1em;
}


h2.catchcopy {
    padding: 1em 1.2em 0;
    font-size: 1.5em;
    font-weight: 500;
}

img.drop {
    margin: auto;
    width: 8%;
}

section#mp_itemtype h3 {
    text-align: center;
    line-height: 1.3em;
    margin-top: 3em;
    font-weight: 500;
    margin-bottom: 2em;
}

.item_1day, .item_2week {
    background-color: #01b3cd;
    width: 92%;
    margin: 4%;
    padding: 5%;
    color: #FFF;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 55% 45%;
    text-align: center;
    grid-template-rows: 75% 25%;
}

.item_1day img, .item_2week img {
    grid-row: 1 / 3;
	width: 90%;
	}
.item_1day p, .item_2week p {
    margin: 0px;
}
.item_1day {
    background-color: #01b3cd;}

.item_2week {
    background-color: #005ca6;
}

.item_img {
    width: 92%;
    margin: 4%;
    border-radius: 15px;
}

.item_cart_in {
    width: 92%;
    margin: 4%;
    border: solid 1px #aaa;
    border-radius: 15px;
    text-align: center;
    clear: both;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 40% 30% 30%;
}

.item_cart_in img {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    grid-row: 1 / 4;
}

.item_cart_in h2 {
    line-height: 1.2;
    font-size: 1.2em;
    margin: 8px 0 0;
    color: #333;
}

.cart_button {
    background-color: #E7261A;
    display: block;
    color: #FFF;
    text-decoration: none;
    font-size: 0.8em;
    width: 80%;
    margin: auto;
    border-radius: 7px;
}

.cart_button a {
    color: #FFF;
    text-decoration: none;
}


.item_price {
    color: #E7261A;
}

.item_price b {
    font-weight: bold;
    font-size: 1.6em;
}

section.item_cart a {
    text-decoration: none;
}

.Footer_Main_Ohter {
    width: 425px;
    margin: auto;
    background-color: #005ca6;
    text-align: center;
    color: #FFF;
    padding: 2em;
    font-size: 0.9em;
}

.pb_imfo {
    font-size: 0.8rem;
    color: #888;
    margin: 2em 0 0 0;
    padding: 15px 30px;
    background-color: #EFEFEF;
}

img.pb_sb {
    margin: auto 4%;
    width: 92%;
}

.item_2week h2, .item_1day h2 {
    font-size: 1.2em;
    line-height: 1.2;
    border-bottom: 1px solid #FFF;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
}


.left_menu img {
    width: 60%;
    max-width: 280px;
    margin: 1em 3em 1em auto;;
}

.mp_tokutyo_title > img {
    margin-top: 3em;
}

header.ms-lp-header img {
    width: 60%;
}

.temptext a {
    text-decoration: none;
    color: #333;
    display: revert;
    border: 1px solid #999;
    padding: 3px 8px;
    margin-left: 5px;
    border-radius: 1em;
}

.temptext {
    font-size: 0.87em;
    margin-top: 2em;
    line-height: 3em;
}