/* Box sizing rules */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/*add reset styles*/
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/*Break Point
------------------------------*/
/*font
---------------------------------*/
/*color
---------------------------------*/
body {
  color: #786a3e;
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
  line-height: 1.5;
  overflow: visible;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

main {
  overflow: clip;
}

.wrapper {
  max-width: 800px;
}

.plan-spec {
  margin-top: 130px;
  background: #786a3f;
  padding: 10px 50px 24px;
  color: #FFF;
  text-align: center;
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-bottom: 40px;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-spec {
    margin-top: 0;
    padding: 18px 15px 30px;
    margin-bottom: 20px;
  }
}

.plan-name {
  font-size: 60px;
  border-bottom: 1px solid #FFF;
  margin-bottom: 10px;
  padding-bottom: 6px;
  letter-spacing: 2px;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-name {
    font-size: 43px;
  }
}
.plan-name small {
  font-size: 65%;
}

.plan-type {
  font-size: 46px;
  letter-spacing: 2px;
  line-height: 1;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-type {
    font-size: 38px;
  }
}
.plan-type span {
  font-size: 65%;
}

.plan-size {
  font-size: 40px;
  margin-top: 5px;
}
.plan-size small {
  font-size: 13px;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-size small {
    font-size: 12px;
  }
}
.plan-size span {
  font-size: 60%;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-size {
    font-size: 32px;
    margin-top: 10px;
    line-height: 1;
    text-align: left;
    padding-left: 20%;
  }
}

.plan-lead {
  text-align: center;
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 30px;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-lead {
    font-size: 16px;
  }
}

.plan-plan {
  max-width: 700px;
  margin: 0 auto;
}

.plan-cap {
  max-width: 340px;
  margin: 20px auto 50px;
  text-align: center;
  font-size: 11px;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-cap {
    margin: 20px auto 40px;
  }
}
.plan-cap figure {
  max-width: 330px;
  margin-bottom: 5px;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-cap figure {
    width: 250px;
  }
}
@media print, screen and (max-width: 1023.9px) {
  .plan-cap {
    font-size: 10px;
  }
}

.plan-back {
  max-width: 220px;
  margin: 30px auto 0;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-back {
    margin-top: 15px;
  }
}
.plan-back a {
  background: #786a3f;
  border: 1px solid #786a3f;
  color: #fff;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 40px;
  -webkit-transition: all 0.15s;
  transition: all 0.15s;
  padding-bottom: 2px;
}
@media print, screen and (max-width: 1023.9px) {
  .plan-back a {
    font-size: 14px;
    height: 35px;
  }
}
.plan-back a:hover {
  background: #FFF;
  color: #786a3f;
}