/* ========================================
    all    
========================================= */

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    background-color: #F3F4F9;
    overflow-x: hidden;
}

/* 背景の質感：iPhoneは「background-attachment: fixed」に対応していないため、
   画面に固定した疑似要素に背景を敷いて、どの端末でも引き伸ばされないようにする */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url(../images/bg-pc.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #565D6B;
    line-height: 2.0;
    letter-spacing: 0.1em;
    overflow-x: hidden;
}

.kodchasan {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: normal;
}

.shanti {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.2em;
}


a {
    color: #565D6B;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 120px);
    margin: 0 auto;
}

.se_title {
    width: 100%;
    max-width: 1120px;
    height: min-content;
}

h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.2em;
}

.title_bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.title_line {
    width: 60px;
    height: 1px;
    background-color: #565D6B;
}

.button a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    font-size: 20px;
}

.button a::before{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(212, 216, 231, 0.7);
    z-index: -1;
    transition: background 0.3s ease;
}

.button a:hover::before {
    background-color: rgba(195, 200, 219, 0.9);
}

.button .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.button:hover .arrow {
    transform: translateX(6px);
}

.small {
    font-size: 20px;
}

/* ========================================
    index.html    
========================================= */
/* header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.hamburger {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    top: 60px;
    right: 60px;
    width: 64px;
    height: 64px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 101;
}

.hamburger:hover {
    background: rgba(212, 216, 231, 0.7);
}

.hamburger span {
    display: block;
    width: 54px;
    height: 1px;
    background-color: #565D6B;
    border-radius: 1px;
    transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(16px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-16px) rotate(-45deg);
}

.menu_nav {
    position: fixed;
    top: 0;
    right: -100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 60px;
    width: calc(100% - 120px);
    max-width: 300px;
    height: 100vh;
    background-color: #F2F3F8;
    z-index: 100;
    transition: right 0.7s ease;
}

.menu_nav.active {
    right: 0;
}

.menu .menu_nav .menu_logo,
.menu .menu_nav .menu_list,
.menu .menu_nav .copyright {
  opacity: 0;
  transition: opacity 0.6s ease;
  transition-delay: 0.7s;
}

.menu .menu_nav.active .menu_logo,
.menu .menu_nav.active .menu_list,
.menu .menu_nav.active .copyright {
  opacity: 1;
}


@media (min-width: 1024px) {
    .hamburger {
        opacity: 0;
        pointer-events: none;
        transition: 0.4s;
    }

    .hamburger.show {
        opacity: 1;
        pointer-events: auto;
    }
}

.menu_logo {
    width: 100%;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 0.2em;
}

.menu_list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 60px 0;
    width: 100%;
    border-top: 1px solid #565D6B;
    border-bottom: 1px solid #565D6B;
}

.menu_item a {
    position: relative;
    display: flex;
    gap: 32px;
    align-items: center;
    padding-left: 24px;
    font-size: 20px;
}

.menu_item a::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -1;
    transition: background 0.3s ease;
}

.menu_item a:hover::before {
    background-color: rgba(195, 200, 219, 0.9);
}

.menu_item .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu_item:hover .arrow {
    transform: translateX(6px);
}

.copyright {
    font-size: 14px;
}

/* fv */
.fv {
    position: relative;
    width: 100%;
    height: 100vh;
}

.fv_top {
    display: flex;
    justify-content: space-between;
    padding: 60px 80px 120px;
}

.fv_logo {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.4;
    letter-spacing: 0.2em;
}

.logo_bottom {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-top: 12px;
}

.logo_line {
    width: 60px;
    height: 1px;
    background-color: #565D6B;
}

.logo_text {
    font-size: 16px;
    letter-spacing: 0.2em;
}

.fv_list {
    display: flex;
    gap: 80px;
}

.fv_item a {
    letter-spacing: 0.2em;
}

.fv_item a:hover {
    opacity: 0.6;
}

.fv_img {
    position: absolute;
    bottom: -300px;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: 1;
}

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

.fv_img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.3);
}

.fv_circle {
    position: absolute;
    top: -60px;
    right: 0;
    width: 30vw;
    height: auto;
    animation: spin 30s linear infinite;
    transform-origin: 50% 50%;
}

.fv_circle img {
    width: 100%;
}

@keyframes spin {
    from { transform: rotate(0deg);}
    to { transform: rotate(360deg);}
}

.soft-fade,.fade-in {
    opacity: 0;
    transition: opacity 2s ease;
}

.soft-fade.active,.fade-in.active {
  opacity: 1;
}

/* works */
.works {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    width: calc(100% - 120px);
    margin-top: 300px;
    padding: 200px 60px;
    border-bottom: 1px solid #565D6B;
}

.works_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    max-width: 1120px;
}

.works_item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
    transition: opacity 0.3s ease;
}

.works_item:hover {
    opacity: 0.7;
}

.works_left {
    position: relative;
    width: 40%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.works_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.works_item:hover .works_left img {
    transform: scale(1.05);
}

.works_right {
    width: 40%;
}

.works_title {
    margin-bottom: 32px;
    font-size: 24px;
    line-height: 1.6;
}

.s_pi {
    font-size: 16px;
    font-weight: 500;
    color: #8C93A6;
}

.works_detail {
    display: inline-block;
    margin-top: 60px;
    border-bottom: 1px solid #565D6B;
}

/* about */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    padding: 200px 60px;
    border-bottom: 1px solid #565D6B;
}

.about_item {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.about_left {
    width: 40%;
    overflow: hidden;
}

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

.about_right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.about_name {
    font-size: 32px;
    line-height: 1.4;
    letter-spacing: 0.2em;
}

/* contact */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    width: calc(100% - 120px);
    padding: 200px 60px;
    border-bottom: 1px solid #565D6B;
}

.contact_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact_mail {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 20px 120px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 60px;
    border: 1px solid #565D6B;
    font-size: 24px;
    transition: background 0.3s ease;
}

.contact_mail:hover {
    color: #fff;
    background-color: rgba(86, 93, 107, 0.3);
}

.contact_mail .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.contact_mail:hover .arrow {
    transform: translateX(6px);
}

/* footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 0;
}

/* ========================================
    works.html    
========================================= */
/* heading */
.heading {
    position: relative;
    padding: 160px 120px;
}

.circle {
    position: absolute;
    top: 60%;
    right: 0;
    width: 30vw;
    height: auto;
    z-index: -1;
    animation: spin 30s linear infinite;
    transform-origin: 50% 50%;
}

.circle img {
    width: 100%;
}

/* wo_list */
.wo_works_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.wo_works_item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    padding: 120px;
    border-bottom: 1px solid #565D6B;
    transition: opacity 0.3s ease;
}

.wo_works_item:hover {
    opacity: 0.7;
}

.wo_works_left {
    position: relative;
    width: 50%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.wo_works_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wo_works_item:hover .wo_works_left img {
    transform: scale(1.05);
}

.wo_works_right {
    width: 30%;
}

.back {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 120px 0;
    border-bottom: 1px solid #565D6B;
}

/* ========================================
    about.html    
========================================= */
/* about me */
.ab_about_item {
    display: flex;
    justify-content: center;
    gap: 120px;
    width: calc(100% - 120px);
    padding: 120px 60px 160px;
    border-bottom: 1px solid #565D6B;
}

.ab_about_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    width: calc((100% - 240px) / 2);
}

.ab_about_right {
    width: calc((100% - 240px) / 2);
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

/* skill */
.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    padding: 160px 60px;
    border-bottom: 1px solid #565D6B;
}

.skill_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    padding: 0 60px;
}

.skill_top {
    margin-bottom: 32px;
}

.l_pi {
    font-size: 32px;
    font-weight: 500;
    color: #8C93A6;
}

.br_sp {
    display: none;
}

/* strength */
.strength {
    display: flex;
    gap: 120px;
    padding: 160px 60px;
    border-bottom: 1px solid #565D6B;
}

.strength .se_title {
    max-width: 30%;
}

.strength_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.strength_item {
    padding: 0 60px;
}

.strength_item:nth-child(2) {
    padding-block: 60px;
    border-top: 1px solid #565D6B;
    border-bottom: 1px solid #565D6B;
}

.strength_top {
    margin-bottom: 32px;
    font-size: 32px;
}

/* biography */
.biography {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    width: calc(100% - 120px);
    padding: 160px 60px;
    border-bottom: 1px solid #565D6B;
}

.biography_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.biography_item dl {
    display: flex;
    gap: 60px;
}

.biography_item dt {
    position: relative;
    padding-left: 32px;
}

.biography_item dt::before {
    content: "";
    display: block;
    position: absolute;
    top: 7px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #A0AAB8;
}

/* like */
.like {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    width: calc(100% - 120px);
    padding: 160px 60px;
    border-bottom: 1px solid #565D6B;
}

.like_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 120px;
    width: 100%;
    padding: 0 60px;
}

.like_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.like_img {
    width: 320px;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.like_text {
    width: 320px;
}

.like_text .l_pi {
    font-size: 24px;
}

/* ========================================
    works-production    
========================================= */
/* production */
.production {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    width: calc(100% - 120px);
    padding: 120px 60px 160px;
}

.production_top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    width: 100%;
    max-width: 1120px;
}

.production_title {
    width: 100%;
    font-size: 32px;
}

.url {
    font-size: 20px;
}

.url_link {
    text-decoration: underline;
}

.url_link:hover {
    text-decoration: none;
    opacity: 0.6;
}

.production_img {
    width: 100%;
    max-width: 880px;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.production_list {
    width: 100%;
    max-width: 880px;
    border-top: 1px solid #565D6B;
}

.production_item dl {
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 60px 16px;
    border-bottom: 1px solid #565D6B;
}

.production_item dt {
    width: 15%;
    font-weight: 500;
    color: #8C93A6;
}

.production_item dd {
    width: 100%;
}

/* iframe */
.preview {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 120px 60px;
    background-color: rgba(212, 216, 231, 0.7);
}

.preview_text {
    width: calc(100% - 120px);
    padding-left: 40px;
    margin-bottom: 20px;
}

.switch {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.tab {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 20px;
    line-height: 24px;
    color: #565D6B;
    cursor: pointer;
}

.check {
    position: absolute;
    top: -24px;
    left: 0;
    width: 150px;
    text-align: center;
    opacity: 0;
    transition: 0.2s ease;
}

.tab.active .check {
    opacity: 1;
}

.tab_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 140px;
    height: 40px;
    border: 5px solid #fff;
    border-radius: 20px 20px 0 0;
}

.tab:hover .tab_inner {
    background-color: rgba(255, 255, 255, 0.5);
}

.tab.active .tab_inner {
    background-color: #fff;
}

.tab_inner img {
    width: 24px;
}

.frame {
    position: relative;
    width: 90%;
    aspect-ratio: 4/3;
    text-align: center;
    z-index: 1;
}

iframe {
    width: 100%;
    height: 100%;
    border: 5px solid #fff;
    border-radius: 5px;
    display: none;
}

#frame_mobile {
  width: 420px;
  margin: 0 auto;
}

/* sp_preview */
.sp_preview {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 60px 32px;
    background-color: rgba(212, 216, 231, 0.7);
}

.sp_pre_text {
    width: calc(100% - 32px);
    padding-left: 16px;
    margin-bottom: 12px;
    font-size: 14px;
}

.preview_text {
    width: calc(100% - 120px);
    padding-left: 40px;
    margin-bottom: 20px;
}

.sp_pre_img {
    width: calc(100% - 32px);
    aspect-ratio: 1/1;
    border-radius: 5px;
    border: solid 5px #fff;
    overflow: hidden;
    overflow-y: scroll;
}

.sp_pre_img img {
    width: 100%;
}

/* other works */
.other {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    width: calc(100% - 120px);
    padding: 160px 60px;
    border-bottom: 1px solid #565D6B;
}

.other_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    gap: 120px;
    width: 100%;
}

.other_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: opacity 0.3s ease;
}

.other_item:hover {
    opacity: 0.7;
}

.other_img {
    width: 300px;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.other_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.other_item:hover .other_img img {
    transform: scale(1.05);
}

.other_text {
    width: 300px;
}

.other_title {
    margin-bottom: 32px;
    font-size: 24px;
    line-height: 1.6;
}

.other_detail {
    display: inline-block;
    border-bottom: 1px solid #565D6B;
}
/* ========================================
    Flécia 追加分
========================================= */
/* プロフィール写真が決まるまでの仮の枠 */
.img_placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* 三正金型：iframeの代わりに画像でプレビュー */
.sp_preview--always {
    display: flex;
}

.sp_preview--always .sp_pre_img {
    max-width: 960px;
    aspect-ratio: 4/3;
}

.site_link {
    margin-top: 24px;
}

.site_link a:hover {
    opacity: 0.6;
}

/* ========================================
    Flécia：トップ（メインビジュアル）
========================================= */
/* ヘッダーのロゴ（クリックでトップへ） */
.header_logo {
    position: absolute;
    top: 28px;
    left: 40px;
    z-index: 101;
}

.header_logo img {
    width: 150px;
}

.header_logo:hover {
    opacity: 0.7;
}

/* 「Flécia」を絶対配置にしたため、メニューは右寄せのまま保つ */
.fv_top {
    justify-content: flex-end;
}

/* 「Flécia」とキャッチ：ロゴの下端（約108px）と写真の上端（100vh - 300px）のちょうど真ん中 */
.fv_title {
    position: absolute;
    left: 80px;
    top: calc(50vh - 96px);
    transform: translateY(-50%);
    z-index: 2;
}

.fv_logo {
    font-size: 84px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.12em;
}

.logo_bottom {
    margin-top: 16px;
}

/* 写真が決まるまでの仮の枠 */
.fv_ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #D4D8E7;
    color: #8C93A6;
    font-size: 14px;
    letter-spacing: 0.2em;
}

/* 回る円形の文字 */
.fv_circle svg {
    display: block;
    width: 100%;
    height: auto;
}

.fv_circle text {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    fill: #565D6B;
}

/* ========================================
    Flécia：Cormorant Garamondにそろえた調整
========================================= */
/* Cormorant Garamondは同じサイズだと小さく見えるため、少し大きく */
h2 {
    font-size: 42px;
    font-weight: 500;
}

.logo_text {
    font-size: 19px;
    font-weight: 500;
}

.fv_item a {
    font-size: 19px;
}

.menu_item a {
    font-size: 22px;
}

.menu_logo {
    font-size: 40px;
}

/* ヘッダーのロゴ：ハンバーガーメニューが出るタイミングで追従（固定表示）に切り替え */
.header_logo.is-fixed {
    position: fixed;
    animation: logoIn 0.4s ease;
}

/* メニューを開いたときは、メニュー内のロゴを優先（ヘッダーのロゴはメニューの下に） */
.header_logo {
    z-index: 99;
}

@keyframes logoIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ハンバーガーメニュー：開いたときの背景を少しだけ濃く */
.menu_nav {
    background-color: #DCDFEB;
}

/* メニュー背景を濃くしたのに合わせて、丸いアイコンのホバー色も少し濃く（背景と区別できるように） */
.menu_item a:hover::before {
    background-color: #C3C8DB;
}


/* PC：ハンバーガーメニューの縦位置・右の余白を、左上ロゴ（top 28px／高さ約80px／left 40px）にそろえる */
.hamburger {
    top: 36px;
    right: 36px; /* 線の右端が、画面右から40px（ロゴの左40pxと同じ）になる位置 */
}

/* ========================================
    Flécia：英語表記のリンクとWorksのホバー
========================================= */
/* 英語にしたリンクは、見出しと同じCormorant Garamondに */
.button a p:not(.arrow),
.works_detail,
.other_detail {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.button a {
    font-size: 22px;
}

/* Works：ホバーで透明度は変えない（画像の拡大はそのまま） */
.works_item:hover,
.wo_works_item:hover,
.other_item:hover {
    opacity: 1;
}

/* 「View more」と矢印を分け、下線は矢印の下まで */
.works_detail,
.other_detail {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 2px;
    border-bottom: none;
    font-size: 18px;
}

.works_detail::after,
.other_detail::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #565D6B;
}

/* ホバー：下線が右へ抜けて、左からもう一度引き直される（矢印は動かさない） */
.works_item:hover .works_detail::after,
.wo_works_item:hover .works_detail::after,
.other_item:hover .other_detail::after {
    animation: lineRedraw 0.7s ease;
}

@keyframes lineRedraw {
    0%   { transform: scaleX(1); transform-origin: right; }
    50%  { transform: scaleX(0); transform-origin: right; }
    50.1%{ transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

/* ========================================
    Flécia：ホバー時の丸とロゴ
========================================= */
/* 丸の色：View all・ハンバーガー・トップのメニューを #C3C8DB にそろえる */

/* 左上ロゴ：ホバーでふわっと薄く */
.header_logo {
    transition: opacity 0.4s ease;
}

.header_logo:hover {
    opacity: 0.6;
}

/* View all などのボタン・開いたメニューの項目：
   丸の拡大はやめて、元の「ホバーで丸の色が濃くなる」動きに戻す（元のスタイルをそのまま使用） */

/* ハンバーガーメニュー：ボタン自体の背景は使わず、ひとまわり大きい丸を透明度だけでふわっと表示 */
.hamburger:hover {
    background: transparent;
}

.hamburger::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: rgba(212, 216, 231, 0.7);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.hamburger:hover::before {
    opacity: 1;
}

/* トップ右上のメニュー：透明度は変えず、文字の左端に丸を透明度だけでふわっと表示 */
.fv_item a {
    position: relative;
    display: inline-block;
    isolation: isolate; /* 丸を文字のすぐ後ろに表示するため */
}

.fv_item a:hover {
    opacity: 1;
}

.fv_item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(212, 216, 231, 0.7);
    z-index: -1;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.fv_item a:hover::before {
    opacity: 1;
}

/* ========================================
    Flécia：ホバー・切り替えをすべて「ふわっと」に統一（0.5秒）
========================================= */
/* 丸の色が変わるもの */
.button a::before,
.menu_item a::before {
    transition: background-color 0.5s ease;
}

/* 丸がふわっと現れるもの */
.hamburger::before,
.fv_item a::before {
    transition: opacity 0.5s ease;
}

/* 左上ロゴ */
.header_logo {
    transition: opacity 0.5s ease;
}

/* お問い合わせのメールボタン（背景と文字の色） */
.contact_mail {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* 実績ページのURLリンク・「実際のサイトを見る」リンク（瞬時に変わっていたもの） */
.url_link,
.site_link a {
    transition: opacity 0.5s ease, text-decoration-color 0.5s ease;
}

/* URLリンクの下線は「消える」だと瞬時になるため、色を透明にしてふわっと消す */
.url_link {
    text-decoration-color: currentColor;
}

.url_link:hover {
    text-decoration: underline;
    text-decoration-color: transparent;
}

/* 実績ページのPC／Mobile切り替えタブ（瞬時に変わっていたもの） */
.tab_inner {
    transition: background-color 0.5s ease;
}

.check {
    transition: opacity 0.5s ease;
}

/* ========================================
    service.html
========================================= */
.sv_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    width: 100%;
    max-width: 1120px;
    padding: 120px 0;
    border-bottom: 1px solid #565D6B;
}

.sv_service {
    gap: 80px;
    padding-top: 0;
}

.sv_kinds,
.sv_lead,
.sv_methods {
    width: 100%;
}

.sv_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sv_tags li {
    padding: 10px 24px;
    border-radius: 999px;
    background-color: rgba(212, 216, 231, 0.7);
    font-size: 15px;
    letter-spacing: 0.05em;
}

.sv_tags_note {
    margin-top: 24px;
}

.sv_lead p {
    line-height: 2;
}

.sv_small {
    margin-top: 12px;
    font-size: 13px;
    color: #8C93A6;
}

.sv_methods_lead {
    margin-bottom: 32px;
}

.sv_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sv_card {
    padding: 40px 32px;
    border: 1px solid rgba(160, 170, 184, 0.5);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.4);
}

.sv_card_name {
    margin-bottom: 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.sv_card_text {
    font-size: 15px;
    line-height: 1.9;
}

.sv_num {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #8C93A6;
}

.sv_points {
    width: 100%;
    max-width: 840px;
}

.sv_point_item {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #A0AAB8;
}

.sv_point_item:first-child {
    padding-top: 0;
}

.sv_point_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sv_point_title {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 500;
}

.sv_point_item p:not(.sv_num) {
    line-height: 2;
}

.sv_flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;
}

.sv_flow li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.sv_flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 1px;
    background-color: #A0AAB8;
}

.sv_flow p {
    font-size: 15px;
    line-height: 1.7;
}

/* service（トップ） */
.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    width: calc(100% - 120px);
    padding: 200px 60px;
    border-bottom: 1px solid #565D6B;
}

.service_item {
    width: 100%;
    max-width: 1120px;
}

.service_text {
    margin-top: 48px;
    line-height: 2;
}

/* 実績詳細（新しい構成） */
.pd_top {
    gap: 100px;
}

.pd_title {
    max-width: 880px;
    font-size: 16px;
}

.pd_name {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
}

.pd_kind {
    margin-top: 4px;
    font-size: 15px;
    color: #8C93A6;
}

.pd_tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.pd_tags li {
    padding: 4px 16px;
    border: 1px solid #A0AAB8;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.05em;
}

.pd_tags .pd_tags_sep {
    padding: 0 4px;
    border: none;
    color: #A0AAB8;
}

.pd_tags .pd_tag_method {
    border-color: transparent;
    background-color: rgba(212, 216, 231, 0.7);
}

.pd_text {
    margin-top: 40px;
    line-height: 2;
}

.pd_info .url {
    margin-top: 24px;
    font-size: 16px;
}

.pd_img_ph {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #8C93A6;
}

.pd_points li {
    position: relative;
    padding-left: 1.2em;
    line-height: 1.9;
}

.pd_points li + li {
    margin-top: 12px;
}

.pd_points li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.pd_gallery {
    width: 100%;
    max-width: 1120px;
}

.pd_gallery_ph {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1120 / 700;
    color: #8C93A6;
}

.pd .production_item dt {
    flex-shrink: 0;
    width: 7em;
    white-space: nowrap;
}

/* 実績一覧：仮の枠も横幅いっぱいに */
.wo_works_list > li {
    width: 100%;
}

/* トップのWorks：仮の枠も同じ幅に */
.works_list {
    width: 100%;
}

.works_list > li {
    width: 100%;
}

/* 実績詳細：説明はモックアップの下にまとめる */
.pd_info {
    width: 100%;
    max-width: 880px;
}

.pd_info .pd_tags {
    margin-top: 0;
}

.pd .pd_info + .production_list {
    margin-top: -80px;
}

/* プロフィール文 */
.about_right {
    flex: 1;
    max-width: 560px;
}

.about_text p {
    line-height: 2;
}

.about_text p + p {
    margin-top: 1.5em;
}

.about {
    width: calc(100% - 120px);
}

.about_item {
    width: 100%;
    max-width: 1120px;
    align-items: flex-start;
}

/* トップ写真（picture要素でも全面に） */
.fv_img picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* プロフィール写真 */
.about_left {
    width: 32%;
    max-width: 360px;
}

.about_photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 5px;
}

/* 料金の目安 */
.sv_price_box {
    width: 100%;
    max-width: 840px;
}

.sv_price_table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #A0AAB8;
}

.sv_price_caption {
    caption-side: top;
    margin-bottom: 16px;
    font-size: 13px;
    color: #8C93A6;
    text-align: right;
}

.sv_price_table th,
.sv_price_table td {
    padding: 24px 16px;
    border-bottom: 1px solid #A0AAB8;
    font-weight: 400;
    vertical-align: middle;
}

.sv_price_table th {
    text-align: left;
}

.sv_price_table td {
    text-align: right;
    white-space: nowrap;
}

.sv_price_notes {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.9;
    color: #8C93A6;
}

/* 斜めに並べた画像 */
.pd_gallery_img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}
