@charset "utf-8";
/* ==================================================
   岡﨑解体工業株式会社 - Common Stylesheet
   全ページ共通（header / footer / section commons / buttons）
   ※ Google Fontsはcommon/header.phpの<head>内でlink読み込み済み
================================================== */

:root{
  --bg: #0a0a09;
  --bg-soft: #121211;
  --surface: #1a1a18;
  --surface-line: rgba(255,255,255,0.10);
  --text: #f3f1ea;
  --text-dim: #9c9a92;
  --text-faint: #6c6a63;
  --accent: #b9a06a;
  --accent-soft: rgba(185,160,106,0.35);
  --red: #7d2020;
  --red-bright: #a52a2a;
  --container: 1180px;
  --header-h: 84px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body.is-noscroll{ overflow: hidden; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; transition: opacity .3s ease, color .3s ease; }
img{ max-width: 100%; display: block; }
ul{ list-style: none; }

/* 英字表記は全てCormorant Garamondに統一 */
.en{
  font-family: "Cormorant Garamond", serif;
}

/* 段落テキストは全て白 */
p{ 
  color: #fff !important; 
  opacity: 0.85;
  font-size: 15px;
}

.container{
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ================= Header ================= */
.site-header{
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0));
  transition: background .4s ease, height .4s ease, backdrop-filter .4s ease;
}

/* ハンバーガーメニューが開いている間はヘッダーも完全な黒背景にする */
body.is-noscroll .site-header{
  background: rgba(8,8,7,0.98);
  backdrop-filter: none;
}

.site-header.is-scrolled{
/*  background: rgba(8,8,7,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--surface-line);*/
  height: 68px;
  background:
linear-gradient(
120deg,
rgba(255,255,255,.04),
rgba(255,255,255,0) 28%
),

linear-gradient(
300deg,
rgba(255,255,255,.06),
rgba(255,255,255,0) 32%
),

linear-gradient(
135deg,
#080808 0%,
#242424 18%,
#3a3a3a 38%,
#2d2d2d 55%,
#1d1d1d 72%,
#121212 100%
);
}


.header-inner{
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{ 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.brand-icon{ 
  width: 60px; 
  aspect-ratio: 658/355;
}

.brand-text{ 
  position: relative;
  top: 1px;
  display: flex; 
  flex-direction: column; 
  line-height: 1.3;
  gap:2px;
}
.brand-text .ja{ font-weight: 700; font-size: 16px; letter-spacing: 0.08em; }
.brand-text .sub{ font-size: 11px; letter-spacing: 0.28em; color: var(--accent); text-transform: uppercase; }

.gnav > ul{ display: flex; align-items: center; gap: 28px; }
.gnav > ul a{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  padding: 6px 0;
}
.gnav > ul a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s ease;
}
.gnav > ul a:hover::after{ width: 100%; }
.gnav > ul a.is-active{ color: var(--accent); }
.gnav .gnav-cta{
  border: 1px solid var(--accent-soft);
  padding: 10px 20px !important;
  border-radius: 2px;
  color: var(--accent);
}
.gnav .gnav-cta::after{ display: none; }
.gnav .gnav-cta:hover{ background: var(--accent); color: #0a0a09; }

.hamburger{
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 210;
  background: transparent;
}
.hamburger span{
  position: absolute; left: 10px; width: 24px; height: 1px; background: var(--text);
  transition: transform .35s ease, opacity .35s ease, top .35s ease;
}
.hamburger span:nth-child(1){ top: 16px; }
.hamburger span:nth-child(2){ top: 22px; }
.hamburger span:nth-child(3){ top: 28px; }
.hamburger.is-active span:nth-child(1){ top: 22px; transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2){ opacity: 0; }
.hamburger.is-active span:nth-child(3){ top: 22px; transform: rotate(-45deg); }

.gnav-info{ display: none; }
.gnav-info-logo{ width: 120px; margin-bottom: 18px; }
.gnav-info-name{ font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.gnav-info-tel a{ font-size: 15px; }
.gnav-info-tel{ margin-bottom: 10px; }
.gnav-info-address{ font-size: 12.5px; color: var(--text-dim); margin-bottom: 20px; }
.gnav-info-sns{ display: flex; gap: 14px; }
.gnav-info-sns a{
  width: 38px; height: 38px; border: 1px solid var(--surface-line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.gnav-info-sns a:hover{ border-color: var(--accent); color: var(--accent); }
.gnav-info-sns svg{ width: 16px; height: 16px; }

.gnav-contact{ display: none; }


.gnav-contact-info {
  margin-bottom: 10px;
}

.gnav-contact-info p{
  font-size: 11.5px;
}


.gnav-contact-info i{
  width: 15px;
  margin-right: 5px !important;
}

/* ================= Section commons ================= */
.section-area{ 
  padding: 100px 0; 
  position: relative; 
}

.section-area.tight{ 
  padding: 90px 0; 
}

.section-area.on-surface{ 
/*  background: var(--bg-soft); */
  
  background:
linear-gradient(
120deg,
rgba(255,255,255,.04),
rgba(255,255,255,0) 28%
),

linear-gradient(
300deg,
rgba(255,255,255,.06),
rgba(255,255,255,0) 32%
),

linear-gradient(
135deg,
#080808 0%,
#242424 18%,
#3a3a3a 38%,
#2d2d2d 55%,
#1d1d1d 72%,
#121212 100%
);
}

.area-title{ 
  text-align: center; 
  margin-bottom: 30px; 
}

.area-title .label{
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.42em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.area-title h2{
  font-size: min(3.5rem, 3.5vw);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.area-title p.lead{
  margin-top: 18px;
}

.area-title.left{ 
  text-align: left; 
}

.btn-box{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-line{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 16px;
  transition: gap .3s ease, color .3s ease, border-color .3s ease;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-line:hover{ gap: 22px; color: var(--accent); border-color: var(--accent-soft); }
.btn-line .arrow,
.btn-solid .arrow{ width: 30px; height: 1px; background: currentColor; position: relative; flex: 0 0 auto; transition: background .3s ease; }
.btn-line .arrow::after,
.btn-solid .arrow::after{
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn-solid{
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  border-radius: 2px;
  transition: background .3s ease, color .3s ease, gap .3s ease;
}
.btn-solid:hover{ background: var(--accent); color: #0a0a09; opacity: 1; gap: 22px; }

/* ================= Footer ================= */
.site-footer{ background: var(--bg-soft); border-top: 1px solid var(--surface-line); padding: 90px 0 30px; }
.footer-inner{ 
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr; 
  gap: 60px; 
  margin-bottom: 60px; 
}

.footer-logo{ width: 150px; margin-bottom: 22px; }
.footer-brand p{ font-family: "Cormorant Garamond", serif; font-style: italic; letter-spacing: 0.2em; font-size: 12px; }

.footer-heading{ 
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", serif; 
  font-size: 12px; 
  letter-spacing: 0.2em; 
  color: var(--accent); 
  text-transform: uppercase; 
}

.footer-info p{ font-size: 13px; margin-bottom: 10px; }

.footer-info p i{
  margin-right: 5px;
  width: 15px;
  text-align: center;
}

.info-add i{
  margin-right: 3px!important;
}

.footer-info a:hover{ color: var(--accent); }

.footer-nav ul{ 
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-nav li{ 
  margin-bottom: 10px; 
}

.footer-nav a{ 
  opacity: 0.85;
  font-size: 12px;
  padding-left: 8px;
  border-left: 1px solid #bbb;
  line-height: 1;
}

.footer-nav a:hover{ color: var(--accent); }
.footer-sns{ display: flex; gap: 16px; margin-top: 4px; }
.footer-sns a{
  width: 42px; height: 42px; border: 1px solid var(--surface-line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.footer-sns a:hover{ border-color: var(--accent); color: var(--accent); }
.footer-sns svg{ width: 18px; height: 18px; }
.copyright{ text-align: center; font-size: 11px; color: var(--text-faint); letter-spacing: 0.1em; border-top: 1px solid var(--surface-line); padding-top: 26px; }

/* ================= Floating contact ================= */
.floating-contact{
  position: fixed; right: 26px; bottom: 26px; z-index: 190;
  display: flex; flex-direction: column; align-items: flex-end;
}
.fc-btn{
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(10,10,9,0.9); border: 1px solid var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  backdrop-filter: blur(4px);
  font-size: 20px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.fc-btn:hover{ transform: translateY(-3px); border-color: var(--accent); background: var(--accent); }
.fc-btn:hover svg{ stroke: #0a0a09; }
.fc-btn:hover i{ color: #0a0a09; }
.fc-btn svg{ width: 22px; height: 22px; stroke: var(--accent); transition: stroke .3s ease; }
.fc-btn i{ color: var(--accent); transition: color .3s ease; }

.fc-btn + .fc-btn{ margin-top: 12px; }

/* 初期状態は高さ0で折りたたみ、電話/LINE/Instagramの位置に影響を与えない */
.fc-pagetop{
  height: 0;
  border-width: 0;
  margin-top: 0 !important;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: height .35s ease, margin-top .35s ease, border-width .35s ease, opacity .25s ease;
}
.fc-pagetop.is-visible{
  height: 54px;
  border-width: 1px;
  margin-top: 12px !important;
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1200px){
  
 .fc-btn + .fc-btn {
    margin-top: 5px;
  }
}

@media (max-width: 1024px){
  p{
    font-size: 0.85rem;
  }
  
  .container {
    padding: 0 20px;
  }

  .fc-pagetop{ display: none !important; }
}

@media (max-width: 600px){
  .floating-contact{
    left: 0; right: 0; bottom: 0; top: auto;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    background: rgba(8,8,7,0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--surface-line);
  }
  .fc-btn{
    flex: 1;
    width: auto; height: 58px;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--surface-line);
    background: transparent;
  }
  .fc-btn:last-child{ border-right: none; }
  .fc-btn + .fc-btn{ margin-top: 0; }
  .fc-btn:hover{ transform: none; }
}

/* ================= Page header (sub pages) ================= */
.page-header{
  position: relative;
  height: 46vh; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-header-bg{ position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(70%) brightness(0.4); }
.page-header::before{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(6,6,5,0.95)); }
.page-header-inner{ position: relative; z-index: 2; }
.page-header .label{ 
  font-family: "Cormorant Garamond", serif; font-style: italic; 
  letter-spacing: 0.3em; 
  color: var(--accent); 
  font-size: min(1.5rem, 1.5vw);
  display: block; 
}

.page-header h1{     
  line-height: 1.5;
  font-size: min(3.5rem, 3.5vw);
  font-weight: 900; 
  letter-spacing: 0.1em; 
}

.breadcrumb{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(0,0,0,0.5);
}
.breadcrumb-inner{
  max-width: 1440px; 
  margin: 0 auto; 
  padding: 14px 20px;
  text-align: left;
  font-size: 12px; 
  color: #ffffffcf;
}
.breadcrumb a:hover{ color: var(--accent); }

/* ================= Responsive (common) ================= */
@media (max-width: 1024px){
  
  .page-header .label {
    font-size: max(0.75rem, 2vw);
  }
  
  .footer-inner{ grid-template-columns: 1fr 1fr; }

  :root{ --header-h: 68px; }
  .gnav{
    position: fixed; top: 68px; left: 0; width: 100%; height: calc(100svh - 68px);
    background: rgba(8,8,7,0.98);
    transform: translateX(100%);
    transition: transform .45s ease;
    overflow-y: auto;
  }
  .gnav.is-open{ transform: translateX(0); }
  .gnav > ul{ flex-direction: column; align-items: flex-start; gap: 0; padding: 40px 28px; }
  .gnav > ul li{ width: 100%; border-bottom: 1px solid var(--surface-line); }
  .gnav > ul a{ display: block; padding: 20px 0; font-size: 16px; }
  .gnav > ul a::after{
    content: ">";
    position: absolute;
    right: 0; left: auto; bottom: auto;
    top: 50%;
    width: auto; height: auto;
    background: none;
    transform: translateY(-50%);
    color: var(--accent);
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    transition: none;
  }

  .gnav > ul a:hover::after{ 
    width: auto; 
  }
  
  .gnav > ul li:has(.gnav-cta){ 
    display: none; 
  }
  
  .hamburger{ 
    display: block; 
    right: -10px;
  }

  .gnav-contact{
    display: flex;
    gap: 12px;
    padding: 0 28px 20px;
  }
  .gnav-contact-item{
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 16px 6px;
    border: 1px solid var(--surface-line);
    border-radius: 2px;
    font-size: 11.5px;
    text-align: center;
    transition: border-color .3s ease, color .3s ease;
  }
  .gnav-contact-item i{ font-size: 20px; color: var(--accent); }
  .gnav-contact-item:hover{ border-color: var(--accent); color: var(--accent); }

  .gnav-info{
    display: block;
    padding: 28px 28px 48px;
    border-top: 1px solid var(--surface-line);
    margin-top: 16px;
  }
  
  .gnav > ul li:last-child {
    border-bottom: none;
  }
  
}

@media (max-width: 768px){
  
  .page-header {
    height: 35vh;
    min-height: 200px;
  }
  
  .breadcrumb-inner {
    padding: 10px 20px;
    font-size: 10px;
  }
  
  .section-area{ padding: 90px 0; }
  .area-title h2{ font-size: 25px; }
  .footer-inner{ grid-template-columns: 1fr; gap: 40px; }
  .page-header h1{ font-size: 26px; }
}


@media (max-width: 600px){
  .site-footer {
   padding: 90px 0;
  }
}


/* background triangle */

.r-tri{
  display: block;
  position: absolute;
  background: url("../img/bk/triangle.png");
  background-size: 100% 100%;
  left: 0;
  top: 0;
   width: 50%;
  height: 100%;
}


.l-tri{
  display: block;
  position: absolute;
  background: url("../img/bk/triangle.png");
  background-size: 100% 100%;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  transform: scale(-1,1);
}



/* background triangle ///*/
