
/* リセット＆ボックスサイズ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ベース */
body {
  font-family:
    "Yu Gothic UI",
    "YuGothic",
    "Meiryo",
    Tahoma,
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  color: #424242;
  background-color: #fff;
  line-height: 1.6;
}


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

/* フォント */
h1 {
  font-family: Tahoma, sans-serif;
  font-size: 3rem;
  font-weight: bold;
}

h2 {
  font-family: "Yu Gothic UI";
  font-size: 2rem;
  font-weight:400;
  color: #424242;
}
/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid #000;
  background: #fff;
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-branding .custom-logo-link img {
height: 2.5rem; 
  width: auto;
  display: block;
}

/* 代替テキストロゴ */
.site-branding .site-title {
  font-size: 1.5rem;
  font-weight: bold;
}

/* ——  mobile menu-overlay —— */


.menu-toggle {
  background: none;
  border: none;
  padding: 0.5em;
  cursor: pointer;
    display: none;
}
.menu-toggle .hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  margin: 4px 0;
  transition: background-color 0.3s;
}

/* —— mobile menu-overlay —— */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  display: none;
  align-items: center;
  justify-content: center;
}
.mobile-menu-overlay.open {
   display:flex;
   opacity: 1;
  visibility: visible;
}


.mobile-menu-inner {
  text-align: center;
}

.menu-close {
  position: absolute;
  top: 60px;
  right: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
}


.menu-close img {
  display: block;
}
.mobile-menu-inner .mobile-logo {
  margin-bottom: 3rem;
}
.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-menu li {
  margin-bottom: 1.5rem;
}
.mobile-nav-menu a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #333;
}

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

  .site-navigation {
    display: none;
  }

  .menu-toggle {
    display: block;
  }


}

@media screen and (min-width: 768px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}
/* ---------- Navigation---------- */
.site-navigation .nav-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.site-navigation .nav-item + .nav-item {
  margin-left: 40px;
}

.site-navigation .nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.nav-main {
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  line-height: 1.2;
}

.nav-sub {
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.05em;
  margin-top: 4px;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

/* Hover  */
.site-navigation .nav-item a:hover .nav-sub {
  visibility: hidden;
  opacity: 0;
}

.site-navigation .nav-item a:hover .nav-main {
  transform: translateY(10px);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .site-header__inner {
    padding:10px 32px;
    text-align: center;
  }
  .site-navigation .nav-menu {
    flex-direction: column;
    margin-top: 16px;
  }
  .site-navigation .nav-item + .nav-item {
    margin-left: 0;
    margin-top: 12px;
  }
}
/* ---------- wrapper ---------- */
.wrapper {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

/* HERO  */
.hero {
  text-align: center;
  margin: 20px auto;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px 0;
}

section.hero .hero-text {
  padding: 20px 0;
  line-height: 200%;
}

  .card-desc {
    font-size: 1rem;
    margin: 0 0 1.5rem;
  }

@media screen and (max-width: 768px) {
  .wrapper {
    padding: 0 8px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-text p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .card-desc {
    font-size: 0.8rem;
    margin: 0 0 1.5rem;
  }
}


/* ===== 職人一覧セクション ===== */
.section-craftsmen {
  padding: 60px 0;
}

.section-craftsmen .wrapper{
padding: 0px;
 }

.section-craftsmen .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}


.section-craftsmen .section-icon {
  display: block;
  max-height: 60px;
  height: auto;
}

.section-header-line {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  display: inline-block;
  font-family: "Yu Gothic UI", Tahoma, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  background-color: #000;
  margin: 4px auto 0;
}

.section-sub {
  font-size: 1rem;
  color: #666;
  letter-spacing: 0.05em;
  text-align: center;
}


.section-craftsmen .craftsmen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 80px auto;
}



.craftsmen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px; /* row-gap column-gap */
  margin: 48px 0;
}


@media (max-width: 768px) {
  .craftsmen-grid {
    grid-template-columns: 1fr;

 .section-craftsman .wrapper{
padding: 0px;
 }
  }
}

/* ---------- カード ---------- */
.wrapper { max-width:1080px; margin:0 auto; padding:0 16px; }
.craftsmen-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px 24px;
}
@media(max-width:768px){
  .craftsmen-grid { grid-template-columns:1fr; }
}

.craftsman-card {
  background: #C59966;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 写真*/
.card-image {
  position: relative;
  overflow: hidden;
}
.card-image img {
  transition: transform 1s ease;
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.card-image:hover img {
  transform: scale(1.2);
}

.card-title {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: #fff;
  padding: 0.5rem 1rem;
  border: 2px solid #424242;
  border-radius: 4px;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
  z-index: 10;
}


.card-content {
  padding: 2.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  z-index: 1;
  position:relative;
}

.btn-detail {
  display: block;
  margin: 0 auto;
  width: 70%;
  margin-top: auto;
  background: #fff;
  color: #C59966;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  border: 2px solid #C59966;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}


.btn-detail:hover {
  background-color: #C59966;
  color: #fff;
  border: 2px solid #fff;
}

/* 3. セクションボタン（（100%–gap）/2） */
.section-craftsmen .section-footer {
  text-align: center;
}
.section-craftsmen .btn-section,
.recommend-more .btn-section{
  display: block;
  width: calc((100% - 24px) / 2);
  margin: 0 auto;
  padding: 0.75em 1.5em;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.section-craftsmen .btn-section:hover {
  background-color: #C59966;
  color: #fff;
  border-color: #C59966;
}

@media (max-width: 768px) {

  .section-craftsmen .craftsmen-grid {
    grid-template-columns: 1fr;
  }

  .section-craftsmen .btn-section {
    width: 100%;
    max-width: 360px;
  }
}
/* ===== 職人厳選 PICK-UPS セクション ===== */
.section-pickups {
  background-color: #C59966;
  border-radius: 24px;
  padding: 60px 0;
  margin: 60px 0;
}

.section-pickups .wrapper {
  position: relative;
}

.section-pickups .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}


.section-pickups .section-icon {
  display: block;
  max-height: 60px;
  height: auto;
}
.section-pickups .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}
.section-pickups .section-sub {
  font-size: 0.75rem;
  color: #666;
  margin: 4px 0 0;
  letter-spacing: 0.05em;
}

.slider-container {
  position: relative;
  overflow: hidden;
  padding-right: 17%;
}


.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  padding-left: 24px;
}


.slider-track .pickup-item {
  flex: 0 0 calc((100% - 72px - 2 * 24px) / 3);
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.slider-track .pickup-item img{
width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.slider-track .pickup-name {
  margin: 20px auto;
  text-align: left;
  margin: 0;
  font-weight: 900;
}

.pickup-name span {
  font-weight: 400;
}

.pickup-price {
  margin-top: auto;
  text-align: right;
  margin-bottom: 0;
}


.slider-next {
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 2px solid #424242;
  border-radius: 50%;
  background: none;
  color: #424242;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.5s;
}
.slider-next:hover {
  background-color: #fff;
  border: 2px solid #fff;
}

@media (max-width: 768px) {

  .slider-container {
    padding-right: 140px;
    overflow: hidden;
  }


  .slider-track {
    padding-left: 0;
  }

  .pickup-item {
    margin-right: 0;
  }

  .slider-next {
    display: block;
  }
}


/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #000;
  background: #fff;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px 0;
  text-align: center;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.4;
}

.footer-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: #000;
}

.footer-address,
.footer-tel {
  margin: 0.25em 0;
}


/* ---------- page ---------- */
.wrapper {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}


.page-banner {
  background-color: #C59966;
  padding: 24px 0;
}
.page-banner .page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-right: 12px;
}
.page-banner .page-sub {
  font-size: 0.875rem;
  color: #fff;
  opacity: 0.8;
  vertical-align: middle;
}

/* 二、地図 */

.page-map .wrapper {
  text-align: center;
  margin:0 auto;
}

.page-map .wrapper img {
  display: inline-block;
  width: 100%;
  height: auto;
  max-width: 100%;
}


.craftsmen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-bottom: 60px;
}

.craftsman-card {
  background: #C59966;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


@media (max-width: 768px) {
  .craftsmen-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 職人詳細 Header ---------- */
.craftsman-detail-header {
  background-color: #C59966;
  padding: 60px 0;
}
.craftsman-detail-header .detail-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.craftsman-detail-header .detail-text {
  flex: 1;
}
.craftsman-detail-header .craftsman-category {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.craftsman-detail-header .craftsman-sub {
  text-transform: uppercase;
  font-size: 1rem;
  opacity: 0.8;
  margin: 8px 0 4px;
}
.craftsman-detail-header .craftsman-name {
  margin: 0;
  font-size: 2rem;
  color: #fff;
}
.craftsman-detail-header .craftsman-location {
  font-size: 1rem;
  margin: 8px 0;
}
.location {
  display: flex;
  align-items: center;
}

.location-pin {
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
}

.craftsman-tag {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 0.2em 0.6em;
  margin-right: 0.5em;
  margin-bottom: 0.3em;
  font-size: 0.875rem;
  border-radius: 3px;
  line-height: 1;
}

.craftsman-company {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0.4em 0;
}
.craftsman-location {
  margin: 0;
}
.craftsman-detail-header .craftsman-intro {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 30px;
}
.craftsman-detail-header .detail-image {
  text-align: right;
  position: relative;

}
.craftsman-detail-header .detail-image img {
  width: 350px;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.craftsman-detail-header .btn-find-works {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 70px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
border: 1px solid transparent;
   transition: background 0.3s, box-shadow 0.3s;
}

.craftsman-detail-header .btn-find-works:hover {
  background: #C59966;
  box-shadow: inset 0 0 0 1px #fff; 
  color: #fff;
}

.craftsman-detail-header .btn-favorite {
  font-size: 1.5rem;
  margin-left: 12px;
  vertical-align: middle;
  cursor: pointer;
}

/* ---------- Section Heading ---------- */
 .wrapper {

  padding: 40px 0;
}
.section-heading {
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  display: inline-block;
}
.section-sub {
  font-size: 0.75rem;
  color: #666;
  margin-left: 8px;
  vertical-align: middle;
}
.section-content {
  margin-top: 24px;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ---------- Craft Story ---------- */
.craft-story hr {
  margin: 8px 0 0;
  border: none;
  border-top: 1px solid #ddd;
}
.craft-story .section-content {
  margin-top: 24px;
}

/* ---------- experience---------- */
.experience-text{
 padding:0 0 20px;
}

/* ---------- Workplace / Materials / Process 共用 ---------- */
.experience,
.workplace,
.materials,
.process {
  padding: 20px 0;
}


.workplace .section-content,
.materials .section-content,
.process .section-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.experience .section-content{
align-items: center;

}
.section-content {
  align-items: flex-start;
  gap: 2rem;
}


.section-content .section-image {
  flex: 0 0 500px;
  height: 350px;
  overflow: hidden;
  border-radius: 16px;
}


.section-content .section-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.experience-image img {
 max-width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
 
}

@media (max-width: 767px) {
  .section-content {
    flex-direction: column;
  }
  .section-content .section-image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 500/350;
  }

   .workplace .section-content, .materials .section-content, .process .section-content {

    align-items: normal;
}
}


.materials .wrapper { flex-direction: row-reverse; }

/* ---------- Recommend ---------- */
.recommend .section-content {
  background: #C59966;
  border-radius: 24px;
  padding: 60px 60px;
}
.recommend hr {
  margin: 8px 0 24px;
  border: none;
  border-top: 1px solid #ddd;
}
.recommend-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.recommend-grid .pickup-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  padding:15px;
}
.recommend-grid .pickup-item img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 4px;
  display: block;

}
.recommend-grid .pickup-item .pickup-name {
  font-size: 0.875rem;
  margin: 12px 0 4px;
}
.recommend-grid .pickup-item .pickup-name span {
  font-size: 0.75rem;
  color: #666;
}
.recommend-grid .pickup-item .pickup-price {
  font-size: 0.875rem;
  margin: 0 0 12px;
}

.recommend-more {
  text-align: center;
}

.btn-section {
  display: inline-block;
  padding: 1em 4em;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-section:hover {
  background-color: #C59966;
  color: #fff;
  border-color: #C59966;
}



@media (max-width: 768px) {
 .wrapper {
  text-align: left;
  padding: 40px;
}
  .craftsman-detail-header .detail-inner,
  .workplace .wrapper,
  .materials .wrapper,
  .process .wrapper {
    flex-direction: column;
    text-align: center;
  }
  .craftsman-detail-header .detail-image {
    text-align: center;
  }
  .recommend-grid {
    flex-direction: column;
  }

  .recommend .section-content{
    padding: 60px 40px;
  }

 .experience-image img {
 max-width: 100%;
  height: 100%;
 
}
}
/*ーーーーーーーーコンタクトフォームーーーーーーーーー*/

.page-content form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-content label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #333;
}


.page-content input[type="text"],
.page-content input[type="email"],
.page-content textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


.page-content input[type="text"]:focus,
.page-content input[type="email"]:focus,
.page-content textarea:focus {
  outline: none;
  border-color: #C59966;
  box-shadow: 0 0 0 3px rgba(197, 153, 102, 0.2);
}


.page-content textarea {
  min-height: 150px;
  resize: vertical;
}


.wpcf7-form-control.wpcf7-submit {
  display: inline-block;
  background-color: #C59966;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
text-align: center;  
}

.wpcf7-form-control.aligncenter {
  display: block; 
  margin: 1.5rem auto;
  padding: 1rem 7rem;

.wpcf7-form-control.wpcf7-submit.has-spinner::after {
  margin-left: 0.5em;
}
.wpcf7-response-output {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.wpcf7-mail-sent-ok {
  background: #e6f7e6;
  border: 1px solid #8ecf8e;
  color: #195019;
}

.wpcf7-validation-errors {
  background: #fde6e6;
  border: 1px solid #cf8e8e;
  color: #501919;
}



@media (max-width: 767px) {
  .page-content form {
    width: 100%;
    gap: 1rem;
  }
.wpcf7-form-control.aligncenter {
    width: 100%;
    text-align: center;
  }
}
