
a {
    text-decoration: None;
    color: #333;
}
ul {
    list-style: none;
}
img {
    width: 100%;
}
body {
    font-family: "Noto Sans JP", "Inter", sans-serif;
    font-size: 16px;
    background-color: #FAF7F2;
}
main {
    margin-top: 72px;
}

/* - header - */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #fff;
    z-index: 100;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.global-nav {
    width: 800px;
}

.global-nav a {
    font-size: 1rem;
    display: inline-block;
    padding: 10px 0;      /* クリックしやすさ */
    color: inherit;
    position: relative;
}
.global-nav li:not(.current_page_item) > a:hover {
    opacity: 0.7;
}

.global-nav li:not(.current_page_item) > a:hover::after {
    opacity: 1;
    bottom: 4px;
}

.global-nav a::after {
    content: "";
    height: 2px;
    width: 80%;
    background-color: #2E7D32;
    position: absolute;
    left: 50%;
    bottom: -4px;
    opacity: 0;
    transform: translateX(-50%);
    transition: all 0.25s;
}

/* ★ここが本題：currentだけアニメ無効 */
.global-nav .current_page_item > a::after {
    opacity: 1;
    bottom: 4px;
    transition: none;
}

.global-menu {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0 0 4px 0;
    align-items: center;
}

.site-logo {
    padding: 8px 0;
    min-width: 110px;
}

/* 共通のクラス関連 */

.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* text-shadow */
.shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
/* お問い合わせ系ボタン */ 
.cta-btn {
    color: white;
    background-color: #FFB300;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    transition: transform 0.15s ease;
}
.cta-btn:hover {
    filter: brightness(110%);
}
.cta-btn:active {
    transform: scale(0.96);    
}
.section {
    margin-top: 100px;
    margin-bottom: 100px;
    text-align: center;
}
.section-title {
    font-size: 4rem;
    font-weight: 400;
    border-bottom: solid 4px #2E7D32;
    text-align: center;
    display: inline-block;
}

/* - TOP ~ FV ~ - */
.fv {
    background-image: url(../img/fv.png);
    background-size: cover;
    height: calc(100vh - 72px);
    display: flex;
    align-items: flex-start;
    color: white;
    position: relative;
    z-index: 0;
}
.fv::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.12);
    z-index: 1;
}
.fv-inner {
    align-items: center;
    margin-left: 10%;
    padding-top: 15vh;
}
.fv-cta {
    font-size: clamp(16px, 2.5vw, 32px);
    height: clamp(56px, 8vw, 80px);
    width: clamp(260px, 80vw, 696px);
    margin-top: 80px;
}
.catch-copy h1 {
    font-size: clamp(28px, 6.7vw, 96px);
    font-weight: 500;
}
.catch-copy p {
    color: #E9F3EC;
    font-size: clamp(14px, 3.6vw, 49px);
    font-weight: 300;
    padding-left: 10%;
    letter-spacing: 0.02em;
}

/* - TOP ~ overview ~ - */
.overview-contents {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}
.ov-content {
    background-color: #fff;
    padding: 0 8px 24px 8px;
    width: 49%;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ov-content-svg {
    background-color: #D9D9D9;
    border-radius: 50%;
    width: 40%;
    aspect-ratio: 1 / 1; 
    position: relative;
}
.ov-svg {
    width: 45%;
    position: absolute;
}
.settings { 
    top: 15%;
    left: 10%;
}
.person { 
    top: 42%;
    left: 42%;
}
.check { 
    top: 15%;
    left: 8%;
}
.folder { 
    top: 45%;
    left: 45%;
}
.ov-content-text {
    text-align: left;
    font-family: "Inter";
    padding: 32px 16px;
    width: 58%;
}
.ov-content-text h3 {
    font-size: 2.25rem;
    font-weight: 400;
}
.ov-content-text p {
    font-weight: 300;
    padding-top: 40px;
    font-size: 1.65rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* - TOP ~ strengths ~ - */
.strengths-bg {
    margin-top: 100px;
    background-image: url(../img/strengths-bg.png);
    background-size: 100% 100%;
    filter: saturate(0.85) brightness(0.95);
}
.strengths-contents {
    padding: 80px 0;
    display: flex;
    justify-content: space-between;
}
.strengths-contents li {
    font-weight: 300;
    padding: 68px 32px 40px 32px;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    width: 32%;
    position: relative;
}
.strengths-contents li h3 {
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 1.1;
}
.strengths-contents li p {
    font-size: 2rem;
    margin-top: 64px;
    text-align: left;
}
.strengths-contents li::before {
    content: "";
    width: 100%;
    height: 16px;
    background-color: #2E7D32;
    opacity: 0.15;
    top: 0;
    left: 0;
    position: absolute;
}
.strengths-contents li::after {
    font-family: "Jaini";
    font-size: 3rem;
    content: attr(data-num);
    color: #2E7D32;
    top: 10px;
    left: 16px;
    position: absolute;
}

/* - TOP ~ technology ~ - */

.technology-contents {
    margin: 100px 0;
    text-align: left;
}
.techno-item h3 {
    padding-left: calc(5% + 19px); /*擬似要素の分*/
    font-size: 3rem;
    color: #111;
    font-weight: 400;
    position: relative;
}
.techno-item h3::before {
    content: "";
    width: 19px;
    background-color: #2E7D32;
    border-radius: 4px;
    height: 70%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.techno-item h4 {
    margin-top: 24px;
    font-size: 2.75rem;
    color: #666;
    font-weight: 400;
}
.techno-item > p {
    margin: 8px 0 0 80px;
    font-size: 2.375rem;
}
.front {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px 0 40px 0;
    margin-bottom: 80px;
}
.scroll {
    margin-top: 24px;
    overflow: hidden;
}
.scroll-item {
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 280px;
    padding: 16px 16px;
    border-radius: 16px;
    border: solid 1px #E5E1DA;
    background-color: #F7F7F7;
    overflow: hidden;
    filter: drop-shadow(3px 3px 4px rgba(0,0,0,0.1))
}
.swiper-slide {
    width: 300px;
}
.scroll-item p {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 3rem;
    color: #333;
    width: 65%;
    text-align: center;
}
.scroll-item img {
    display: block;
    width: 32%;
}

/* - TOP ~ recruit ~ - */

.recruit {
    margin-top: 200px;
    margin-bottom: 100px;
}
.recruit-contents {
    display: flex;
    justify-content: space-between;
}
.recruit-card {
    text-align: center;
    background-color: #fff;
    padding: 56px 40px;
    width: 46%;
    border-radius: 0 0 12px 12px;
    filter: drop-shadow(0px 8px 24px rgba(0,0,0,0.06));
    position: relative;
}
.recruit-card::before {
    content: "";
    width: 100%;
    background-color: #FFB300;
    height: 42px;
    position: absolute;
    top: -42px;
    left: 0;
    border-radius: 16px 16px 0 0 ;
}
.recruit-card h2 {
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 1.1;
}
.top .recruit-list {
    font-weight: 300;
    text-align: left;
    padding: 100px 0 100px 12%;
    font-size: 2.75rem;
}
.recruit-card span {
    color: #FFB300;
}
.recruit-btn {
    display: block;
    padding: 8px;
    font-size: 1.75rem;
    align-items: center;
}
.recruit-btn p {
    font-size: 1.15rem;
}

/* footer section 　左側*/
.footer {
    background-color: #F5F5F5;
    border: solid 2px #E5E1DA;
    
}
.footer-inner {
    padding: 100px 0 48px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-left{
    max-width: 50%;
}
.footer-right {
    max-width: 50%;
}
.footer-logo {
    display: inline-block;
}
.footer-left img{
    height: 40px;
    margin-bottom: 20px;
}
.footer-left p{
    margin-bottom: 14px;
    line-height: 1.9;
    font-size: 15px;
    color:#4b5563;
}
.footer-left p:nth-of-type(1){
    margin-bottom: 26px;
}
.footer-left p:nth-of-type(2){
    margin-bottom: 22px;
}
.footer-left .cta{
    display:inline-block;
    margin-top:20px;
    padding:14px 26px;
    background:#f3c969;
    border-radius:8px;
    font-size:15px;
}

/* footer section 　右側*/

.footer-right{
    width: 520px;
}

.footer-right h2{
    font-size: 1.5rem;
    margin-bottom:28px;
    font-weight:600;
}

.news-list{
    list-style:none;
    padding:0;
    margin:0;
}

.news-item{
    border-bottom:1px solid rgba(0,0,0,0.12);
}

.news-item a{
    display:flex;
    gap:20px;
    padding:16px 0;
    text-decoration:none;
    color:inherit;
    transition:.25s;
}

.news-item a:hover{
    opacity:.65;
}

.date{
    font-size:14px;
    color:#9ca3af;
    min-width:90px;
}

.news-item p{
    margin:0;
    font-size:15px;
    line-height:1.6;
}
.news-item a:hover{
    transform:translateX(6px);
}

.more-btn{
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-top:28px;
    font-size:14px;
    text-decoration:none;
    color:#374151;
    border-bottom:1px solid #374151;
    padding-bottom:2px;
    transition:.25s;
    font-weight: 500;
    letter-spacing: .05em;
}

.more-btn:hover{
    opacity:.6;
    transform: translateX(4px);
}

.copyright{
    text-align:center;
    background-color: #AAAAAA;
    font-size:13px;
    color:#555;
    border-top:1px solid rgba(0,0,0,0.08);
}
/* ///////////////////  ここから先はお問合せ・エントリーフォーム  /////////////////  */

/* Contact Form 7 - Contact page */
/* ===== ヒーロー部分 ===== */

.hero {
    background: linear-gradient(to bottom, #fff 0%, #ededed 100%);
    padding: 80px 20px 16px;
    text-align: center;
}

.hero h1 {
    font-weight: 400;
    font-size: 3rem;
    margin: 0 0 14px;
}

.contact-hero-lead {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(0,0,0,0.75);
}

/* ===== 本文エリア ===== */

.contact-body {
    padding: 80px 20px;
}

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

.contact-info {
    max-width: 720px;
    margin: 0 auto 40px;
    
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
}

.contact-form p {
    margin: 0 0 1 8px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .req {
    color: #2e7d32;
    font-weight: 600;
    margin-left: 6px;
    font-size: 0.9em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

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

.contact-form select {
    height: 44px;
}

/* 送信ボタン（大きいオレンジ） */
.contact-form input[type="submit"]{
    margin-top: 24px;
    width: min(720px, 100%);
    padding: 18px 18px;
    border: none;
    border-radius: 8px;
    background: #f2a900;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

/* 注意書き */
.contact-form .contact-note{
    display: block;
    margin-top: -12px;
    font-size: 12.5px;
    color: rgba(0,0,0,0.45);
}

.contact-form input[type="submit"]:hover {
    opacity: 0.9;
}

/* CF7 バリデーション */
.contact-form .wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 14px;
}

.contact-form .wpcf7-response-output {
    margin: 18px 0 0;
}

/* =========================
　Entry Form Layout
========================= */

.entry-form{
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 28px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 行 */
.entry-row{
    margin: 0 0 18px;
}

/* ラベル */
.entry-form label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
}

/* 必須表示 */
.entry-form .req{
    color:#2e7d32;
    font-weight:700;
    margin-left:6px;
    font-size:.9em;
}

/* 入力欄共通 */
.entry-form input[type="text"],
.entry-form input[type="email"],
.entry-form input[type="tel"],
.entry-form select,
.entry-form textarea{
    width:100%;
    box-sizing:border-box;
    padding:14px 14px;
    border:1px solid rgba(0,0,0,0.25);
    border-radius:6px;
    font-size:16px;
    background:#fff;
}

/* select高さ統一 */
.entry-form select{
    height:48px;
}

/* textarea */
.entry-form textarea{
    min-height:180px;
    resize:vertical;
}

/* =========================
    Submit Area
========================= */

.entry-submit{
    margin-top:30px;
}

/* ボタン */
.entry-form input[type="submit"]{
    display:block;
    width:100%;
    max-width:720px;
    margin:0 auto;
    padding:20px;
    border:none;
    border-radius:8px;
    background:#f2a900;
    color:#fff;
    font-weight:800;
    font-size:18px;
    cursor:pointer;
    box-shadow:0 6px 18px rgba(0,0,0,.12);
    transition:.25s;
}

.entry-form input[type="submit"]:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.entry-note{
    display:block;
    max-width:720px;
    font-size:12.5px;
    color:rgba(0,0,0,.45);
}

/* =========================
    Validation
========================= */
.entry-form .wpcf7-not-valid-tip{
    margin-top:6px;
    font-size:13px;
}
.entry-form .wpcf7-response-output{
    margin-top:18px;
}

/* =========================
    採用導線Page
========================= */
.recruit-catch {
    padding: 80px;
    text-align: center;
}
.recruit-catch h2{
    font-weight: 400;
    font-size: 2rem;
}
.recruit-catch h3{
        font-weight: 300;
    font-size: 1.5rem;
}

.recruit-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:64px;

    width: min(720px, 90vw);
    margin: 0 auto 60px;

    padding: 36px 18px;
    border: 1px solid #bdbdbd;
    background:#fff;
    text-decoration:none;
    color:#111;
    transition: transform .25s ease, box-shadow .25s ease;
}

.recruit-row__text{
    font-size: 1.15rem;
    line-height: 1.4;
    min-width: 0;
    overflow-wrap: anywhere;
}

.recruit-row__btn{
    flex-shrink:0;
    white-space:nowrap;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    padding: 6px 10px;
    border-radius: 4px;
    background: #FFB300;
    color:#fff;
}

.recruit-row:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* =========================
    採用詳細Page
========================= */
.job-intro{
    text-align:center;
    padding: 60px 20px;
}
.job-title{
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 24px;
}
.job-lead{
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.9;
    color:#333;
    margin-bottom: 50px;
}
/* グレーボックス */
.job-box{
    max-width: 600px;
    margin: 0 auto;
    background:#fff;
    border-radius:14px;
    padding: 28px 34px;
    text-align:left;
}
.job-box ul{
    list-style: disc;
}
/* 見出し */
.job-box h2{
    font-size:18px;
    margin-bottom:14px;
}
/* リスト */
.job-box ul{
    margin:0;
    padding-left:18px;
    line-height:1.9;
    color:#444;
}
.job-spec__inner{
    width: min(920px, 92vw);
    margin: 60px auto;
    background:#fff;
    border:1px solid #dcdcdc;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
}
/* 見出し */
.job-spec__inner h2{
    margin:0;
    padding:20px 24px;
    font-size:24px;
    border-bottom:1px solid #dcdcdc;
}
/* ===== 行 ===== */
.spec__row{
    display:grid;
    grid-template-columns: 240px 1fr;
    border-bottom:1px solid #dcdcdc;
}
.spec__row:hover{
    background:#fafafa;
}
.spec__row:last-child{
    border-bottom:none;
}
/* 左（項目名） */
.spec dt{
    background:#f3f3f3;
    padding:18px 20px;
    font-weight:600;
}
/* 右（内容） */
.spec dd{
    margin:0;
    padding:18px 20px;
}
.entry-area p {
    text-align: center;
    padding: 12px 0;
    font-size: 0.75rem;
    color: #555;
}
.entry-btn{
    width: min(520px, 90%);
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    margin-inline:auto;
    margin-bottom: 60px;
}

/* ===== News List ===== お知らせ一覧　*/
.news-page {
    padding: clamp(40px, 6vw, 80px) 0;
}

.news-page .news-inner {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.news-page .news-list {
    display: grid;
    gap: 16px;
}

/* 横長カード */
.news-page .news-item {
    display: grid;
    grid-template-columns: 160px 1fr 56px;
    align-items: center;

    padding: 18px 18px;
    background: #fff;
    border: 1px solid #111;
    box-shadow: 0 6px 0 rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-page .news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 rgba(0,0,0,0.10);
}

.news-page .news-item:active {
    transform: translateY(0);
    box-shadow: 0 6px 0 rgba(0,0,0,0.08);
}

.news-page .news-date {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.news-page .news-item-title {
    margin: 0;
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 600;
    line-height: 1.4;
    text-align: center; /* 画像っぽく真ん中寄せ */
}

/* 右の丸アイコン */
.news-page .news-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #111;
    border-radius: 999px;
    display: grid;
    place-items: center;
    justify-self: end;
}

/* ===== Pagination ===== */
.news-page .news-pagination {
    margin-top: 22px;
}
.news-page .news-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}
.news-page .news-pagination .page-numbers a,
.news-page .news-pagination .page-numbers span {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}
.news-page .news-pagination .page-numbers .current {
  color: #2E7D32; /* 今のページだけ緑 */
}
.news-page .news-empty{
    text-align:center;
    padding:60px 20px;
    border:1px solid #111;
    background:#fafafa;
    font-weight:500;
}

/* ===== News Single ===== */
.news-single {
    padding: clamp(40px, 6vw, 80px) 0;
}

.news-single-inner {
    width: min(900px, 92vw);
    margin: 0 auto;
}

.news-single-header {
    padding: 18px 18px;
    background: #fff;
    border: 1px solid #111;
    box-shadow: 0 6px 0 rgba(0,0,0,0.08);
    margin-bottom: 18px;
}

.news-single-date {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.news-single-title {
    margin: 0;
    font-size: clamp(20px, 2.6vw, 32px);
    line-height: 1.35;
}

.news-single-content {
    padding: 22px 18px;
    background: #fff;
    border: 1px solid #111;
    box-shadow: 0 6px 0 rgba(0,0,0,0.08);
}

.news-single-content p {
    line-height: 1.9;
    margin: 0 0 1.2em;
}

.news-single-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.news-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid #111;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.news-back:hover { filter: brightness(105%); }
.news-back:active { transform: scale(0.98); }

.news-single-nav {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.news-single-nav a {
    display: block;
    padding: 12px 14px;
    border: 1px solid #111;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 0 rgba(0,0,0,0.06);
}

.news-single-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(0,0,0,0.08);
}

.news-single-prev { justify-self: start; }
.news-single-next { justify-self: end; text-align: right; }

/* ===== 会社概要 ===== */
.spec__list{
    margin: 0;
    padding-left: 1.2em;
}
.spec__list li{
    line-height: 1.8;
}

.conpany-spec__inner{
    width: min(920px, 92vw);
    margin: 60px auto;
    background:#fff;
    border:1px solid #dcdcdc;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
}
/* 見出し */
.company-spec-title {
    width: min(920px, 92vw);
    background-color: #FAF7F2;
    margin: 32px auto;
    padding:20px 24px;
    font-size: 1.75rem;
    font-weight: 400;
    border-bottom:3px solid #dcdcdc;
}

/* ===== 代表者メッセージ ===== */
.ceo{
    padding: 80px 0;
    background: #FAF7F2;
}

.ceo__inner{
    width: min(1100px, 92vw);
    margin: 0 auto;
}

/* 2カラム */
.ceo__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* 左カード */
.ceo__card{
    background: #fff;
    padding: 24px 44px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.ceo__title{
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    margin: 0 0 22px;
}

.ceo__card p{
    margin: 0 0 18px;
    color: #222;
    font-size: 16px;
}

.ceo__sign{
    margin-top: 24px;
    font-weight: 700;
}

/* 右画像 */
.ceo__photo{
    margin: 0;
}

.ceo__photo img{
    width: 120%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(0,0,0,.10);
}

/* =========================
   business-compare
========================= */
/* ---------- hero ---------- */
.business-hero{
    padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
    text-align: center;
}

.business-lead{
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.9;
    color: #222;
    letter-spacing: 0.02em;
}
/* ---------- hero 消さない---------- */

.business-compare{
    padding: clamp(36px, 6vw, 72px) 0;
}

.compare-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

/* 真ん中の仕切り線 */
.compare-card + .compare-card{
    border-left: 1px solid rgba(0,0,0,0.10);
}

.compare-card{
    padding: clamp(26px, 3.5vw, 44px);
    display: flex;
    flex-direction: column;
    /* 下のpillを“下に落ち着かせる”ため */
    min-height: 100%;
}

.compare-head{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px; /* 縦メリハリ */
}

.compare-icon{
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #2e7d32;
    opacity: 0.95;
    flex: 0 0 auto;
    align-items: center;
}

.compare-icon img{
    width: 100%;
    text-align: center;
    filter: invert(1)
}

.compare-title{
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    margin: 0;
    color: #111;
    letter-spacing: 0.01em;
}

.compare-desc{
    font-size: 1.1rem;
    color: #333;
    line-height: 1.9;
    letter-spacing: 0.03em;
}
.compare-info{
    font-size: 0.85rem;
    margin: 0 0 24px 32px;
    color: #333;
}

/* dl を表っぽく */
.compare-dl{
    margin: 0;
}

.compare-row{
    display: grid;
    grid-template-columns: 11em 1fr;
    gap: 12px;
    padding: 36px 0; /* ←ここが“縦を使う”本丸 */
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.compare-row:last-child{
    border-bottom: none;
}

.compare-row dt{
    font-weight: 700;
    color: #111;
}

.compare-row dd{
    margin: 0;
    color: #111;
    line-height: 1.8;
}
.compare-row dt span{
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
    color: #81C784;
}

/* 緑のチェック枠（背景＋薄影） */
.compare-checkbox{
    background: #eef6ee;
    border-radius: 14px;
    padding: 22px 22px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.05);
    margin: 28px 0 26px; /* 縦余白UP */
}

.compare-check{
    list-style: none;
    margin: 0;
    padding: 0;
}

.compare-check li{
    position: relative;
    padding-left: 30px;
    margin: 12px 0;
    font-weight: 700;
    color: #111;
}

.compare-check li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(46,125,50,0.18);
    color: #2e7d32;
    font-size: 12px;
}

/* 下のpill（ボタン風） */
.compare-tags{
    /* display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap; */

    margin-top: auto;       /* ←これでカード下に“固定”されやすい */
    padding-top: 10px;
    padding-bottom: 6px;
    position:relative;
    height: clamp(140px, 14vw, 190px)
}

.pill{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #79bf86;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 18px rgba(121,191,134,0.25);
    position: absolute;
    min-width: 180px;                 /* 楕円っぽさ強める */
    padding: 14px 22px;
    border-radius: 999px;
    text-align: center;
}
/* ---------- 左の配置 ---------- */
.tags-left .pill:nth-child(1){ /* 柔軟な体制：上中央 */
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.tags-left .pill:nth-child(2){ /* チーム一体：左下 */
    left: 6%;
    bottom: 0;
}
.tags-left .pill:nth-child(3){ /* 長期支援：右下 */
    right: 6%;
    bottom: 0;
}
/* ---------- 右の配置 ---------- */
.tags-right .pill:nth-child(1){ /* 一括対応：上中央 */
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.tags-right .pill:nth-child(2){ /* 納品責任：左下 */
    left: 6%;
    bottom: 0;
}
.tags-right .pill:nth-child(3){ /* 進行管理：右下 */
    right: 6%;
    bottom: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 900px){
    .compare-grid{
        grid-template-columns: 1fr;
    }
    .compare-card + .compare-card{
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.10);
    }
    .compare-row{
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }
}
/* SPは崩れやすいから、flexに戻す（安全策） */
@media (max-width: 600px){
    .compare-tags{
        position: static;
        height: auto;
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 18px;
    }
    .compare-tags .pill{
        position: static;
        transform: none;
        min-width: 140px;
        padding: 11px 18px;
    }
    .tags-left .pill:nth-child(1){
        transform: none;
    }
    .tags-right .pill:nth-child(1){
        transform: none;
    }
}

/* =========================
business-detail (SYNC HEIGHT + VAR WIDTH)
========================= */
.business-detail{
    padding: clamp(52px, 7vw, 96px) 0;
}

/* 左右同じ“行”に載せて、同じ高さにする */
.business-detail .detail-grid{
    display: grid;
    grid-template-columns: 1fr minmax(420px, 640px);
    align-items: stretch; /* ←左右同じ高さに伸ばす */
}

/* 重要：右側が中身の自然高さで“押し広げる”のを防ぐ */
.business-detail .detail-text,
.business-detail .detail-images{
    min-height: 0;
}

.business-detail .detail-text{
    padding: 24px 40px;
}

/* 反転（画像左） */
.business-detail.is-reverse .detail-grid{
    grid-template-columns: minmax(420px, 640px) 1fr;
}
.business-detail.is-reverse .detail-text{ order: 2; }
.business-detail.is-reverse .detail-images{ order: 1; }

/* ---------- text ---------- */
.business-detail .detail-title{
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
    letter-spacing: 0.01em;
}

.business-detail .detail-lead{
    font-size: 13px;
    line-height: 2.0;
    color: #333;
    margin: 0 0 18px;
    letter-spacing: 0.02em;
}

.business-detail .detail-subtitle{
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 22px 0 10px;
    letter-spacing: 0.02em;
}
.business-detail .border-title{
    border: #555 1px solid;
    display: inline;
}

.business-detail .detail-bullets,
.business-detail .detail-steps{
    font-size: 13px;
    line-height: 2.0;
    color: #222;
    margin: 0 0 14px;
    padding-left: 1.25em;
    letter-spacing: 0.02em;
}
.business-detail ul{
    list-style: disc;
}

.business-detail .detail-bullets li,
.business-detail .detail-steps li{
    margin: 6px 0;
}

/* ---------- images ---------- */
/* 右カラムの高さを “左と同じ高さ(=100%)” に固定して、その中を3分割 */
.business-detail .detail-images{
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: 0.5fr 0.5fr 0.5fr; /* 中が大きめ */
    gap: 16px;
}
.business-detail.is-reverse .detail-images{
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: 0.3fr 0.3fr 0.3fr 0.3fr; /* 中が大きめ */
    gap: 16px;
}

/* 画像は「各行の高さ100%」にして、はみ出しはトリミング */
.business-detail .detail-images img{
    height: 100%;
    min-height: 0;
    display: block;
    border-radius: 12px;
    /* 右端揃え（横幅変えても右が揃う） */
    justify-self: end;
    /* トリミングで枠に収める */
    object-fit: cover;
    width: 100%;
}

/* 横幅だけ個別に変える（右端揃えのまま左側がズレる） */
.business-detail .detail-images img:nth-child(1){ width: 100%; }
.business-detail .detail-images img:nth-child(2){ width: 60%; }
.business-detail .detail-images img:nth-child(3){ width: 100%; }
/* 下の方 */
.business-detail.is-reverse .detail-images img:nth-child(1){ width: 100%; }
.business-detail.is-reverse .detail-images img:nth-child(2){ width: 70%; justify-self: left;}
.business-detail.is-reverse .detail-images img:nth-child(3){ width: 100%; }
.business-detail.is-reverse .detail-images img:nth-child(4){ width: 60%; }

/* ---------- clients ---------- */
.business-clients{
    padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 6vw, 70px);
    text-align: center;
}

.clients-title{
    font-size: 2.5rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 8px;
}

.clients-sub{
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 28px;
}

.clients-logos{
    list-style: none;
    padding: 0;
    margin: 0 auto 80px;
    display: flex;
    justify-content: space-around;
    gap: 88px;
    flex-wrap: wrap;
    align-items: center;
}
.clients-logos li{
    text-align: center;
}
.clients-logos img{
    height: 80px;
    width: auto;
    display: block;
}

.clients-cta{
    margin-top: 24px;
}
.client-cta-btn{
    padding: 24px 0;
    width: clamp(340px, 45vw, 600px);
    display: inline-block;
    text-align: center;
}

/* ---------- complate関連 ---------- */
.thanks-page{
  padding: clamp(52px, 7vw, 96px) 0;
}

.thanks-hero .container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.thanks-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.thanks-badge{
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46, 125, 32, 0.08);
  color: #2E7D32;
  margin-bottom: 14px;
}

.thanks-title{
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin: 0 0 14px;
}

.thanks-lead{
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 22px;
  color: rgba(0,0,0,0.78);
}

.thanks-info{
  margin: 0 0 26px;
  padding: 0;
}

.thanks-row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.thanks-row:last-child{
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.thanks-row dt{
  font-weight: 600;
  color: rgba(0,0,0,0.82);
}

.thanks-row dd{
  margin: 0;
  color: rgba(0,0,0,0.72);
}

.thanks-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.thanks-btn{
  padding: 14px 18px;
  min-width: 220px;
}

.thanks-link{
  color: #2E7D32;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px){
  .thanks-row{
    grid-template-columns: 1fr;
  }
  .thanks-btn{
    width: 100%;
    min-width: unset;
  }
}



/* ////////// 1024以下で変更 /////////// */
@media (max-width: 1024px) {
    /* headerのホバー時アニメーション調整 */
    .global-nav li:not(.current_page_item) > a:hover::after {
        bottom: -2px;
    }
    .global-nav .current_page_item > a::after {
        bottom: -2px;
    }
    .site-header {
        height: 52px;
    }
    main {
        margin-top: 52px;
    }
    .global-nav a {
        font-size: 0.875rem;
        padding: 0;      /* クリックしやすさ */
    }
    .site-logo {
        padding: 0;
    }
    .fv {
        height: calc(100vh - 52px);
    }
    .section-title {
        font-size: 3.5rem;
    }
    .fv-cta {
        margin-top: 140px;
    }
    .overview-contents {
        flex-direction: column;
        gap: 80px;
    }
    .ov-content {
        margin: 0 auto;
        padding: 40px 8px;
        width: 90%;
    }
    .strengths-contents {
        flex-direction: column;
        gap: 40px;
    }
    .strengths-contents li {
        margin: 0 auto;
        width: 95%;
    }
    .responsive-br {
        display: none;
    }

    .strengths-contents li p {
        font-size: 1.5rem;
        margin-top: 32px;
        text-align: center;
    }
    .recruit-contents {
        flex-direction: column;
        gap: 80px;
    }
    .recruit-card {
        margin: 0 auto;
        width: 95%;
    }

    .top .recruit-list {
        padding: 52px 0 60px 24%;
        font-size: 3rem;
    }
    .top .recruit-list li {
        margin: 0 auto;
    }
    .ceo{
        padding: 60px 0;
    }
    .ceo__grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ceo__card{
        padding: 28px 22px;
    }

    .business-detail .detail-grid{
        grid-template-columns: 1fr;
        align-items: initial;
    }
    .business-detail.is-reverse .detail-grid{
        grid-template-columns: 1fr;
        align-items: initial;
    }
    
    .business-detail .detail-images{
        height: auto;
        grid-template-rows: none;
        grid-auto-rows: auto;
    }
    .business-detail.is-reverse .detail-images{
        height: auto;
        grid-template-rows: none;
        grid-auto-rows: auto;
    }
    .business-detail .detail-images img{
        height: 160px;
        width: 100%;
        justify-self: stretch;
    }

    .business-detail.is-reverse .detail-text,
    .business-detail.is-reverse .detail-images{
        order: initial;
    }

    .business-detail .detail-images img:nth-child(2){ width: 100%; }
    /* 下の方 */
    .business-detail.is-reverse .detail-images img:nth-child(2){ width: 100%; }
    .business-detail.is-reverse .detail-images img:nth-child(4){ width: 100%; }

}

/* /////// 768以下で変更 ///////// */
@media (max-width: 768px) {
    main{
        margin-top: 40px;
    }
    .section {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .global-nav a {
        font-size: 0.5rem;
    }
    .site-header {
        height: 40px;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .fv{
        background-position: center 25%;
        min-height: calc(100svh - 40px);
        padding: 12svh 5% 8svh;
    }
    .fv-inner{
        height: 100%;
        display: flex;
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        padding-top: 0;
    }
    .fv-cta{
        margin-top: auto;
        width: min(90%, 520px);
        margin-inline: auto;
    }
    .catch-copy p {
        margin-top: 14px;
        letter-spacing: 0.03em;
        line-height: 1.4;
    }
    .ov-content {
        padding: 4% 8px;
    }
    .ov-content-text h3 {
        font-size: 1.5rem;
    }
    .ov-content-text p {
        padding-top: 20px;
        font-size: 1rem;
    }
    .strengths-contents li p {
        font-size: 1.375rem;
    }
    .technology-contents {
        margin: 100px 2.5%;
        text-align: left;
    }
    .techno-item h3 {
        padding-left: calc(4% + 12px);
        font-size: 1.75rem;
    }
    .techno-item h3::before {
        width: 12px;
    }
    .techno-item h4 {
        font-size: 1.5rem;
    }
    .techno-item > p {
        margin: 8px 0 0 40px;
        font-size: 1.25rem;
    }
    .swiper-slide {
        width: 190px;
    }
    .scroll-item p {
        font-size: 1.75rem;
    }
    .recruit {
        margin-top: 100px;
        margin-bottom: 60px;
    }
    .recruit-card {
        padding: 32px 24px;
    }
    .recruit-card h2{
        font-size: 2.25rem
    }
    .top .recruit-list {
        padding: 40px 0;
        text-align: center;
        font-size: 1.75rem;
    }
    .recruit-btn {
        padding: 2px;
        font-size: 1.375rem;
    }
    .recruit-btn p {
        font-size: 0.85rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 60px;
    }
    .footer-left {
        max-width: 100%;
    }
    .footer-right {
        max-width: 100%;
    }
    .more-btn {
        margin-left: 0;
    }

    .spec__row{
        grid-template-columns: 1fr;
    }

    .spec dt{
        border-bottom:1px solid #dcdcdc;
        background:#f7f7f7;
    }

    .news-page .news-item {
        grid-template-columns: 120px 1fr 48px;
        padding: 14px 14px;
    }

    .news-page .news-item-title {
        text-align: left;
        padding: 0 8px;
    }

    .news-page .news-arrow {
        width: 36px;
        height: 36px;
    }

    .news-single-nav {
        grid-template-columns: 1fr;
    }
    .news-single-next { text-align: left; }

        .compare-grid{
        grid-template-columns: 1fr;
    }
    .compare-card + .compare-card{
        border-left: none;
        border-top: 1px solid #cfc7bd;
    }

    .business .tag{
        min-width: 96px;
        padding: 10px 14px;
    }

    .clients-logos{
        gap: 40px;
    }
    .clients-logos img{
        height: 60px;
    }

}
