html{
    scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-image: url("img/bg.png");
  background-blend-mode: multiply;
  background-position: right -514px bottom 100px;
  background-repeat: no-repeat;
  background-size: 1229px 622px;
}
.title {
  margin-top: 50px;
}
.title p {
  margin: 0 2rem 0 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: white;
  border-radius: 1rem;
  color: #707070;
  text-align: center;
}
.title h1 {
  text-align: center;
  font-size: clamp(3rem, 5.5vw, 5rem);
  color: #00469B;
  font-weight: bold;
  text-shadow: 0 2px 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, 0 3px 3px rgba(0, 0, 0, 0.35);
}
header {
  background-image: url("img/bg.png"), url("img/head_bg.jpg");
  background-blend-mode: multiply, normal;
  background-position: -382px -160px, 0% 0%;
  background-repeat: no-repeat;
  background-size: 1229px 622px, cover;
}
.head_text {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
}
.head_text strong {
  color: #8A0000;
}
.head_list li {
  list-style: none;
  background-color: #D2A143;
  margin: 3px 0;
  padding: 1rem;
  color: white;
  border-radius: 0.5em;
}
.head_list ul {
  padding: 0;
}
.head_list {
  position: relative;
}
.head_list img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 120px;
}
#soudan .soudan_inner {
  justify-content: center;
}
#soudan .soudan_big {
  position: relative;
  margin-top: 30px;
  padding-top: 20px;
}
#soudan p.big {
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  color: #00469B;
  font-weight: bold;
  margin-right: 23vw;
  margin-bottom: 50px;
  word-break: keep-all;
}
#soudan p span{
	/*
	text-decoration: underline;
  text-decoration-thickness: 2px;  
  text-decoration-color: #B2C7E1;*/
     padding-bottom: 0.2em;
    background: -webkit-linear-gradient(left, #B2C7E1 50%, transparent 50%) 100% bottom / 200% 50% no-repeat;
    background: linear-gradient(to right, #B2C7E1 50%, transparent 20%) 100% bottom / 200% 20% no-repeat;
    animation-name: MarkerAnime;
    animation-duration: 2s;
    animation-timing-function: ease-in;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-play-state: running; 
}

@keyframes MarkerAnime {
    0% {background-position: 100% bottom;}
    100% {background-position: 0% bottom;}
}

@-webkit-keyframes MarkerAnime {
    0% {background-position: 100% bottom;}
    100% {background-position: 0% bottom;}
}

#soudan .soudan_big img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
}
#soudan .soudan_text {
  background-color: #00469B;
  color: white;
}
#soudan .soudan_text p {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#overview .campany_img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#icons {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
#icons .icons_inner1 {}
#icons .icons_inner2 {}
#icons .icons_inner1 li {
  width: 22%;
}
#icons .icons_inner2 li {
  width: 16%;
}
#icons ul {
  list-style: none;
  overflow: visible;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
}
#icons li {
  background-color: #60C0BD;
  padding: 0;
  border-radius: 0.5rem;
  margin: 0.5rem;
  position: relative;
}
#icons li div {
  background-color: #24908C;
  padding: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  width: 100%;
  height: 3rem;
  position: relative;
}
#icons li div p {
  color: white;
  font-size: 0.8rem;
  line-height: 1rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#icons li img {
  height: 80px;
  width: 100%;
  object-fit: contain;
  margin: 10px 0;
  text-align: center;
}
#flow .row, #contact .row {
  height: 250px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(#EBEBEB, #CFCFCF);
  width: 100%;
  margin-left: 0;
    margin-right: 0;
}
#flow .nagare_inner,#contact .otoiawase_inner {
  background-color: #00469B;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#flow .nagare_left, #contact .otoiawase_left {
  color: white;
  background-color: #00469B;
}
#flow .nagare_right, #contact .otoiawase_right {}
#flow h4, #contact h4 {
  font-size: 1.2rem;
  font-weight: bold;
}

#flow .nagare_right{
	display: flex;
    align-items: center;
    justify-content: space-around;
}

#flow ul {
  list-style: none;
  overflow: visible;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
}
#flow p {
  margin-top: 0;
}
#flow li {
  background-color: white;
  border: solid #B2C8E2 3px;
  padding: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 3rem;
  margin: 0.5rem;
  position: relative;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 12px;
  text-align: center;
}
#flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  right: -38px;
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  border: 15px solid transparent;
  border-left: 13px solid #B2C8E2;
  filter: drop-shadow(0 1px 0 white) drop-shadow(0 -1px 0 white) drop-shadow(0.5px 0 0 white) drop-shadow(-1px 0 0 white);
  z-index: 1;
}
#flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  right: -10px;
  width: 0px;
  height: 15px;
  border-left: 8px solid #B2C8E2;
  filter: drop-shadow(0 1px 0 white) drop-shadow(0 1px 0 white);
  z-index: 10;
}
#flow .note {
  font-size: 0.7rem;
  text-align:center;
}
#contact .inner {
  flex-flow: column;
  display: flex;
  justify-content: center;
  align-items: center;
}
#contact i {
  font-size: 2.5rem;
  margin-right: 1rem;
  margin-left: 5rem;
}
#contact p.tel {
  font-size: 2.6rem;
  line-height: 2.8rem;
}
#contact p.mail {
  font-size: 1.8rem;
  line-height: 2rem;
}
#contact p {
  color: #00469B;
  font-weight: bold;
}
#contact .otoiawase_right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#overview {
  margin-top: 100px;
  margin-bottom: 100px;
}
#overview th {
  color: #00469B;
  font-weight: bold;
  width: 4.5rem;
  text-align: right;
  padding-right: 0.3rem;
}

#overview td{
	text-shadow: 
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff,
	0 0 2px #fff;
}

#map {
	border-top:2px #FFF solid;
}
#map iframe {
  border: 0;
  width: 100%;
  height: 300px;
}
footer {
  background-color: #00469B;
  color: white;
  text-align: center;
  line-height: 2rem;
  height: 2rem;
  margin-bottom: 0;
}
@media only screen and (max-width: 768px){
	footer {
	  padding-bottom: 7rem;
	}
}



#fix-wrap {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
}
#checkbox {
  display: none;
}
.label {
  background: #00469B;
  color: #fff;
  display: block;
  margin-bottom: 1px;
  padding: 20px 10px;
  border-radius: 0px 0px 0px 10px;
  position: fixed;
  top: 0;
  right: 0;
  text-align: center;
  border: solid 1px white;
  border-top: 0;
  border-right: 0;
  height: 180px;
  transition: 0.5s;
}
.label span {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.label span i {
  writing-mode: horizontal-tb;
  -ms-writing-mode: lr-tb;
}
.fix-content {
  position: absolute;
  background: #E6E6E6;
  opacity: 1;
  padding: 10px;
  width: 350px;
  right: -350px;
  height: 180px;
  top: 0;
  flex-flow: column;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: solid 1px white;
}
.fix-content p {
  color: #00469B;
  font-weight: bold;
}
.fix-content i {
  font-size: 2rem;
  margin-right: 1rem;
  margin-left: 0;
}
.fix-content p.tel {
  font-size: 2.1rem;
  line-height: 2.5rem;
}
.fix-content p.mail {
  font-size: 1.4rem;
  line-height: 2rem;
}
#checkbox:checked + .label + .fix-content {
  position: absolute;
  width: 350px;
  opacity: 1;
  right: 0px;
  height: 180px;
  border-bottom: solid 1px white;
  flex-flow: column;
  display: flex;
  justify-content: center;
  align-items: center;
}
#checkbox:checked + .label {
  right: 350px;
}
#checkbox:checked:checked + .label::after {
  transform: rotate(-90deg);
}
#mobile-fixedmenu {
  display: none;
}
@media all and (-ms-high-contrast: none) {
  #soudan p.big {
    font-size: 4vw;
  }
  #icons li span {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #icons li img {
    height: 80px;
    width: auto;
  }
  #soudan .soudan_text p {
    display: block;
  }
}
@media only screen and (max-width: 768px) and (-ms-high-contrast: none) {
    #overview .col-md-5 {
      height: 50vw;
    }
}
@media only screen and (max-width: 768px) {
  body {
    background-image: none;
  }
  #mobile-fixedmenu {
	display:block;
    position: fixed;
    bottom: 0;
	left: 0;
    z-index: 999;
    width: 100%;
	padding-right: 0px;
    padding-left: 0px;
  }
  #mobile-fixedmenu .row{
	  margin-right: 0px;
    margin-left: 0px;
  }
  .mobile-fixedmenu {
      
  }
  .mobile-fixedmenu div {
    padding: 0;
	flex: none;
  }
  .mobile-fixedmenu i {
    font-size: 2rem;
    color: white;
  }
  .mobile-fixedmenu a {
    text-align: center;
    color: #FFE4AF;
    margin-top: 1.2rem;
  }
  .fixedmenu-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 5rem;
    background-color: #00469B;
    border: 1px solid white;
  }
  #fix-wrap {
    display: none;
  }
  p {
    font-size: 0.8rem;
  }
  .title p {
    font-size: 1rem;
    line-height: 1.8;
  }
  .title h1 {
    font-size: 2rem;
  }
  header {
    background-position: -244px -50px, 0% 0%;
    background-size: 476px 241px, contain;
    background-color: #F9F3E6;
  }
  .title {
    margin-top: 10px;
    margin-bottom: 80px;
  }
  .head_text {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  }
  .head_list li {
    font-size: 0.85em;
  }
  .head_list img {
    height: 100px;
  }
  .head_text {
    padding: 1rem;
    font-size: 0.85em;
  }
  #soudan .soudan_big {
    width: 100%;
  }
  #soudan p.big {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    margin-right: 0;
    padding: 0 1rem;
  }
  #soudan .soudan_inner {
    justify-content: unset;
  }
  #soudan .soudan_big img {
    height: 80%;
  }
  #soudan .soudan_text {
    background-color: #E6E6E6;
    color: black;
    width: 100%;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
    padding-left: calc(50vw - 50%);
  }
  #soudan .soudan_text p {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  #icons .row .list-inline {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #icons li {
    width: 40% !important;
  }
  #flow ul {
    /*padding: 0;
    width: 100%;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);*/
  }
  #flow .nagare_left, #contact .otoiawase_left {
    height: 3rem;
    width: 100%;
  }
  #flow .row {
    height: 280px;
    margin-top: 1rem;
    margin-bottom: 3rem;
  }
  #contact .row {
    background: unset;
  }
  #contact i {
    font-size: 2rem;
    margin-right: 1rem;
    margin-left: 0;
  }
  #contact p.tel {
    font-size: 2.1rem;
    line-height: 2.5rem;
  }
  #contact p.mail {
    font-size: 1.4rem;
    line-height: 2rem;
  }
  #overview .campany_img {
    position: unset;
    top: unset;
    left: unset;
    -webkit-transform: unset;
    transform: unset;
  }
  #overview th, #overview td {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 0.8rem;
  }
  #overview {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}

@media only screen and (min-width: 769px){
	.tel a {
		pointer-events: none;
		color: inherit;
	}
}

@media only screen and (max-width: 320px){
	html {
		font-size:0.9em;
	}
}

.scrollanime {
	opacity: 0;
}
.fadeInDown {
	animation-name: fadeInDown;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}

@keyframes fadeInDown {
	0% {
		opacity: 0;			
	}
	100% {
	opacity: 1;
	transform: translate(0);
	}
}

.updown {	transform: translateY(-100px);}
.downup {	transform: translateY(100px);}

.slide-right {	transform: translateX(200px);}
.slide-left {	transform: translateX(-200px);}
