*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --main: #2f285f;
  --main-dark: #211b47;
  --gold: #9a835c;
  --text: #333333;
  --sub-text: #666666;
  --bg: #faf8f4;
  --white: #ffffff;
  --line: #e7ded4;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.line-btn {
    background: #8bc273;
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 15px;
}

.line-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6,199,85,0.25);
}

.logo img {
  width: 130px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "Cormorant", serif;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.nav-contact {
  padding: 10px 22px;
  color: var(--white) !important;
  background: var(--main);
  border-radius: 999px;
}

/* hero */
.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 35, 0.68), rgba(20, 18, 35, 0.28), rgba(20, 18, 35, 0.1));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
  color: var(--white);
}

.hero-label,
.section-label {
  font-family: "Cormorant", serif;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-size: 18px;
  margin: 0 0 18px;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(38px, 6vw, 55px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero-text {
  max-width: 720px;
  margin: 0 0 38px;
  font-size: 18px;
}

.hero-buttons,
.contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.25s;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255,255,255,0.9);
  color: var(--main);
}

.btn-primary:hover,
.btn-secondary:hover,
.nav-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

/* trust */
.trust {
  max-width: 1080px;
  margin: -54px auto 120px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,0.1);
}

.trust-item {
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item span {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant", serif;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.12em;
}

.trust-item p {
  margin: 0;
  color: var(--main);
  font-weight: bold;
}

/* common section */
.intro,
.service,
.works,
.price-section,
.flow,
.company-section,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 50px;
}

.intro {
  text-align: center;
  max-width: 980px;
}

.intro h2,
.service h2,
.strength h2,
.works h2,
.price-section h2,
.flow h2,
.company-section h2,
.contact-section h2 {
  margin: 0 0 34px;
  color: var(--main);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.55;
  font-weight: 500;
}

.intro p:not(.section-label),
.price-box p,
.contact-section p {
  color: var(--sub-text);
  font-size: 17px;
}

/* service */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-card div {
  padding: 26px 22px 30px;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--main);
    font-size: 15px;
}

.service-card p {
  margin: 0;
  color: var(--sub-text);
  font-size: 14px;
}

/* strength */
.strength {
  background: var(--main);
  color: var(--white);
  margin-bottom: 130px;
  padding: 100px 24px;
}

.strength {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.strength-text {
  max-width: 560px;
  margin-left: auto;
}

.strength h2 {
  color: var(--white);
}

.strength-text p:not(.section-label) {
  color: rgba(255,255,255,0.82);
}

.strength-list {
  max-width: 520px;
  margin-right: auto;
  display: grid;
  gap: 16px;
}

.strength-list div {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 22px 24px;
}

/* works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.works-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

/* price */
.price-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 54px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
}

.price-example {
  margin-top: 36px;
  padding: 34px;
  background: #f5f0ea;
  border-left: 5px solid var(--gold);
}

.price-example h3 {
  margin: 0 0 8px;
  color: var(--main);
  font-family: "Cormorant", serif;
  font-size: 28px;
}

.price-example .price {
  margin: 0 0 10px;
  color: var(--main);
  font-family: "Cormorant", serif;
  font-size: 46px;
  line-height: 1.2;
}

.price-example .price span {
  font-size: 18px;
}

/* flow */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.flow-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 24px;
}

.flow-grid span {
  font-family: "Cormorant", serif;
  font-size: 38px;
  color: var(--gold);
}

.flow-grid h3 {
  margin: 10px 0;
  color: var(--main);
}

.flow-grid p {
  margin: 0;
  color: var(--sub-text);
  font-size: 14px;
}

/* company */
.company-list {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 54px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
}

.company-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.company-list dt {
  color: var(--main);
  font-weight: bold;
}

.company-list dd {
  margin: 0;
  color: var(--sub-text);
}

/* contact */
.contact-section {
  text-align: center;
}

.contact-section .btn-secondary {
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-buttons {
  justify-content: center;
  margin: 36px 0 30px;
}

.contact-info {
  font-size: 15px !important;
}

/* footer */
.footer {
border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  padding: 50px 24px;
}

.footer img {
  width: 150px;
  margin: 0 auto 20px;
}

.footer p {
  margin: 0;
  font-size: 12px;
}

/* ======================
   WORKS
====================== */
.works-detail{
  padding: 20px;
  background: #f8f8f8;
  margin-bottom: 50px;
}

.works-inner{
  max-width: 1180px;
  margin: 0 auto;
}

.section-title{
  font-size: 42px;
  color: #20204e;
  margin-bottom: 18px;
  font-weight: 600;
}

.section-lead{
  font-size: 16px;
  color: #666;
  line-height: 1.9;
  max-width: 700px;
  margin-bottom: 55px;
}

.works-grid-2{
  display: flex;
  gap: 35px;
}

.works-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: .35s;
  display: block;
}

.works-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.works-thumb {
  height: 280px;
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
}

.works-thumb span{
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .08em;
    font-family: "Cormorant", serif;
}

.thumb-produce{
  background: linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.25)),
              url("img/0233.jpg") center/cover;
}

.thumb-photo{
  background: linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.25)),
              url("img/0257.jpg") center/cover;
}

.thumb-resort{
  background: linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.25)),
              url("okinawalp/img/image5.jpg") center/cover;
}

.works-body{
  padding: 30px;
}

.works-body h3{
  font-size: 24px;
  color: #20204e;
  margin-bottom: 14px;
}

.works-body p{
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 24px;
}

.works-link{
  color: #c7a46a;
  font-weight: 600;
  letter-spacing: .08em;
    font-family: "Cormorant", serif;
}

.works-card{
  flex: 1;
  min-width: 0;
}

.works-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========= responsive ========= */

@media (max-width: 900px){

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

  .section-title{
    font-size: 34px;
  }

  .works-thumb{
    height: 240px;
  }

}

@media (max-width: 480px){

  .works{
    padding: 80px 18px;
  }

  .section-title{
    font-size: 28px;
  }

  .section-lead{
    font-size: 14px;
  }

  .works-thumb span{
    font-size: 22px;
  }

  .works-body{
    padding: 22px;
  }

  .works-body h3{
    font-size: 20px;
  }

}

/* tablet */
@media screen and (max-width: 1024px) {
  .nav {
    gap: 18px;
    font-size: 15px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .strength-text,
  .strength-list {
    max-width: 900px;
    margin: 0 auto;
  }
}

/* smartphone */
@media screen and (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 16px 18px;
    display: block;
  }

  .logo img {
    width: 140px;
    margin: 0 auto 12px;
  }

  .nav {
    overflow-x: auto;
    gap: 18px;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .nav a {
    font-size: 14px;
  }

  .nav-contact {
    padding: 6px 16px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-bg::after {
    background: rgba(20, 18, 35, 0.58);
  }

  .hero-content {
    padding: 80px 22px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .trust {
    margin: -35px 18px 80px;
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .intro,
  .service,
  .works,
  .price-section,
  .flow,
  .company-section,
  .contact-section {
    padding: 0 20px 90px;
  }

  .intro h2,
  .service h2,
  .strength h2,
  .works h2,
  .price-section h2,
  .flow h2,
  .company-section h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .service-grid,
  .works-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .service-card img,
  .works-grid img {
    height: 300px;
  }

  .strength {
    padding: 80px 20px;
    margin-bottom: 90px;
  }

  .price-box,
  .company-list {
    padding: 30px 22px;
  }

  .price-example {
    padding: 24px 18px;
  }

  .price-example .price {
    font-size: 34px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* small smartphone */
@media screen and (max-width: 420px) {
  .hero h1 {
    font-size: 31px;
  }

  .hero-label,
  .section-label {
    font-size: 14px;
  }

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

  .trust-item:nth-child(odd) {
    border-right: none;
  }

  .service-card img,
  .works-grid img {
    height: 250px;
  }
}

/* ======================
   tablet / smartphone
====================== */

@media screen and (max-width: 1024px) {

  .works-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .works-card {
    width: 100%;
  }

  .works-thumb {
    height: 300px;
    padding: 0;
  }

  .works-thumb span {
    width: 100%;
    height: 100%;
    display: block;
  }

  .works-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (max-width: 768px) {

  .works-detail {
    padding: 60px 20px;
  }

  .works-grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .works-thumb {
    height: 260px;
  }

  .works-body {
    padding: 24px 22px 28px;
  }

  .works-body h3 {
    font-size: 21px;
  }

  .works-body p {
    font-size: 14px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 420px) {

  .works-detail {
    padding: 50px 16px;
  }

  .works-thumb {
    height: 230px;
  }

  .works-body h3 {
    font-size: 19px;
  }
}

.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
}

/* smartphone hamburger */
@media screen and (max-width: 768px) {

  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo img {
    margin: 0;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 1002;
  }

  .hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--main);
    border-radius: 999px;
    transition: 0.3s;
  }

  .nav {
    position: fixed;
    top: 73px;
    right: 0;
    width: 78%;
    max-width: 320px;
    height: calc(100vh - 73px);
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.97);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 40px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;

    overflow: visible;
    white-space: normal;

    transform: translateX(100%);
    transition: 0.35s;
    z-index: 1001;
  }

  .nav a {
    font-size: 20px;
    color: var(--main);
  }

  .nav-contact {
    padding: 10px 22px;
    color: #fff !important;
  }

  .nav-toggle:checked ~ .nav {
    transform: translateX(0);
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}