@charset "utf-8";
/* CSS Document */
#mainImg {
  display: flex;
  flex-direction: column;
  position: relative;
}
#mainImg .imageBox {
  clip-path: inset(0% 0% 10% 0% round 0 10px 10px 0);
  width: 96%;
  margin-bottom: 3em;
}
#mainImg .copy {
      align-self: flex-start;
    font-size: calc(3.5vw + 3px);
    writing-mode: vertical-rl;
    font-family: 'Noto Sans JP';
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    margin-top: -40vw;
    margin-left: 1.4em;
    margin-bottom: 2em;
    z-index: 1;
    letter-spacing: 4px;
}
#mainImg .copy p {
  background: #FFF;
  padding: 0.6em 0.3em;
  line-height: 1;
  margin: 1em;
  font-family: 'Noto Sans JP';
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
@media only screen and (min-width: 768px) {
  #mainImg {
    flex-direction: row;
  }
  #mainImg .imageBox {
    clip-path: inset(0% 0% 10% 0% round 0 45px 45px 0);
    width: 60%;
  }
  #mainImg .copy {
   width: 30%;
        align-self: center;
        align-items: start;
        align-content: center;
        font-size: 2em;
        margin-top: -6em;
        margin-left: -2em;
  }
	#mainImg .copy p {
  background: none;
padding: 0;
}
}
#mainImg .imageBox img {}
.lead {
  display: flex;
  flex-direction: column;
  width: calc(77% - 20px);
  max-width: 1400px;
  margin: 5em auto
}
.lead p, .lead p span {
  line-height: 1.7;
  letter-spacing: 3px;
  text-align: justify;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  margin-bottom: 2em;
}
@media only screen and (min-width: 768px) {
  .lead {
    display: flex;
    flex-direction: row;
    width: calc(90% - 20px);
  }
  .lead div:first-child {
    display: flex;
    flex-direction: row-reverse;
    width: 60%
  }
  .lead p {
    writing-mode: vertical-rl;
    line-height: 3;
    letter-spacing: 3px;
    padding: 0 2em;
  }
  .lead .css-br::before {
    content: "\A";
    white-space: pre;
  }
  .lead div:last-child {
    width: 40vw
  }
}
#news {
  margin: 4em auto;
  width: calc(90% - 20px);
  max-width: 1200px;
}
#news h2 {
  color: #224072;
  font-family: 'Outfit';
  font-weight: 900;
  font-size: 1.6em;
  position: relative;
  padding-left: 40px;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}
#news h2::before {
  content: '';
  background: #224072;
  display: block;
  width: 30px;
  height: 10px;
  position: absolute;
  top: calc(50% - 5px);
  left: 0;
}
#news ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 1em auto;
}
#news ul li {
  flex-basis: calc(25% - 22.5px);
  display: flex;
  flex-direction: column;
}
#news ul li a {
  flex-grow: 2;
  display: flex;
  flex-direction: column;
	gap: 3px;
}
#news ul li a .date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.8em;
}
#news ul li a .date .cate {
  background: rgba(0, 12, 42, 1.00);
  color: #FFF;
  padding: 0.6em;
  line-height: 1;
  font-size: 0.8em;
white-space: nowrap;
}
#news ul li a .photo {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 180px;
	overflow: hidden;
	background-color: rgba(0,0,0,.05);
}
#news ul li a .photo img {
	width: 100%;
	transition: 0.5s;
}
#news ul li a .photo img:hover {
	transform: scale(1.1);
}
@media only screen and (max-width: 768px) {
  #news ul li {
    flex-basis: calc(50% - 15px);
}
#news ul li a .photo {
	height: 120px;
  }
}
#news ul li h3 {
  text-align: justify;
  margin-block: 0.5em;
}
#news .btn a {
  background: #bdb37c;
  padding: 1em 2em;
  border-radius: 50px;
  color: #000;
  text-decoration: none;
  font-size: 1em;
  font-weight: 900;
}
#service {
  width: calc(90% - 20px);
  max-width: 1400px;
  margin: 2em auto
}
#service ul {
  background: #FFF;
  display: flex;
  padding: 1em;
  border-radius: 20px;
  flex-direction: row;
  flex-wrap: wrap;
}
#service ul li {
  flex: 1 50%;
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#service ul li h2 {
  font-size: 1.3em;
  font-weight: 900;
  color: #164365
}
@media only screen and (max-width: 768px) {
#service ul li h2 .css-br::after {
  content:"\A" ;
  white-space: pre;
font-weight: 900;
}
	#service ul li:first-child{
	border-right: 8px dotted #f2f2e5; 
	border-bottom: 8px dotted #f2f2e5; 
  }#service ul li:nth-child(2){
	border-bottom: 8px dotted #f2f2e5; 
  }#service ul li:nth-child(3){
	border-right: 8px dotted #f2f2e5;  
  }
}
@media only screen and (min-width:1000px) {
  #service ul {
    flex-wrap: nowrap
  }
  #service ul li {
    flex: 1 25%;
	border-right: 8px dotted #f2f2e5;  
  }
	#service ul li:last-child{
		border-right:none
	}
  #service ul li img {
    max-width: 150px;
  }
  #service ul li h2 {
    font-size: 1.3em;
    font-weight: 900;
    color: #164365
  }
}
#company {
  width: calc(90% - 20px);
  max-width: 1200px;
  margin: 6em auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-direction: column;
}
#company > div {
  text-align: justify;
}
#company h2 {
  color: #224072;
  font-family: 'Outfit';
  font-weight: 900;
  font-size: 2em;
  position: relative;
  padding-left: 40px;
}
#company h2::before {
  content: '';
  background: #224072;
  display: block;
  width: 30px;
  height: 8px;
  position: absolute;
  top: calc(50% - 4px);
  left: 0;
}
#company p {
  letter-spacing: 1px;
  line-height: 2
}
@media only screen and (max-width:767px) {
  #company p {
    padding: 1em
  }
  #company div:last-child {
    padding: 1em
  }
}
@media only screen and (min-width:768px) {
  #company {
    flex-direction: row;
    gap: 60px;
  }
  #company > div {
    flex: 1 calc(50% - 60px);
  }
  #company h2 {
    font-size: 3em;
    padding-left: 60px;
    margin-bottom: 1em;
  }
  #company h2::before {
    content: '';
    background: #224072;
    display: block;
    width: 30px;
    height: 10px;
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
  }
}
#outline {
  width: calc(98% - 20px);
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  margin: 4em auto;
  position: relative;
}
#outline div {
  background: #FFF;
  border-radius: 30px;
}
#outline .recruite {
  position: relative;
  padding: 0;
}
#outline .info {
  background: #FFF;
  border-radius: 20px;
  padding: 2em;
}
#outline .recruite h2 {
  color: #FFF;
  font-family: 'Outfit';
  font-weight: 700;
  font-size: calc((110vw - 10px) / 7);
  position: absolute;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  top: calc(20px + 0.1vw);
  left: calc(20px + 0.1vw);
  line-height: 1;
}
#outline .recruite h2 span {
  font-size: calc((31vw - 5px) / 4);
}
#outline .info h3 {
  font-family: 'Outfit';
  font-weight: 900;
  text-align: left;
  margin-bottom: 1em;
  width: 100%;
  color: #224072;
  font-size: 1.8em;
}
#outline .info dl {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  text-align: left
}
#outline .info dl dt {
  flex-basis: 100px;
  padding: 0.6em;
}
#outline .info dl dd {
  flex-basis: calc(100% - 100px);
  padding: 0.6em;
  overflow-wrap: anywhere;
}
#outline .info dl dd span {
  font-size: 0.7em;
}
@media only screen and (max-width: 767px) {
  #outline .recruite img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
  }
}
@media only screen and (min-width:999px) {
  #outline {
    flex-direction: row;
    justify-content: space-between;
    height: 50vw
  }
  #outline .recruite {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
  }
  #outline .info {
    position: absolute;
    right: 0;
    top: 3em;
    width: calc(55% + 80px);
    padding: 3em 4vw 3em 9.666vw;
    min-height: 48vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #outline .recruite h2 {
    font-size: calc((50vw - 20px) / 7);
    font-weight: 700;
  }
  #outline .recruite h2 span {
    font-size: 0.4em;
  }
}
/************************************/
article, body#toppage {
  position: relative;
}
body#toppage::after {
  content: '';
  position: absolute;
  display: block;
  background: url("../img/hoseB03.webp") no-repeat;
  right: 0;
  bottom: 0;
  width: 30vw;
  height: 23vw;
  background-size: 100%;
  z-index: 1;
}
article::after, article::before {
  content: '';
  position: absolute;
  display: block;
  z-index: -1;
}
@media only screen and (max-width: 767px) {
  #mainImg::after {
    content: '';
    position: absolute;
    display: block;
    z-index: -1;
    background: url(../img/hose01.webp) no-repeat;
    width: 100%;
    height: 200%;
    top: -8vw;
    background-size: 100%;
  }
	body#toppage::after {
width: 46vw;
        height: 38vw;
}
  .leadWrap::after {
    background: url(../img/bg_bw.webp) no-repeat;
    left: 0;
    background-size: 100%;
    width: 34vw;
    height: 33vw;
    bottom: -36px;
  }
  .companyWrap::before {
    background: url(../img/bg_rw.webp) no-repeat;
    background-size: 100%;
    width: 36vw;
    height: 74vw;
    display: block;
    top: 50%;
    right: 0;
    z-index: -1;
  }
  .companyWrap::after {
    background: url("../img/hoseR02.webp") no-repeat;
    background-size: 100%;
    width: 31vw;
    height: 107vw;
    display: block;
    bottom: -260px;
    left: 0;
    z-index: -1;
  }
}
@media only screen and (min-width: 768px) {
  #mainImg::after {
    content: '';
    position: absolute;
    display: block;
    z-index: -1;
    background: url(../img/hose01Pc.webp) no-repeat;
    background-size: 100% auto;
    width: 100%;
    height: 135%;
    top:-80px;
  }
  .leadWrap::after {
    background: url(../img/bg_bw.webp) no-repeat;
    left: 0;
    background-size: 100%;
    width: 27vw;
    height: 25vw;
    bottom: 0;
  }
  .serviceWrap::after {
    background: url(../img/hoseB02.webp) no-repeat;
    right: 0;
    width: 26vw;
    height: 38vw;
    bottom: 0;
    background-position: right;
    background-size: auto 100%;
  }
  .companyWrap::before {
    background: url(../img/hoseR02.webp) no-repeat;
    left: 0;
    background-size: 100%;
    width: 18vw;
    height: 60vw;
    top: 50%;
    max-width: 400px;
  }
  .companyWrap::after {
    background: url(../img/bg_rw.webp) no-repeat;
    right: 0;
    background-size: 100%;
    width: 20vw;
    height: 38vw;
    top: 50%;
    max-width: 400px;
  }
}