@charset "UTF-8";


/* ----------
共通部分 
-------------*/
body{
  font-family: "Poppins", "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .05em;
  color:#1a1a1a;
}

a{
  text-decoration: none;
  color: #1a1a1a;
}
a:hover{
  color: #9B6E56;
}

img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}



/*----------
 サイト全体に効かせる設定
 ----------- */

.wrapper{
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}


.section:nth-of-type(odd) {
  /* 奇数だけ背景色付ける */
  background-color: #f7f7f7;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

ul {
  list-style: none;
}


/* それぞれのメニュー（目次）の装飾 */
.title {
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #585252;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title::before {
  content: '';
  width: 28px;  
  height: 2px;  
  background-color: #9B6E56; 
  margin-right: 15px;      
}

.title::after {
  content: '';
  width: 28px;  
  height: 2px;  
  background-color: #9B6E56; 
  margin-left: 15px;      
}



/*----------
 header 
 -----------*/

.header{
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}

.header-top {
  display: flex;
  flex-direction: column; 
  align-items: flex-start; 
  gap: 10px; 
}

.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo{
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

/* ロゴだけ色少し変える */
.header-logo a{
  color: #1a1a1a;
}
.header-logo a:hover {
  transition: .3s;
  color: #9B6E56;
}

/*----------
ナビゲーションメニュー
------------*/

.gnav-list{
  display: flex;
  justify-content: space-between;
  list-style: none;
}
/* 最後の項目以外間に20px空ける */
.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
}

/* カーソール合わせた時に下に下線が出る仕様にする */
.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #1a1a1a;
}

.gnav-item a:hover:after {
  width: 100%;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

/*cushionページに表示されるタイトルとメニュー*/

.cushionmenu{
 padding: 20px 0;
  text-align: center; 

}

.site-name{
  font-size: 16px;
  margin-bottom: 15px;
}
.page-nav{
 padding: 10px;
 background-color: #b4b4b4; 
 margin-top: 20px;
}

.page-nav-list{
 display: flex;
  justify-content: center; 
  list-style: none;
  gap: 30px; 
  padding: 0;
  margin: 0;
}

.page-nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 14px;
}

.page-nav-list a:hover {
  transition: .3s;
  color: #ffffff;
}

.page-nav:not(:last-child) {
  margin-right: 20px;
}

  /*----------
   mein 
   -----------*/

.mv{
  margin-top: 200px; 
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
.mv-container{
position: relative;
padding: 0 20px;
}

.mv-container img {
  width: 100%;
  height: auto;
}


/* サイトに移動するボタン */
.view-site-container {
  margin: 80px 0; 
  text-align: center;
}
.btn-view-site{
  display: inline-block;
    padding: 20px 60px; 
     border: 1.5px solid #a67c52;
     color: #9B6E56;
     text-decoration: none;
     font-size: 1.2rem; 
     font-weight: 500;
     letter-spacing: 0.15em;
    position: relative;
  background: transparent;
  z-index: 1;
  transition: 0.3s; 
}
.btn-view-site:hover {
  color: #fff;
  background-color: #9B6E56;

}

/* SKILL */

.tech-container{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.tech-card{
 flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* 控えめな影 */
  transition: transform 0.3s ease;
  transition: 0.3s; 
}

.tech-card:hover{
  transform: translateY(-5px); 
  
}
.tech-num{
  font-size: 0.9rem;
  color: #a67c52;
  border-bottom: 1px solid #a67c52;
  display: inline-block;
  margin-bottom: 15px;
}
.tech-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #585252;
}

.tech-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1a1a1a;
}

/*CONCEPT */
.concept section{

}
#consept{

}

/* 来訪者 */
.works-detail{
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.detail-row{
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}
.detail-row.reverse {
  flex-direction: row-reverse;
}
.detail-icon{
  width: 700px; 
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  
}

.detail-text h3 {
  color: #9B6E56;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.detail-text p {
  line-height: 1.8;
  color: #1a1a1a;
}


/* こだわり詳細 */
.consept-text{
  text-align: center;
 font-size: 16px;
 line-height: 2.0;
  color:#1a1a1a;
  max-width: 600px;
  margin: 0 auto;
}

/* キャッチコピー */
.bridge-section{
 padding: 120px 20px;
  text-align: center;
  position: relative;
}


.summary-phrase{
  font-size: 20px;
  color: #a67c52;
  margin-bottom: 30px;
  line-height: 1.5;
}
.summary-description{
text-align: center;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 30px;
  line-height: 1.5;
}



/* OTHER */

.other-section {
    padding: 120px 20px;
     position: relative;
}


#OTHER .other-list {
  padding: 60px 0;
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.banner, .poster, .meishi {
    flex: 1;               
    min-width: 280px;     
    max-width: 330px;     
}

/* TOPへ戻るボタン*/
.page-top{
font-weight: bold;
padding: 10px;
cursor: pointer;
text-align: center;
background-color: #b4b4b4;
transition: 0.3s; 
}


.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

.page-top:hover .material-icons-outlined {
  color: #9B6E56; 
  transform: translateY(-5px); 
}





/*---------
 footer 
 ----------*/
.footer {
  padding: 30px;
  background-color: #ffffff;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*----------
 スマホ用 
 ------------*/

@media (max-width: 768px) {
   body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
 /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  .gnav-list {
    flex-wrap: wrap; 
    justify-content: center;
    gap: 10px 20px; 
  }

  .gnav-list li {
    font-size: 12px; 
  }

.page-nav-list {
    flex-wrap: wrap; 
    justify-content: center;
    gap: 10px 20px; 
  }
  
  .page-nav-list li {
    font-size: 12px; 
  }

  /* main */
  .mv {
    height: 40vh;
    margin-top: 170px;  
  }
  
  .mv-container {
    padding: 0 20px;
  }

  /* tech */

  .tech-container {
    flex-direction: column; 
    align-items: center;
  }

.tech-card {
    width: 100%; 
    max-width: 100%;
  

/* PERSONA */
.detail-row, .detail-row.reverse {
  display: flex;          /* flexを明示 */
  flex-direction: column; 
  gap: 20px;
  margin-bottom: 50px;
}

/* 1. テキストの箱（detail-text）自体もFlexにして縦並びに命令する */
.detail-text {
  display: flex;
  flex-direction: column;
  align-items: center;    /* 中身のh3やpを中央寄せに */
  text-align: center;
}

/* 2. 【最重要】orderプロパティで上から「h3 → 画像 → p」の順に強制配置 */
.detail-text h3 {
  order: 1;               /* 1番目：タイトル */
  margin-bottom: 10px;    /* 下にくる画像との隙間を少しあける */
}

.detail-icon {
  order: 2;               /* 2番目：画像 */
  width: 150px;           /* 現在設定されているサイズをキープ */
  margin: 0 auto;
}

.detail-text p {
  order: 3;               /* 3番目：本文 */
  text-align: left;       /* カッコ内の長文は、左詰めのほうが圧倒的に読みやすくなります */
  display: inline-block;  /* 左詰めにしつつ、全体を中央に寄せるプロの技 */
  margin-top: 10px;       /* 画像との隙間 */
}



  /* POINT */
  .consept-text{
    font-size: 15px;
    margin-right: 15px;
  }

  /* CONCEPT */

.summary-phrase .summary-description{
    font-size: 15px;
    margin-right: 15px;
}
  /*  メインビジュアル */
  .mv {
    height: 40vh;
  }

  .mv-container {
    padding: 0 20px;
  }


/* サイト移動ボタン */
  .view-site-container {
    margin: 40px 0; 
  }

  .btn-view-site {
    display: block;        
    max-width: 280px;     
    margin: 0 auto; 
    padding: 16px 0;      
    font-size: 1rem;   
    letter-spacing: 0.1em;
    text-align: center;   
  }

 
  /* フッター */
  .footer {
    padding: 20px;
  }
}