@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    overflow-x: hidden;
    font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif;
    max-width: 100%;
}

img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

a {
    text-decoration: none;
    color: #121212;
}

.sec_title {
    margin-bottom: 100px;
    font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif;
    font-weight: 100;
    /* 400=普通, 600=やや太い, 700=太字 */
    color: #8d8d8d;
    width: 190px;
}

.sec_title .ja {
    display: block;
    font-size: 0.9rem;
    text-align: end;
    margin-bottom: -10px;
}

.sec_title .en {
    display: block;
    font-size: 2rem;
    letter-spacing: 0.3em;
}

.text {
    padding: 0 100px;
    margin-bottom: 100px;
    position: relative;
    font-size: 1.2rem;
    line-height: 1.9;
}

.text::after {
    content: "";
    height: 1px;
    width: 70px;
    background-color: #121212;
    position: absolute;
    top: -50px;
    left: 100px;
}

.fadein {
    opacity: 0;
    transform: translateY(40%);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-target {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.fadein.show {
    opacity: 1;
    transform: translateY(0);
}


#header {
    width: 100%;
    padding: 10px 0 5px 40px;
    background-color: #fff;
    z-index: 30;
    position: fixed;
}

.logo a {
    line-height: 1;
    z-index: 30;
}

.logo img {
    width: 60px;
    z-index: 30;
}

.logo h1 {
    font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif;
    font-weight: 900;
    /* ここを900にする */
    font-size: 1.3rem;
    /* お好みで */
    letter-spacing: 0.05em;
    /* 微調整 */
    line-height: 1;
    position: absolute;
    top: 25px;
    left: 105px;
}

.hamburger {
    position: fixed;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 40px;
    cursor: pointer;
    transition: 0.5s;
    z-index: 30;
    display: flex;
}

.hamburger span {
    width: 20px;
    height: 20px;
    display: block;
    background-color: #121212;
    position: absolute;
    transition: 0.5s;
}

.hamburger span:nth-child(1) {
    border-radius: 50%;
    left: 0;
}

.hamburger span:nth-child(2) {
    left: 22px;
}

.hamburger span:nth-child(3) {
    left: 45px;
}

.hamburger.active span:nth-child(1) {
    background-color: #fff;
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg);
    background-color: #fff;
}

#nav {
    opacity: 0;
    transform: translateY(-100%);
    transition: 0.5s;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 55vh;
    background-color: rgb(0, 0, 0, 0.7);
}

#nav.active {
    opacity: 1;
    transform: translateY(0);
}

#nav ul {
    text-align: center;
    padding-top: 20px;
}

#nav li {
    padding: 15px 0;
    font-weight: bold;
    letter-spacing: 0.3em;
    list-style: none;
}

#nav li a {
    color: #fff;
}

#header p {
    font-size: 0.8rem;
    font-weight: 100;
    padding-left: 20px;
    color: #8d8d8d;
}

#header .company {
    font-size: 0.8rem;
    font-weight: 100;
    padding-left: 20px;
    color: #000;
    text-align: left;
    font-family: 'M PLUS 1p', sans-serif !important;  /* ← フォントを強制で適用 */
    margin-left: -20px;                               /* ← 左寄せ */
    letter-spacing: 0.01em;
}

#header .btn {
    position: absolute;
    top: 20px;
    right: 200px;
    display: block;
    width: 80px;
    padding: 5px 0;
    border: #C0C0C0; 1px solid;
    background-color: #FFD500;
    border-radius: 30px;
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    z-index: 30;
    font-weight: 700;
    font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif;
    transition: 1s;
}

#header .btn:hover {
    background-color: #e6c200;
}

#top {
    position: relative;
    min-height: 140vh;
    overflow: hidden;
    padding-top: 123px;
}

#top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    /* ← ここで暗さを調整（0.3〜0.5くらいがおすすめ） */
    z-index: 0;
    pointer-events: none;
}

#top .next_text,
#top .top_text,
#top .img,
#top .circle-wrap {
    position: absolute;
    z-index: 3;
}


/* ---------- 各要素の配置 ---------- */
#top .item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/*背景画像*/

#top .back_img li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140vh;
    opacity: 0;
    z-index: 1;
    background-color: #fff;
}

#top .back_img li:nth-child(1) img {
    width: 15%;
    position: absolute;
    top: 48%;
    left: 42%;
}

#top .back_img li:nth-child(2) img {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 20%;
    left: 0%;
}

#top .back_img li:nth-child(3) img {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 20%;
    left: 0;
}

#top .back_img li:nth-child(1)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(48% + 25%);
    /* 画像の少し下に配置（調整OK） */
    width: 7%;
    height: 2%;
    background: rgba(118, 118, 118, 0.8);
    /* 影の色 */
    border-radius: 50%;
    filter: blur(5px);
    /* ぼかしで浮いてる感 */
    transform: translateX(-50%);
    z-index: 1;
}


#top .back_img li.active {
    opacity: 1;
    z-index: 2;
    animation: panZoom 12s ease-in-out infinite alternate;
}

@keyframes panZoom {
    0% {
        background-size: 102%;
        background-position: center;
    }

    50% {
        background-size: 105%;
        background-position: 52% center;
    }

    100% {
        background-size: 102%;
        background-position: center;
    }
}



/*上の丸*/

button {
    cursor: pointer;
}

.circle {
    position: absolute;
    left: 0;
    right: 0;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.circle_item {
    position: relative;
    width: 60px;
    height: 60px;
    z-index: 10;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.circle_item.active {
    opacity: 1;
}

.circle_item:nth-child(n+2) {
    border-radius: 0;
}

.circle-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.circle-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.progress-ring-buttom {
    fill: none;
    stroke: transparent;   /*  透明に変更 */
    stroke-width: 2px;
}

.progress-ring {
    fill: none;
    stroke: #FFD500;
    stroke-width: 3;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    stroke-dasharray: 188;
    stroke-dashoffset: 188;
    transition: stroke-dashoffset 0.1s linear;
}

/* --- 四角用 --- */


.circle_item {
    position: relative;
    width: 60px;
    height: 60px;
    z-index: 10;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.circle_item:nth-child(n+2) {
    border-radius: 0;
}

.square-outline,
.circle-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    /* 少し外側を回るように大きめ */
    height: 70px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* 四角の下地線 */
.progress-rect-buttom {
    fill: none;
    stroke: #FFD500 !important;
    stroke-width: 2;
}

/* 四角の黄色線 */
.progress-rect {
    fill: none;
    stroke: #FFD500;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 0.3s linear;
}

/* アニメーション */
.circle_item.active .progress-rect {
    animation: squareStroke 6s linear forwards;
}

@keyframes squareStroke {
    0% {
        stroke-dashoffset: 220;
    }

    100% {
        stroke-dashoffset: 0;
    }
}



/* 左のタイトル */
#top .title {
    font-size: 2.3rem;
    font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif;
    writing-mode: vertical-rl;
    font-weight: normal;
    color: #121212;
    z-index: 30;
}

#top .left {
    position: absolute;
    left: 33%;
    top: 40%;
}

#top .left .bold {
    font-weight: 700;
}


/* 右の縦書きテキスト */
#top .right {
    position: absolute;
    left: 63%;
    top: 25%;
}

.text-animate {
    display: inline-block;
}

.text-animate span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20%);
    animation: slideup 0.6s ease forwards;
}

@keyframes slideup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-animate span:nth-child(1) {
    animation-delay: 0.1s;
}

.text-animate span:nth-child(2) {
    animation-delay: 0.2s;
}

.text-animate span:nth-child(3) {
    animation-delay: 0.3s;
}

.text-animate span:nth-child(4) {
    animation-delay: 0.4s;
}

.text-animate span:nth-child(5) {
    animation-delay: 0.5s;
}

.text-animate span:nth-child(6) {
    animation-delay: 0.6s;
}

.text-animate span:nth-child(7) {
    animation-delay: 0.7s;
}

.text-animate span:nth-child(8) {
    animation-delay: 0.8s;
}

.text-animate span:nth-child(9) {
    animation-delay: 0.9s;
}

.text-animate span:nth-child(10) {
    animation-delay: 1s;
}

.text-animate span:nth-child(11) {
    animation-delay: 1.1s;
}

.text-animate span:nth-child(12) {
    animation-delay: 1.2s;
}

.text-animate span:nth-child(13) {
    animation-delay: 1.3s;
}

.text-animate span:nth-child(14) {
    animation-delay: 1.4s;
}

.text-animate span:nth-child(15) {
    animation-delay: 1.5s;
}

.text-animate span:nth-child(16) {
    animation-delay: 1.6s;
}

/* ====== テキストとボタンのアニメーション ====== */
#top .back_img li a.btn {
    position: absolute;
    left: 30%;
    right: 0;
    margin: 0 auto;
    z-index: 10;
    opacity: 0;
    transform: translateY(40px) scale(1);
    transition: 0.6s ease;
}


/* aタグは少し遅れて出す */
#top .back_img li a.fade-target {
    display: inline-block;
    transition-delay: 0.4s;
}

#top .btn {
    position: relative;
    bottom: 10%;
    display: inline-block;
    width: 200px;
    padding: 64px 0;  /* 上56 / 右0 / 下72 / 左0 に変更 */
    background-color: #FFD500;
    border: 1px solid #ccc;
    color: #fff;
    border-radius: 50%; /* ← ここを変更！ */
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    overflow: visible;
    z-index: 2;
    transition: 0.5s;
    transform-origin: center center;
}

#top .btn::before {
    content: "";
    position: absolute;
    bottom: 37%;
    right: 10%;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 17px solid #fff;
}

#top .btn span {
    display: block;
    font-size: 1.9rem;
    /*margin-top: 60px;　← -60になってたのでここを変更！ */
}

#top .back_img li a.btn:hover {
    transform: translateY(0) scale(1.05);
    /* ← translate を消さない！ */
    opacity: 0.85;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 275px;
    height: 275px;
    transform: translate(-50%, -50%);
    animation: rotateText 10s linear infinite;
    z-index: 1;
}

.circle-text svg {
    width: 100%;
    height: 100%;
}

.circle-text text {
    fill: #000;
    font-size: 9px;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.1em;
}

@keyframes rotateText {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


#top .back_img li a.btn.show {
    opacity: 1;
    transform: translateY(0);
}

#top .back_img li a.btn {
    transition-delay: 0.35s;
}

#top .back_img .sec_text {
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top: 25%;
    right: 28%;
    font-size: 2.5rem;
}

#top .back_img .sec_text span {
    writing-mode: vertical-rl;
    /* 縦書き（右→左） */
    text-orientation: upright;
    /* 縦書きで文字を正立 */
    display: inline-block;
    line-height: 2.5;
}

#top .back_img .sec_text .second {
    margin-top: 100px;
}

#top .back_img p {
    position: absolute;
    font-size: 2.5rem;
    writing-mode: vertical-rl;
    /* 縦書き（右→左） */
    text-orientation: upright;
    white-space: nowrap;
}


#top .back_img p span {
    writing-mode: horizontal-tb;
    /* 子は横書き */
    text-orientation: mixed;
    /* 横向きの数字が自然になる */
    display: inline-block;
    /* 必須：これがないと崩れやすい */
}

#top .back_img p .numbers {
    font-size: 4rem;
    font-weight: bold;
}

#top .back_img p .number {
    font-weight: bold;
    font-size: 3rem;
}

#top .back_img .one {
    top: 30%;
    right: 30%;
}

#top .back_img .two {
    top: 60%;
    right: 35%;
}

#top .back_img .three {
    top: 65%;
    right: 50%;
}

#portfoli {
    margin-bottom: 100px;
    padding-top: 100px;
    position: relative;
}

#portfoli::before {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #8d8d8d;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#portfoli .sec_title {
    margin-left: 5%;
    width: 195px;
    margin-bottom: 50px;
}

#portfoli .scroll-btn {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-right: 50px;
}

#portfoli .scroll-btn button {
    width: 36px;
    height: 36px;
    color: var(--arrow-color);
    background-color: var(--arrow-background-color);
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

#portfoli .scllor {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding: 100px;
    padding: 0 50px;
    gap: 30px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

#portfoli .scllor .portfoli_item {
    flex-shrink: 0;
    width: 250px;
    scroll-snap-align: start;
}

#portfoli .scllor .portfoli_item img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
    color: #FFD500 !important;
}

#portfoli .scllor .portfoli_item .portfoli_title {
    padding: 10px 0;
    font-weight: bold;
    font-size: 0.7rem;
}


.menber {
    padding-top: 100px;
    position: relative;
    margin-bottom: 100px;
    width: 100%;
}

.menber::before {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #8d8d8d;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.menber .sec_title {
    margin-left: 50px;
    width: 205px;
}

.menber .member_text {
    padding: 0 50px;
    margin: 100px 0 50px 0;
    position: relative;
    font-size: 1.2rem;
    line-height: 1.9;
}

.menber .member_text::after {
    content: "";
    height: 1px;
    width: 100px;
    background-color: #121212;
    position: absolute;
    top: -50px;
    left: 50px;
}

.title-container .title {
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: .8px;
    color: #000;
}

.title-container .buttom {
    display: flex;
    align-items: center;
    gap: 16px;
}

.title-container .buttom button {
    width: 36px;
    height: 36px;
    color: var(--arrow-color);
    background-color: var(--arrow-background-color);
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.title-container .buttom svg {
    width: 22;
    height: 22;
    fill: none;
}

.sec_item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2列 */
    gap: 40px;
    /* アイテム間の余白（調整可） */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.sec_item .people a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sec_item .people img {
    width: 100%;
    height: 10%;
    border-radius: 8px;
    /* お好みで */
    object-fit: cover;
}

.sec_item .name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: normal;
}

#approach {
    margin-bottom: 100px;
    padding-top: 100px;
    position: relative;
}

#approach::before {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #8d8d8d;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#approach .sec_title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-right: 5%;
    width: 95%;
}

#approach .sec_title .ja {
    margin-right: 10px;
}

#approach .text p {
    margin-bottom: 30px;
}


#secsns {
    margin-bottom: 100px;
    padding-top: 100px;
    position: relative;
}

#secsns02 {
    margin-bottom: 0px;
    padding-top: 100px;
    position: relative;
}

#secsns::before {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #8d8d8d;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#secsns .sec_title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-right: 5%;
    margin-bottom: 100px;
    width: 95%;
}

#secsns .sec_title .ja {
    margin-right: 10px;
}

#secsns dl {
    padding: 0 100px;
    font-size: 1.2rem;
    position: relative;
    line-height: 1.9;
}

#secsns dl::after {
    content: "";
    height: 1px;
    width: 70px;
    background-color: #121212;
    position: absolute;
    top: -50px;
    left: 100px;
}

#secsns dt {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: 10px;
}

#secsns dd {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.6;
    letter-spacing: 0;
    margin: 0 0 60px 0px;
}

#secsns p {
    padding: 0 100px;
}


#message {
    margin-bottom: 100px;
    padding-top: 100px;
    position: relative;
}

#message::before {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #8d8d8d;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#message .sec_title {
    margin-left: 5%;
    width: 195px;
}


#message .text p {
    margin-bottom: 20px;
}

#message li {
    margin-left: 30px;
}

.mail {
    padding: -100px 30px 100px 30px;
    position: relative;
}

.mail::before {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #8d8d8d;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.mail .sec_title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-right: 5%;
    margin-bottom: 150px;
    width: 95%;
}

.mail .btn {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 10%;
    display: inline-block;
    width: 170px;
    padding: 57px 0;
    margin: 0 auto;
    border: 1px solid #000;
    border-radius: 50%;
    color: #000;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    overflow: visible;
    z-index: 10;
    transition: 0.5s;
    transform-origin: center center;
}

.mail .btn::before {
    content: "";
    position: absolute;
    bottom: 38%;
    right: 10%;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 17px solid #fff;
}

.mail .btn span {
    display: block;
    font-size: 1.5rem;
}

.mail .btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.8;
}

.mail .circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    transform: translate(-50%, -50%);
    animation: rotateText 10s linear infinite;
    z-index: 1;
}

.mail .circle-text svg {
    width: 100%;
    height: 100%;
}

.mail .circle-text text {
    fill: #000;
    font-size: 9px;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.1em;
}

@keyframes rotateText {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


.mail .item {
    width: 70%;
/* background-color: #FFD500; ← これ削除 */
    padding: 30px 30px 20px 30px;
    border-radius: 20px;
    text-align: center;
    margin: 0 auto;
}

.mail .item p {
    font-size: 1.2rem;
}

.mail .item .button {
    margin: 20px auto 0px auto;
	background-color: #FFD500; /* ← 黄色 */
    border: 0px solid #fff;   /* ← ここを修正 */
    border-radius: 50px;
    width: 55%;
    padding: 14px 0;
    transition: 0.3s;
    display: block;
    font-size: 1.0rem;
	font-weight: 600;     /* ← 太く */
    text-align: center;
    color: #fff;
}

.mail .item .button:hover {
    background-color: #FFD500;
    color: #fff;
}


#footer {
    text-align: center;
}

#footer .info {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#footer img {
    width: 60px;
}

#footer .footer_item h1 {
    text-align: left;
    font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif;
    font-weight: 900;
    /* ここを900にする */
    font-size: 1.3rem;
    /* お好みで */
    letter-spacing: 0.05em;
    /* 微調整 */
    line-height: 1;
    margin-left: 5px;
}

#footer .font {
    font-size: 1.3rem;
    font-weight: 100;
    color: #8d8d8d;
    padding-bottom: 10px;

}

#footer .copy {
    background-color: #000;
    letter-spacing: 0.1em;
    color: #ffffff;
}


@media screen and (max-width:1050px) {

    #top .back_img .sec_text {
        right: 20%;
    }

    #top .back_img p {
        font-size: 2rem;
    }


    #top .back_img p .numbers {
        font-size: 3.3rem;
    }

    #top .back_img p .number {
        font-size: 2.7rem;
    }

    #top .back_img .one {
        top: 30%;
        right: 30%;
    }

    #top .back_img .two {
        top: 60%;
        right: 35%;
    }

    #top .back_img .three {
        top: 65%;
        right: 50%;
    }
}


@media screen and (max-width:768px) {
    .sec_title {
        font-size: 1.5rem;
    }

    .text {
        padding: 0 30px;
        font-size: 1rem;
    }

    .text::after {
        top: -50px;
        left: 30px;
    }

    #header {
        padding: 10px 0 0 20px;
    }

    .logo h1 {
        top: 25px;
        left: 85px;
    }

    .hamburger {
        right: 30px;
    }

    #nav {
        height: 50vh;
    }

    #nav li {
        padding: 10px 0;
    }

    #top {
        padding-top: 108px;
        margin-bottom: 0;
    }

    #top .left {
        left: 20%;
    }

    #top .right {
        left: 75%;
    }

    #top .back_img li:nth-child(1) img {
        width: 30%;
        top: 40%;
        left: 35%;
    }

    #top .back_img li:nth-child(1)::after {
        top: calc(48% + 20%);
        /* 画像の少し下に配置（調整OK） */
        width: 20%;
    }

    #top .back_img li:nth-child(2) img {
        width: 100%;
        left: 10%;
    }

    /* ---------- 円ボタン＋円周文字 ---------- */
    .circle {
        gap: 15px;
    }

    .circle-wrap {
        bottom: 8%;
        right: 20%;
    }

    #top .back_img li p.name {
        font-size: 1.3rem;
        bottom: 30%;
    }

    #top .back_img li a.btn {
        bottom: 7%;
    }

    #top .back_img .sec_text {
        right: 10%;
        font-size: 2rem;
    }

    #top .back_img p .numbers {
        font-size: 3rem;
    }

    #top .back_img p .number {
        font-size: 2.3rem;
    }

    #top .back_img .one {
        top: 30%;
        right: 25%;
    }

    #top .back_img .three {
        right: 55%;
    }

    #portfoli .scllor {
        padding: 0 30px;
        gap: 30px;
    }

    .menber .sec_title {
        margin-left: 30px;
    }

    .menber .member_text {
        padding: 0 30px;
        font-size: 1rem;
    }

    .menber .member_text::after {
        left: 30px;
    }

    .menber .sec_item {
        gap: 30px;
    }

    #approach .content {
        padding: 0 20px;
    }

    #approach .app_item {
        border: #121212 solid 1px;
        border-radius: 30px;
        padding: 30px 40px;
        margin-bottom: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    #approach .app_item p {
        font-size: 1rem;
    }

    #approach .app_item img {
        width: 150px;
    }

    #approach .app_item .app_title {
        font-size: 1.5rem;
    }

    #secsns dl {
        padding: 0 30px;
    }

    #secsns dl::after {
        left: 30px;
    }

    #secsns dd {
        margin: 0 0 30px 15px;
    }

    #secsns p {
        padding: 0 30px;
    }

    #message .sec_title {
        margin-left: 30px;
    }

    .mail {
        padding: 100px 30px 100px 30px;
    }

    .mail .sec_title {
        width: 100%;
        margin-right: 0;
    }

    .mail .item .title {
        font-size: 1.5rem;
    }

    .mail .item {
        width: 100%;
    }

    #footer .info {
        margin-bottom: 10px;
    }
}

@media screen and (max-width:480px) {

    .text {
        padding: 0 20px;
    }

    .text::after {
        left: 20px;
    }


    #header {
        padding: 10px 0 0 10px;
    }

    .logo h1 {
        top: 25px;
        left: 75px;
    }

    .hamburger {
        right: 15px;
    }

    .hamburger span {
        width: 15px;
        height: 15px;
    }

    .hamburger span:nth-child(1) {
        border-radius: 50%;
        left: 10px;
    }

    .hamburger span:nth-child(2) {
        left: 27px;
    }

    .hamburger span:nth-child(3) {
        left: 45px;
    }

    #header .btn {
        position: absolute;
        top: 30px;
        right: 100px;
        width: 80px;
        padding: 5px 0;
        font-size: 0.75rem;
    }


    #top {
        min-height: 100vh;
    }

    #top .back_img li {
        height: 100vh;
    }


    #top .back_img li img {
        width: 32%;
        top: 40%;
        left: 35%;
    }

    #top .left {
        left: 15%;
    }

    /* 右の縦書きテキスト */
    #top .right {
        left: 80%;
    }

    #top .back_img li:nth-child(2) img {
        width: 100%;
        left: 0;
        top: 13%;
    }

    #top .back_img li:nth-child(3) img {
        top: 10%;
    }

    #top .title {
        font-size: 1.7rem;
    }

    #top .back_img li a.btn {
        bottom: 5%;
        left: 35%;
    }

    #top .btn {
        width: 150px;
        padding: 51px 0;
        font-size: 0.8rem;
    }

    #top .btn::before {
        right: 5%;
    }

    #top .btn span {
        font-size: 1.5rem;
    }

    .circle-text {
        width: 220px;
        height: 220px;
    }


    /* ---------- 円ボタン＋円周文字 ---------- */
    .circle-wrap {
        bottom: 15%;
        right: 5%;
        width: 200px;
        height: 200px;
    }

    #top .back_img li p.name {
        font-size: 1.3rem;
        bottom: 30%;
    }

    #top .back_img li a.btn {
        bottom: 7%;
    }

    #top .back_img .sec_text {
        right: 10%;
        font-size: 1.7rem;
    }

    #top .back_img p {
        font-size: 1.7rem;
    }

    #top .back_img p .numbers {
        font-size: 2.7rem;
    }

    #top .back_img p .number {
        font-size: 2rem;
    }

    #top .back_img .one {
        top: 30%;
        right: 10%;
    }

    #top .back_img .two {
        top: 65%;
        right: 28%;
    }

    #top .back_img .three {
        top: 73%;
        right: 55%;
    }


    #portfoli .scroll-btn {
        padding-right: 20px;
    }

    #portfoli .scllor {
        padding: 0 20px;
        gap: 20px;
    }

    #portfoli .scllor .portfoli_item {
        width: 250px;
    }

    .menber .sec_title {
    .menber .sec_title {
        margin-left: 20px;
    }

    .menber .member_text {
        padding: 0 20px;
    }

    .menber .member_text::after {
        left: 20px;
    }

    .menber .sec_item {
        gap: 20px;
        padding: 0 20px 30px 20px;
    }

    #approach .sec_title {
        width: 98%;
    }

    #approach .text p {
        font-size: 0.9rem;
    }

    #secsns .sec_title {
        width: 98%;
    }


    #secsns dl {
        padding: 0 20px;
    }

    #secsns dl::after {
        left: 20px;
    }

    #secsns dt {
        font-size: 1.2rem;
    }

    #secsns dd {
        margin: 0 0 20px 15px;
        font-size: 0.9rem;
    }

    #secsns p {
        padding: 0 20px;
    }

    #message .sec_title {
        margin-left: 20px;
    }

    .mail {
        padding: 100px 20px 100px 20px;
    }

}

/* ろっきーの上3行を全体と同じ太さ・大きさにそろえる */
.menber .sec_item .people p.name {
    font-size: 0.8rem !important;       /* 全体と同じ基準サイズ */
    font-weight: normal !important;   /* 太字を消して標準に */
    line-height: 1.6;
}

/* 「ニューヨークで彫刻家に師事…」だけ小さくする */
.menber .sec_item .people p.name .profile-small {
    font-size: 0.6rem !important;     /* ← 小さめに調整（見た目でわかりやすい） */
    font-weight: normal !important;   /* 細字 */
    line-height: 1.8;                 /* 読みやすい行間 */
    display: block;
    opacity: 0.85;                    /* 少し控えめに */
}

/* 仕事の流れのタイトル(dt)を他と同じサイズに揃える */
#secsns dt {
    margin-bottom: 10px;
}

#secsns dd {
    margin: 0 0 50px 0px;
    font-size: 1rem;      /* ← ここで「面談といっても〜」の大きさを指定 */
    line-height: 1.6;     /* ← 行間も整える（好みでOK） */
}

/* 面談といっても、まず… の段落だけ確実にサイズを統一 */
#secsns dd p {
    font-size: 1rem !important;      /* ← 既存の1.2rem・0.9remを上書きする */
    font-weight: normal !important;
    line-height: 1.6;
}

/* 仕事の流れ（Workflow）の文字サイズを統一する */
#secsns dt,
#secsns dd {
    font-size: 1rem !important;     /* ← 他の本文と同じ大きさに揃える */
    font-weight: normal !important; /* ← dt の太字を解除 */
    line-height: 1.6;
}

/* dt（1,WEB面談の実施）と dd（説明文）の見た目を完全統一する */
#secsns dt,
#secsns dd {
    font-size: 1rem !important;       /* ← 他と同じサイズに強制 */
    font-weight: normal !important;   /* ← dt の太字を消す */
    line-height: 1.6 !important;      /* ← 行間を揃える */
    letter-spacing: 0 !important;     /* ← 微妙なズレを防ぐ */
}

.mail {
    background: #000;   /* 黒背景 */
    color: #fff;        /* ← 文字を白にする（見えるようにする） */
}

.mail .circle-text text {
    fill: #fff !important;
}

/* Contact セクション：円周テキストを白く */
.mail .circle-text text {
    fill: #fff !important;
}

/* Contact セクション：円の外枠（●）も白く */
.mail .circle-text .progress-ring,
.mail .circle-text .progress-ring-buttom,
.mail .circle-text circle,
.mail .circle-text path {
    stroke: #fff !important;
}

/* フッターを黒背景＋白文字に */
#footer {
    background: #000 !important;
    color: #fff !important;
}

#footer * {
    color: #fff !important;
}

/* フッターの「小さな事業専門の投資」を小さく */
#footer .font {
    font-size: 0.8rem !important;   /* ← 好きな大きさに調整可能 */
}

/* 今すぐ無料診断の文字を白にする */
.mail .btn,
.mail .btn span {
    color: #fff !important;
}

/* 各種ご相談はこちらからご連絡ください → 白文字にする */
.mail .item p {
    color: #fff !important;
    font-size: 0.8rem;
    line-height: 1.6;
}

@media screen and (max-width:480px) {

    /* iPhoneなどスマホで見るときだけ、
       投資先スライダー内のタイトル文字を小さくする */
    #portfoli .scllor .portfoli_item .portfoli_title {
        font-size: 0.7rem;
        color: #FFD500 !important;
    }

}

/* 四角の青ラインを必ず黄色にする最強上書き */
#top svg rect.progress-rect {
    stroke: #FFD500 !important;
    fill: none !important;
}

.portfoli_item {
    position: relative;
}

.portfoli_item .portfoli_title {
    position: absolute;
    bottom: 10px; 
    left: 10px;
}

/* ---- 「も・う・一・歩・前・へ」専用：強め もあんもあんネオン ---- */
.neon-only span {
    color: #FFD500;
    animation: neonMoanStrong 1.8s ease-in-out infinite alternate;
}

/* 「も・う・一・歩・前・へ」専用：強めだけど見えるネオン */
.neon-only span {
    color: #ffffff;  /* ← 文字は白にして輪郭を出す */
    animation: neonMoanStrong 2s ease-in-out infinite alternate;
}

/* ---- 「も・う・一・歩・前・へ」専用：弱めネオン（黒文字対応） ---- */
.neon-only span {
    color: #000; /* 黒文字 */
    animation: neonMoanWeak 2.2s ease-in-out infinite alternate;
}

@keyframes neonMoanWeak {
    0% {
        text-shadow:
            0 0 2px  #FFD500,
            0 0 4px  #FFD500,
            0 0 6px  #FFD500;
    }
    100% {
        text-shadow:
            0 0 4px  #FFD500,
            0 0 8px  #FFD500,
            0 0 12px #FFD500;
    }
}

/* ドット不要のリスト専用 */
.no-dot li {
    list-style: none !important;
    padding-left: 0 !important;
}


#footer .copy {
    font-size: 0.7rem;
}

/* ドット不要のリスト専用 */
.no-dot li {
    list-style: none !important;
    padding-left: 0 !important;
}


#footer .copy {
    font-size: 0.7rem;
}


/* ハンバーグメニュー */
/* --- メニュー全体の黒背景を最下部まで伸ばす --- */
#nav {
    position: fixed;
    top: 0px;   
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 20;
}

#nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- HOME パンくず --- */
#nav .breadcrumb {
    padding: 0 20px 10px;
    font-size: 0.85rem;
    text-align: left;
	margin-top: 100px;  /* ← HOME を 120px 下から開始 */
}

#nav .breadcrumb a {
    color: #fff;
    text-decoration: none;
}

/* ここにハンバーガーメニューの調整CSSを追加していきます */


/* 画像の左右が切れないように黒背景を大きくする */
#nav .menu-item a {
background: #000;
padding: 20px 24px 24px; /* ← 左右の黒背景を広げる */
border-radius: 18px;
display: block;
}


/* 画像サイズ（内側）はそのまま中央に収まる */
#nav .menu-item img {
width: 100%;
height: 220px;
object-fit: contain; /* ← 画像の端が切れないように */
background: #000; /* ← 余白が黒になる */
padding: 2px; /* ← 画像の周囲に黒余白をつける */
border-radius: 12px;
}




/* ================================
シンプルな「画像 → テキスト」カード配置（最優先で適用）
================================ */


/* カード全体（黒背景なし / 余白少なめ / 正常な比率で表示） */
#nav .menu-item a {
display: block;
background: #000; /* 背景黒 */
border-radius: 12px;
padding: 5px 5px; /* カード内の余白 */
text-align: center;
text-decoration: none;
color: #fff;
}


/* 画像：自然な比率そのまま、切れない、縮まない */
#nav .menu-item img {
width: 100%;
height: auto; /* ← 画像を自然な比率でそのまま表示 */
object-fit: contain; /* ← 切れない */
display: block;
margin-bottom: 3px; /* 画像とテキストの間 */
border-radius: 8px;
background: #000;
}


/* テキスト：画像のすぐ下に配置 */
#nav .menu-item span {
font-size: 0.8rem;
display: block;
margin-top: -10px;
letter-spacing: 0.03em;
color: #fff;
}


/* 2列レイアウト（最適化） */
#nav .menu-list {
display: grid;
grid-template-columns: 1fr 1fr; /* 2列 */
gap: 18px;
padding: 0px 5px 0px 0px;
}


#nav .menu-item {
width: 100%;
}

@media screen and (max-width:768px) {
    #nav {
        height: 100vh !important;
        bottom: 0 !important;
    }
}

/* ---------------------------------------
   ホーム画面の6枚メニュー（画像カード）を小さく整える
----------------------------------------- */

.menu-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2列 */
    gap: 12px; /* 上下左右の間隔を詰める */
	padding-left: 20px !important;
    padding-right: 20px !important;
}

.menu-item {
    background: #000;
    border-radius: 16px;
    padding: 10px;  /* カード内の余白を小さく */
    text-align: center;
}

.menu-item img {
    width: 75%;           /* 画像を小さくして画面に収める */
    max-width: 130px;
    display: block;
    margin: 0 auto 6px auto;
}

.menu-item span {
    display: block;
    font-size: 0.75rem;   /* 文字も少し小さく */
    margin-top: 4px;
}

/* iPhoneなど狭い画面用の調整 */
@media screen and (max-width:480px) {
    .menu-list {
        gap: 10px;
        padding: 10px;
    }

    .menu-item {
        padding: 8px;
    }

    .menu-item img {
        width: 70%;
        max-width: 120px;
    }

    .menu-item span {
        font-size: 0.7rem;
        margin-top: 3px;
    }
}


#secsns li.shift-right {
    margin-left: 15px;
}