/* PAGE SETTINGS */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "メイリオ","Meiryo",Verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",Sans-Serif;
}

.container {
  max-width: 992px;
}

.row {
  margin: 0px;
  padding: 0px;
}

.row .col {
  padding: 0px;
}

/*-- HEADER -------------------------------------------------------*/
#header {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  /* background-image: linear-gradient(#fb8c00, #fb8c00ce, #ffffff) !important; */
}

#header .container {
  padding: 10px 0 0 0;
  display: flex;
  justify-content: space-between;
}

#header .img-container {
  flex: 12;
}

#header .gap-container {
  flex: 10;
}

#header .btn-container {
  flex: 10;
}

#header .img-container-rhs {
  transition: all ease-in-out 0.5s;
}

/* #header .img-container-rhs:hover {
  transform: scale(0.975);
} */

:root {
  --yale_blue:#144c8e;
  --yale_blue_11: #144c8e11;
  --yale_blue_ce:#144c8ece;
  --yale_blue_b9: #144c8eb9;
  --yale_blue_88: #144c8e88;
  --yale_blue_59: #144c8e59;
  --yale_blue_darker:#0d335e;

  --crystal_blue:#68aeb4;
  --crystal_blue_ce:#68aeb4ce;
  --crystal_blue_88:#68aeb488;
  --crystal_blue_darker:#55989e;
}

/*-- MENU -------------------------------------------------------*/
/* #menu {
  position: relative;
  background-image: linear-gradient(#ffffff, #06088dce,#06088d);
  border-bottom: solid 1px #0000005b;
  box-shadow: 0px 1px 5px #06088d;
} */

#menu {
  position: relative;
  background-image: linear-gradient(#ffffff, var(--yale_blue_ce), var(--yale_blue));
  border-bottom: solid 1px #0000005b;
  box-shadow: 0px 1px 5px var(--yale_blue);
}

nav {
  height: calc(40px + 1vw);
  line-height: calc(40px + 1vw);
}

nav ul {
  display: flex;
}

nav ul li {
  flex: 1;
  text-align: center;
  vertical-align: baseline;
}

nav ul a {
  font-size: calc(12px + 1vw);
  font-weight: 400;
  color: #ffffff;
  display: block;
  white-space: nowrap;
  cursor: pointer;
  transition: all ease-in-out 0.5s;
  padding:0
}

nav ul a:hover {
  background-image: linear-gradient(#ffffff,var(--crystal_blue_darker),var(--crystal_blue_darker));
  font-weight: 500;
}

.side-borders-fading {
  border-width: 0px 1px 0px 1px;
  border-style: solid;
  /* -webkit-border-image: -webkit-gradient(linear, 0 100%, 0 0, from(black), to(rgba(0, 0, 0, 0))) 1 100%; */
  /* -webkit-border-image: -webkit-linear-gradient(bottom, black, rgba(0, 0, 0, 0)) 1 100%;
  -moz-border-image: -moz-linear-gradient(bottom, black, rgba(0, 0, 0, 0)) 1 100%;  
  -o-border-image: -o-linear-gradient(bottom, black, rgba(0, 0, 0, 0)) 1 100%; */
  border-image: linear-gradient(to top, var(--yale_blue), var(--yale_blue_11)) 0 50%;
}

/*-- MAIN ---------------------------------------------------------*/
#main {
  background-color: #ffffff;
}

#main .container {
  padding: 15px 0 15px 0;
}

.rel-position {
  position: relative !important;
}

/*-- SWEET HOME -------------------------------------------------------*/
.sweet-home {
  font-size: 13vw;
  line-height: 1;
  font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: var(--yale_blue);
  display: flex;
  flex-direction:column;
  justify-content:center;
  gap:2.5rem;

}
.sweet-home-r1 {
  display: flex;
  justify-content: flex-start;
}
.sweet-home-r1 div:nth-child(2) {
  color: var(--crystal_blue);
}

.sweet-home-r2 {
  display: flex;
  justify-content: flex-end;
}
.sweet-home-r2 div:nth-child(1) {
  color: var(--crystal_blue);
}


/*-- SLIDER -------------------------------------------------------*/
.slider-container {
  display: flex;
}

.slider-side-image {
  height: 381px;
  margin-right: 0px;
  cursor: pointer;
  display: inline-block;
  margin-top: auto;
  margin-bottom: auto;
}

.card, .front, .back {
  position: absolute;
  height: inherit;
  width: inherit;
}

div .card {
  margin: 0;
  padding: 0;
  font-size: 0px;
}

.slider-row {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
	background: rgba(0, 0, 0, 0);
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 0px !important;
  flex: 7.4;
}

.slider-row div {
	width: calc(100% * 10);
  height: auto;
  font-size: 0px !important;
  animation-name: side-slider;
	animation-duration: 65s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite ;
  animation-direction:alternate;
}

.slider-row img {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
	width: calc(100% / 10);
  height: auto;
  border-left: solid 1px #fff;
  border-right: solid 1px #fff;
  border-radius: 10px;
}

@keyframes side-slider {
	0% { transform: translateX(0px); }
	5.263% { transform: translateX(0px); }
	10.526% { transform: translateX(-10%); }
	15.789% { transform: translateX(-10%); }
	21.052% { transform: translateX(-20%); }
	26.315% { transform: translateX(-20%); }
	31.578% { transform: translateX(-30%); }
	36.841% { transform: translateX(-30%); }
  42.104% { transform: translateX(-40%); }
	47.367% { transform: translateX(-40%); }
	52.630% { transform: translateX(-50%); }
	57.893% { transform: translateX(-50%); }
  63.156% { transform: translateX(-60%); }
	68.419% { transform: translateX(-60%); }
  73.682% { transform: translateX(-70%); }
  78.945% { transform: translateX(-70%); }
  84.208% { transform: translateX(-80%); }
  89.471% { transform: translateX(-80%); }
  94.734% { transform: translateX(-90%); }
  100.00% { transform: translateX(-90%); }
}

.section-header {
  margin: 45px 0 0 0;
  /* border-bottom: solid 2px #06088d; */
  /* overflow: hidden;  */
}

.section-header .section-title{
  /* font-size: 2.5rem; */
  font-size: calc(18px + 1vw);
  font-weight: 600;
  color: var(--yale_blue);
  display: inline-block;
}

.section-header .section-subtitle{
  font-size: calc(8px + 1vw);
  padding: 0;
  margin: 0;
  font-weight: 600;
  color: var(--crystal_blue);
}


.section-header .section-title::after {
  content:"";
  /* background: -webkit-linear-gradient(right, #fb8c00 0%,  #fb8a0088 35%, #06088d88 55%, #06088db9 88%, #06088d 100%); */
  background: -webkit-linear-gradient(right, var(--crystal_blue) 0%, var(--crystal_blue_88) 35%, var(--yale_blue_88) 55%, var(--yale_blue_b9) 68%, var(--yale_blue) 100%);
  display: block;
  height: 4px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  margin-top: 0px;
  border-radius: 50px;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
  supported by Chrome, Edge, Opera and Firefox */
}

/*-- INTRODUCTION -------------------------------------------------------*/
#introduction .container {
  padding-top: 0px;
}

#introduction .row {
  margin-top: 15px;
  margin-right: 0;
  margin-left: 0;
  display: flex; /* set to block in mobile view */
  flex-wrap: wrap;
  /* background: url('../img/favicon.png') no-repeat bottom right; */
  /* -webkit-background-size: calc(50px + 8vw);
  -moz-background-size: calc(50px + 8vw);
  -o-background-size: calc(50px + 8vw);
  background-size: calc(50px + 8vw); */
}

#introduction p {
  padding: 0;
  margin: 0;
}

#introduction .enhanced-text-yale-blue {
  font-size: calc(12px + 0.75vw);
  color: var(--yale_blue) !important;
  text-shadow: 0px 0px 4px var(--yale_blue);
  white-space: nowrap;
}

#introduction .enhanced-text-blue {
  font-size: calc(12px + 0.75vw);
  color: var(--yale_blue_darker) !important;
  text-shadow: 0px 0px 4px var(--yale_blue);
  white-space: nowrap;
}

#introduction .enhanced-text {
  font-size: calc(11px + 0.75vw);
  color: #000000 !important;
  text-shadow: 0px 0px 4px #56565e;
  white-space: nowrap;
}

/*-- BUSINESS -------------------------------------------------------*/
#business .container {
  padding-top: 0px;
  overflow: hidden;
}

#business .insurance-type {
  /* font-size: 1.8rem; */
  font-size: calc(14px + 0.75vw);
  line-height: calc(20px + 0.75vw);
  /* line-height: 2.2rem; */
}

#business .flex-row {
  display: flex;
  flex-wrap: wrap;
  /* justify-content:space-between; */
  /* margin-top: 15px; */
}

#business .item {
  height: auto;
  border: solid 1px var(--yale_blue);
  /* width: 19.5%; */
  width: 31.6%;
  border-radius: 5px;
  overflow: hidden;
  transition: all ease-in-out 0.25s;
  margin-right: 5px;
  text-align: center;
}

#business .item:hover {
  transform: scale(0.95);
  opacity: 0.75;
  border: solid 1px #fb8c00;
}

#business .item a {
  font-size: calc(7px + 0.50vw);
  padding: 0 !important;
  margin: 0 !important;
  white-space: nowrap;
}

/*-- COMPANY PROFILE -------------------------------------------------------*/
#company_profile .container {
  padding-top: 0px;
}

#company_profile .row {
  width: 100%;
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#company_profile .left-column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  font-weight: 800;
}

#company_profile .right-column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 8;
}

#company_profile p {
  padding: 0;
  margin: 0;
  padding-left: 10px;
  /* line-height: 1.9; */
}

/*-- CONTACT US -------------------------------------------------------*/
#contact_us .container {
  padding-top: 0px;
}

#contact_us .info-container {
  width: 90%;
  margin: 15px 0 0 auto;
}

#contact_us .flex-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#contact_us .item {
  flex: 1 1 48%;
  margin: 10px 0;
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  min-width: 280px;
}

#contact_us .item .icon {
  padding-right: 10px; 
}

#contact_us .item .icon i {
  background-color: var(--yale_blue);
  color: white;
  transition: all ease-in-out 0.5s;
  font-size: 1.55rem;
}

#contact_us .item .icon i:hover {
  background-color: var(--crystal_blue);
  color: #ffffff;
}

#contact_us .item .text {
  white-space: nowrap;
}

#contact_us .item .text a {
  color: var(--yale_blue);
  transition: all ease-in-out 0.5s;
}

#contact_us .item .text a:hover {
  color:var(--crystal_blue);
}

#contact_us .item .text .title {
  font-size: calc(12px + 0.55vw);
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1;
}

#contact_us .item .text .content {
  font-size: calc(10px + 0.55vw);
}

/*-- SNS -------------------------------------------------------*/
#sns .container {
  padding-top: 0px;
  padding-bottom: 50px;
  text-align: center;
}

#sns p {
  font-size: larger;
  font-weight: bold;
  color: var(--yale_blue);
}

#sns img {
  width: 50px;
  height: auto;
  transition: all ease-in-out 0.5s;
  margin: 0 2px;
}

#sns img:hover {
  opacity: 0.5;
}

/*-- FOOTER -------------------------------------------------------*/
#footer {
  position: relative;
  bottom: 0;
  right: 0;
  left: 0;
  background:#fff;
  box-shadow: 0px -1px 5px var(--yale_blue);
}

#footer .container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  padding-right: 7.5%;
  padding-left: 7.5%;
}

#copyright {
  padding: 20px 0px 5px 0px !important;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  background-image: linear-gradient(var(--yale_blue_59),var(--yale_blue_ce),var(--yale_blue));
}

/* #footer .policies a {
  color: #cacaca;
  margin: 5px;
}

#footer .policies a:hover {
  text-decoration: underline;
} */

/*-- BACK TO TOP BUTTON -------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 10px;
  bottom: 75px;
  z-index: 996;
  background: var(--yale_blue);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background:var(--crystal_blue);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/*-- ADDITIONAL CSS -------------------------------------------------*/ 
.no-shadows {
  box-shadow: none;
}

.no-border {
  border: none !important;
}

.bg-transparent {
  background-color: transparent !important;
  box-shadow: 0px !important;
}

.bg-white {
  background-color: #FFFFFF !important;
}

.bg-pinkish {
  background-color: #ffeeec !important;
}

.bg-light-grey {
  background-color: #F6F7F9;
}

.no-border-top {
  border-top: none !important;
  padding-top: 0px !important;
}

.displayNone {
  display: none !important;
}

.bg-blue {
  background-color: var(--yale_blue) !important;
}

/*-- CUSTOM MARGINS & PADDINGS ------------------------------------------*/
.pt-30-i {
  padding-top: 30px !important;
}

.pt-10 {
  padding-top: 10px;
}

.pb-10 {
  padding-bottom: 10px !important;
}

.pb-5 {
  padding-bottom: 5px;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}
