/* ==============================
   基本設定
============================== */

:root {
  --gold: #b98a2f;
  --gold-dark: #8f6a22;
  --gold-light: #e6d8bb;

  --black: #262626;
  --gray: #666666;
  --light-gray: #f7f5f1;
  --white: #ffffff;
  --line: #e4dccb;

  --max-width: 1180px;
  --about-width: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.8;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==============================
   ヘッダー
============================== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gold-light);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-logo {
  margin: 0;
  line-height: 1;
}

.site-logo img {
  width: 360px; /* 180pxの1.2倍 */
  height: auto;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 56px;
  list-style: none;
}

.site-nav a {
  color: var(--black);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-nav a:hover {
  color: var(--gold);
}

/* ==============================
   メインビジュアル
============================== */

.hero {
  width: 100%;
  aspect-ratio: 16 / 5;
  background: url("../images/main.jpg") center center / cover no-repeat;
  background-color: #f3f0ea;
}

/* ==============================
   共通セクション
============================== */

.section {
  padding: 90px 24px;
}

.section-white {
  background: var(--white);
}

.section-beige {
  background: var(--light-gray);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 44px;
  text-align: center;
}

.section-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-label::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--gold);
}

.section-heading h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

/* ==============================
   事業内容
============================== */

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.business-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 30px;

  min-height: 190px;
  padding: 36px 34px;

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.business-number {
  position: relative;
  margin: 0;

  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.business-number::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);

  width: 1px;
  height: 112px;
  background: var(--gold-light);
}

.business-text h3 {
  margin: 0 0 14px;
  color: var(--black);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.business-text p {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 2;
}

/* ==============================
   会社概要
============================== */

.about-inner {
  max-width: var(--about-width);
}

.company-table {
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.company-table dl {
  margin: 0;
}

.company-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-row:last-child {
  border-bottom: none;
}

.company-row dt,
.company-row dd {
  margin: 0;
  padding: 32px 40px;
}

.company-row dt {
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #fbf7ef;
}

.company-row dd {
  color: var(--black);
  background: var(--white);
}

.company-row a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}



/* ==============================
   アクセス
============================== */

.access-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: stretch;
}

.access-info {
  padding: 34px;
  background: var(--light-gray);
  border: 1px solid var(--line);
}

.access-info h3 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: 22px;
  font-weight: 700;
}

.access-info p {
  margin: 0 0 14px;
  color: var(--gray);
}

.access-info p:last-child {
  margin-bottom: 0;
}

.access-info a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map-wrap {
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

/*=================================
  トライくん応援
=================================*/

.try-support{
    max-width:1180px;
    margin:100px auto 80px;
    padding:0 20px;
}

.try-card{

    display:flex;
    align-items:center;
    gap:55px;

    padding:42px 60px;

    background:#fff;

    border:2px solid #b98a2f;
    border-radius:22px;

    position:relative;

    overflow:hidden;
}

.try-card::after{

    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:100%;
    height:8px;

    background:linear-gradient(
    90deg,
    #a8731a,
    #dcbc67,
    #a8731a
    );

}

.try-icon img{

    width:145px;
    display:block;

}

.try-content{

    flex:1;

}

.try-subtitle{

    margin:0 0 18px;

    color:#b98a2f;

    font-size:18px;

    letter-spacing:.22em;

    font-weight:500;

}

.try-title{

    margin:0;

    font-weight:400;

    color:#222;

    font-size:54px;

    line-height:1.2;

}

.try-title span{

    font-weight:700;

}

/*-----------スマホ-----------*/

@media(max-width:768px){

.try-card{

    flex-direction:column;

    text-align:center;

    gap:20px;

    padding:35px 25px;

}

.try-icon img{

    width:95px;

}

.try-subtitle{

    font-size:13px;

    letter-spacing:.12em;

}

.try-title{

    font-size:34px;

}

}

/* ==============================
   フッター
============================== */

.site-footer {
  padding: 28px 20px;
  color: var(--white);
  text-align: center;
  background: var(--black);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ==============================
   タブレット
============================== */

@media (max-width: 900px) {

  .header-inner {
    flex-direction: column;
    gap: 24px;
  }

  .site-logo img {
    width: 260px;
  }

  .site-nav ul {
    gap: 34px;
  }

  .site-nav a {
    font-size:19px;

    font-weight:500;

    letter-spacing:.12em;
  }

  .hero {
    aspect-ratio: 16 / 7;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    grid-template-columns: 100px 1fr;
  }

  .access-layout {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   スマホ
============================== */

@media (max-width: 768px) {

  .header-inner {
    padding: 22px 20px;
  }

  .site-logo img {
    width: 260px;
  }

  .site-nav ul {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav a {
    font-size: 17px;
  }

  .hero {
    aspect-ratio: 4 / 3;
  }

  .section {
    padding: 68px 20px;
  }

  .company-row {
    grid-template-columns: 1fr;
  }

  .company-row dt {
    padding: 18px 20px 4px;
    background: var(--white);
  }

  .company-row dd {
    padding: 0 20px 18px;
  }

  .business-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 38px 28px;
  }

  .business-number::after {
    position: static;
    display: block;
    transform: none;

    width: 48px;
    height: 1px;
    margin-top: 18px;
  }

  .business-text h3 {
    font-size: 21px;
  }
}

@media (max-width: 480px) {

  .site-logo img {
    width: 160px;
  }

  .site-nav ul {
    gap: 18px;
  }

  .site-nav a {
    font-size: 15px;
  }

  .section {
    padding: 58px 18px;
  }

  .business-number {
    font-size: 42px;
  }

  .business-card {
    padding: 34px 24px;
  }

  .access-info {
    padding: 28px 22px;
  }
}
