/* ========================================================
   Media Queries (SP)
======================================================== */
@media screen and (max-width: 768px) {
    .u-hidden-sp { display: none; }
    
    .header {
    padding: 1.2rem 0;
}

.pc_view{
	display: none !important;
}

.header__inner, .drawer__inner, .about__inner, .news__inner, .works__inner, .initiatives__inner, .contact-sec__inner, .footer__inner {
    padding: 0 2.0rem;
}

/* Header & Hamburger */
.header__inner { height: var(--header-height-sp); }
.header__utils { display: none; }
.header__hamburger {
display: block;
background: transparent;
border: none;
cursor: pointer;
padding: 0;
width: 2.8rem;
height: 2.2rem;
position: relative;
z-index: 110;
}

.header__hamburger-line { position: absolute; left: 0; width: 100%; height: 0.2rem; background-color: var(--color-text-main); transition: transform 0.3s, top 0.3s, bottom 0.3s; }
.header__hamburger-line:nth-of-type(1) { top: 0; }
.header__hamburger-line:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.header__hamburger-line:nth-of-type(3) { bottom: 0; }
.header__hamburger.is-active .header__hamburger-line:nth-of-type(1) { top: 50%; transform: translateY(-50%) rotate(40deg); }
.header__hamburger.is-active .header__hamburger-line:nth-of-type(2) { opacity: 0; }
.header__hamburger.is-active .header__hamburger-line:nth-of-type(3) { bottom: 50%; transform: translateY(50%) rotate(-40deg); }

/* ドロワーメニュー */
.header__nav { 
    display: block; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    background-color: #fff; 
    z-index: 105; 
    padding: calc(var(--header-height-sp) + 4.0rem) 0 4.0rem; 
    box-sizing: border-box;
    overflow-y: auto; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.3s ease; 
}
.header__nav.is-active { opacity: 1; visibility: visible; }

.drawer__inner { display: flex; flex-direction: column; height: 100%; padding: 0; margin: 0; max-width: none; }
.drawer__main {
    align-items: center;
    width: 80%;
    margin: 4rem auto 0;
}
.drawer__list { display: flex; flex-direction: column; gap: 2.4rem; }
.drawer__item {
    margin: 0;
    border-bottom: solid 1px #abb8c3;
    padding-bottom: 1.6rem;
}

.drawer__link {
    font-family: var(--font-family-sans);
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 1.6rem;
}

.drawer__other {
    width: 80%;
    margin: 0 auto;
}

.drawer__ext-links {
    font-size: 1.2rem;
    border-top: solid 1px #abb8c3;
    padding-top: 1.6rem;
    padding-bottom: 4rem;
}

.drawer__ext-links li{
    margin-bottom: 1.2rem;
}

.drawer__sub-links { display: flex; justify-content: center; gap: 2.4rem; font-size: 1.1rem; color: var(--color-text-light); }
    
.drawer__footer {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin: 2.4rem auto 0;
    width: 80%;
    padding-bottom: 4rem;
}

.drawer__store-btn {
    width: 100%;
    padding: 1.4rem;
    font-size: 1.2rem;
    justify-content: center;
    gap: 1.0rem;
    border-radius: 0.4rem;
    font-family: "Noto Sans JP", sans-serif;
}

.drawer__sns {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.drawer__sns a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-family-en);
}
    
/* Hero */
.hero__content {
    bottom: 4.8rem;
    left: 2.0rem;
    right: 2.0rem;
}

.hero__copy {
    font-size: 2.4rem;
    line-height: 1.6;
}

.hero__utils {
    bottom: 0;
    right: 0;
    width: 120px;
}

.hero__center-logo {
    width: 180px;
}

.hero {
    height: 72vh;
    margin-top: 84px;
}

.hero__pagination {
    font-size: 1.4rem;
}

.hero__btn {
    width: 6.4rem;
    height: 3.2rem;
}
    
/* About */
.about { padding: 8.0rem 0; }

.about__inner {
    width: auto;
}

.about__text {
    text-align: left;
    font-size: 1.4rem;
    margin-top: 4rem;
}

.about__text br { display: none; }

.about .btn-wrap {
    margin-top: 4rem;
}

/* News */
.news {
    padding: 0 0 0rem;
    margin: 0 auto;
    width: 88%;
}

.news__inner { flex-direction: column; padding: 4.0rem 0; }
.news__left, .news__right { width: 100%; }
.news__left {}
.news__btn-pc { display: none; }
.news__btn-sp { display: block; text-align: center; margin-top: 3.2rem; }
.news__link { flex-direction: column; align-items: flex-start; gap: 0.8rem; padding: 1.6rem 0; }
.news__date { width: auto; font-size: 1.2rem; }
.news__title {
    font-size: 1.6rem;
}

.news__item:last-child {
    border-bottom: none;
}
    
.works {
    padding: 6.0rem 0 0;
}

.works__header { flex-direction: column; align-items: center; margin-bottom: 3.2rem; }
.works__btn-pc { display: none; }
.works__btn-sp { display: block; text-align: center; margin-top: 3.2rem; }
.works__title-area { margin-bottom: 0; }
.works__img-wrapper { margin-bottom: 1.2rem; }
.works__name { font-size: 1.6rem; margin-bottom: 0.8rem; }

.initiatives {
    padding: 8.0rem 0 6.4rem;
}

.initiatives__text {
    display: none;
}

.initiatives__img-wrapper {
    margin-bottom: 2rem;
}

.initiatives__title {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.initiatives__list { grid-template-columns: 1fr; gap: 4.0rem; }

.contact-sec {
    padding: 0 0 4rem;
}
.contact-sec__inner {
    flex-direction: column;
    padding: 8rem 2.0rem;
    text-align: center;
}
    .contact-sec__left, .contact-sec__right {
    width: 88%;
}

.contact-sec__text {
    text-align: left;
}

.contact-sec__left { margin-bottom: 2.4rem; }

.footer {
    padding: 0 0 2.0rem;
}

.footer__inner {
    margin: 0 auto;
    width: 80%;
    padding: 0;
}

.footer__logo {
    margin: 0 auto;
}

.footer__main { flex-direction: column; gap: 4.0rem; margin-bottom: 4.0rem; }
.footer__left, .footer__right-wrapper { width: 100%; }
.footer__right-wrapper { flex-direction: column; } 

.footer__right { display: none; }

.footer__pagetop { margin: 0 auto 4.0rem; }
    
.footer__company-info {
    flex-direction: column;
    gap: 2.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
}
    
.footer__pagetop {
    margin: 0 auto;
    min-width: 80px;
    height: 80px;
    width: 80px;
}


/* ========================================================
   Single Works (実績詳細ページレイアウト)
======================================================== */
.works-single {
    display: flex;
    flex-direction: column;
}

.works-single__article {
    order: 1; /* 1番目：記事本文 */
}

.works-single__inner {
    padding: 0 2rem;
}

.breadcrumb {
    order: 2;
    margin-top: 0;
    margin-bottom: 2rem;
    border-top: solid 1px #999999;
    width: 100%;
    padding-top: 2rem;
}

.contact-sec {
    order: 3; /* 3番目：お問い合わせ */
}

.works-single__title {
    font-size: 2.4rem;
}
.works-single__catch {
    font-size: 1.8rem;
}
.works-single__mv {
    margin-bottom: 4.0rem;
}
.works-single__content {
    margin-bottom: 6.0rem;
    font-size: 1.4rem;
}

.gallery.swiper,
.wp-block-gallery.swiper {
    margin-top: 4.0rem !important;
}
.works-single__pagination {
    margin-bottom: 4.0rem;
}
.works-single__back {
    margin-bottom: 8.0rem;
}

.works-single__prev { left: 1.0rem; }
.works-single__next { right: 1.0rem; }
.works-single__prev, .works-single__next {
    width: 4.0rem;
    height: 4.0rem;
}

.works-single__shop-box {
    gap: 4rem;
    padding: 2.4rem;
    flex-direction: column;
}

.works-single__shop-img {
    width: 100%;
}

.works-single__shop-body {
    width: 100%;
}

.works-single__shop-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.u-hidden-sp { display: none !important; }

.about-page__inner {
    padding: 0 2.0rem;
}
.about-page {
}

/* SP用のパンくず（contact-secの上部用） */
.breadcrumb--sp {
    margin-top: 0;
    margin-bottom: 2.0rem;
    border-top: solid 1px #999999;
    width: 100%;
    padding-top: 2.0rem;
}

/* 汎用下層ページヘッダー */
.lower-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 0 2rem;
    width: 100%;
}

.breadcrumb-list {
    flex-direction: row;
    flex-wrap: wrap;
}

.about-page {
    padding-top: calc(var(--header-height-pc) + 4rem);
}

.about-page__mv {
    margin-bottom: 4rem;
}

/* イントロダクション */
.about-page__intro {
    flex-direction: column;
    gap: 3.2rem;
    margin-bottom: 4rem;
}
.about-page__intro-catch {
    width: 100%;
    font-size: 2.4rem;
}
.about-page__intro-text {
    width: 100%;
    font-size: 1.4rem;
}

/* プロフィール */
.about-page__profile {
    margin-bottom: 4rem;
}
.profile__box {
    flex-direction: column;
    padding: 3.2rem 2.0rem;
    gap: 3.2rem;
}
.profile__img-wrapper {
    width: 100%;
}
.profile__body {
    width: 100%;
}
.profile__history-row {
    flex-direction: column;
    gap: 0.4rem;
}
.profile__history-row dt {
    width: 100%;
}

/* SP Profile: ボタンとフェード機能 */
.profile__history-wrap {
    position: relative;
}
.profile__history {
    max-height: 16rem;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.profile__history.is-expanded {
    max-height: 160rem;
    margin-bottom: 4rem;
}
.profile__history-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10.0rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    transition: opacity 0.3s;
}
.profile__history.is-expanded ~ .profile__history-fade {
    opacity: 0;
}

.profile__more-btn {
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #fff;
    padding: 1.6rem;
}
.profile__more-btn svg {
    transition: transform 0.3s ease;
}
.profile__more-btn.is-open svg {
    transform: rotate(180deg);
}

/* Mission セクション */
.about-page__mission {
    margin-bottom: 8.0rem;
}

.mission__main-title {
    margin-bottom: 4.0rem;
    font-size: 2.8rem;
}

/* SP Mission: アコーディオン化のためのレイアウト */
.mission__item {
    flex-direction: column;
    margin-bottom: 0;
    border-top: 1px solid var(--color-border, #e0e0e0);
}
.mission__item:last-child {
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.mission__left {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.4rem 0 0rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mission__subtitle-ja {
    font-size: 2.4rem;
}

/* SP Mission: アコーディオン開閉アイコン（＋と－） */
.mission__toggle-icon {
    width: 2.0rem;
    height: 2.0rem;
    position: relative;
    flex-shrink: 0;
}
.mission__toggle-icon::before,
.mission__toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-text-main, #222);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
.mission__toggle-icon::before {
    width: 1.6rem;
    height: 0.1rem; /* 横線 */
}
.mission__toggle-icon::after {
    width: 0.1rem;
    height: 1.6rem; /* 縦線 */
}
/* 開いた時は縦線が回転して消え、マイナスになる */
.mission__item.is-open .mission__toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* SP Mission: 開閉アニメーション（CSS Grid使用） */
.mission__right {
    width: 100%;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mission__item.is-open .mission__right {
    grid-template-rows: 1fr;
}
.mission__right-inner {
    overflow: hidden;
}

.mission__right .mission__subtitle-en {
    margin-top: 0;
    margin-bottom: 3.2rem;
    font-size: 1.6rem;
}

.mission__text {
    width: 100%;
    font-size: 1.4rem;
    padding-bottom: 2.4rem;
}

.works-single__client {
    margin-bottom: 3.2rem;
}

/* ========================================================
   Works 一覧専用スタイル
======================================================== */
.archive-works {
    padding-top: calc(var(--header-height-pc) + 4rem);
}

.archive-works__content {
    padding: 0 2.0rem;
    margin-bottom: 0;
}

.works-grid { 
    grid-template-columns: repeat(1, 1fr); 
    gap: 4.0rem; 
}
.works-grid__name { 
    font-size: 2.0rem; 
}

.lower-header__breadcrumb {
    display: none;
}
.archive-works__breadcrumb {
    display: block;
    margin-top: 0;
    margin-bottom: 2.0rem;
    border-top: solid 1px #999999;
    width: 100%;
    padding: 2.0rem 2.0rem 0;
    box-sizing: border-box;
}

.works-single {
    padding-top: calc(var(--header-height-pc) + 4rem);
}

/* ========================================================
   News 一覧専用スタイル
======================================================== */
.archive-news {
    padding-top: calc(var(--header-height-pc) + 4rem);
}

.archive-news__content {
    padding: 0 2.0rem;
    margin-bottom: 4rem;
}

.news-list__link {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.6rem 0;
}

.lower-header__breadcrumb {
    display: none;
}

/* スマホ時のみフッター上に表示 */
.archive-news__breadcrumb {
    display: block;
    margin-top: 0;
    margin-bottom: 2.0rem;
    border-top: solid 1px #999999;
    width: 100%;
    padding: 2.0rem 2.0rem 0;
    box-sizing: border-box;
}

/* ========================================================
   News 詳細専用スタイル
======================================================== */
.single-news {
    padding-top: calc(var(--header-height-pc) + 4rem);
}

.single-news .lower-header{
    display: none;
}

.single-news__article { 
    padding: 0 2.0rem;
    margin-bottom: 4.0rem;
}

.single-news__title { 
    font-size: 2.2rem; 
}

.single-news__content { 
    font-size: 1.4rem; 
    margin-bottom: 6.0rem; 
}

.single-news__back { 
    margin-bottom: 4.0rem; 
}

.lower-header__breadcrumb {
    display: none;
}

.single-news__breadcrumb {
    display: block;
    margin-top: 0;
    margin-bottom: 2.0rem;
    border-top: solid 1px #999999;
    width: 100%;
    padding: 2.0rem 2.0rem 0;
    box-sizing: border-box;
}

/* ========================================================
   Contact ページ専用スタイル
======================================================== */
.contact-page {
    padding-top: calc(var(--header-height-pc) + 4rem);
}

.contact-page__content {
    flex-direction: column;
    gap: 4rem;
    padding: 0 2.0rem;
}

.contact-page__lead {
    width: 100%;
    padding-bottom: 0;
}

.contact-page__form {
    width: 100%;
}

.form-radio .wpcf7-radio {
    flex-direction: column;
    gap: 1.2rem;
}

.form-submit .wpcf7-submit { 
    width: 100%; 
}

.lower-header__breadcrumb {
    display: none;
}

.contact-page__breadcrumb {
    display: block;
    margin-top: 0;
    margin-bottom: 2.0rem;
    border-top: solid 1px #999999;
    width: 100%;
    padding: 2.0rem 2.0rem 0;
    box-sizing: border-box;
}

.wpcf7-list-item {
    margin: 0 !important;
}

/* ========================================================
   Privacy Policy ページ専用スタイル
======================================================== */
.privacy-page {
    padding-top: calc(var(--header-height-pc) + 4rem);
}

.privacy-page__content {
    padding: 0 2.0rem;
    margin-bottom: 0;
}

.privacy-page__text {
    font-size: 1.4rem;
}

.privacy-page__text h2 {
    font-size: 1.8rem;
    margin: 4.0rem 0 1.6rem;
}

.lower-header__breadcrumb {
    display: none;
}

.privacy-page__breadcrumb {
    display: block;
    margin-top: 0;
    margin-bottom: 2.0rem;
    border-top: solid 1px #999999;
    width: 100%;
    padding: 2.0rem 2.0rem 0;
    box-sizing: border-box;
}












}
















































