/*
Theme Name: Portfolio Theme
*/

body {
 margin: 0;
 font-family: "Noto Sans JP", sans-serif;
 background-color: #F8F5F0;
}

h1,h2,h3{
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight:500;
  letter-spacing:1px;
}

.header {
  background-color: transparent;
  height: 75px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

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

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1.2;
}

.site-title a {
  text-decoration: none;
  color: #444;
}

.site-subtitle {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #777;
  margin: 4px 0 0;
}

.header-nav .menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
}

.menu a {
  text-decoration: none;
  color: #4b3f2f;
  font-weight: bold;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: rgba(75, 63, 47, 0.4);
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 28px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
  transform-origin: center;
}

/* タブレット */
@media screen and (max-width: 1024px) {
  .site-title {
    font-size: 24px;
  }

  .header-nav .menu {
    gap: 16px;
  }

  .menu li {
    font-size: 14px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .header {
    height: 68px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .site-title {
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  .site-subtitle {
    font-size: 10px;
    letter-spacing: 0.06em;
    margin-top: 2px;
  }

  .hamburger {
    display: block;
    position: relative;
    z-index: 1100;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 16px;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1050;
  }

  .header-nav.active {
    display: block;
  }

  .header-nav .menu {
    flex-direction: column;
    gap: 16px;
  }

  .header-nav .menu a {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
  }
}

/* 小さいスマホ */
@media screen and (max-width: 480px) {
  .header {
    height: 62px;
  }

  .site-title {
    font-size: 18px;
  }
}

/* ページタイトル */
.entry-title,
.page-title,
.post-title,
.page-title-custom {
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 3px solid #d6b8b1;
  color: #3f3f3f;
  letter-spacing: 0.04em;
}

.main-page {
  padding-left: 30px;
  padding-right: 30px;
}

.title-container{
  margin: 0 auto;
  padding: 30px 0px 10px;
}

/* トップページ hero */
.hero {
  background-color: #f8f5f0;
  padding: 100px 20px 130px;
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.hero-text {
  position: absolute;
  right: 40px;
  bottom: 20px;
  width: 360px;
  background: rgba(255, 255, 255, 0.75);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.hero-text h2 {
  font-size: 28px;
  line-height: 1.6;
  color: #3f3f3f;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 28px;
}

.main-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #d6b8b1;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
}

.main-btn:hover {
  opacity: 0.85;
}

.scroll {
  position: absolute;
  left: 50px;
  bottom: 25px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #4b3f2f;
  z-index: 2;
}

.scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 45px;
  background-color: #4b3f2f;
  margin: 10px auto 0;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
}

/* タブレット */
@media screen and (max-width: 1024px) {
  .hero {
    padding: 80px 20px 120px;
  }

  .hero-image img {
    height: 460px;
  }

  .hero-text {
    right: 24px;
    bottom: -45px;
    width: 330px;
    padding: 32px;
  }

  .hero-text h2 {
    font-size: 26px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .hero {
    padding: 48px 20px 70px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .hero-text {
    position: static;
    width: 100%;
    padding: 28px 24px;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .hero-text h2 {
    font-size: 26px;
    line-height: 1.6;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-image img {
    height: 260px;
    border-radius: 20px;
  }

  .scroll {
    display: none;
  }
}

.pf-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.pf-intro,
.pf-service,
.pf-works {
  padding: 100px 0;
}

.pf-intro {
  background: #fff;
}

.pf-label {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #7b8b6f;
  margin-bottom: 16px;
}

.pf-intro h2,
.pf-service h2,
.pf-works h2 {
  font-size: 34px;
  line-height: 1.6;
  color: #3f3f3f;
  margin-bottom: 24px;
}

.pf-intro p {
  max-width: 680px;
  line-height: 2;
  color: #666;
}

.pf-link {
  display: inline-block;
  margin-top: 28px;
  color: #7b8b6f;
  text-decoration: none;
  border-bottom: 1px solid #7b8b6f;
  padding-bottom: 4px;
}

.pf-service {
  background: #f8f5f0;
}

.pf-service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.pf-service-item {
  background: #fff;
  padding: 36px 30px;
  border-radius: 22px;
}

.pf-service-item span {
  font-size: 13px;
  color: #b9a88f;
  letter-spacing: 0.12em;
}

.pf-service-item h3 {
  font-size: 20px;
  margin: 18px 0 14px;
  color: #3f3f3f;
}

.pf-service-item p {
  line-height: 1.8;
  color: #666;
}

.pf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.pf-work-card {
  background: #f8f5f0;
  border-radius: 28px;
  padding: 48px;
}

.pf-work-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: #3f3f3f;
}

.pf-work-text p {
  line-height: 2;
  color: #666;
  max-width: 720px;
}

.pf-work-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.pf-work-text li {
  background: #fff;
  color: #7b8b6f;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
}

@media screen and (max-width: 768px) {
  .pf-intro,
  .pf-service,
  .pf-works {
    padding: 70px 0;
  }

  .pf-intro h2,
  .pf-service h2,
  .pf-works h2 {
    font-size: 26px;
  }

  .pf-service-list {
    grid-template-columns: 1fr;
  }

  .pf-section-head {
    display: block;
  }

  .pf-work-card {
    padding: 32px 24px;
  }
}

.pf-contact {
  padding: 100px 0;
  background: #f8f5f0;
}

.pf-contact h2 {
  font-size: 32px;
  line-height: 1.6;
  color: #3f3f3f;
  margin-bottom: 24px;
}

.pf-contact-text {
  max-width: 700px;
  margin: 0 0 40px;
  line-height: 2;
  color: #666;
}

.pf-contact-btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  background: #d6b8b1;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.pf-contact-btn:hover {
  opacity: 0.85;
}

@media screen and (max-width: 768px) {
  .pf-contact {
    padding: 70px 0;
  }

  .pf-contact h2 {
    font-size: 26px;
  }
}

/* ABOUTページ */
.about-page {
  background: #fff;
  padding: 80px 20px;
  border-radius: 18px;
}

.about-page .container {
  max-width: 900px;
  margin: 0 auto;
}

.about-page p {
  line-height: 2;
  color: #666;
  font-size: 16px;
  margin-bottom: 24px;
}

.about-page h2 {
  font-size: 28px;
  color: #3f3f3f;
  margin: 60px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6d8c3;
}

.about-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-page li {
  background: #f8f5f0;
  color: #555;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
  .about-page {
    padding: 70px 20px;
  }

  .about-page p {
    font-size: 15px;
  }

  .about-page h2 {
    font-size: 24px;
    margin-top: 48px;
  }
}

/* WORKSページ */
.works-page {
  padding: 80px 20px;
  background: #fff;
  border-radius: 18px;
}

.works-page .container {
  max-width: 900px;
  margin: 0 auto;
}

.works-page h2 {
  font-size: 36px;
  color: #3f3f3f;
  margin-bottom: 40px;
}

.works-page img {
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

.works-page p {
  font-size: 16px;
  line-height: 2;
  color: #666;
  margin-bottom: 32px;
}

.works-page h3 {
  font-size: 24px;
  color: #3f3f3f;
  margin: 56px 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6d8c3;
}

.works-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-page li {
  background: #f8f5f0;
  color: #555;
  padding: 14px 18px;
  border-radius: 18px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.works-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #d6b8b1;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.works-btn:hover {
  opacity: 0.85;
}

@media screen and (max-width: 768px) {
  .works-page {
    padding: 70px 20px;
    border-radius: 0;
  }

  .works-page h2 {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .works-page img {
    border-radius: 20px;
    margin-bottom: 32px;
  }

  .works-page p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
  }

  .works-page h3 {
    font-size: 22px;
    margin: 48px 0 20px;
  }

  .works-page li {
    padding: 13px 16px;
    border-radius: 16px;
    font-size: 15px;
  }

  .works-btn {
    display: block;
    width: fit-content;
    margin: 36px auto 0;
  }
}

/* CONTACTページ */
.contact-page {
  max-width: 800px;
  padding: 80px 20px;
  margin: 0 auto 30px;
}

.contact-page p {
  line-height: 2;
  color: #666;
  margin-bottom: 24px;
}

.contact-form-box {
  background: #f8f5f0;
  border-radius: 28px;
  margin: 40px 0 24px;
}

.contact-note {
  font-size: 14px;
  color: #888;
}

/* Contact Form 7 */
.wpcf7 {
  margin-top: 20px;
}

.wpcf7 p {
  margin-bottom: 24px;
}

.wpcf7 label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e6d8c3;
  border-radius: 14px;
  background: #fff;
  box-sizing: border-box;
  font-size: 15px;
  color: #444;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #d6b8b1;
}

.wpcf7 input[type="submit"] {
  width: auto;
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  background: #d6b8b1;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin: 40px auto 0;
}

.wpcf7 input[type="submit"]:hover {
  background: #c7a39b;
}

@media screen and (max-width: 768px) {
  .contact-page {
    padding: 70px 20px;
  }

  .contact-page p {
    font-size: 15px;
    line-height: 1.9;
  }

  .contact-form-box {
    padding: 24px 20px;
    border-radius: 20px;
    margin: 32px 0 20px;
  }

  .contact-note {
    font-size: 13px;
  }

  .wpcf7 input,
  .wpcf7 textarea {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .wpcf7 textarea {
    min-height: 160px;
  }

  .wpcf7 input[type="submit"] {
    padding: 14px 32px;
    font-size: 14px;
    margin-top: 32px;
  }
}

.footer {
  background: #efe7dc;;
  padding: 80px 20px 30px;
  margin-top: 120px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-title {
  font-size: 24px;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #444;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 14px;
  color: #777;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li + li {
  margin-top: 12px;
}

.footer-nav a {
  text-decoration: none;
  color: #4b3f2f;
}

.footer-copy {
  text-align: center;
  margin-top: 60px;
  font-size: 12px;
  color: #999;
}