@charset "utf-8";

html, body {
  background-color: #fff;
}

p {
	font-family: 'Roboto', sans-serif;
}

.w3top-nav {
  display: flex;
  justify-content: center;
}

.w3_agile_team_grid_right h3,.w3-gallery-head h3,.w3_agile_blog_head h3,.w3_agile_contact_head h3 {
  font-family: 'Roboto', sans-serif;
}

.w3lsnav-right{
    margin: 0;
    width: 50%;
}

.w3lsnav-right nav ul li {
  width: calc(100% / 4);
}

.w3lsnav-right nav {
  background: transparent;
}

.w3lsnav-right nav ul li {
  background: #0f6fba;
}

.w3lsnav-right nav ul li:nth-of-type(4) {
  background: #fff4f1;
}

.w3lsnav-right nav ul li:nth-of-type(4) a {
  color: #e8340d;
}

.w3lsnav-right nav ul li:nth-of-type(4) i.fa {
  color: #e8340d;
}

/*.w3lsnav-right nav .item-container:nth-of-type(1) {
  background: #0f6fba;
}

.w3lsnav-right nav .item-container:nth-of-type(3) {
  background: #fff4f1 !important;
}*/

.en-header {
  font-size: 28px;
  color: #e8340d;
  margin: 5px 0;
}

.who {
  margin-top: 5em;
}

.who p {
  font-size: 1.2em;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
}

.about p {
  font-family: "Roboto", sans-serif;
  font-weight: normal;
}

.about figcaption {
  font-family: "Roboto", sans-serif; 
  font-weight: normal;
}

.absolute p {
  font-family: "Roboto", sans-serif; 
  font-weight: normal;
}

#gallery .w3-gallery-head h3 {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    margin-top: 0.3em;
}

#gallery .w3ls-p-text {
  font-family: "Roboto", sans-serif;
}

/* add ribbon15 */
.ribbon15-wrapper {  
  display: block;
  position: relative;
  margin: 0px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }

.ribbon15 {  
  top: 56px;
  /*right: 20px;*/
  left: 25px;
  /*width: 40px;*/
  width: 40px;
  height: 100px;
  font-size: 1.4em;
  transform: rotate(-90deg);
  }

  .ribbon15 p {
    transform: rotate(90deg);
    font-family: "Roboto", sans-serif;
    padding-left: 0.5em;
  }

/* add ribbon16 */
.ribbon16-wrapper {  
  display: block;
  position: relative;
  margin: 0px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }

.ribbon16 {  
  top: 6px;
  /*right: 20px;*/
  left: 25px;
  /*width: 40px;*/
  width: 40px;
  height: 100px;
  font-size: 1.4em;
  transform: rotate(-90deg);
  }

  .ribbon16 p {
    transform: rotate(90deg);
    font-family: "Roboto", sans-serif;
    padding-left: 0.5em;
  }

  /* add ribbon17 */
.ribbon17-wrapper {  
  display: block;
  position: relative;
  margin: 0px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }

.ribbon17 {  
  top: 6px;
  /*right: 20px;*/
  left: 25px;
  /*width: 40px;*/
  width: 40px;
  height: 100px;
  font-size: 1.4em;
  transform: rotate(-90deg);
  }

  .ribbon17 p {
    transform: rotate(90deg);
    font-family: "Roboto", sans-serif;
    padding-left: 0.5em;
  }

  /* add ribbon18 */
.ribbon18-wrapper {  
  display: block;
  position: relative;
  margin: 0px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }

.ribbon18 {  
  top: 6px;
  /*right: 20px;*/
  left: 25px;
  /*width: 40px;*/
  width: 40px;
  height: 100px;
  font-size: 1.4em;
  transform: rotate(-90deg);
  }

  .ribbon18 p {
    transform: rotate(90deg);
    font-family: "Roboto", sans-serif;
    padding-left: 0.5em;
  }

  /* add ribbon19 */
.ribbon19-wrapper {  
  display: block;
  position: relative;
  margin: 0px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }

.ribbon19 {  
  top: 6px;
  /*right: 20px;*/
  left: 25px;
  /*width: 40px;*/
  width: 40px;
  height: 100px;
  font-size: 1.4em;
  transform: rotate(-90deg);
  }

  .ribbon19 p {
    transform: rotate(90deg);
    font-family: "Roboto", sans-serif;
    padding-left: 0.5em;
  }

.item-container a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media(max-width:760px) {
  .wthree-ab-right .sp-hidden {
    left:-20px;
    top:-50px;
  }
}

@media(max-width:810px){
.w3top-nav {
  flex-direction: column;
}

.item-container {
  width: 95%;
}

.w3lsnav-right {
  width: 100%;
  margin: auto;
}

.w3lsnav-right nav ul li {
  width: calc(100% / 4);
  float: clear;
}

.jm-item-button {
  width: 100%;
  right: 0;
  left: 0 !important;
}
}

@media(max-width:991px){
  .wthree-ab-right .about h2 {
    font-size: 2em;
    margin-left: 0;
    transform: translate(-20px);
  }

  .about h2:before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: -20px;
    width: 0;
    height: 0;
    border: none;
    border-left: solid 17px transparent;
    border-bottom: solid 17px rgb(250, 250, 250);
  }
  .about h2:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: -10px;
    width: 100%;
    border-bottom: solid 3px rgb(250, 250, 250);

  }
}

@media(max-width:667px) {
  .wthree-ab-right .sp-hidden {
    display: none;
  }
}

@media(max-width:600px) {
  .jm-item-button {
    width: 100%;
    right: 0;
    left: 0;
  }
}

@media(max-width:568px){
    .wthree-ab-right .about .wthree-ab-right h2 {
      font-size: 2.5em;
    }
}

@media(max-width:480px) {
.who {
  margin-bottom: 1em;
}

.col-md-4 {
  margin-bottom: 20px;
}
}

.slide-card .inset{
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.slide-card .inset > img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内側の影（ここがポイント） */
.slide-card .inset::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /*box-shadow: inset 0 0 50px rgba(0,0,0,.35);*/
  box-shadow: inset 0 0 30px rgba(255,255,255,.85);
}

.submain p {
  letter-spacing: 2px;
}

.copy-section {
  padding: 1em 0;
}

.about-head h3 {
    font-weight: bold;
}

.convenience-head h3 {
    font-weight: bold;
    color: #e8340d;
    margin: 1.8em auto;
}

@media(max-width:568px) {
  .about-head h3 {
    margin-top: 0.5em;
  }

  .w3-gallery-head h3 {

  }

  .convenience-head h3 {
    margin-top: 2.2em;
  }
}

@media(max-width:414px) {
  .about-head h3, .w3-gallery-head h3, .convenience-head h3 {
    font-size: 32px;
    margin-top: 1em;
  }

  .about-head h3, .w3-gallery-head h3 {
    margin-top: 1em;
  }

  .convenience-head h3 {
    margin-top: 2em;
  }
  
  .en-header {
    font-size: 26px;
  }
}

p.w3ls-p-text {
  font-family: "Yuji Syuku", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
}

.youtube-img {
  margin-bottom: 3em;
}

.br_sp {
  display: none;
}

.img_sp {
  display: none;
}

@media(max-width:768px) {
  .img_pc {
    display: none;
  }

  .img_sp {
    display: block;
  }
}

@media(max-width: 1490px) {
  .w3lsnav-right nav ul li a {
    line-height: 1.2;
  }

  .w3lsnav-right nav ul li a i {
    line-height: 2.0;
  }
}

@media(max-width:1350px) {
  .w3lsnav-right nav {
    /*line-height: 1em;*/
  }
}

@media(max-width:991px) {
  .w3top-nav {
    min-height: 3.5em;
  }

  .w3lsnav-right nav {
    min-height: 3em;
  }

  .w3lsnav-right nav ul li a {
    font-size: 0.9em;
  }

  .br_sp {
    display: block;
  }
}

@media(max-width:700px) {
  .w3lsnav-right nav ul li a {
    font-size: 12px;
    margin-top: 1em;
  }
}

.map .map__images img {
  margin: 2em auto;
  text-align: center;
  max-width: 100%;
}

.insta-white, .insta-gradient {
  width: 50px;
  position: fixed;
  left: 2em;
  top: 2em;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.insta-white img, .insta-gradient img {
  width: 100%;
  z-index: 100;
}

/* デフォルト（例：カラー背景が多い想定なら白アイコンを表示） */
body .section-color .insta-white {
  opacity: 0;
}
body .section-color .insta-gradient {
  opacity: 1;
}

body .section-white .insta-white {
  opacity: 1;
}
body .section-white .insta-gradient {
  opacity: 0;
}

.about-us {
  padding: 0;
}

.about-us .page-header h3, .fleet .page-header h3, .convenience .page-header h3 {
  font-size: 3.5em;
  color: #0f6fba;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  letter-spacing: 5px;
  text-align: center;
  text-transform: uppercase;
  margin-top: 80px !important;
	margin-bottom: 30px;
}

.convenience .page-header h3 {
  color: #e8340d;
}

@media(max-width:991px) {
  .about-us .page-header h3, .fleet .page-header h3, .convenience .page-header h3 {
      font-size: 3.0em;
  }
}

@media(max-width:480px) {
  .about-us .page-header h3, .fleet .page-header h3, .convenience .page-header h3 {
      font-size: 2.5em;
  }
}