/** @format */
/** @format */
body {
  color: #333;
}

/** @format */
/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */
[type=checkbox] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
       appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
       appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Hero Styles */
.hero {
  position: relative;
  width: calc(100% - 72px);
  max-width: 1320px;
  min-height: 680px;
  margin: 88px auto 0;
  background: #ffffff;
  color: #4f545d;
  overflow: hidden;
}

.hero .hero-visual {
  position: relative;
  height: clamp(560px, 80vh, 780px);
  margin: 0 16px;
  width: calc(100% - 32px);
  border-radius: 0;
  overflow: hidden;
}

.hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: translateY(34px) scale(1.06);
  transform-origin: center top;
  transition: opacity 2.6s ease;
}

.hero .hero-image-alt {
  opacity: 0;
}

.hero .hero-visual:hover .hero-image {
  opacity: 0;
}

.hero .hero-visual:hover .hero-image-alt {
  opacity: 1;
}

.hero .hero-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(860px, 52%);
  max-width: 100%;
  min-height: 292px;
  padding: 138px 42px 30px;
  background: transparent;
  border-top-right-radius: 0;
}

.hero .hero-copy::before {
  content: none;
  position: absolute;
  left: -130px;
  bottom: 0;
  width: 280px;
  height: 240px;
  background: transparent;
  border-top-right-radius: 0;
  z-index: 0;
  pointer-events: none;
}

.hero .hero-title {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.16;
  margin: 0 0 14px;
  color: #666b73;
  position: relative;
  z-index: 1;
}

.hero .hero-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  margin: 0;
  color: #75777b;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero {
    width: calc(100% - 20px);
    min-height: 520px;
    margin-top: 74px;
  }
  .hero .hero-visual {
    margin: 0 6px;
    width: calc(100% - 12px);
    height: 400px;
  }
  .hero .hero-image {
    transform: translateY(20px) scale(1.04);
  }
  .hero .hero-copy {
    left: 6px;
    width: 90%;
    min-height: 184px;
    padding: 84px 20px 16px;
    border-top-right-radius: 0;
  }
  .hero .hero-copy::before {
    left: -44px;
    width: 92px;
    height: 92px;
  }
  .hero .hero-title {
    font-size: clamp(1.44rem, 7.6vw, 2rem);
    margin-bottom: 10px;
  }
  .hero .hero-subtitle {
    font-size: clamp(0.84rem, 4.2vw, 1rem);
    letter-spacing: 0.16em;
  }
}

/* Works Section */
.section.works {
  background: #fff;
  padding: 80px 0;
  position: relative;
}
.section.works .container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}
.section.works .container::before {
    content: "";
    display: block;
    width: 90%;
    margin: 0 auto 52px;
    border-top: 1px solid #bcc3cd;
}
.section.works .section-title {
    text-align: center;
    font-weight: 500;
    font-size: 1.75rem;
    color: #3f4d61;
    margin-bottom: 60px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.section.works .works-grid {
    display: grid;
    grid-template-columns: repeat(3, 356px);
    gap: 28px;
    align-items: start;
    justify-content: center;
    justify-items: start;
}
.section.works .work-item {
    width: 100%;
    max-width: 356px;
    text-align: left;
}
.section.works .work-item a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}
.section.works .work-thumb {
    width: 100%;
    padding-top: 53%; /* 正方形 */
    background: #e7e9eb;
    border-radius: 4px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    margin: 0 0 12px 0;
}
.section.works .work-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}
.section.works .work-item a:hover .work-thumb img {
    transform: scale(1.05);
}
.section.works .work-title {
    font-size: 1.16rem;
    font-weight: 400;
    margin-bottom: 6px;
    margin: 6px 0 8px 0;
    color: #000;
    margin-left: 0;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
}
.section.works .work-tag {
    font-size: 1rem;
    color: #666;
}
.section.works .works-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 96px;
}
.section.works .works-link-wrap .btn {
    position: relative;
    display: inline-block;
    background: transparent;
    color: #3f4d61;
    padding: 0 60px 7px 0;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1;
    text-transform: lowercase;
    text-decoration: none;
    transition: color 0.3s;
}
.section.works .works-link-wrap .btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #8e96a3;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .38s ease;
}
.section.works .works-link-wrap .btn::before {
    content: "";
    position: absolute;
    width: 16px;
    right: 0;
    bottom: 0;
    border-top: 1px solid #8e96a3;
    transform: rotate(43deg);
    transform-origin: right bottom;
    opacity: 0;
    transition: opacity .12s ease .24s;
}
.section.works .works-link-wrap .btn:hover {
    color: #334154;
}
.section.works .works-link-wrap .btn:hover::after {
    transform: scaleX(1);
}
.section.works .works-link-wrap .btn:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .section.works { padding: 40px 0; }
    .section.works .works-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .section.works .work-item {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .section.works .section-title { margin-bottom: 28px; }
    .section.works .works-link-wrap .btn {
      font-size: 1.28rem;
      padding-right: 30px;
    }
    .section.works .works-link-wrap .btn::before {
        width: 14px;
    }
}

/* Service Section */
.section.service {
  background: #ffffff;
  padding: 80px 0;
  position: relative;
}
.section.service .container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}
.section.service .container::before {
    content: "";
    display: block;
    width: 90%;
    margin: 0 auto 52px;
    border-top: 1px solid #bcc3cd;
}
.section.service .section-title {
    text-align: center;
    font-weight: 500;
    font-size: 1.75rem;
    color: #3f4d61;
    margin-bottom: 60px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.section.service .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 28px;
    justify-content: center;
    align-items: start;
    justify-items: center;
}
.section.service .service-item {
    width: 300px;
    max-width: 300px;
    min-height: 100%;
    padding: 34px 24px 28px;
    border: 1px solid #d6d7db;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section.service .service-title {
    font-weight: 400;
    margin-bottom: 18px;
    font-size: 1.2rem;
}
.section.service .service-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.section.service .service-icon img { width: 78px; height: 78px; display: block; }

.section.service .service-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    max-width: 260px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 768px) {
    .section.service { padding: 40px 20px; }
    .section.service .service-grid { grid-template-columns: 1fr; gap: 28px; }
    .section.service .service-item { max-width: 560px; margin: 0 auto; padding: 30px 22px 24px; text-align: left; }
    .section.service .service-desc { text-align: left; }
}

/* About Section */
.section.about {
  background: #fff;
  padding: 40px 0;
  position: relative;
}
.section.about .container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}
.section.about .container::before {
    content: "";
    display: block;
    width: 90%;
    margin: 0 auto 52px;
    border-top: 1px solid #bcc3cd;
}
.section.about .section-title {
    text-align: center;
    font-weight: 500;
    font-size: 1.75rem;
    color: #3f4d61;
    margin-bottom: 3px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.section.about .about-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
}
.section.about .about-illus img {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
}
.section.about .about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #666; /* $muted */
    margin-top: 0;
}
@media (max-width: 768px) {
    .section.about { padding: 32px 20px; }
    .section.about .about-inner { grid-template-columns: 1fr; gap: 24px; }
    .section.about .about-illus img { max-width: 280px; }
    .section.about .section-title { margin-bottom: 28px; }
}

/* Contact Section */
.section.contact {
  background: #ffffff;
  padding: 60px 0;
  position: relative;
}
.section.contact::before {
    content: "";
    display: block;
    width: 90%;
    max-width: 1062px;
    margin: 0 auto 52px;
    border-top: 1px solid #bcc3cd;
}
.section.contact .container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}
/* Removed .section.contact .container::before from here to keep border wide */

.section.contact .section-title {
    text-align: center;
    font-weight: 500;
    font-size: 1.75rem;
    color: #3f4d61;
    margin-bottom: 60px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.section.contact .section-lead {
    text-align: center;
    font-size: 1.05rem;
    line-height: 2;
    color: #666;
    margin-bottom: 60px;
}
.section.contact .contact-form {
    max-width: 560px;
    margin: 0 auto;
}
.section.contact .form-row {
    margin-bottom: 24px;
}
.section.contact .form-row label {
    display: block;
    font-weight: 400;
    margin-bottom: 8px;
    font-size: 0.96rem;
    color: #444;
}
.section.contact .form-row label::after {
      content: "*";
      margin-left: 0.24em;
      color: #f15a24;
}
.section.contact .form-row input,
.section.contact .form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    color: #333;
    appearance: none;
}
.section.contact .form-row textarea {
    resize: vertical;
    min-height: 160px;
}
.section.contact .form-row-submit {
    text-align: center;
    margin-top: 48px;
}
.section.contact .form-row-submit .btn {
    background: #6b5f75;
    color: #fff;
    width: 320px;
    max-width: 100%;
    padding: 12px 32px;
    border: none;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease;
}
.section.contact .form-row-submit .btn:hover {
    background: #5d5366; /* darken 8% roughly */
}
@media (max-width: 768px) {
    .section.contact { padding: 40px 20px; }
    .section.contact .section-lead { margin-bottom: 24px; }
}

/* MW WP Form Style Overrides */

/* Hide unnecessary buttons in Input screen */
.mw_wp_form_input .btn-back,
.mw_wp_form_input [name="submit_button"] {
    display: none !important;
}

/* Hide Confirm button in Confirm screen */
.mw_wp_form_confirm [name="confirm_button"] {
    display: none !important;
}

/* Fix confirmation screen text inputs */
.mw_wp_form_confirm .form-row input,
.mw_wp_form_confirm .form-row textarea {
    border: none;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    color: #333;
    padding: 0;
    width: auto;
    display: block;
}

/* Fix button stacking in Confirm screen */
.mw_wp_form_confirm .form-row-submit {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.mw_wp_form_confirm .form-row-submit .btn {
    width: 320px;
    margin: 0;
}

