@charset "utf-8";

/*
Theme Name: Ri+
*/

:root {
  --inner: 104rem;
  --maincolor: #0D62C6;
  --subcolor01: #29ACD3;
}

/* RESET
----------------------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video,picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  line-height: 1.5em;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
}
picture {
  display: block;
}
/* ----------------------------------------------

 * 設定をしなおす

---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
  }
}
html {
  -webkit-font-smoothing: antialiased;
  font-size: 62.5%;
}
@media screen and (max-width: 1100px) {
  html {
    font-size: 0.7320644217vw;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 2.6666666667vw;
  }
}
body {
  margin: 0 auto;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1.8em;
  color: #000;
  height: 100%;
  font-family: YakuHanJP,"Zen Kaku Gothic New","游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Sogoe UI", Verdana, "メイリオ", Meiryo, sans-serif;
  font-weight: 400;
  position: relative;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.4rem;
  }
}
.en {
  font-family: "Mulish", sans-serif;
}

.bold,h1,h2,h3,h4,h5,h6 {
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media only screen and ( max-width : 375px ) {
  body {
    font-size: 14px;
  }
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
main {
  display: block;
  position: relative;
}

a {
  outline:none;
  color: #212121;
}

a:hover {
  text-decoration: none;
}

a,a:hover,a:hover img,button,input {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}

* {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}


/* -----------------------------------------------
 * COMMON
----------------------------------------------- */
input[type=text]:focus {
  outline: none;
}
#main {
overflow: hidden;
}
section {
position: relative;
}
.container {
  max-width: calc(var(--inner) + 3rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.large_container {
  max-width: calc(120rem + 3rem);
}

.pt-0 {
padding-top: 0 !important;
}
.pb-0 {
padding-bottom: 0 !important;
}
.m0a {
  margin: 0 auto;
}

@media only screen and ( max-width : 767px ) {
  .container {
    max-width: 100%;
  }
  .br_pc {
    display: none;
  }
  .sp_none{display:none !important;}
  .m0a_sp {
    margin: 0 auto;
  }
}
@media print, screen and ( min-width : 768px ) {
  .br_sp {
    display: none;
  }
  .sp { display:none !important; }
}


/* ---------------------------------------------------------------------------------------------

　   FLEX

--------------------------------------------------------------------------------------------- */
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.d-inline-flex {
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}
.flex-row {
  -ms-flex-direction: row !important;
  flex-direction: row !important;
}

.flex-column {
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}

.flex-row-reverse {
  -ms-flex-direction: row-reverse !important;
  flex-direction: row-reverse !important;
}

.flex-column-reverse {
  -ms-flex-direction: column-reverse !important;
  flex-direction: column-reverse !important;
}

.flex-wrap {
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
}

.flex-nowrap {
  -ms-flex-wrap: nowrap !important;
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  -ms-flex-wrap: wrap-reverse !important;
  flex-wrap: wrap-reverse !important;
}
.justify-content-start {
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
}

.justify-content-end {
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}

.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.justify-content-between {
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.align-items-start {
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.align-items-end {
  -ms-flex-align: end !important;
  align-items: flex-end !important;
}

.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}


@media (min-width: 768px) {
  .d-md-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .justify-content-md-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-md-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-md-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-md-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-md-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-md-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-md-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

/* ---------------------------------------------------------------------------------------------

　   FLEX LAYOUT

--------------------------------------------------------------------------------------------- */

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -1.5rem;
  margin-left: -1.5rem;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}


.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.col-auto {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.col-1 {
  -ms-flex: 0 0 8.333333%;
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  -ms-flex: 0 0 91.666667%;
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-md-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  .col-md-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/* ---------------------------------------------------------------------------------------------

　   TEXT

--------------------------------------------------------------------------------------------- */
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

@media (min-width: 768px) {
  .text-md-left {
    text-align: left !important;
  }
  .text-md-right {
    text-align: right !important;
  }
  .text-md-center {
    text-align: center !important;
  }
}


/* ---------------------------------------------------------------------------------------------

　   HEADER

--------------------------------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}
.page #header {
  position: sticky;
}

#gNav li {
  font-weight: 500;
}

.h_contact_btn .btn {
  width: 20rem;
  justify-content: flex-start;
  padding: 0 2rem;
}
#fixed_contact_btn {
  position: fixed;
  z-index: 99;
}

@media only screen and ( max-width : 767px ) {
  #header,
  #header_inner {
    height: 60px;
  }
  .h_fixed {
    background: #fff;
  }
  .open #header_inner {
    background: #fff;
    /* background: var(--maincolor); */
  }
  #header .container {
    padding: 0 15px;
  }
  #logo {
    width: calc(100% - 60px);
  }
  #logo img {
    width: 11rem;
  }
  /* .open #logo img {
    opacity: 0;
  }
  .open #logo {
    background: url(img/logo_white.png) no-repeat left center / 162px;
  } */
  body.fixed {
    height: 100%; 
    position: fixed;
    width: 100%; 
  }
  .nav-open #header.h_fixed {
    position: fixed !important;
  }
  #menu_btn {
    transition: .3s;
    cursor: pointer;
    position: absolute !important;
    z-index: 9999;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    right: 0;
    top: 0;
  }
  #menu_btn.active {
    background: none;
  }
  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 0;
    transition: opacity .5s;
  }
  .overlay.open {
    width: 100%;
    height: 100vh;
    opacity: 1;
  }
  #main {
    height: 100%;
    transition: all .5s;
  }
  .menu-trigger {
    vertical-align: middle;
    text-align: center;
    position: relative;
    width: 30px;
    height: 22px;
  }
  .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--maincolor);
    transition: all .5s;
  }
  #menu_btn.active .menu-trigger span {
    background: var(--maincolor);
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(3) {
  }
  #menu_btn.active .menu-trigger span:nth-of-type(1) {
    transform: translateY(.7rem) rotate(-45deg);
  }
  .menu-trigger span:nth-of-type(2) {
    top: 10px;
    left: auto;
    right: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(3) {
    transform: translateY(-12px) rotate(45deg);
  }
  #gNav {
    height: calc(100vh - 60px);
    overflow: auto;
    background-color:#fff;
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 101;
    transition: all .2s;
    width: 100%;
    padding: 4rem 4.5rem !important;
    opacity: 0;
    visibility: hidden;
  }
  #gNav.open {
    /*transform: translateZ(0);*/
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
  }
  #gNav .nav {
    margin-bottom: 3rem;
  }
  #gNav .nav li {
    margin-bottom: 3rem;
    text-align: center;
  }
  #gNav .nav li a {
    position: relative;
    display: inline-block;
    position: relative;
    font-size: 2rem;
    color: var(--maincolor);
    font-weight: bold;
    text-align: center;
    border-bottom: .3rem solid rgba(255, 255, 255, 0);
  }
  .h_contact_btn .btn {
    color: #fff;
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: 0;
    position: fixed;
    bottom: 0;
    left: 0;
  }
  
}
@media print, screen and ( min-width : 768px ) {
  #header {
    background: rgba(255, 255, 255, 0);
    transition: .3s;
    padding: 0 4rem;
  }
  #header.h_fixed {
    background: rgba(255, 255, 255, .9);
  }
  #logo {
    width: 16rem;
  }
  #header_inner {
    height: 8.4rem;
    transition: .3s;
  }
  #gNav li {
    margin-right: 4rem;
  }
  #gNav li:last-of-type {
    margin-right: 0;
  }
  .h_contact_btn .btn {
    font-size: 1.6rem;
    border: 1px solid #fff;
  }
  #fixed_contact_btn {
    right: 2rem;
    bottom: 2rem;
  }
}



/* ---------------------------------------------------------------------------------------------

　   FOOTER

--------------------------------------------------------------------------------------------- */

#gmap iframe {
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
}

.copyright {
  text-align: center;
  color: var(--maincolor);
}
.f_award_text {
  font-weight: 500;
}
.f_sns_text {
  width: 6rem;
  margin-right: 2.5rem;
  padding-right: 2.5rem;
  border-right: 1px solid #ccc;
}
.f_sns ul {
  max-width: calc(100% - 8.5rem);
}
.f_sns ul li {
  margin-right: 2rem;
}
.f_sns ul li:last-of-type {
  margin-right: 0;
}
@media only screen and ( max-width : 767px ) {
  #footer {
    padding-bottom: 6.5rem;
  }
  #gmap iframe {
    height: 34rem;
  }
  .copyright {
    padding: 2.5rem 0;
    font-size: 1.5rem;
  }
  #f_top {
    padding: 2.5rem 0;
  }
  .f_sns {
    justify-content: center;
    margin-top: 3rem;
  }
  .f_award img {
    width: 10rem;
    margin-right: 1rem;
  }
  .f_award .f_award_text {
    width: calc(100% - 12rem);
  }
  .f_sns ul li {
    width: 6rem;
  }
}


@media print, screen and ( min-width : 768px ) {
  #gmap {
    padding: 0 4rem;
  }
  .copyright {
    padding: 5rem 0;
    font-size: 1.8rem;
  }
  #f_top {
    padding: 5rem 0;
  }
  .f_award {
    width: 52%;
  }
  .f_sns {
    width: 44%;
  }
  .f_award img {
    width: 10rem;
    margin-right: 2rem;
  }
  .f_award .f_award_text {
    width: calc(100% - 12rem);
  }
  .f_sns ul li {
    width: 8.2rem;
  }
}



/* ---------------------------------------------------------------------------------------------

　   TITLE / BUTTON

--------------------------------------------------------------------------------------------- */
.fit {
  object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
  height: 100%;
}

.btn {
  background: var(--maincolor);
  position: relative;
  display: flex;
  color: #fff;
  border: 1px solid var(--maincolor);
  border-radius: 6rem;
  width: 30rem;
  height: 6rem;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.8rem;
}
.btn:after {
  content: "";
  width: 2.2rem;
  height: 1.2rem;
  background: url(./img/arrow-white.png) no-repeat center / contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2rem;
}

.title_heading {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  color: var(--maincolor);
  font-weight: 700;
}
.title_heading .title_jp {
  line-height: 1;
}
.title_heading .title_en {
}

@media only screen and ( max-width : 767px ) {
  .sec {
    padding: 4rem 0;
  }
  .title_heading {
    margin-bottom: 4rem;
  }
  .title_heading .title_en {
    font-size: 4rem;
  }
  .title_heading .title_jp {
    font-size: 1.6rem;
  }
}

@media print, screen and ( min-width : 768px ) {
  .sec {
    padding: 8rem 0;
  }
  .title_heading {
    margin-bottom: 8rem;
  }
  .title_heading .title_en {
    font-size: 8rem;
  }
  .title_heading .title_jp {
    font-size: 2.2rem;
  }
}


/* ---------------------------------------------------------------------------------------------

　   margin / padding

--------------------------------------------------------------------------------------------- */

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.mb-1,
.my-1 {
  margin-bottom: 1rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 2rem !important;
}


.mb-3,
.my-3 {
  margin-bottom: 3rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 4rem !important;
}
.mb-5,
.my-5 {
  margin-bottom: 5rem !important;
}


@media (min-width: 768px) {
  .mb-md-0,
  .my-md-0 {
    margin-bottom: 0 !important;
  }
  .mb-md-1,
  .my-md-1 {
    margin-bottom: 1rem !important;
  }
  .mb-md-2,
  .my-md-2 {
    margin-bottom: 2rem !important;
  }
  .mb-md-3,
  .my-md-3 {
    margin-bottom: 3rem !important;
  }
  .mb-md-4,
  .my-md-4 {
    margin-bottom: 4rem !important;
  }
  .mb-md-5,
  .my-md-5 {
    margin-bottom: 5rem !important;
  }
}


/* ---------------------------------------------------------------------------------------------

　   XXX

--------------------------------------------------------------------------------------------- */

@media only screen and ( max-width : 767px ) {

}
@media print, screen and ( min-width : 768px ) {

}