@charset "UTF-8";

.g-nav_sp_container {
  display: none;
}

/*------------------webフォント------------------*/

.wf-notosansjapanese {
  font-family: "Noto Sans JP";
}

.M_PLUS_1p {
  font-family: "M PLUS 1p", sans-serif;
}

.wf-hannari {
  font-family: "Hannari";
}

/*------------------//webフォント//------------------*/

/*------------------ 改行 ------------------*/

/*-- 499px以下になったら改行 --*/
@media screen and (min-width: 499px) {
  .br-500 {
    display: none;
  }
}

/*------------------// 改行 //------------------*/

/*------------------ SP用Gナビ ------------------*/

@media screen and (max-width: 900px) {
  /*--- ボタン- --*/

  .openbtn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #333;
  }

  /*バッテンに変化*/

  .openbtn span {
    display: inline-block;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
    transition: all 0.4s;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  /*---// ボタン //---*/


  .g-nav_img {
    text-align: center;
    margin-top: 50px;
  }

  .g-nav_img img {
    width: 50%;
  }


  .g-nav_sp_container {
    display: block;
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    transition: all 0.3s;
  }

  .g-nav_sp_container.panelactive {
    opacity: 1;
    z-index: 999;
  }

  .g-nav_sp {
    margin-top: 50px;
    padding: 0 15px;
  }

  .g-nav_sp li {
    position: relative;
  }

  .g-nav_sp li a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.6rem;
    padding: 20px 0;
    color: #333;
    border-bottom: 2px solid #333;
    font-family: "M PLUS 1p", sans-serif;
  }

  .g-nav_sp > li:last-child a {
    border-bottom: none;
  }

  .g-nav_sp > li.has-child .g-nav_sp_02 {
    position: relative;
    top: 0;
    left: 0;
    background-color: #dcdcdc;
    width: 100%;
    visibility: visible;
    opacity: 1;
    display: none;
    transition: none;
  }
}

/*------------------// SP用Gナビ //------------------*/

/*------------------ ページトップリンク ------------------*/

#page-top a {
  width: 60px;
  height: 60px;
  background-color: #942d2f;
  border-radius: 5px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: 0.3s;
}

#page-top a:hover {
  background: #777;
}

/*トップリンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*上に上がる動き*/
#page-top.UpMove {
  animation: UpMove 0.5s forwards;
}

@keyframes UpMove {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*下に下がる動き*/
#page-top.DownMove {
  animation: DownMove 0.5s forwards;
}

@keyframes DownMove {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(100px);
  }
}

/*------------------// ページトップリンク //------------------*/

/*------------------ 共通部分 ------------------*/

.wf-sawarabigothic {
  font-family: "Sawarabi Gothic";
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  line-height: 1.7;
  color: #432;
}

p {
  line-height: 1;
}

a {
  text-decoration: none;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #333;
  cursor: pointer;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

.bold {
  font-weight: bold;
}

section {
  padding: 50px 0;
}

.br-change {
  display: none;
}

/*------------------// 共通部分 //------------------*/

/*------------------ フェードイン ------------------*/

.fadein {
  animation-name: fadeinAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeinAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadein-container_left {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-60px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.fadein-container_right {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン時に入るクラス */
.fadein_x {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.fadein-container_top {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-60px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.fadein-container_bottom {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン時に入るクラス */
.fadein_y {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*------------------//フェードイン//------------------*/

/*------------------セクションタイトル------------------*/

.section-title {
  text-align: center;
  font-size: 4rem;
  position: relative;
  margin-bottom: 50px;
}

.section-title::after {
  content: "";
  width: 50px;
  height: 5px;
  background-color: #333;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/*------------------//セクションタイトル//------------------*/

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

footer {
  display: grid;
  place-items: center;
  background-color: #333;
  height: 50px;
}

/*------------------ ヘッダー ------------------*/

header {
  background-color: #fff;
}

.header-container {
  padding: 20px 30px 0 30px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  z-index: 99999;
  top: 0;
  width: 100%;
}

/*ヘッダーロゴ*/

.logo .title a {
  display: inline-block;
  width: 230px;
}

@media screen and (max-width: 900px) {
  .header-container {
    display: none;
  }
}

/*Gナビ*/

.g-nav_pc ul {
  display: flex;
  flex-wrap: wrap;
}

.g-nav_pc ul li a {
  margin-left: 20px;
  font-weight: bold;
  font-size: 2rem;
  font-family: "Gulzar", serif;
  color: #fff;
}

/*------------------// ヘッダー //------------------*/

/*===================================================================

　index.html

====================================================================*/

/*------------------ メインビジュアル ------------------*/

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ------ slide image ------- */
.hero-slide_img {
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-name: slideAnime;
  animation-timing-function: ease;
  opacity: 0;
  display: block;
  min-height: 100vh;
  object-fit: cover;
  width: 100%;
}

.hero-slide_item:nth-of-type(1) .hero-slide_img {
  animation-delay: 0s;
}

.hero-slide_item:nth-of-type(2) .hero-slide_img {
  animation-delay: 5s;
}

.hero-slide_item:nth-of-type(3) .hero-slide_img {
  animation-delay: 10s;
}

@keyframes slideAnime {
  0% {
    opacity: 0;
  }

  16% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  49% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: translateX(-10%);
  }
}

.hero-slide_item {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 110%;
  height: 100%;
}

.hero-text {
  position: absolute;
  z-index: 99;
  color: #fff;
  font-size: 5rem;
  font-weight: bold;
  display: grid;
  line-height: 1.2;
  place-items: center;
  height: 100vh;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .hero {
    height: 50vh;
  }

  /* ------ slide image ------- */

  .hero-text {
    font-size: 2rem;
    height: 50vh;
  }
}

/*------------------// メインビジュアル //------------------*/

/*==================================================
　5-3-3 左から右に線が伸びる（下部）
===================================*/
.g-nav_pc li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
}

.g-nav_pc li.current a,
.g-nav_pc li a:hover {
  color: #ffd700;
}

.g-nav_pc li a::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0px;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background: #ffd700;
  /*アニメーションの指定*/
  transition: all 0.3s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*左上基点*/
}

/*現在地とhoverの設定*/
.g-nav_pc li.current a::after,
.g-nav_pc li a:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}

/*SP用ナビ非表示*/
.g-nav-sp ul {
  display: none;
}

/*------------------ DERAIL（ATWORKとは） ------------------*/

.detail-grid {
  display: grid;
}

.detail-text {
  font-size: 1.6rem;
  line-height: 1.5;
}

.detail-midasi {
  margin-bottom: 20px;
  text-align: center;
}

.detail-midasi h3 {
  font-size: 1.8rem;
  border: solid 1px #333;
  padding: 3px 5px;
  display: inline-block;
}

.detail-img img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 901px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .detail-midasi h3 {
    margin-bottom: 20px;
  }
}

/*------------------// DERAIL（ATWORKとは） //------------------*/

/*------------------ NEWS ------------------*/

#news {
  background-color: #fff;
}

.news-item {
  max-width: 1000px;
  border: double 10px #222;
  margin: 0 auto;
}

.news-item li {
  margin: 20px 0 20px 20px;
  font-size: 1.7rem;
}

.news-item li .category {
  color: red;
  font-weight: bold;
  margin: 0 10px;
  border-radius: 10%;
}

/*------------------// NEWS //------------------*/

/*------------------ WORK（お仕事紹介） ------------------*/

#business {
  background-color: #fff;
}

.business-grid {
  display: grid;
}

.business-item > p {
  font-size: 1.7rem;
  line-height: 1.5;
}

.business-item > a {
  display: block;
}

@media (min-width: 901px) {
  .business-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
  }
}

@media (max-width: 900px) {
  .business-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

/*------------------// WORK（お仕事紹介） //------------------*/

/* フェードイン時に入るクラス */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/*------------------ STAFF（社員紹介） ------------------*/

.staff-item {
  text-align: center;
  position: relative;
}

.staff-grid {
  display: grid;
}

.staff-item img {
  object-fit: cover;
  width: 80%;
}

.staff-name {
  font-size: 2.5rem;
  text-align: center;
  margin: 20px 0;
  font-weight: bold;
}

.staff-text {
  line-height: 1.5;
  font-size: 1.7rem;
  text-align: center;
}

@media (min-width: 901px) {
  .staff-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 20px;
  }
}

@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }
}

/*------------------ フッター ------------------*/

footer p {
  font-size: 1rem;
  color: #fff;
}

/*------------------// フッター //------------------*/

/*===================================================================

　works-01.html works-02.html

====================================================================*/

.toumei {
  opacity: 0;
}

/*------------------ ページタイトル ------------------*/

.maintitle {
  filter: grayscale(100%);
}

.maintitle-bg-01 {
  background-image: url(../img/bg.jpg);
  background-size: cover;
  background-position: center;
}

.maintitle-bg-02 {
  background-image: url(../img/bg-02.jpg);
  background-size: cover;
  background-position: center;
}

.maintitle-text {
  display: grid;
  place-items: center;
  color: #fff;
}

.maintitle-text h2 {
  font-size: 8rem;
  text-align: center;
  line-height: 1;
}

@media screen and (max-width: 900px) {
  .maintitle-text h2 {
    font-size: 4rem;
  }
}

/*------------------// ページタイトル //------------------*/

/*------------------ セクションタイトル ------------------*/

.sec-title {
  padding-bottom: 50px;
}

.sec-title h3 {
  font-size: 3rem;
  line-height: 1.3;
  font-weight: bold;
  text-align: center;
}

.sec-title span {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.sec-title span::before,
.sec-title span::after {
  content: "";
  width: 20px;
  border-top: 1px solid #333;
}

.sec-title span::before {
  margin-right: 20px;
}

.sec-title span::after {
  margin-left: 20px;
}

/*------------------// セクションタイトル //------------------*/

/*------------------ 物件情報 ------------------*/

.work-container {
  display: grid;
  max-width: 1300px;
}

.work-img img {
  height: 100%;
  object-fit: cover;
}

.work-info {
  font-size: 1.6rem;
}

.spec {
  font-size: 1.6rem;
}

.midasi {
  display: inline-block;
  border: solid 1px #333;
  padding: 5px 10px;
  margin-bottom: 20px;
}

.text {
  line-height: 1.5;
}

.spec th,
td {
  border: solid 1px;
  padding: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.spec th {
  background-color: #dcdcdc;
}

@media screen and (min-width: 901px) {
  .maintitle {
    height: 100vh;
  }

  .maintitle-text {
    height: 100vh;
  }

  .work-container {
    grid-template-columns: 450px 1fr;
    grid-template-rows: 250px 1fr;
    column-gap: 40px;
    row-gap: 30px;
  }

  .work-img {
    grid-row: 1/3;
    grid-column: 1/2;
  }

  .work-info {
    grid-row: 1/2;
    grid-column: 2/3;
    font-size: 1.6rem;
  }

  .spec {
    grid-row: 2/3;
    grid-column: 2/3;
  }
}

@media screen and (max-width: 900px) {
  .maintitle-text h2 {
    line-height: 1.2;
  }

  .br-change {
    display: block;
  }

  .maintitle {
    height: 50vh;
  }

  .maintitle-text {
    height: 50vh;
  }

  .work-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 0;
    row-gap: 20px;
  }

  .work-img {
    grid-row: 2/3;
    grid-column: none;
  }

  .work-info {
    grid-row: 1/2;
    grid-column: none;
    font-size: 1.6rem;
  }

  .spec {
    grid-row: 3/4;
    grid-column: none;
  }

  th,
  td {
    width: 100%;
    display: block;
  }
}

/*------------------// 物件情報 //------------------*/

/*------------------ ギャラリー ------------------*/

#gallery {
  display: grid;
  max-width: 1300px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

#mainImg {
  text-align: center;
  border-radius: 10px;
}

#mainImg img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

#subImg {
  display: grid;
  gap: 20px;
}

#subImg li img {
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 901px) {
  #gallery {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  #mainImg {
    height: 495px;
  }

  #subImg {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
  }
}

@media (max-width: 900px) {
  #gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto;
    row-gap: 15px;
  }

  #mainImg {
    height: 100%;
    margin-bottom: 0px;
  }

  #subImg {
    grid-template-columns: repeat(11, 150px);
    grid-template-rows: 100px;
    overflow-x: scroll;
  }

  #subImg li img {
    width: 100%;
  }
}

/*------------------// ギャラリー //------------------*/

/*========= ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}

#splash-logo {
  position: absolute;
  font-size: 2rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg {
  display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-color: #333; /*伸びる背景色の設定*/
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container {
  opacity: 0; /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
