:root {
  --color-primary: #3FA400;
  --color-primary-dark: #2C7300;
  --color-accent: #E68300;
  --color-accent-dark: #AC6200;
  --color-pink: #E83E82;
  --color-sub: #A1D481;
  --color-white: #fff;
  --color-text: #333;
  --color-text-light: #777;
  --color-text-muted: #969696;
  --color-border: #E8E8E8;
  --color-border-soft: #E3E3E3;
  --color-bg: #f4f4f4;
  --color-bg-soft: #F4FAEF;
  --color-bg-light: #F0F8EA;
  --color-bg-gray: #f0f0f0;
  --color-gray: #bbb;
  --color-highlight: #FDFF9C;
  --color-gold: #9B8741;
  --color-shadow: rgba(0, 0, 0, 0.16);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Zen Old Mincho", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
  font-style: normal;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  font: inherit;
}

a,p,h1,h2,h3,h4,h5,h6,button,input,textarea,img,ul,li,ol,dd,dt {
  margin: 0;
  padding: 0;
}

a:hover {
  opacity: 0.8;
}

li {
  list-style: none;
}

button{
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.pc {
    display: block;
}

.sp {
    display: none !important;
}

/* フォント */
.ff-ns {
  font-family: "Noto Sans JP";
}

.ff-lora {
  font-family: Lora;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--color-white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand h1{
  display: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 150%; 
}

.site-nav a:hover {
  opacity: 0.8;
}

.nav-btn {
  display: flex;
  gap: 8px;
}

.site-nav .btn {
  color: var(--color-white);
}

.nav-toggle {
  display: none;
}

/* フッター */
.site-footer {
  background: var(--color-bg);
}

.footer-top {
  padding: 40px 0 24px;
}

.footer-body {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 40px;
}

.footer-body .footer-info {
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 48px;
}

.footer-bottom a {
  font-size: 13px;
  font-weight: 400;
  line-height: 170%;
  text-decoration: underline;
}

.footer-bottom p {
  font-size: 12px;
  font-weight: 400;
  line-height: 170%;
  color: var(--color-text-light);
}

/* ボタン */
.btn {
  display: flex;
  width: 200px;
  height: 56px;
  padding: 0 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.btn.large, .btn.x-large {
  width: 264px;
  height: 72px;
  padding: 0 16px;
  font-size: 22px;
}

.btn.x-large {
  width: 448px;
}

.btn:hover {
  opacity: 0.8;
}

.btn p {
  position: relative;
  padding-left: 24px;
}

.btn.large p {
  position: relative;
  padding-left: 36px;
}

.btn p::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 20px;
  height: 20px;
}

.btn.large p::before {
  width: 32px;
  height: 32px;
}

.btn.x-large p::before {
  width: 32px;
  height: 32px;
  left: -12px;
}

.btn-tell {
  background: var(--color-primary);
  box-shadow: 0 6px 0 0 var(--color-primary-dark);
}

.btn-tell span {
  font-size: 12px;
  font-weight: 400;
}

.btn-tell.large span, .btn-tell.x-large span{
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
}

.btn.btn-tell p::before {
  background-image: url("../images/icon-tell.svg");
}

.btn-mail {
  background: var(--color-accent);
  box-shadow: 0 6px 0 0 var(--color-accent-dark);
}

.btn.btn-mail p::before {
  background-image: url("../images/icon-mail.svg");
}

/* テキストリンク */
.text-link-box {
  text-align: center;
  margin-top: 16px;
}

.text-link {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.8px;
  position: relative;
  display: inline-block;
}

.text-link::before {
  content: "";
  position: absolute;
  top: -8px;
  right: -56px;
  width: 40px;
  height: 40px;
  background: url(../images/icon-arrow.svg) no-repeat center;
}


/* cta */
.cta-note {
  font-size: 18px;
  font-weight: 500;
  line-height: 170%;
  margin: 40px 145px 16px;
  position: relative;
  display: inline-block;
}

.cta-note span {
  color: var(--color-pink);
  font-size: 20px;
  font-weight: 700;
}

.cta-note::before {
  content: "/";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-gray);
  z-index: -1;
}

.cta-note::after {
  content: "\\";
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-gray);
  z-index: -1;
}

.cta-btn {
  display: flex;
  gap: 16px;
}

/* contact  */
.contact-section {
  background: url(../images/bg-01.webp) no-repeat center;
  background-size: cover;
  position: relative;
}

.contact-title h2 {
  color: var(--color-white);
  margin-bottom: 24px;
}

.contact-title .contact-text {
  text-align: center;
  display: block;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 200%;
  letter-spacing: 0.8px;
  margin-bottom: 50px;
}

.contact-section .cta-box {
  background: var(--color-white);
  text-align: center;
  padding: 24px 40px 40px;
  border-radius: 8px;
  box-shadow: 0 8px 24px 0 var(--color-shadow);
  position: absolute;
  width: 1000px;
  bottom: -110px;
  left: 50%;
  transform: translateX(-50%);
}

.contact-section .cta-note {
  margin: 0px 145px 16px;
}

.contact-section .cta-btn {
  justify-content: center;
}

/* タイトル */
.section-tag {
  font-size: 26px;
  margin-bottom: 4px;
  font-weight: 400;
  color: var(--color-sub);
}

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1.7px;
}

/* パンくず */
.breadcrumb {
    width: 1000px;
    margin: 16px auto;
}

.breadcrumb li {
    font-size: 13px;
    font-weight: 400;
    line-height: 170%;
}

.breadcrumb li a {
    color: var(--color-primary);
    text-decoration: underline;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li:not(:last-of-type)::after {
  content: ">";
  margin: 0 .6em;
  color: var(--color-text-light);
}

/* 得意分野・取り扱い分野 */
.specialty-list {
  display: flex;
  gap: 32px;
  flex-direction: column;
  margin-top: 32px;
}

.specialty-list li {
  background: var(--color-bg-soft);
  border-radius: 8px;
  padding: 40px 48px;
}

.specialty-list li .specialty-flex {
  display: flex;
  gap: 40px;
}

.specialty-list li .specialty-flex img {
  width: 453px;
  height: 221px;
}

.specialty-list li .specialty-flex h3 {
  padding-left: 26px;
  position: relative;
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 16px;
}

.specialty-list li .specialty-flex h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  width: 14px;
  height: 35px;
  background: url(../images/icon-leaf.svg) no-repeat center;
}

.specialty-list li .specialty-flex p {
  font-size: 16px;
  font-weight: 400;
  line-height: 200%;
}

.specialty-checks {
  margin-top: 32px;
}

/* 4つの理由 */
.reasons-section {
  background: linear-gradient(to top, var(--color-bg-light) 0%, var(--color-bg-light) 50%, var(--color-white) 100%);
}

.reason-head h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 2px;
  margin-bottom: 32px;
  text-align: center;
}

.reason-head h2 span.small {
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
}

.reason-head h2 span.large {
  font-size: 80px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 4px;
  color: var(--color-primary);
}

.reason-items {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

.reason-item {
  display: flex;
}

.reason-item.right {
  flex-direction: row-reverse;
}

.reason-image,
.reason-item img {
  width: 400px;
  height: 280px;
  z-index: 5;
}

.reason-text-box {
  background: var(--color-white);
  border-radius: 8px;
  margin-top: 32px;
  max-width: 696px;
}

.reason-item.left .reason-text-box {
  padding: 48px 56px 48px 80px;
  margin-left: -32px;
}

.reason-item.right .reason-text-box {
  padding: 48px 80px 48px 56px;
  margin-right: -32px;
}

.reason-text-box .reason-num {
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.9px;
  text-transform: capitalize;
  position: relative;
  color: var(--color-primary);
}

.reason-text-box .reason-num::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -36px;
  transform: translateY(-50%);
  width: 25px;
  height: 1px;
  background: var(--color-primary);
  z-index: 1;
}

.reason-text-box h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 150%;
  margin: 16px 0 24px;
}

.reason-text-box h3 span {
  color: var(--color-primary);
}

.reason-text-box .reason-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 200%;
}

.reason-text-box .reason-desc span {
  background: linear-gradient(transparent 0%, var(--color-highlight) 0%);
}

/* 記事リスト */
.article-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.article-list li p {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: var(--color-text-muted);
}

.article-list li a {
  padding: 8px 0 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 170%;
  display: block;
}

.article-list li span {
  padding: 2px 8px;
  color: var(--color-text-light);
  background: var(--color-bg-gray);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 400;
  line-height: 170%;
  display: inline-block;
}

@media only screen and (max-width: 767px) {
    .pc {
        display: none;
    }

    .sp {
        display: block !important;
    }

    body {
        max-width: 100%;
        position: relative;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }

    /* ヘッダー */
    .brand img {
        width: 167px;
    }

    .header-inner {
        padding: 12px 20px;
    }

    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        width: 32px;
        height: 32px;
        position: relative;
        padding: 4px;
        z-index: 10;
    }

    .nav-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--color-text);
        position: relative;
        transition: ease .4s; 
        display: block;
    }

    .nav-toggle span:nth-child(1) {
        top: 0;
    }

    .nav-toggle span:nth-child(2) {
        margin: 8px 0;
    }

    .nav-toggle span:nth-child(3) {
        top: 0;
    }

    .nav-toggle.active {
        transform: translateX(0);
    }

    .nav-toggle.active span:nth-child(1) {
        top: 10px;
        transform: rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        top: -10px;
        transform: rotate(-45deg);
    }

    .site-header .site-nav {
        position: fixed;
        top: var(--mobile-header-height, 56px);
        bottom: var(--mobile-cta-height, 64px);
        left: 0;
        width: 100%;
        background-color: var(--color-bg-light);
        padding: 48px 20px 30px;
        
        /* 初期状態は非表示（フェードイン・スライドダウン） */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;

        height: auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior-y: contain;
    }

    .site-header .site-nav > * {
        flex-shrink: 0;
    }

    .nav-toggle.active + .site-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        
    }

    .site-header .site-nav a:not(.btn) {
        font-size: 16px;
        font-weight: 600;
        padding: 20px 12px;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }

    .site-nav .cta-note {
        margin: 30px auto 16px;
    }

    /* フッター */
    .site-footer {
        text-align: center;
    }

    .footer-top {
        padding: 32px 0;
        display: flex;
        justify-content: center;
    }
    
    .footer-top img {
        width: 232px;
    }

    .footer-body {
        display: block;
        justify-content: center;
        padding-bottom: 32px;
        text-align: center;
    }

    .footer-body .footer-info {
        font-size: 12px;
    }

    .footer-body .site-nav {  
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        font-size: 14px;
        font-weight: 600;
        line-height: 150%;
        padding: 32px 0 0;
        align-items: center;
        gap: 0;
    }

    .footer-body .site-nav a {  
        padding: 12px;
    }

    .footer-body .site-nav a {
        border-top: 1px solid var(--color-border);
    }
    
    .footer-body .site-nav a:nth-child(odd) {
        border-right: 1px solid var(--color-border);
    }
    
    .footer-body .site-nav a:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--color-border);
    }
    

    .footer-bottom {
        flex-direction: column;
        padding: 0px 0 88px;
        align-items: center;
    }

    .footer-bottom a {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    /* 下部追従 */
    .bottom-btn {
        position: fixed;
        bottom: 0;
        z-index: 30;
        width: 100%;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: var(--color-accent);
    }
    
    .bottom-btn-flex {
        display: flex;
    }

    .bottom-btn-flex a {
        width: 50%;
        min-width: 0;
        flex: 1 1 0;
        box-shadow: none;
        border-radius: 0px;
    }
 
    .bottom-btn-flex .btn p {
        font-size: clamp(13px, 4.2667vw, 16px);
        white-space: nowrap;
    }
    
    .bottom-btn-flex .btn p::before {
        width: 20px;
        height: 20px;
    }

    .bottom-btn-flex .btn-tell span {
        font-size: clamp(9px, 3vw, 12px);
        white-space: nowrap;
    }

    /* ボタン */
    .btn {
        width: 100%;
        height: 64px;
        padding: 0 8px;
    }
    
    .nav-btn a {
        font-size: 18px;
    }

    .nav-btn {
        gap: 16px;
        width: 100%;
        flex-direction: column;
    }
    
    .btn-tell span {
        font-size: 14px;
    }
    
    .btn p::before {
        width: 24px;
        height: 24px;
    }
    
    .btn.large, .btn.x-large {
        width: 100%;
        font-size: 18px;
    }
    
    
    /* cta */

    .cta-btn {
        flex-direction: column;
    }

    .cta-note {
        font-size: 16px;
    }

    .cta-note span {
        font-size: 18px;
    }


    /* テキストリンク */
    .text-link-box {
        text-align: center;
        margin-top: 16px;
    }

    .text-link {
        font-size: 14px;
        letter-spacing: 0.7px;
    }

    .text-link::before {
        top: 50%;
        right: -32px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-size: contain;
    }

    /* contact  */
    .contact-section {
        background: url(../images/bg-01.webp) no-repeat center;
        background-size: cover;
        position: relative;
    }

    .contact-title h2 {
        margin-bottom: 16px;
    }

    .contact-title .contact-text {
        font-size: 14px;
        letter-spacing: 0.7px;
        margin-bottom: 42px;
    }

    .contact-section .cta-box {
        padding: 16px 24px 24px;
        width: calc(100% - 40px);
        bottom: -190px;
    }

    .contact-section .cta-note {
        margin: 0px 20px 16px;
        font-size: 16px;
    }

    .contact-section .cta-note span {
        font-size: 18px;
    }

    .contact-section .cta-btn {
        justify-content: center;
    }


    /* タイトル */
    .section-tag {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .section-title {
        text-align: center;
    }

    .section-title h2 {
        font-size: 26px;
        letter-spacing: 1.3px;
    }

    /* 得意分野・取り扱い分野 */
    .specialty-list {
        gap: 24px;
        margin-top: 24px;
    }

    .specialty-list li {
        padding: 16px;
    }

    .specialty-list li .specialty-flex {
        gap: 12px;
        flex-direction: column;
    }

    .specialty-list li .specialty-flex img {
        width: 100%;
        height: auto;
    }

    .specialty-list li .specialty-flex h3 {
        padding-left: 18px;
        font-size: 20px;
        margin-bottom: 4px;
    }

    .specialty-list li .specialty-flex h3::before {
        width: 10px;
        height: 25px;
        background-size: cover;
    }

    .specialty-list li .specialty-flex p {
        font-size: 15px;
    }

    .specialty-checks {
        margin-top: 12px;
    }

    /* 4つの理由 */
    .reasons-section {
        background: linear-gradient(to top, var(--color-bg-light) 0%, var(--color-bg-light) 50%, var(--color-white) 100%);
    }

    .reason-head h2 {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .reason-head h2 span.small {
        font-size: 20px;
    }

    .reason-head h2 span.large {
        font-size: 68px;
        letter-spacing: 3.4px;
        color: var(--color-primary);
    }

    .reason-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .reason-item.right {
        flex-direction: column;
    }

    .reason-image,
    .reason-item img {
        width: 280px;
        height: 196px;
        z-index: 5;
    }

    .reason-text-box {
        margin-top: -24px;
        max-width: 100%;
    }

    .reason-item.left .reason-text-box,
    .reason-item.right .reason-text-box {
        padding: 48px 20px 20px;
        margin-left: 0px;
        margin-right: 0px;
    }


    .reason-text-box .reason-num {
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    .reason-text-box h3 {
        font-size: 22px;
        margin: 8px 0 16px;
    }


    .reason-text-box .reason-desc {
        font-size: 15px;
        line-height: 180%;
    }

    /* 記事リスト */
    .article-list li a {
        padding: 4px 0 12px;
        font-size: 15px;
    }

    /* パンくず */
    .breadcrumb {
        width: 100%;
        padding: 8px 16px;
        margin: 0;
    }

    .breadcrumb li {
        font-size: 11px;
    }

    .breadcrumb li:not(:last-of-type)::after {
        margin: 0 .4em;
    }


}
