@charset "UTF-8";
/* =====================================
	全体設定
===================================== */

html{
  font-size: 62.5%;
}

a{
  color: #231815;
  text-decoration: none;
  transition: 0.3s opacity ease;
}

a:hover{
  opacity: 0.6;
}

.sp{
  display: none !important;
}

body{
  position: relative;
  margin: 0 auto;
  font-size: 1.7rem;
  font-weight: 500;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #000;
  line-height: 2;
  text-align: left;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;/*Chrome,Safari*/
  -ms-text-size-adjust: 100%;/*EgdeMobile*/
  -moz-text-size-adjust: 100%;/*firefox*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.03em;
  font-feature-settings: "palt";
}

.animated{
  opacity: 0;
}

img { max-width: 100%; }



/* =====================================
	header
===================================== */

header{
  width: 100%;
  height: min(8.42857vw, 118px);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  background: #fff;
}

header .logo01 img{
  position: absolute;
  top: min(1.35714vw, 19px);
  left: min(2.142857vw, 30px);
  width: min(17.642857vw, 247px);
}

header .gnav{
  position: absolute;
  top: min(6.0714vw, 85px);
  right: min(2.7857vw, 39px);
  display: flex;
  align-items: center;
}

header .gnav li{
  margin-right: min(2.357vw, 33px);
  font-size: min(1.07142857vw, 1.5rem);
  line-height: 1;
}

header .gnav li:last-child{
  margin-right: 0;
}

header .gnav li a{
  color: #1a274c;
}

header .contact{
  position: absolute;
  top: min(0.7857vw, 11px);
  right: min(2.5714vw, 36px);
  display: flex;
  align-items: center;
  justify-content: end;
}

header .contact li{
  margin-left: min(0.2857vw, 4px);
}

header .contact li:nth-child(1) {
  width: min(15.857vw, 222px);
}

header .contact li:nth-child(1) a img{
  width: min(15.857vw, 222px);
}

header .contact li:nth-child(2) {
  width: min(26.5714vw, 372px);
}

header .contact li:nth-child(2) img{
  width: min(26.5714vw, 372px);
}


/* =====================================
	footer
===================================== */
footer a {
  color: #333333;
  font-size: 3.515625vw;
}
footer .footer_ysg_company_link .inner .ysg_company_link a {
  font-size: 1.2rem
}
.footer_about_ysg,
.footer_ysg_brand,
.footer_ysg_company_link {
  background-color: #e8e6e3;
  padding: 16px 0;
  line-height: 2;
}
.footer_about_ysg .inner,
.footer_ysg_brand .inner,
.footer_ysg_company_link .inner {
  margin-inline: auto;
  max-width: 980px;
}
.footer_about_ysg .resistration {
  font-size: 13.1953px;
  text-align: center;
}
.about_ysg_logo {
  margin-top: 24px;
}
.ysg_brand_list {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 4px;
}
.ysg_brand_item {
  width: 190px;
}
.ysg_brand_item .logo_name {
  line-height: 1.4;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}
.ysg_brand_list .ysg_brand_item:nth-child(1) img {
  margin: 0px auto 6px;
}
.ysg_brand_list .ysg_brand_item:nth-child(2) img {
  width: 75%;
  margin: 0 auto 2px;
}
.ysg_brand_list .ysg_brand_item:nth-child(3) img {
  width: 92%;
  margin: 0 auto 2px;
}
.ysg_brand_list .ysg_brand_item:nth-child(4) img {
  width: 79%;
  margin: 0 auto 6px;
}
.ysg_brand_list .ysg_brand_item:nth-child(5) img {
  width: 77%;
  margin: 0 auto 3px;
}
.ysg_brand_list .ysg_brand_item:nth-child(6) img {
  width: 82%;
  margin: 0 auto 2px;
}
.ysg_brand_list .ysg_brand_item:nth-child(7) img {
  width: 83%;
  margin: 0 auto 6px;
}
.ysg_brand_list .ysg_brand_item:nth-child(8) img {
  width: 68%;
  margin: 0 auto 2px;
}
.ysg_brand_list .ysg_brand_item:nth-child(9) img {
  width: 81%;
  margin: 0 auto 6px;
}
.ysg_company_link {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 40px;
  margin-top: 56px;
}
@media screen and (min-width: 769px) {
  .ysg_company_link li {
    background-image: url(/img/top/icon_footerlink.gif);
    background-position: left center;
    background-repeat: no-repeat;
    font-size: 1.2rem;
    padding-left: 16px;
    white-space: nowrap;
  }
}
@media screen and (max-width: 768px) {
  .footer_about_ysg,
  .footer_ysg_company_link {
    background-color: #fff;
    padding: 20px 15px;
  }
  .footer_ysg_brand {
    background-color: #f8f8f8;
    padding: 30px 40px 20px;
  }
  .about_ysg_logo {
    margin: 16px 0 8px;
  }
  .ysg_relative_link .title {
    font-size: 1.8rem;
    font-weight: bold;
  }
  .ysg_relative_link a {
    font-size: 1.6rem;
    position: relative;
  }
  .ysg_relative_link a::after {
    content: "";
    position: absolute;
    background: url(/img/top/tab_btn.png) right top 6px no-repeat;
    background-size: 14px;
    width: 26px;
    height: 23px;
  }
  .ysg_company_link {
    gap: 0 16px;
    margin-top: 0;
  }
}

.footer_weact{
  width: 100%;
  padding: 40px;
  background: #00125d;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  color: #fff;
}
.footer_weact .pc{
  display: inline!important;
}

.floating{
  display: none;
  transition: 0.5s opacity ease;
  z-index: 50;
}

.hide{
  opacity: 0;
}


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

  .pc{
    display:none !important;
  }

  .sp{
    display:block !important;
  }

  a:hover{
    opacity: 1;
  }

  body{
    font-size: 3.515625vw;
    width: 100%;
    overflow-x: hidden;
    min-width: inherit;
  }

  /* =====================================
    header
  ===================================== */

  header{
    height: 13vw;
  }

  header .logo01 img{
    top: 50%;
    left: 50%;
    width: 27.47395833vw;
    transform: translate(-50%, -50%);
  }

  header .gnav{
    width: 100%;
    height: calc(100dvh - 34.867vw);
    overflow-y: scroll!important;
    top: 13vw;
    right: 0;
    background: #ccd1e4;
    display: none;
    z-index: 100;
  }

  header .gnav li{
    margin-right: 0;
    font-size: 5.20833vw;
    font-weight: bold;
    line-height: 1;
    width: 100%;
    text-align: center;
  }

  header .gnav li a{
    color: #1a274c;
    width: 100%;
    padding: 5.729167vw 0;
    display: block;
    border-bottom: 1px solid #bbc2db;
  }

  header .gnav li:last-child a{
    border-bottom: none;
  }

  header .gnav li a span{
    padding-right: 13vw;
    background: url("/img/top/sp/arrow02.svg") no-repeat center right;
    background-size: contain;
    line-height: 8.0729167vw;
  }

  header .contact{
    display: none;
  }

  header .menu-trigger{
    position: absolute;
    top: 50%;
    right: 4.03645833vw;
    transform: translateY(-50%);
    width: 5.46875vw;
    height: 3.776vw;
    border: none;
    background: none;
  }

  header .menu-trigger::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.04167vw;
    background: #231814;
    border-radius: 0.13vw;
  }

  header .menu-trigger::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.04167vw;
    background: #231814;
    border-radius: 0.13vw;
  }



  /* =====================================
    .footer_weact
  ===================================== */

  .footer_weact{
    padding: 8vw 0;
    font-size: 2.903645833vw;
    line-height: 2;
  }

  .footer_weact .pc{
    display: none!important;
  }

  .floating{
    width: 100%;
    display: block;
    background: #fff;
    padding: 1.8229167vw 0;
    position: fixed;
    bottom: 0;
    left: 0;
  }

  .floating ul{
    width: 83.59375vw;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }

  .floating ul li:nth-child(1) img{
    width: 29.81770833vw;
  }

  .floating ul li:nth-child(2) img{
    width: 52.47395833vw;
  }

}




/* =====================================
	安心・安全への取り組み
===================================== */
.company_safety {
  background-color: #c2c7cf;
  position: sticky;
  text-align: center;
}
.company_safety a {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: bold;
  gap: 0 8px;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  header .gnav li.company_safety {
    background-color: transparent;
    position: static;
  }
  header .gnav li.company_safety a {
    align-items: center;
    color: #1a274c;
    display: flex;
    font-size: 1.2rem;
    font-weight: normal;
    gap: 0 4px;
    justify-content: center;
    padding: 2.5dvw 0;
  }
}
.breadcrumb {
  background: url(/img/bg_type_001.png) repeat center top;
  line-height: 1.6;
  padding-left: 5.33333%;
}
@media (min-width: 768px) {
  .breadcrumb {
    padding-left: unset;
  }
}
.breadcrumb .breadcrumb-list {
  width: 1040px;
  margin: 0 auto;
  letter-spacing: -0.4em;
}
.breadcrumb .breadcrumb-list li {
  font-size: 13px;
  display: inline-block;
  letter-spacing: normal;
  padding: 8px 0;
}
.breadcrumb .breadcrumb-list li:after {
  content: ">";
  padding: 0 5px;
}
.breadcrumb .breadcrumb-list li a {
  color: #004da0;
}
.breadcrumb .breadcrumb-list li:last-of-type:after {
  display: none;
}
