﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  main visual

--------------------------------------------------------------------------------*/
.mv {
  width: 100%;
  position: relative;
  overflow: hidden;
}
@media (min-width: 769px) {
  .mv { height: clamp(550px, 80dvh, 650px); }
}
@media (max-width: 768px) {
  .mv { height: min(calc(600 / 600 * 100vw), 600px) }
}

/* .mv-copy
----------------------------------------*/
.mv-copy {
  pointer-events: none;
  position: relative;
  z-index: 3;
  width: calc(var(--container-width, var(--base-width)) * 1px);
  max-width: calc(100% - (var(--side-space) * 2));
  margin: 0 auto;
  height: 100%;
  color: #FFF;
}
.mv-copy_main {
  position: absolute;
  top: 60px;
  right: 0;
}
.mv-copy_msg {
  position: absolute;
  top: 74px;
  right: 130px;
}
@media (max-width: 768px) {
  .mv-copy_main {
    top: 36px;
    width: 10%;
    max-width: 94px;
  }
  .mv-copy_msg {
    top: 36px;
    right: calc(10% + 20px);
    width: 8%;
    max-width: 61px;
  }
}

/* .mv-slider
----------------------------------------*/
.mv-slider {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.mv-slider_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv-slider_item.-uketsuke img { object-position: 25% center; }
.mv-slider_item.-bus img { object-position: 55% center; }


/*--------------------------------------------------------------------------------

  works

--------------------------------------------------------------------------------*/
/* common */
#works .works-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: repeat(2,1fr);
  gap: 50px;
  margin: var(--space-l) 0;
}

/* works-list-item */
#works .works-list-item {
  display: block;
  height: 462px;
  color: var(--color-txt);
  text-decoration: none;
  border-radius: var(--space-2s);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  padding: var(--space-2s);
  background-size: cover;
}
#works .works-list-item01 {
  background-image: url(../img/top/works-list01-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  grid-row: 1 / 2;
  grid-column: 1 / 3;
}
#works .works-list-item02 {
  background-image: url(../img/top/works-list02-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  grid-row: 2 / 3;
  grid-column: 1 / 2;
}
#works .works-list-item03 {
  background-image: url(../img/top/works-list03-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}
@media (max-width:768px) {
  #works .works-list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3,1fr);
  }
  #works .works-list-item01 {
    grid-row: auto;
    grid-column: auto;
  }
  #works .works-list-item02 {
    grid-row: auto;
    grid-column: auto;
  }
  #works .works-list-item03 {
    grid-row: auto;
    grid-column: auto;
  }
}

#works .works-list-item .works-list-description {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#works .works-list-item01 .works-list-description {
  position: absolute;
  left: var(--space-2s);
  bottom: var(--space-2s);
}
#works .works-list-item02 .works-list-icon,
#works .works-list-item03 .works-list-icon {
  order: 2;
}
#works .works-list-item02 .works-list-title,
#works .works-list-item03 .works-list-title {
  order: 1;
}
@media (max-width:768px) {
  #works .works-list-item01 .works-list-description {
    position: static;
  }
  #works .works-list-item02 .works-list-title {
    width: 100%;
  }
  #works .works-list-item01 .works-list-icon {
    order: 2;
  }
  #works .works-list-item01 .works-list-title {
    order: 1;
  }
}

#works .works-list-title h2 {
  display: inline-block;
  background-color: #fff;
  line-height: 1;
  font-size: var(--fs-4l);
  font-weight: bold;
  margin-bottom: 0.5em;
}
#works .works-list-title p {
  font-weight: bold;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0 -1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

#works .works-list-item .works-list-link {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  height: 190px;
  box-sizing: border-box;
  background: linear-gradient(to top left, #fff 50%, transparent 50%);
  justify-items: end;
  transition: 0.2s;
}
#works .works-list-item:hover .works-list-link {
  right: -12px;
  bottom: -12px;
}
#works .works-list-item .works-list-link img {
  display: inline-block;
  position: absolute;
  bottom: 72px;
  right: var(--space-3s);
}
#works .works-list-link p {
  position: absolute;
  bottom: var(--space-3s);
  right: var(--space-3s);
  color: var(--color-secondary);
  font-size: var(--fs-2l);
  font-weight: bold;
  text-shadow:2px 2px 0 #FFF, -2px -2px 0 #FFF,
              -2px 2px 0 #FFF, 2px -2px 0 #FFF,
              0px 2px 0 #FFF,  0 -2px 0 #FFF,
              -2px 0 0 #FFF, 2px 0 0 #FFF;
}


/*--------------------------------------------------------------------------------

  company

--------------------------------------------------------------------------------*/
#company {
  background-color: #fff;
  position: relative;
  padding-bottom: 120px;
}
#company .company-decoration {
  position: absolute;
  bottom: 0;
  right: var(--space-m);
  z-index: 0;
}
#company .company-map iframe {
  width: 100%;
  height: 500px;
  border: none;
}
#company .company-information {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
#company .company-profile {
  width: calc(100% - 490px);
}
#company .company-profile dl {
  margin-top: var(--space-2s);
  display: flex;
  flex-wrap: wrap;
}
#company .company-profile dt {
  width: 6em;
  padding: 0.5em 0;
  border-bottom: 1px dashed var(--border-color);
  font-weight: normal;
}
#company .company-profile dd {
  width: calc(100% - 6em);
  padding: 0.5em 0;
  border-bottom: 1px dashed var(--border-color);
}
#company .company-profile h2 {
  display: flex;
  align-items: center;
  color: #6e7698;
  font-size: var(--fs-2l);
  font-weight: bold;
  margin-top: var(--space-2s);
}
#company .company-profile h2 img {
  display: inline-block;
  margin-right: 0.5em;
}
#company .company-profile .company-license {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  margin-top: 0.5em;
}
#company .company-profile .company-license li {
  padding: 0.5em 0;
  border-bottom: 1px dashed var(--border-color);
}

#company .company-other {
  width: 400px;
  margin-top: -290px;
  padding: var(--space-2s);
  background-color: #fff;
  border-radius: var(--space-3s);
  box-sizing: border-box;
}
#company .company-logo {
  margin-top: var(--space-s);
  text-align: center;
}
#company .company-link {
  padding: var(--space-3s);
  background-color: var(--color-gray-lighter2);
  margin-top: var(--space-s);
  text-align: center;
}
#company .company-link h2 {
  margin-bottom: var(--space-3s);
  font-size: var(--fs-m);
  font-weight: bold;
}
#company .company-link a {
  display: block;
  margin-top: 0.5rem;
}
@media (max-width:768px) {
  #company .company-decoration {
    right: 0;
  }
  #company .company-information {
    flex-wrap: wrap;
  }
  #company .company-profile {
    width: 100%;
    margin-bottom: 48px;
  }
  #company .company-other {
    width: 100%;
    margin-top: 0;
    padding: 0;
    background-color: none;
    border-radius: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    gap: 24px
  }
  #company .company-other .company-photo {
    display: block;
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
  #company .company-logo {
    margin-top: 0;
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  #company .company-link {
    margin-top: 0;
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }
}
@media (max-width:420px) {
  #company .company-link h2 {
    font-size: var(--fs-n);
  }
}
