* {
  box-sizing: border-box;
  border-collapse: collapse;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
}

body>header,
body>section {
  max-width: 900px;
  margin: 15px;
}

body.movie {
  max-width: 660px;
  margin: auto;
}

img {
  max-width: 100%;
}

a:hover {
  opacity: .8;
  cursor: pointer;
}

h2 {
  background-color: #333;
  color: #fff;
  padding: .2em .5em;
}

h3 {
  font-size: 1.4em;
  border-bottom: 1px solid #333;
  margin-top: 1em;
  margin-bottom: 1em;
}

h3:nth-of-type(1) {
  margin-top: 0;
}

h4 {
  font-size: 1.25em;
  margin-bottom: 0;
}

p,
li {
  line-height: 1.5em;
  font-size: 1.1em;
}

small {
  display: block;
  margin-bottom: 1em;
}

header h1 {
  margin-left: 0;
  margin-bottom: 0;
}

header h1 img {
  max-height: 50px;
}

header h1.makerlogo {
  display: inline-block;
}

header h1.makerlogo:before {
  display: inline-block;
  margin-right: 20px;
  content: "";
  width: 150px;
  height: 40px;
}

header h1.makerlogo.rin:before {
  background: url('/modal-common/images/makerlogo/rin.png') no-repeat;
  background-size: contain;
}

header h1.makerlogo.nor:before {
  background: url('/modal-common/images/makerlogo/nor.png') no-repeat;
  background-size: contain;
}

header h1.makerlogo.pal:before {
  background: url('/modal-common/images/makerlogo/pal.png') no-repeat;
  background-size: contain;
}

header h1.makerlogo.tak:before {
  background: url('/modal-common/images/makerlogo/tak.png') no-repeat;
  background-size: contain;
  width: 250px;
  height: 40px;
}

header h1.makerlogo.lix:before {
  background: url('/modal-common/images/makerlogo/lix.png') no-repeat;
  background-size: contain;
  width: 100px;
  height: 50px;
}

header h1.makerlogo.pan:before {
  background: url('/modal-common/images/makerlogo/pan.png') no-repeat;
  background-size: contain;
  width: 200px;
  height: 35px;
}

header h1.makerlogo.toc:before {
  background: url('/modal-common/images/makerlogo/toc.png') no-repeat;
  background-size: contain;
  width: 200px;
}

header h1.makerlogo.tot:before {
  background: url('/modal-common/images/makerlogo/tot.png') no-repeat;
  background-size: contain;
}

header h1.makerlogo.cle:before {
  background: url('/modal-common/images/makerlogo/cle.png') no-repeat;
  background-size: contain;
}


body.movie header h1 {
  text-align: center;
  margin: 0 0 1em 0;
  font-size: 1.6em;
}

header .maintop {
  margin: 2%;
}

body.movie header .maintop {
  margin: 2% 0;
}

.maintop .colsize {
  list-style-type: none;
  padding: 0;
  font-size: .6em;
  text-align: right;
}

.maintop .colsize li {
  display: inline-block;
  border: 1px solid #666;
  padding: .2em .4em;
  margin-bottom:.5em;
}

body.movie header .maintop a.backtxt {
  display: inline-block;
  font-size: 1.3em;
  text-decoration: none;
  position: absolute;
  padding-left: 20px;
  font-weight: bold;
  color: #666;
  top: 1em;
}

body.movie header .maintop a.backtxt:before {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 15px;
  height: 15px;
  border-top: 3px solid #666;
  border-right: 3px solid #666;
  transform: rotate(225deg);
}

body.movie.close section .fxmovie:before {
  position: relative;
  top: 4em;
  left: calc(50% - 1.5em);
  z-index: 999;
  content: '準備中';
  font-size: 4em;
  font-weight: bold;
  color: #111;
}

body.movie.close section .fxmovie {
  position: relative;
  top: -3em;
}

body.movie.close section img {
  opacity: .5;
}

body.movie.close section a {
  display: none;
}

header .model_cap {
  display: block;
  font-weight: bold;
  margin-bottom: 1em;
}

section {
  margin-bottom: 5%;
}

div.sep12 .sep {
  width: 100%;
}

section.flr_standard,
section.estimate,
section:not(.flr_standard)>div>div:not(.sepblk),
section.optionblk .opt {
  border: 3px solid #666;
  margin-bottom: 3%;
  padding: 1rem;
}

.flr1 section.flr_standard {
  border-color: #e9474d;
}

.flr2 section.flr_standard {
  border-color: #ed6c00;
}

.flr3.typek section.flr_standard {
  border-color: #00abeb;
}

.flr3.typem section.flr_standard {
  border-color: #757ebc;
}

.flr4 section.flr_standard {
  border-color: #ea6188;
}

.flr5 section.flr_standard {
  border-color: #8fc31f;
}

.boxtxt {
  color: #fff;
  padding: .1em .5em;
  display: inline-block;
  font-weight: bold;
}

.flr1 section.flr_standard h2,
.flr1 .boxtxt {
  background: #e9474d;
}

.flr2 section.flr_standard h2,
.flr2 .boxtxt {
  background: #ed6c00;
}

.flr3.typek section.flr_standard h2,
.flr3.typek .boxtxt {
  background: #00abeb;
}

.flr3.typem section.flr_standard h2,
.flr3.typem .boxtxt {
  background: #757ebc;
}

.flr4 section.flr_standard h2,
.flr4 .boxtxt {
  background: #ea6188;
}

.flr5 section.flr_standard h2,
.flr5 .boxtxt {
  background: #8fc31f;
}

section.optionblk {
  border-color: #74562c;
}

section.optionblk h2 {
  background: #74562c;
}

section.optionblk h3 {
  color: #74562c;
}

section.recommendblk h2 {
  background: #ed6c00;
}

section.flr_standard h2 {
  margin-top: 0;
}

section.flr_standard h3,
section.optionblk h3 {
  border-bottom: initial;
}

.acord_tit {
  position: relative;
}

.acord_tit:hover {
  opacity: .8;
  cursor: pointer;
}

.acord_tit:after {
  content: "";
  position: absolute;
  right: 25px;
  top: 38%;
  transition: all 0.2s ease-in-out;
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.acord_tit.open:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 45%;
}

.acord_tit + div > .sepblk:first-of-type {
  margin-bottom:3%;
}

section.estimate form>img {
  margin-top: 1em;
  max-width: 400px;
  width: 100%;
  display: block;
}

section.estimate form .formheader {
  border-bottom: 2px solid #333;
}

section.estimate dl {
  font-weight: bold;
  margin: 0;
  padding-top: 1em;
}

section.estimate dt {
  font-size: 1.45em;
}

section.estimate dd {
  font-size: 2em;
  margin: 0;
  padding-bottom: .3em;
}

section.estimate dt:nth-of-type(2n) {
  padding-top: .3em;
  border-top: 1px dashed #ddd;
}

section.estimate select {
  clear: both;
}

button:hover,
section.estimate select:hover {
  opacity: .8;
  cursor: pointer;
}

select[name="product"] {
  font-size: 1em;
  font-weight: bold;
  width: 100%;
  margin: 1em 0;
  padding: .5em;
  border-radius: 8px;
  display: none;
}

body.flr1 select[name="product"],
body.flr4 select[name="product"] {
  display: initial;
}

#gasconro-product select[name="product"] {
  display: initial;
}

button[name="submit"] ,
.btblk {
  clear: both;
  background: #00428b;
  border: none;
  color: #fff;
  font-size: 1.4em;
  font-weight: bold;
  width: 100%;
  padding: .3em;
  border-radius: 8px;
}
.recommendblk .btblk {
  display:block;
  text-decoration: none;
  background: #ed6c00;
  text-align: center;
}

section.size_tbl h2,
section.type_tbl h2 {
  background-color: initial;
  color: #333;
  padding: initial;
}

section.size_tbl h2::before,
section.type_tbl h2::before {
  content: '■';
}

section.size_tbl ul {
  list-style-type: none;
  padding: 0;
}

section.size_tbl ul li {
  border: 2px solid #333;
  margin: 3% 0;
  padding: .5em;
  font-weight: bold;
  color: #333;
}

section.size_tbl ul li.null,
li.null .price {
  color: #fff !important;
  background: #c9c9c9 !important;
}

section.size_tbl .price {
  font-size: 1.2em;
}

section.size_tbl ul li div {
  text-align: center;
}

.price {
  color: #d0121b;
  font-weight: bold;
  font-size: 1.7em;
  text-align: right;
}

.price.big {
  font-size: min(10vw, 3.7em);
}

.price:not(.str):first-letter {
  font-size: .7em;
}

.price span:before {
  display: inline-flex;
  font-size: .45em;
  writing-mode: vertical-rl;
  vertical-align: middle;
  content: '税込';
  margin: -3px;
  width: 2em;
}

.price span:after {
  content: '円';
  font-size: .5em;
}

section.estimate .price {
  color: initial;
}

.pricecap {
  color: #d0121b;
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 0;
  text-align: right;
}

.pricecap.b {
  color: #161616;
}

.pricecap.tit {
  border-bottom:1px solid rgb(141,193,31);
  padding-bottom: .5em;
  text-align: initial;
}

.pricecap.wm {
  font-weight: normal;
}

div.sepblk {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: initial;
}

div.sepblk div.sepblk:last-of-type {
  margin-bottom: initial;
}

h4+p,
div.sepblk .sep p:nth-of-type(1) {
  margin-top: 0;
}

div.sep2 .sep {
  width: 49%;
}

div.sep3 .sep {
  width: 32%;
}

.js-modal-open {
  margin: .5em auto;
}

.m_modal {
  display: none;
  z-index: 0999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.m_modal .movie-wrap {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.m_modal .movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.m_modal__bg {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
}

.m_modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  max-width: 860px;
  padding: 0;
  transform: translate(-50%, -50%);
  background: #fff;
}

a.js-modal-close {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 44px;
  height: 44px;
}

.m_modal__content {
  width: calc(100% - 32px);
}

.fxmovie {
  position: relative;
}

.fxpoint {
  display: block;
  position: absolute;
}

.solo {
  margin-bottom: 2%;
}

.slick-prev:before,
.slick-next:before {
  color: #161616;
}

/* footerMenu */
body {
  padding-bottom: 15em;
  margin: 0;
}

#navifooter {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: .9rem;
  z-index: 999;
}

#navifooter nav ul {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}

#navifooter nav li {
  display: flex;
  align-items: stretch;
}

#navifooter nav a {
  color: #fff;
  padding: .5em;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: initial;
  text-decoration: none;
}

#navifooter nav a:hover {
  opacity: .5;
}

#extlink,
#clslink {
  background: #212121;
}

#extlink li {
  width: 20%;
  border-right: 1px dashed #777;
}

#extlink li:nth-of-type(5) {
  border-right: none;
}

#inplink li {
  width: 25%;
}

#extlink a {
  background: #454545;
}

#extlink li:nth-last-of-type(3) {
  font-size: .7em;
}

#extlink li:nth-last-of-type(3) br {
  display: none;
}

#inplink {
  background: #dbdbdb;
}

#inplink li:nth-of-type(1) a {
  background: #ED6C00;
}

#inplink li:nth-of-type(2) a {
  background: #CA4768;
}

#inplink li:nth-of-type(3) a {
  background: #3C80B6;
}

#inplink li:nth-of-type(4) a {
  background: #5EA23A;
}

#inplink li a.inval {
  color: #aaa; 
  cursor: not-allowed; 
}

.icochip {
  background: #c00;
  color: #fff;
  font-size: .5em;
  border-radius: 50%;
  padding: 3px 5px;
  margin: 0 5px;
  vertical-align: text-top;
}

/* old_taiou */
.__sizearea h2 {
  background: initial;
}

h2.__subtitle {
  color: initial;
  background-color: initial;
}

h2.__colortitle {
  background-color: initial;
}
.recommendblk.old .btblk {
  margin:1em auto;
}

@media (min-width: 768px) {

  body>header,
  body>section {
    margin: auto;
  }

  section.flr_standard,
  section.estimate,
  section:not(.flr_standard)>div>div:not(.sepblk),
  section.optionblk .opt {
    padding: 2rem;
  }

  .solo {
    width: 70%;
    margin: 0 15% 2% 15%;
  }

  div.sepblk .sep {
    padding-bottom: initial;
  }

  div.sep12 .sep {
    width: 49%;
  }

  div.sep12.p46 .sep {
    width: 39%;
  }

  div.sep12.p46 .sep:nth-of-type(2n) {
    width: 59%;
  }

  div.sep12.p64 .sep {
    width: 59%;
  }

  div.sep12.p64 .sep:nth-of-type(2n) {
    width: 39%;
  }

  div.sep12.p73 .sep {
    width: 69%;
  }

  div.sep12.p73 .sep:nth-of-type(2n) {
    width: 29%;
  }

  div.sep12.p73b .sep {
    width: 74%;
  }

  div.sep12.p73b .sep:nth-of-type(2n) {
    width: 24%;
  }

  div.sep12.p82 .sep {
    width: 79%;
  }

  div.sep12.p82 .sep:nth-of-type(2n) {
    width: 19%;
  }

  div.sep13 .sep {
    width: 32%;
  }

  section.estimate dl {
    overflow: auto;
  }

  section.estimate dt {
    clear: both;
    float: left;
    width: 60%;
  }

  section.estimate dd {
    float: right;
    width: 40%;
  }

  section.estimate dd:nth-of-type(2n) {
    padding-top: .3em;
    border-top: 1px dashed #ddd;
  }

  section.size_tbl ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  section.size_tbl ul>li {
    width: 49%;
    margin: 0 0 2% 0;
  }

  section.size_tbl ul li .txt {
    color: #d0121b;
  }

  body {
    padding-bottom: 13em;
  }

  #navifooter br {
    display: none;
  }

  #navifooter nav {
    padding: 1em;
  }

  #navifooter nav ul {
    width: calc(100% - 32px);
    max-width: 900px;
  }

  #navifooter nav a {
    border-radius: 8px;
  }

  #extlink li {
    width: calc((100% - 32px)/5);
    border-right: none;
  }

  #extlink li:nth-last-of-type(3) br {
    display: initial;
  }

  #extlink li:nth-last-of-type(3) {
    font-size: initial;
  }

  #inplink li {
    width: calc((100% - 32px)/4);
  }
}

/* simple UI edition */
body.local #navifooter #extlink li,
body.local .__3darea,
body.local .__movietext-top,
body.local .__movietext-bottom,
body.local .formtbl,
body.local .__input,
body.local select,
body.local button,
body.local .mvtbl,
body.local.flr4 .estimate,
body.local.flr3 .__moviewrap, body.local.flr3 .js-modal-open,
body.local.flr4 .__moviewrap, body.local.flr4 .js-modal-open,
body.local.flr5 .__moviewrap, body.local.flr5 .js-modal-open,
body.local.flr5 #kino-1,
body.local.flr5 #navifooter #inplink li:nth-of-type(1),
body.local a[target="_blank"],
body.local.entrance header,
body.local.entrance nav.header-nav,
body.local.entrance div.estimate-btn-wrap,
body.local.entrance #reform-cta,
body.local.entrance footer,
body.local.entrance #footer-bar,
body.local.entrance .floor-item-information,
body.local.entrance #news,
body.local.entrance #attention {
  display: none !important;
}
body.local.entrance #main {
  margin-top:3em;
}
body.local #navifooter{
  background: #212121;
}
body.local #navifooter #extlink,
body.local #navifooter #inplink{
  display: inline-block;
  background:none;
  margin:0;
  vertical-align: top;
}
body.local #navifooter #extlink ul,
body.local #navifooter #inplink ul{
  width:100%;
}
body.local #navifooter #extlink li,
body.local #navifooter #inplink li
{
  width:initial;
  min-width: 4em;
  min-height:4em;
  margin:0 .5em;
}
body.local #navifooter #extlink li:nth-last-of-type(2),
body.local.flr2 #navifooter #extlink li:nth-last-of-type(3),
body.local.flr3 #navifooter #extlink li:nth-last-of-type(3),
body.local.flr4 #navifooter #extlink li:nth-last-of-type(3),
body.local.flr5 #navifooter #extlink li:nth-last-of-type(3),
body.local #navifooter #extlink li:nth-last-of-type(2) a,
body.local #navifooter #extlink li:nth-last-of-type(3) a{
  display: flex !important;
}

