* {
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
}

html {
  font-size: 16px;
  color: #5e5c4d;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, p, span, a {
  -webkit-margin-before: 0 !important;
          margin-block-start: 0 !important;
  -webkit-margin-after: 0 !important;
          margin-block-end: 0 !important;
  word-break: break-all;
}

a, span, p, label, li {
  font-family: 'defaultfontstyle';
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: justify;
}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover {
  cursor: pointer;
  text-decoration: none;
  opacity: 0.8;
}
label:hover {
  cursor: pointer;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  /* text-shadow: 1px 1px 1px #e0e0e0; */
  font-weight: bold;
  color: #9c8872;
  font-family: 'altfontstyle';
}

h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  display: inline-block;
  color: #72819c;
  margin-bottom: 1rem;
  border-radius: 4px;
  font-weight: bold;
  font-family: 'altfontstyle';
}

h3 {
  font-family: 'altfontstyle';
}

img {
  vertical-align: bottom;
}

.image > img {
  height: 100%;
  width: auto;
}

@font-face {
  font-family: 'defaultfontstyle';
  src: url('../../../share/font/GenEiKoburiMin6-R_subset.woff') format('woff');
}

@font-face {
  font-family: 'altfontstyle';
  src: url('../../../share/font/GenEiKoburiMin6-R_subset.woff') format('woff');
}

@font-face {
  font-family: 'Monasticfont';
  src: url('../../../share/font/Monastic.woff') format('woff');
}

@font-face {
  font-family: 'castroscript';
  src: url('../../../share/font/castroscript.woff') format('woff');
}

.wrapper {
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  /* background-image: url('../../images/common/background.jpg'); */
  background-color: white;
  height: auto;
}

.container {
  width: 100%;
  padding-bottom: 1px;
  background-color: rgba(255,255,255,0.4);
}

.row {
  width: 100%;
  /*
   * background-color
   * background-image
   */
  height: auto;
  margin-bottom: 144px;
  opacity: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.row:last-of-type() {
  margin-bottom: 0;
}

.banner {
  /*
   * background-color
   * background-image
   */
  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%;
  background-size: cover;
  background-position: center;
  margin: auto 0;
}

.banner_item {
  /*
   * background-image
   * width
   */
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.banner_items {
  /*
   * background-images
   * width
   */
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left, right;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 960px;
  margin: auto auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 48px 0;
}

.content_item {
  display: inline-block;
  vertical-align: top;
  padding: 0 24px;
}

.circle {
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: inline-block;
}

.circle > div {
  /*
   * width
   * height
   * border-radius: calc(width or height / 2);
   * background-image
   */
  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;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.map {
  border: 1px solid white;
  background-color: white;
}

.lisence {
  display: inline;
  position: absolute;
  font-size: 0.75rem;
  color: #5e5c4d;
}

.banner_lisence {
  position: relative;
}

.banner_lisence > a.lisence {
  right: 20px;
  top: 96px;
}

/* LogoMark
 *---------------------------------*/
.logo {
  /*
   * height
   * margin-left
   */
  display: inline-block;
  vertical-align: top;
}

.logo > .logo_items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.logo > .logo_items img {
  height: 80%;
}

.logo > .logo_items > .logo_text {
  /*
   * font-size: * rem;
   */
}

.logo > .logo_items > .logo_text > div:first-of-type {
  font-family: 'castroscript';
  font-size: 1.5em;
  line-height: 1;
  text-indent: 0.5em;
  color: #1c0101;
  height: 40%;
}

.logo > .logo_items > .logo_text > div:last-of-type {
  font-family: 'defaultfontstyle';
  font-size: 1.3em;
  line-height: 1.7;
  text-indent: 0.2em;
  color: #1c0101;
  height: 60%;
}

/* Fix
 *---------------------------------*/
#fixed, .card {
  position: absolute;
  position: fixed;
  right: 5%;
  /* background-color: #FCFAF3; */
  height: 128px;
  width: 204px;
}

.fixed_wrap {
  display: flex;
  align-items: center;
  height: 100%;
  background-image: url('../../images/common/fixed.jpg');
  background-size: cover;
  border-radius: 4px;
  color: #5e5c4d;
  font-weight: bold;
  text-align: center;
}

.fixed_wrap_content {
  margin: auto;
  margin: auto;
  padding: 2px 6px 6px 6px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.fixed_wrap_content * {
  font-family: 'sans-serif' !important;
}

.fixed_wrap_content_detail {
    height: 36px;
}

.fixed_wrap_content_detail span {
  line-height: 2.1;
  color: #e86a61;
}

.fixed .freedial_color * {
  color: #e86a61;
}

.fixed .tovoice_color * {
  color: #5e5c4d;
}

.freedial_number {
  font-size: 1.2rem;
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 0.05rem;
}

/* Fade
 *---------------------------------*/
.from_left {
  -webkit-transition: all 1s;
  -webkit-transform: translate(0, 0);
  opacity: 1;
}
._from_left {
  -webkit-transform: translate(-240px, 0);
  opacity: 0;
 }

.from_right {
  -webkit-transition: all 1s;
  -webkit-transform: translate(0, 0);
  opacity: 1;
}
._from_right {
  -webkit-transform: translate(240px, 0);
  opacity: 0;
}

.from_top {
  -webkit-transition: all 1s;
  -webkit-transform: translate(0, 30px);
  opacity: 1;
}
._from_top {
  -webkit-transform: translate(0, 0);
  opacity: 0;
}

.from_bottom {
  -webkit-transition: all 1s;
  -webkit-transform: translate(0, -30px);
  opacity: 1;
}
._from_bottom {
  -webkit-transform: translate(0, 0);
  opacity: 0;
}

.from_inside {
  -webkit-transition: all 1s;
  -webkit-transform: scale(1.0);
  opacity: 1;
  display: block;
}
._from_inside {
  -webkit-transform: translate(0, 0)  scale(0.9);
  opacity: 0;
}

.rotateX {
  -webkit-transition: all 1s;
  -webkit-transform: rotateY(0deg);
  opacity: 1;
}
._rotateX {
  -webkit-transform: rotateY(180deg);
  opacity: 0;
}

/* Button
 *---------------------------------*/
.btn {
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
}

.btn_primary {
  background-color: #c3e3cc;
  border: 1px solid #b6d9c0;
}

.btn_primary > * {
  color: #515953;
  text-shadow:1px 1px 2px white;
  font-weight: 100;
  font-family: 'altfontstyle';
}

/* CSS Decorations
 *---------------------------------*/
.decorations {
  width: 16px;
  height: 16px;
  background: #eb7a92;
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
  margin: 18px auto 4px;
  position: relative;
  left: 8px;
}
.decorations::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #f2a5b5;
  /* transform: rotate(0deg); */
  margin: 18px auto 4px;
  display: inline-block;
  position: absolute;
  top: -34px;
  left: 23px;
}
.decorations::after {
  content: "";
  width: 26px;
  height: 26px;
  background: #DF5573;
  /* transform: rotate(0deg); */
  margin: 18px auto 4px;
  display: inline-block;
  position: absolute;
  top: -1px;
  left: -34px;
}

.decorations_dot::before {
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
  /*
   * background-color
   */
  background-color: #e8e4d1;
  border-radius: calc(8px / 2);
  margin: 0 8px;
  vertical-align: middle;
}
