:root{
  --container: 1100px; /* 1000?1200??? */
  --gutter: 24px;
}

body {
  margin: 0;
  font-family: sans-serif;
}

main{
  border-bottom: none !important;
}


header a{
  text-decoration: none;
}

footer{
  padding: 18px 0;   /* 12?24??? */
}

footer p, footer small{
  margin: 0;
  font-size: 14px;
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.site-header{
  background: #fff;
  padding: 14px 0;   
  box-shadow: none; 
  border-bottom: none;
  font-family: sans-serif;
}

.site-footer{
  padding: 24px 0;                 
  background: #fff;            
  border-top: none !important;    
  text-align: center;
  box-shadow: none !important;
}

.site-footer p{
  font-size: 12px;
  color: #777;
  margin: 0;
}

.header-inner{
  align-items: center;
}

.site-title a {
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

.site-nav a{
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.main-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.main-sub {
  font-size: 18px;
  margin-bottom: 30px;
  color: #666;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero .btn{
  display: inline-block;
  padding: 16px 40px;
  border-radius: 999px;
  background: #F2A33A;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  font-size: 18px;
}

.hero{
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: auto;
  background-image: url("images/stocksnap-laptop-2592785_1280.jpg"); /* ????????????? */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 420px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-inner{
  height:  52vh; 
  min-height: 750px;
  padding: 140px 40px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.hero-text{
  max-width: 1117px; /* Figma?1117px??? */
}

.hero-text h1{
  font-size: 60px;  /* ??????? */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}


.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(209,195,195,0.46); 
  z-index: 0;
}

.hero-bottom-section .portrait img{
  width: 418px;
  height: 268px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  padding: 0;      /* ????????0 */
  box-shadow: none;
}

.hero-bottom-text p{
  margin: 0 0 16px;
  line-height: 1.9;
  font-size: 15px;
  color: #444;
}

.hero-bottom-section{
  margin-top: 60px;
  background: #fff;
  border-radius: 10px;
  padding: 26px;
  display: grid;
  grid-template-columns: 418px 1fr;
  gap: 60px;
  align-items: center;
}

.btn-outline{
  display: inline-block;
  padding: 16px 40px;
  border-radius: 999px;
  background: #D8A97E; /* ? ???????? */
  color: #fff;
  border: none;
  font-weight: 600;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-outline:hover{
  background: rgba(0,0,0,0.04);
}

.hero h1 { margin: 0; }

.hero p{ margin: 0; }

section { position: relative; z-index: 1; }
.hero   { z-index: 0; }

.hero .btn:hover{
  filter: brightness(0.95);
}

.hero a.btn{
  display: inline-block;
  margin-top: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #F2A33A;
  color: #fff;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
}

.profile img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-text p{
  margin: 0 0 10px;
}

.profile-text .btn-outline{
  align-self: flex-end;   
}

.page-works {
  padding: 100px 20px;
}


.work-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.page-contact {
  padding: 100px 20px;
}

.contact-form {
  max-width: 600px;
  margin-top: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.page-works {
  padding: 100px 20px;
}

.page-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 32px;
}

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

.work-card{
  max-width: 100%;
}

.work-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.work-desc {
  font-size: 14px;
  color: #666;
}
.wpcf7 form {
  max-width: 600px;
  margin-top: 40px;
}

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

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.wpcf7 input[type="submit"] {
  margin-top: 10px;
  padding: 12px 30px;
  background: #f5a623;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}


/* ========== Responsive (SP) ========== */
@media (max-width: 768px) {

  /* Header */


  .site-nav ul {
    gap: 16px;
    flex-wrap: wrap;
  }

  /* Hero */
  .hero {
    height: auto;
    padding: 80px 20px 40px;
    background-position: center;
  }

 @media (max-width: 768px){
  .hero-inner{
    min-height: 420px;
    padding: 90px 20px 60px;
  }
  .hero-text h1{
    font-size: 30px;
    line-height: 1.35;
  }
  .hero .btn{
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}
  .hero-bottom{
    display: flex;
    flex-direction: column;
    align-self: end;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
  }

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

  .profile-text{
    max-width: 100%;
    flex: 0 0 400px; 
  }

  /* Works */
  .works-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Contact?CF7? */
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea {
    box-sizing: border-box;
  }
}

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

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.profile img{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

html, body{
  height: auto;
  overflow-y: auto !important; 
}
.portrait{
  margin-top: 40px;
}

.portrait img{
  width: 418px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.about-section{
  margin-top: 80px;
}

.about-inner{
  display: flex;
  gap: 40px;
  flex-direction: column;
    align-items: flex-start;
}

.about-image img{
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-text{
  max-width: 500px;
}

.about-text h2{
  margin-top: 0;
  font-size: 28px;
}

.about-text p{
  line-height: 1.7;
  color: #555;
}

.hero-bottom{
  margin-top: 26px;
  padding: 26px;
  background: #fff;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 418px 1fr;
  gap: 28px;
  align-items: center;
}

.hero-bottom .profile img{
  width: 418px;
  height: 268px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@media (max-width: 768px){
  .hero-bottom{
    grid-template-columns: 1fr;
  }
  .hero-bottom .profile img{
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px){
  .hero-bottom-section{
    grid-template-columns: 1fr;
  }
  .hero-bottom-section .portrait img{
    width: 100%;
    height: auto;
  }
}

.profile-area .profile img{
    width: 100%;
    height: auto;
  }

  .profile-area .profile-text{
    display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
  .profile-area .btn-outline{
    justify-self: start;
  }
/* ===== Header Fix (Figma??) ===== */

/* ??????????????? */
.site-header{
  background: #fff;
  padding: 14px 0;
  border-bottom: none !important;
  box-shadow: none;
}

/* container????????????????? */
.site-header .container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ?????? / ???? ??? */
.site-header .header-inner{
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px;
  width: 100%;
}

/* ????????? */
.site-header .site-nav ul{
  display: flex !important;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header{
  color: #333333;
}

.site-title a,
.site-nav a{
  color: #4A403A;
}

.site-nav a:hover{
  opacity: 0.7;
}

body{
  color: #4A403A;
}

a{
  color: #4A403A;
  text-decoration: none;
}

a:hover{
  opacity: 0.7;
}
/* ===== Hero (Figma?????) ===== */
.hero-inner{
  min-height: 520px;            /* ??????? */
  padding: 120px 40px 90px;     /* ???? */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;          /* ???? */
  text-align: center;           /* ????? */
  gap: 22px;
}

.hero-text{
  max-width: 1117px;            /* Figma????? */
}

.hero-text h1{
  font-size: 60px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
  color: #4A403A;               /* ????? */
}

.hero{
  background-size: cover;
  background-position: center;
}

.hero{
  height: clamp(620px, 52vw, 750px); /* ??????/?????? */
  background-size: cover;
  background-position: center;
}

.hero-text h1{
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.2;
  margin: 0;
}


.hero-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(48px, 5vw, 96px);  /* ? ???????? */
}

/* ===== ???h1 ??????????? ===== */
.hero-text{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 72px !important;  /* ????????? */
}

/* ???????????/???????? */
.hero-text .btn{
  margin-top: 0 !important;
  position: static !important;
}

footer{
  background: #ffffff;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(74, 64, 58, 0.1);
}

footer p{
  color: #4A403A;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.8px;
}/* ===== TOP: profile area (Figma) ===== */
.profile-area{
  display: grid;
  grid-template-columns: 1fr 1fr; /* ?????? */
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}

.profile-area .profile img{
  width: 418px;
  height: 268px;
  object-fit: cover;
  display: block;
}

/* ?????????? */
.profile-area .profile-text{
  display: grid;
  gap: 20px;
  justify-items: end; /* ?????????????? */
}

.profile-area .profile-text p{
  max-width: 560px;
  line-height: 2;
  margin: 0;
  justify-self: start; 
  margin-top: 40px; /* ?????? */
}

/* About??????? */
.profile-area .btn-outline{
  justify-self: end;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
}

/* ????TOP????????????????????? */
.profile-area .profile img{
  border-radius: 0 !important;
}
/* ???????????????? */
.profile-area{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* About????Works????????????????? */
.profile-area .btn-outline{
  display: inline-block;
  padding: 16px 40px;
  border-radius: 999px;
  background: #F2A33A; /* Works??? */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  margin-top: 24px;
}

/* ????Works??? */
.profile-area .btn-outline:hover{
  filter: brightness(0.95);
}

/* ??????????????? */
footer{
  border-top: none !important;
  box-shadow: none !important;
}

.profile-text{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================
   About page
========================= */


.page-about{
  margin-top: 0;
  padding: 0 0 40px;
  background-color: #fff;
}


.page-about .about-hero{
  display: flex;
  gap: 100px;
  align-items: center;
  position: relative;
  margin-top: 0;
}


.page-about .about-visual{
  flex: 0 0 632px;
  width: 632px;
  height: 855px;
  position: relative;
  overflow: hidden;
  background-image: url("images/367cc6ae3ee4b4395139b8fc6c5501e9.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0% 90%;
}

.page-about .about-visual::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(209,195,195,0.46);
  pointer-events:none;
}

.page-about .about-visual-inner{
  position: absolute;
  top: 0;
  left: 0;
  width: 632px;
  height: 855px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  gap: 4px;
  color: #4A403A;
  transform: translate(-5px, -30px);
}

.page-about .about-title{
  margin: 0;
  font-size: clamp(60px, 4.5vw, 60px); 
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.page-about .about-sub{
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: 0.12em;             
  line-height: 3.3; 
}

/*
.page-about .about-body{
  flex: 1;
  color: #4A403A;
  padding-top: 60px;
  max-width: 480px;
}
*/

.page-about .about-block + .about-block{
  margin-top: 64px;
}

.page-about .about-heading{
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-left: none;
  padding-left: 0;
}

.page-about .about-body p{
  font-size: 16px; 
  margin: 0 0 18px;
  line-height: 2;
  letter-spacing: 0.12em;
}

.page-about .about-list{
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 2.0;
  letter-spacing: 0.12em;
}


/* =========================
   Works page
========================= */
.page-works{
  padding: 56px 0 80px;
  background: #fff;
}

.page-works .works-hero{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
}

/* ???WORKS? */
.page-works .works-title{
  margin: 0;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #4A403A;
}

/* ????? */
.page-works .works-lead{
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.12em;
  color: #4A403A;
  margin-bottom: 10px;
}

/* ?????3?? */
.page-works .works-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 153px 72px; /* ? ? */
}

/* ??? */
.page-works .work-card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s;
}
.page-works .work-card:hover{
  transform: translateY(-6px);
}

/* ????????????? */
.page-works .work-thumb{
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f2f2;
}

.page-works .work-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

.page-works .work-card:hover img.work-thumb{
  transform: scale(1.08);
}

/* ??????? */
.page-works .work-name{
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: #4A403A;
}

.page-works .work-desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: #4A403A;
  min-height: 60px;
}

/* SP */
@media (max-width: 768px){
  .page-works .works-hero{
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .page-works .works-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Works: hero???????? */
.page-works{
  padding: 56px 0 80px;
  background: #fff;
}

.page-works .works-hero{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
}

.page-works .page-title{
  margin: 0;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #4A403A;
}

.page-works .works-lead{
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.12em;
  color: #4A403A;
  margin-bottom: 0;
}

/* Works: grid */
.page-works .works-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 120px 72px;
}

.page-works .work-card{
  display: grid;
  gap: 14px;
}

.page-works img.work-thumb{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 50px;
}

.page-works .work-title{
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 6px;
}

.page-works .work-desc{
  font-size: 20px;
  color: #7A706A; 
  line-height: 1.4;
}

/* SP */
@media (max-width: 768px){
  .page-works .works-hero{
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .page-works .works-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =========================
   Contact (CF7) - Campp style
========================= */
.page-contact{
  padding: 56px 0 80px;
  background: #fff;
  text-align: center;
}

.page-contact .contact-form{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.page-contact .form-row{
  text-align: left;
}

/* 1???????? */
.page-contact .contact-form .form-row{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
  margin: 28px 0;
}

/* ???????????? */
.page-contact .contact-form .form-row.is-textarea{
  align-items: start;
}

/* ??? */
.page-contact .contact-form .form-label{
  text-align: right;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #4A403A;
  white-space: nowrap;
}

/* ????CF7? */
.page-contact .wpcf7 input[type="text"],
.page-contact .wpcf7 input[type="email"],
.page-contact .wpcf7 textarea{
  width: 100%;
  border: 0;
  background: #d9d9d9;
  padding: 14px 16px;
  font-size: 16px;
  letter-spacing: 0.10em;
  color: #4A403A;
  outline: none;
}

.page-contact .wpcf7 textarea{
  min-height: 260px;
  resize: vertical;
}

.page-contact .wpcf7 input[type="submit"]{
  border: 0;
  padding: 16px 56px;
  border-radius: 18px;
  background: #f0b47e;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.10em;
  cursor: pointer;
}

/* ?????????????????? */
.page-contact .wpcf7 input:focus,
.page-contact .wpcf7 textarea:focus{
  box-shadow: none;
  outline: 2px solid rgba(240, 180, 126, 0.6);
  outline-offset: 2px;
}


.page-contact h1{
  margin: 0 0 12px;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #4A403A;
}

.page-contact p{
  margin: 0 0 36px;
  line-height: 2;
  letter-spacing: 0.10em;
  color: #4A403A;
}

/* SP */
@media (max-width: 768px){
  .page-contact .contact-form .form-row{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-contact .contact-form .form-label{
    text-align: left;
  }
}

/* ===== Contact?????????????? ===== */

/* ???????????100% */
.page-contact .wpcf7 form .form-actions{
  width: 100% !important;
  text-align: center !important;
  margin-top: 36px !important;
}

/* CF7???<p>??100%??????????????? */
.page-contact .wpcf7 form .form-actions > p{
  margin: 0 !important;
  width: 100% !important;
  display: block !important;   /* flex?? */
  text-align: center !important;
}

/* ?????????????????? */
.page-contact .wpcf7 form .form-actions input.wpcf7-submit{
  float: none !important;
  display: inline-block !important;
  margin: 0 auto !important;
}

.page-contact .contact-form .form-actions{
  margin-top: 36px;
  text-align: center;
}
.page-contact .contact-form .form-actions > p{
  margin: 0;
}
/* ?????????????????? */
.page-contact .wpcf7 form .form-actions{
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  margin-top: 36px !important;
}

.page-contact .wpcf7 form .form-actions > p{
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

.page-contact .wpcf7 form .form-actions input[type="submit"],
.page-contact .wpcf7 form .form-actions input.wpcf7-submit{
  float: none !important;
  display: inline-block !important;
  margin: 0 auto !important;
}
/* ===== Contact: CF7 form width fix (??????) ===== */
.page-contact .wpcf7,
.page-contact .wpcf7 form.wpcf7-form{
  max-width: none !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* CF7???????? max-width:600px ????????????? */
.page-contact .wpcf7 form{
  max-width: 980px !important;
  margin: 40px auto 0 !important;
}

/* TOP???????????????flex??? */
main .container section.profile-area{
  display: flex !important;
  align-items: center;
  gap: 40px;
}

/* ???????(grid/end)?????????? */
main .container section.profile-area .profile-text{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important; /* ??? */
}

/* About??????????????? */
main .container section.profile-area .profile-text .btn-outline{
  align-self: flex-end;
}

/* TOP???????????????flex??? */
main .container section.profile-area{
  display: flex !important;
  align-items: center;
  gap: 40px;
}

/* ???????(grid/end)?????????? */
main .container section.profile-area .profile-text{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important; /* ??? */
}

main .container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.profile-area {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 80px;
}

.profile {
  flex: 0 0 400px; /* ? ??????? */
}

@media (max-width: 768px){
  img{ max-width:100%; height:auto; }
  .container{ padding: 0 16px; }
}

/* ===== SP foundation ===== */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

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

body { overflow-x: hidden; } /* ???? */

.site-container{
  width: min(100% - 32px, 1100px); /* PC?SP??? */
  margin-inline: auto;
}


@media (max-width: 768px){

  body .container{
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body .container .profile-area{
    display: block !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 14px !important; 
    padding: 16px 0 !important; 
? justify-content: flex-start !important;
  }

  body .container .profile-area .profile,
  body .container .profile-area .profile-text{
    width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  body .container .profile-area .profile{
    max-width: 320px;
    margin: 0 auto 6px !important;
  }

  body .container .profile-area .profile img{
    width: 100%;
    height: auto;
    display: block;
  }

  body .container .profile-area .profile-text{
    margin: 0 auto !important;
    padding: 0 16px !important;     /* ?????? */
    min-height: 0 !important;
    height: auto !important;
  }

 body .container .profile-area .profile-text p{
    margin: 0 !important;
  }

  body .container .profile-area .btn-outline{
    display: block;
    width: fit-content;
    margin: 14px auto 0 !important;
  }
body .container section.profile-area{
    min-height: 0 !important;
    height: auto !important;
  }
}

@media (max-width: 768px){
  main { padding-bottom: 0 !important; }
  footer { padding-top: 24px !important; padding-bottom: 24px !important; }
}

/* ===== TOP SP????????height?????????? ===== */
@media (max-width: 768px){
  body .container .profile-area .profile{
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body .container .profile-area .profile img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* ===== TOP SP????????????profile??????? ===== */
@media (max-width: 768px){
  body .container .profile-area .profile{
    display: block !important;
    width: min(320px, 100%) !important;
    margin: 0 auto 16px !important;
  }

  body .container .profile-area .profile img{
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* ===== TOP SP?profile-text ???????? ===== */
@media (max-width: 768px){
  body .container .profile-area .profile-text{
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

  body .container .profile-area .profile-text p{
    margin: 0 !important;
  }

  body .container .profile-area .btn-outline{
    margin: 14px auto 0 !important;
  }
}

/* ===== ??????profile-text ? height:400 ??? ===== */
@media (max-width: 768px){
  main .container section.profile-area .profile-text{
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* ===== TOP SP????(.profile)?400px????? ===== */
@media (max-width: 768px){
  .profile-area .profile{
    flex: 0 1 auto !important;   /* flex-basis 400px ??? */
    height: auto !important;     /* height????????? */
    min-height: 0 !important;
  }

  .profile-area .profile img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 768px){
  .profile{
    margin-bottom: 20px !important; /* ??????? */
  }

  .profile-text p{
    margin-bottom: 16px !important; /* ???????? */
  }

  .btn-outline{
    margin-top: 16px !important;
  }
}

/* ===== TOP SP?profile-area???????????????? ===== */
@media (max-width: 768px){

  /* flex????????????????? */
  main .container section.profile-area{
    display: block !important;
    padding: 32px 0 !important;   /* ??????????????? */
    margin: 0 !important;
  }

  /* ?? */
  main .container section.profile-area .profile{
    width: min(320px, 100%) !important;
    margin: 0 auto 20px !important; /* ????????? */
    height: auto !important;
  }

  main .container section.profile-area .profile img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* ???? */
  main .container section.profile-area .profile-text{
    padding: 0 16px !important;   /* ???? */
    margin: 0 auto !important;
  }

  main .container section.profile-area .profile-text p{
    margin: 0 0 18px !important;  /* ?????????? */
    line-height: 1.9;
  }

  /* ??? */
  main .container section.profile-area .btn-outline{
    display: block !important;
    width: fit-content !important;
    margin: 0 auto !important;    /* ????? */
  }
}

/* ===== TOP SP?Profile???????????? ===== */
@media (max-width: 768px){

  /* Profile??????????? */
  body.home section.profile-area{
    padding: 36px 0 !important;   /* ???? 28 / 32 / 40 ??? */
    margin: 0 !important;
    display: block !important;    /* grid/flex ??? */
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  /* ?? */
  body.home section.profile-area .profile{
    width: min(280px, 100%) !important;
    margin: 0 auto 22px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.home section.profile-area .profile img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* ?? */
  body.home section.profile-area .profile-text{
    padding: 0 16px !important;   /* ??????? */
    margin: 0 auto !important;
    flex: 0 1 auto !important;    /* 400px?????????? */
    max-width: 520px !important;
  }

  body.home section.profile-area .profile-text p{
    margin: 0 0 22px !important;
    line-height: 2.0;
    font-size: 16px;
  }

  /* ??? */
  body.home section.profile-area .btn-outline{
    display: block !important;
    width: fit-content !important;
    margin: 0 auto !important;
    padding: 14px 36px;
    border-radius: 999px;
  }
}
@media (max-width: 768px){

  /* =====================
     ??????
  ===================== */
  section, main, footer{
    margin: 0 !important;
  }

  /* =====================
     ????????
  ===================== */
  .site-header{
    padding: 20px 0 !important;
  }

  /* =====================
     Hero ????
  ===================== */
  .hero{
    margin-bottom: 40px !important;
  }

  /* =====================
     Profile??????
  ===================== */
  section.profile-area{
    padding: 40px 0 !important;
  }

  /* =====================
     ??????????
  ===================== */
  .profile-text{
    margin-top: 20px !important;
    padding-bottom: 24px !important;
  }

  .btn-outline{
    margin-top: 24px !important;
  }
  footer{
    padding: 40px 0 !important;
  }
@media (max-width: 768px){
  .site-header{
    padding: 0 !important;
  }

@media (max-width: 768px){
  .site-header .header-inner{
    display: flex;
    align-items: center;   /* ??? */
    justify-content: space-between;
    min-height: 72px;      /* ?????????????????? */
  }

@media (max-width: 768px){
  header.site-header .container{
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
@media (max-width: 768px){
  .header-inner{
    min-height: auto !important;
  }
@media (max-width: 768px){
  .site-header .hamburger-controls{
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: grid;
    place-items: center;
  }

@media (max-width: 768px){
  header.site-header .container{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  header.site-header .header-inner{
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

@media (max-width: 768px){
  /* ???????????????24px??? */
  .hero{
    margin: 0 !important;
    padding: 24px 0 !important;
  }

  .container{
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
@media (max-width: 768px){
  body.home header + main .container section.profile-area > .profile-text{
    padding: 24px 16px !important;
  }

@media (max-width: 768px){
  .profile-text .btn-outline{
    padding: 12px 32px !important;
  }

@media (max-width: 768px) {
  .container {
    padding-bottom: 24px;
  }


@media (max-width: 768px) {
  footer {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  footer p {
    margin: 0 !important;
  }

@media (max-width: 768px) {
  footer .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  }


@media (max-width: 768px) {
  .profile-area{
   padding-bottom: 24px !important;
  }


.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  width: auto;
}
.btn {
  width: auto !important;
}

.page-about .about-visual{
  position: relative;
  overflow: hidden;
}
body.page-id-143 .site-header{
  border-bottom: none !important;
}

@media (max-width: 768px){
  header.site-header{
    padding: 0 16px;      
    box-sizing: border-box;
  }
}

@media (max-width: 768px){

  /* About?FV???? */
  body.page-id-143 section.about-hero{
    display: block !important;
    gap: 0 !important;                 /* ?????flex???????? */
    position: relative !important;
  }

  /* ????????? */
  body.page-id-143 .about-visual-inner{
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;

    padding: 24px 16px 16px !important;
    text-align: center !important;
    pointer-events: auto !important;
  }

  /* ?????100% + ????????????????1?????? */
  body.page-id-143 .about-visual{
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;    /* ? ??? 16/9 ????????? ?1????? */
    overflow: hidden !important;
    margin: 0 auto !important;

    background-size: cover !important;
    background-position: center !important;
  }

  /* img?????????? */
  body.page-id-143 .about-visual img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ??????? */
  body.page-id-143 .about-body{
    position: relative !important;
    z-index: 3 !important;
    margin-top: 16px !important;
    display: block !important;
  }
}

@media (max-width: 768px){

  body.page-id-143 .about-body{
    max-width: 320px;
    margin: 0 auto;
  }

}
@media (max-width: 768px){

  body.page-id-143 .about-block p{
    letter-spacing: 0.04em;   /* ? ????????? */
    line-height: 1.9;         /* ? ?????????? */
  }

}

@media (max-width: 768px){

  /* ????? */
  body.page-id-143 .about-block p{
    letter-spacing: 0.04em;
    line-height: 1.9;
  }

  /* ???????????????? */
  body.page-id-143 .about-block li{
    letter-spacing: 0.04em;
    line-height: 1.9;
  }

}

@media (max-width: 768px){
  body.page-id-143 .about-block p{
    letter-spacing: 0.04em;
    line-height: 1.9;
  }
}

@media (max-width: 768px){

  /* About?????? */
  body.page-id-143 .about-visual-inner{
    padding: 32px 16px 20px !important;  /* ???????????? */
  }

  /* About */
  body.page-id-143 .about-title{
    font-size: 42px;        /* ??????? */
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  /* ???????? */
  body.page-id-143 .about-sub{
    font-size: 18px;
    letter-spacing: 0.08em;
    color: #666;
  }

}

body.page-id-143 .about-title{
  font-weight: 600;
}

@media (max-width: 768px){

  /* WORKS??????????? */
  body.page-id-144 .works-hero{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;   /* ????? */
    text-align: center !important;    /* ???????? */
    gap: 8px !important;
    margin: 0 0 60px !important;      /* ??????????????? */
  }

  /* WORKS???? */
  body.page-id-144 .works-hero .page-title{
    margin: 0 !important;
    font-size: 28px !important;       /* ????????????? */
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
  }

  /* WORKS????? */
  body.page-id-144 .works-hero .works-lead{
    margin: 0 !important;
    font-size: 18px !important;
    letter-spacing: 0.04em !important;
    line-height: 1.8 !important;
    max-width: 320px;                  /* ???????? */
  }

  /* ????????????????????????? */
  body.page-id-144 main.page-works{
    padding-top: 24px;
  }
}
@media (max-width: 768px){

  /* ??????????? */
  body.page-id-144 .works-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;  /* 1???? */
    justify-items: center !important;       /* ? ??? */
    gap: 32px !important;                   /* ??????? */
  }

  /* ???????? */
  body.page-id-144 .work-card{
    width: 100% !important;
    max-width: 340px;        /* ??????????? */
  }

}

@media (max-width: 768px){

  /* Contact??????????? */
  body.page-id-145 main.page-contact .container{
    max-width: 360px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* ????????? */
  body.page-id-145 main.page-contact h1{
    text-align: center;
    font-size: 22px;
    letter-spacing: 0.08em;
    margin: 24px 0 8px;
  }

  body.page-id-145 main.page-contact > .container > p{
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    margin: 0 0 20px;
  }

  /* ???????????????? */
  body.page-id-145 .wpcf7{
    max-width: 320px;
    margin: 0 auto;
  }

  /* ???????????? */
  body.page-id-145 .wpcf7 form p{
    margin: 0 0 18px;
  }

  body.page-id-145 .wpcf7 label{
    display: block;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
  }

  /* ????input/textarea? */
  body.page-id-145 .wpcf7 input[type="text"],
  body.page-id-145 .wpcf7 input[type="email"],
  body.page-id-145 .wpcf7 textarea{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    background: #e6e6e6;
    border: none;
    border-radius: 6px;

    padding: 12px 12px;
    font-size: 14px;
    letter-spacing: 0.03em;
    outline: none;
  }

  body.page-id-145 .wpcf7 textarea{
    min-height: 140px; /* ??????????????? */
    resize: vertical;
  }

  /* ???????????????? */
  body.page-id-145 .wpcf7 input[type="submit"]{
    display: block;
    margin: 22px auto 0;

    border: none;
    border-radius: 999px;
    padding: 10px 22px;

    background: #e8a06a; /* ???????????? */
    color: #fff;

    font-size: 12px;
    letter-spacing: 0.08em;
    cursor: pointer;
  }

  /* ???????????????????? */
  body.page-id-145 .wpcf7 form .wpcf7-response-output{
    margin: 16px 0 0;
    font-size: 12px;
  }
}
@media (max-width: 768px){

  /* Contact???????????????? */
  body.page-id-145 main.page-contact{
    padding-top: 0px;
  }

}

body.page-id-145 main.page-contact{
  margin-top: 80px;
}

@media (max-width: 768px){

  body.page-id-145 h1{
    margin-top: 0;
  }

}

@media (max-width: 768px){

  body.page-id-145 .wpcf7 input[type="submit"]{
    width: 60%;
    padding: 16px 0;
    font-size: 16px;
    border-radius: 9999px;

    display: block;
    margin: 24px auto 0;
  }

}

@media (max-width: 768px){

  body.page-id-145 .form-actions{
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

}

@media (max-width: 768px){

  /* ??????????? */
  body.page-id-145 .form-actions,
  body.page-id-145 .form-actions p{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* p?????????????? */
  body.page-id-145 .form-actions p{
    margin: 32px 0 0 !important;
    padding: 0 !important;
    position: relative !important; /* spinner??? */
  }

  /* ????? */
  body.page-id-145 .wpcf7 input[type="submit"]{
    display: block !important;
    margin: 0 !important;          /* ???0?????flex??????? */
  }

  /* ???????spinner????????? */
  body.page-id-145 .wpcf7-spinner{
    position: absolute !important;
    right: -28px !important;       /* ???????????????? */
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}

.work-link { display:block; position:relative; z-index:1; }

.work-card { position:relative; }

.work-thumb{
  display:block; /* ?????????? */
  width:100%;
  height:auto;
}

.page-works .works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 56px;
}

.work-card {
  display: block; /* ???? */
}

.work-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ===== hamburger reset ===== */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.site-title {
  margin: 0;
}

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

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}

.hamburger span:nth-child(1) {
  top: 12px;
}

.hamburger span:nth-child(2) {
  top: 20px;
}

.hamburger span:nth-child(3) {
  top: 28px;
}

/* PC */
@media (min-width: 769px) {
  .site-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

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

  .site-nav a {
    text-decoration: none;
    color: #000;
  }
}

/* SP */
@media (max-width: 768px) {
  .site-header,
  .container,
  .header-inner {
    overflow: visible !important;
  }

  .hamburger {
    display: block !important;
  }

  .site-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 220px !important;
    background: #fff !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    z-index: 1001 !important;
  }

  .site-nav.is-open {
    display: block !important;
  }

  .site-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-nav a {
    display: block;
    text-decoration: none;
    color: #000;
  }
}

@media (max-width: 768px){
  .mobile-menu[open] .site-nav{
    display: block !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 9999 !important;
  }

  .mobile-menu[open] .site-nav ul{
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: flex-end !important;
  }

  .mobile-menu[open] .site-nav li{
    display: block !important;
  }

  .mobile-menu[open] .site-nav a{
    display: inline-block !important;
    padding: 2px 0 !important;
    color: #000 !important;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
  }
}

/* PC??????????? */
@media (min-width: 769px) {
  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    display: none !important;
  }

  .mobile-menu .site-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .mobile-menu .site-nav ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .mobile-menu .site-nav li {
    display: block !important;
  }

  .mobile-menu .site-nav a {
    display: inline-block !important;
    text-decoration: none !important;
    color: #000 !important;
  }
}

@media (min-width: 769px) {
  .mobile-menu[open] .site-nav {
    display: block !important;
  }
}

/* 
@media screen and (min-width: 769px) {

  details.mobile-menu {
    display: block !important;
  }

  details.mobile-menu > summary.hamburger {
    display: none !important;
    list-style: none !important;
    pointer-events: none !important;
  }

  details.mobile-menu > summary.hamburger::-webkit-details-marker {
    display: none !important;
  }

  details.mobile-menu > nav.site-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  details.mobile-menu > nav.site-nav ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  details.mobile-menu > nav.site-nav li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  details.mobile-menu > nav.site-nav a {
    display: inline-block !important;
    color: #000 !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
*/

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

.site-title{
  margin: 0;
}

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

/* PC??? */
.pc-nav ul{
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav a{
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

/* SP??????? */
.sp-nav{
  display: none;
}

.mobile-menu{
  position: relative;
}

.mobile-menu summary{
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker{
  display: none;
}

.hamburger{
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.hamburger span{
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: #000;
  border-radius: 2px;
}

.hamburger span:nth-child(1){ top: 12px; }
.hamburger span:nth-child(2){ top: 20px; }
.hamburger span:nth-child(3){ top: 28px; }

/* ???? */
@media (max-width: 768px){
  .pc-nav{
    display: none !important;
  }

  .sp-nav{
    display: block !important;
  }

  .mobile-menu .site-nav{
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: transparent;
    padding: 0;
    z-index: 9999;
  }

  .mobile-menu:not([open]) .site-nav{
    display: none;
  }

  .mobile-menu[open] .site-nav{
    display: block;
  }

  .mobile-menu .site-nav ul{
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: flex-end;
  }

  .mobile-menu .site-nav a{
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-weight: 600;
  }
}

/* PC */
@media (min-width: 769px){
  .pc-nav{
    display: block !important;
  }

  .sp-nav{
    display: none !important;
  }
}
@media screen and (min-width: 769px) {
  .pc-nav {
    display: block !important;
    margin-left: auto !important;
  }

  .pc-nav ul {
    display: flex !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .pc-nav a {
    display: inline-block !important;
    text-decoration: none !important;
    color: #000 !important;
  }

  .sp-nav,
  .sp-nav summary,
  .sp-nav .hamburger,
  .sp-nav nav {
    display: none !important;
  }

  .sp-nav summary::marker,
  .sp-nav summary::-webkit-details-marker {
    display: none !important;
    content: "" !important;
  }
}

@media (max-width: 768px) {
  .sp-nav[hidden] {
    display: block !important;
  }
}