/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: #424242;
  background: #f5f5f5;
  line-height: 1.6;
}



/* base */
:root {
  --bg: #f7f7f7;
  --text: #424242;
  --box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.3);
  --box-shadow-inset: inset 5px 5px 6px rgba(0, 0, 0, 0.3);
}

/* font */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjxAwXiWtFCc.woff2') format('woff2');
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}


/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


/* * =====index.html ===== */
/** Header */
.header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1000;
}

.site-header.show {
  opacity: 1;
  transform: translateY(0);
}

.site-header.hide {
  opacity: 0;
  transform: translateY(-20px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header a {
  text-decoration: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: 50px;
  margin-top: 8px;
  margin-left: 5px;
}

.logo a {
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  transition: 0.3s;
  color: var(--text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

a:hover {
  color: #ffffff;
}

.inst img {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}



/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #000;
  transition: 0.3s;
}



/** Sections */
section {
  padding: 100px 0;
  background: var(--bg);
}

.section-title {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text);
  text-shadow: 5px 3px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2em;
}



/** Hero */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 20px;
  background: var(--bg);
  box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.03);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text);
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--text);
  letter-spacing: 0.1em;
}

.hero-subtitle-02 {
  font-family: 'Times New Roman', Times, serif;
}

.circle-text-bg {
  position: absolute;
  top: 28%;
  left: 10%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  opacity: 0.2;
  pointer-events: none;
  animation: rotate 40s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}




/** Service */
.service {
  position: relative;
}

.service-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-item {
  flex: 1;
  min-width: 200px;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  border-top: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
}

.service-item h3 {
  color: var(--text);
  font-size: 20px;
  letter-spacing: 0.25em;
  margin-bottom: 5px;
}

.service-item h4 {
  color: #bebebe;
  font-size: 15px;
  font-weight: 100;
  margin-bottom: 30px;

}

.service-item p {
  color: var(--text);
  text-align: left;
  line-height: 2.3;
  font-size: 14px;
  margin-bottom: 10px;
}


/** Plan */
.plan {
  padding-top: 0px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.plan-item {
  flex: 1;
  min-width: 200px;
  padding: 50px 40px;
  text-align: center;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  border-top: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
  transition: 0.3s;
}

.plan-item:hover {
  background: #e9e9e9;
  color: var(--text);
  border-top: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.plan-item:active {
  box-shadow: var(--box-shadow-inset);
}

.plan-item a {
  text-decoration: none;
}


.plan-item h3 {
  color: var(--text);
  font-size: 20px;
  letter-spacing: 0.25em;
  margin-bottom: 5px;
  text-align: center;
}

.plan-item h4 {
  color: #bebebe;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 30px;
  text-align: center;
}

.plan-item p {
  color: var(--text);
  text-align: left;
  line-height: 2.3;
  font-size: 14px;
  margin-bottom: 10px;
}


/** Works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.work-item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.work-item h3 {
  margin-top: 15px;
  text-align: center;
  color: #222;
}


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

.contact-container p {
  margin-top: -20px;
  margin-bottom: 50px;
  font-family: 'Times New Roman', Times, serif;
}




/** Footer */
.footer {
  text-align: center;
  padding: 30px 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
  font-size: 0.9rem;
  color: #666;
}



/* * ===== about.html ===== */
.about-box {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.about-box img {
  width: 60%;
  max-width: 600px;
  height: auto;
  display: block;
  opacity: 0.9;
  border-radius: 10px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  margin-top: 50px;
}

.about-title {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-shadow: 5px 3px 4px rgba(0, 0, 0, 0.6);
}

.about-subtitle {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #111;
}



/** profile */
.profile {
  margin-top: 150px;
}

.sec-sub-title {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 2rem;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #000;
  margin-bottom: 20px;
  color: var(--text);
  text-shadow: 5px 3px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2em;
}

.profile p {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 2em;
}

.text-box {
  display: flex;
  margin-top: 50px;

}

.text-box img {
  width: 200px;
  height: auto;
  margin-right: 90px;
  border-radius: 10px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.name-box {
  display: flex;
  text-align: center;
}

.name-box h3 {
  font-size: 20px;
  font-weight: bold;
  margin-right: 20px;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 15px;
}

.name-box h4 {
  font-size: 13px;
  margin-top: 8px;
  color: #bebebe;
}

th,
td {
  padding: 4px;
  text-align: left;
  font-size: 13px
}


.td-01 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;

}

.td-jp {
  font-family: 'Times New Roman', Times, serif;
}



/* *===== service.html ===== */
.service-header {
  background-color: #fff;
}

.plan-html {
  padding-top: 50px;
  background-color: #fff;
}

.plan-box {
  background-color: var(--bg);
  border-top-left-radius: 180px;
  padding: 100px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  box-shadow: var(--box-shadow);
  font-family: 'Times New Roman', Times, serif;
}

.plan-box p {
  margin: 30px 0 50px 0;
}

.service-plan-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-plan-item {
  position: relative;
  flex: 1;
  min-width: 200px;
  padding: 40px;
  border-radius: 30px;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  border-top: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
  padding-bottom: 100px;
}

.service-plan-item a {
  position: absolute;
  bottom: 30px;
  /* 下から20px固定 */
  left: 35%;
  transform: translateX(-50%);
  /* 中央寄せ（左寄せなら削除） */
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--text);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.service-plan-item h3 {
  color: var(--text);
  margin-bottom: 5px;
}

.h3-primes {
  font-size: 30px;
  margin-bottom: 10px;
}

.service-plan-item p {
  color: var(--text);
  text-align: left;
  font-size: 14px;
  margin-bottom: 40px;
  margin-top: 0;
}

.service-plan-item li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  list-style: none;
}

.service-plan-item li:before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  -webkit-transform: rotate(50deg);
  -ms-transform: rotate(50deg);
  transform: rotate(50deg);
  width: 5px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}

.service-plan-item a {
  display: inline-block;
  padding: 10px;
  background-color: var(--text);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  margin-top: 20px;
  margin-left: -10px;
  width: 45%;
  text-align: center;
  transition: 0.3s;
  border: 1px solid #000;
  transition: 0.3s;
}

.service-plan-item a:hover {
  background-color: #fff;
  color: var(--text);
}

.design-ul {
  margin-bottom: 100px;
}

.design-plan {
  margin-top: 130px;
}

/** flow */
.flow-section {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 100px;
}

.floe-title {
  margin-bottom: 40px;
}

.flow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0
}

.flow-item {
  background: var(--bg);
  padding: 30px;
  border-radius: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--box-shadow);
  border-top: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
}


.step-head {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  font-family: "Lato", sans-serif;
}


.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.step-desc {
  font-size: 14px;
  margin: 0;
  color: #444
}




/* * ===== contact.html ===== */


.narrow {
  width: min(760px, 92%);
}

.center {
  margin-bottom: 70px;
  text-align: center;
}

.contact-form {
  margin-top: 10px;
}


.form-row {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

label {
  font-weight: 600;
  font-size: .95rem;
}

.req {
  color: #999;
  margin-left: .25em;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: #111;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #bbb;
}



/** ======btn====== */
.sec-btn {
  padding: 70px 0;
}

.btn-box {
  margin-top: 30px;
  margin-bottom: 80px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  border-radius: 50px;
  background-color: #ffffff;
  box-shadow: var(--box-shadow);
  transition: 0.3s;
}

.btn-primary:hover {
  background: #e9e9e9;
  color: var(--text);
  border-top: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.btn-primary:active {
  box-shadow: var(--box-shadow-inset);
}

/* hero */
.hero-btn-primary {
  font-size: 1.1rem;
  position: absolute;
  right: 70px;
  bottom: 70px;
}

/* service */
.service-btn-primary {
  position: absolute;
}

.s-btn01 {
  right: 250px;
  bottom: 70px;
}

.s-btn02 {
  right: 70px;
  bottom: 70px;
}

/* contact */
.contact-btn-primary {
  margin-bottom: 50px;
}

.sb {
  background-color: var(--bg);
}

.contact-btn {
  display: inline-block;
  margin: 50px auto 0;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  background: #424242;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

/** =====fade-in===== */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延パターン */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.4s;
}

.delay-4 {
  transition-delay: 0.6s;
}


/** Responsive */

@media(max-width:991px) {
  .flow-list {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 768px) {

  /* * HOME */
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav.active {
    display: block;
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }


  .hero-title {
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: 0.1em;
  }

  .hero-subtitle-02 {
    font-size: 0.8rem;
  }

  .hero-btn-primary {
    font-size: 1rem;
    right: 33%;
    bottom: 70px;
  }

  .s-btn01 {
    font-size: 0.8rem;
    right: 200px;
    bottom: 100px;
  }

  .s-btn02 {
    font-size: 0.8rem;
    right: 40px;
    bottom: 100px;
  }

  /* *ABOUT */
  .about-box {
    display: none;
  }

  .profile {
    margin-top: 0;
  }

  .text-box {
    display: block;
    text-align: center;
  }

  .text-box img {
    margin-bottom: 30px;
    text-shadow: none;
  }

  /* *SERVICE */
  .sec-sub-title {
    font-size: 1.5rem;
  }

  .plan-box {
    padding: 150px 27px 27px 27px;
  }
}

@media(max-width:575px) {
  .flow-list {
    grid-template-columns: 1fr
  }
}