html {
  scroll-behavior: smooth;
}
input[name="BuyComId"] {
  width: 25px;
  margin-right: 10px;
  height: 25px;
  cursor: pointer;
}

#mainBOX {
  width: 950px;
}
#mainBOX p {
  font-size: 15px;
}

/* ページタイトル */
#mainBOX H1 {
  margin: 30px 0;
  text-align: center;
}
#mainBOX h1::after {
  content: "最新版「筆まめVer.36」へのバージョンアップサービス";
  font-size: 1.6rem;
}
#mainBOX .first-txt::before {
  content: "お客様がご利用中の筆まめは、「";
}
#mainBOX .first-txt::after {
  content: "」です。";
}
#mainBOX .lead-txt-wrap {
  text-align: center;
}
#mainBOX .lead-txt-wrap::before {
  content: "バージョンアップサービスは、いつでも最安値で最新バージョンをご購入いただけるユーザー限定のサービスです。";
}
#mainBOX .lead-txt-wrap .first-txt {
  font-size: 17px;
  text-align: center;
  font-weight: bold;
}

/* カート */

h3#priceNew {
  width: 100%;
  background-color: #f6f7f8;
  position: absolute;
  left: 0;
  top: 0;
  padding: 1em;
}

h3#priceNew::before {
  content: "Ver.36バージョンアップサービス";
  display: block;
  color: #000;
  text-align: center;
  font-size: 16px;
}
h3#priceNew::after {
  content: "来年の年賀状も。Ver.37への無償バージョンアップ保証";
  content: "";
  display: block;
  color: #000;
  font-weight: normal;
  text-align: center;
  font-size: 14px;
  padding-top: 0.5rem;
}

#subBOX {
  position: relative;
  margin: 40px 0 0;
  padding: 60px 0 0;
  border: 1px solid #c7c7c7 !important;
}

#subBOX #miniBOX {
  padding: 120px 0px 30px;
}

#mainBOX #ph_content_0_Cart2 {
  padding: 0 40px !important;
}

/* カート レイアウト 2重価格有効のとき */

/* #miniBOX #ph_content_0_Cart2>div>div.yutai .priceNormal,
    #miniBOX #ph_content_0_Cart2>div>div.yutai .priceNew>span {
        display: inline-block;
    } */

/* カート レイアウト 行表示 */

#miniBOX #ph_content_0_Cart2 > div > div:not(#cart2_Button) {
  width: 85%;
  margin: 0 auto 20px;
  position: relative;
  display: grid;
  grid-template-columns: 0.1fr 2fr 2fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

#miniBOX #ph_content_0_Cart2 > div > div input {
  grid-area: 1 / 1 / 2 / 2;
}

#miniBOX #ph_content_0_Cart2 > div > div h3 {
  grid-area: 1 / 2 / 2 / 3;
}

#miniBOX #ph_content_0_Cart2 > div > div p:not(.caption1, .priceNew) {
  grid-area: 1 / 3 / 2 / 4;
  text-align: left;
  margin: 0;
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

#miniBOX #ph_content_0_Cart2 > div > div.normal p:not(.caption1, .priceNew) {
  padding: 0;
  justify-content: flex-end;
}

/* カート レイアウト 列表示 */
/* #ph_content_0_Cart2>div {
    display: flex;
    flex-wrap: wrap;
}

#ph_content_0_Cart2>div>div {
    width: 40%;
    margin: 0 40px 20px;
    position: relative;
} 

#ph_content_0_Cart2>div>div.yutai .priceNormal {
    display: none;
}

#ph_content_0_Cart2>div>div.yutai .priceNew>span {
    display: none;
}

#ph_content_0_Cart2>div>div#cart2_Button {
  width: 100% !important;
  display: flex;
  justify-content: center;
}

#ph_content_0_Cart2>div>div>h3 {
  margin: 0;
}

#ph_content_0_Cart2>div>div>p {
  text-align: center;
  margin: 0 0 10px;
}


#ph_content_0_Cart2>div>div.yutai > .priceNew{
    display: none;
}
#ph_content_0_Cart2>div>div.yutai .priceNew {
    font-size: 0;
}
#ph_content_0_Cart2>div>div.yutai .priceNew .off_num {
    font-size: 1.5rem;
}*/

#ph_content_0_Cart2 > div > div.yutai .priceNormal {
  display: none;
}
#ph_content_0_Cart2 > div > div.yutai .priceNew .off_num .off_percent {
  display: none;
}
#ph_content_0_Cart2 > div > div.yutai .priceNew > span:nth-of-type(1) {
  display: none;
}

/* おすすめ */

#ph_content_0_Cart2 > div > div input {
  position: relative;
}

#ph_content_0_Cart2 > div > div:nth-of-type(1) input::before {
  content: "";
  width: 64px;
  height: 21px;
  position: absolute;
  top: -30px;
  left: 30px;
  background-image: url(/~/media/Images/Common/icon_svg/recomend);
  background-size: contain;
}

#ph_content_0_Cart2 > div > div:nth-of-type(1) input::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 55px;
  border: 6px solid transparent;
  border-top: 7px solid #ffa000;
}

/* 料金表 */

#vup-explain {
  margin: 40px auto;
}
#vup-explain h2 {
  text-align: center;
}
#vup-explain p {
  text-align: center;
}
#vup-explain dl.faq-box p {
  text-align: left;
}

.fude-rms-table {
  margin: 30px auto 20px;
  width: 100%;
  border-collapse: collapse;
  position: relative;
}

.fude-rms-table .date-box::after {
  content: "2025年8月21日現在";
  font-size: 13px;
  text-align: right;
  width: 100%;
  /* display: block; */
  /*position: absolute;
  right: 0;*/
}

.fude-rms-table th {
  background-color: #dfeef5;
  font-weight: normal;
  width: 40%;
}

.fude-rms-table td {
  background-color: #f2f7f9;
  width: 18%;
}

.fude-rms-table th,
.fude-rms-table td {
  border: 8px solid #fff;
  padding: 0.75em;
  text-align: center;
}

.table-index {
  font-weight: bold;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.table-index img {
  width: 60px;
  margin: 0 5px 0px 0px;
}

.bg_none {
  padding: 0 !important;
}

#Main_Box #mainBOX .txt-caption {
  font-size: 13px !important;
}

/*アコーディオン*/
DL DT {
  background: none !important;
  padding: 0 !important;
}

.accordion {
  border: 1px solid #e3e6e9;
  margin: 40px auto;
  width: 90%;
}

.toggle {
  display: none;
}

.Label {
  padding: 1em 2em;
  display: block;
  color: #000;
  text-align: left;
  font-weight: bold;
  margin: 0px 30px;
  cursor: pointer;
}

.Label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  -webkit-transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 3px);
  right: 20px;
  transform: rotate(135deg);
}

.Label,
.content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}

.content {
  height: 0;
  padding: 0 20px;
  overflow: hidden;
}

.content-02 {
  height: 0;
  padding: 0 20px;
  overflow: hidden;
}

.toggle:checked ~ .accordion .Label {
  border-bottom: 1px solid #e3e6e9;
}

.toggle:checked ~ .accordion .Label + .content {
  height: auto;
  padding: 0px 20px;
  transition: all 0.3s;
  width: 90%;
  margin: auto;
}

#block-02.toggle:checked ~ .accordion .Label + .content-02,
#v34-block-01.toggle:checked ~ .accordion .Label + .content,
#v34-block-02.toggle:checked ~ .accordion .Label + .content-02,
#v34-m-block-01.toggle:checked ~ .accordion .Label + .content,
#v34-m-block-02.toggle:checked ~ .accordion .Label + .content-02 {
  height: auto;
  padding: 0px 20px;
  transition: all 0.3s;
  width: 90%;
  margin: auto;
}

.toggle:checked + .accordion .Label::before {
  transform: rotate(-45deg) !important;
}

.sec-faq + .sec-faq {
  margin-top: 50px;
}

.faq-box {
  padding: 20px 0 10px;
}

.faq-box + .faq-box {
  border-top: solid 1px #e3e6e9;
}

.faq-box .question,
.faq-box .answer {
  position: relative;
  margin-left: 45px;
}

.faq-box .question {
  margin-bottom: 20px;
}

.faq-box .question p {
  color: #007dce;
}

.faq-box .answer p.first {
  color: #bb0000;
}

.faq-box .question p,
.faq-box .answer p {
  text-align: left;
  font-weight: bold;
}

.faq-box .question p + p,
.faq-box .answer p + p {
  font-weight: normal;
}

.faq-box .question::before,
.faq-box .answer::before {
  position: absolute;
  top: 0;
  left: -45px;
  display: block;
  font-size: 1em;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 26px;
  border-radius: 50%;
  box-sizing: border-box;
}

.faq-box .question::before {
  content: "Q";
  background: #007dce;
  color: #fff;
}

.faq-box .answer::before {
  content: "A";
  background: #bb0000;
  color: #fff;
}

/*製品特徴*/
#mainBOX {
  font-size: 15px;
}
#mainBOX .rms-contents-box h2 {
  text-align: center;
  font-weight: bold !important;
}

/*比較表*/
section#rms-compare {
  border-top: 1px solid #333;
  margin: 50px 0;
}
section#rms-compare h2 {
  font-size: var(--mwsc__heading-size--h2);
  padding: 20px 0 40px;
}
.rms-chart {
  border-top: 1px solid #888;
  border-left: 1px solid #888;
  width: 100%;
}
.rms-chart tr th,
.rms-chart tr td {
  border-right: 1px solid #888;
  border-bottom: 1px solid #888;
  padding: 0.5em;
  font-size: 1.4rem;
}
.rms-chart thead {
  background: #e5f5fa;
}
.rms-chart thead th {
  text-align: center;
}
.rms-chart tbody tr th {
  font-weight: normal;
  text-align: left;
  background: #f7fcfe;
}
.rms-chart tbody tr td {
  text-align: center;
}
.rms-chart .center {
  text-align: center;
}
.rms-chart-product-name .product_name,
.rms-chart-price td {
  font-weight: bold;
}
.rms-chart .powerup::after {
  content: "PowerUP";
  color: #d40000;
  margin-left: 0.3em;
}
.rms-chart .new::after {
  content: "NEW";
  color: #d40000;
  margin-left: 0.3em;
}
.rms-chart .link-product-detail {
  font-size: 13px !important;
  font-weight: normal;
}
.rms-chart .up_icon,
.rms-chart .new_icon {
  color: firebrick;
}

/* Contents */
.fudemame_mook2025,
.fudemame_mook2026 {
  display: none !important;
}

/*2023.01 クレカ停止対応*/
/*#ph_content_0_Cart2 > div >div:nth-of-type(1) {
    display: none;
}
#ph_content_0_Cart2>div {
    justify-content: center;
}
#ph_content_0_Cart2>div>div {
    width: 25%;
}
.fude-rms-table {
    display: none;
}
#vup-explain .accordion:nth-of-type(4) {
    display: none;
}*/

/* 2024.08.22 カート、料金表レイアウト調整 */
.fude-rms-table tr td:first-child {
  width: 20% !important;
}
#ph_content_0_Cart2 #yutai_self p.priceNew {
  grid-column: 2/4;
  margin: 0 0 0 0.5rem;
}
