/*
Theme Name: Retro First View for Cocoon
Theme URI: https://automatic-retro.com/
Description: automatic-retro.com専用のCocoon子テーマ。参考デザインに合わせた編集可能な1ページ構成。
Author: Retro
Template: cocoon-master
Version: 2.1.0
Text Domain: retro-firstview
*/

:root{--r-red:#cf101d;--r-red-dark:#ae0a15;--r-ink:#151515;--r-muted:#555b63;--r-line:#e3e5e8;--r-soft:#fafafa;--r-shadow:0 4px 16px rgba(20,24,28,.08)}
html{scroll-behavior:smooth}
body.retro-onepage-active{margin:0;background:#fff;color:var(--r-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
body.retro-onepage-active .header-container,body.retro-onepage-active #navi,body.retro-onepage-active .mobile-header-menu-buttons,body.retro-onepage-active .mobile-footer-menu-buttons,body.retro-onepage-active #content,body.retro-onepage-active .footer-container,body.retro-onepage-active .go-to-top{display:none!important}
body.retro-onepage-active *{box-sizing:border-box}
.retro-home{background:#fff;overflow:hidden}
.retro-header{position:sticky;top:0;z-index:1000;width:100%;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 max(30px,calc((100% - 1180px)/2));background:rgba(255,255,255,.97);border-bottom:1px solid var(--r-line);box-shadow:0 2px 10px rgba(0,0,0,.025);backdrop-filter:blur(10px)}
.admin-bar .retro-header{top:32px}
.retro-brand{display:flex;flex-direction:column;color:var(--r-ink);text-decoration:none;white-space:nowrap}
.retro-brand strong{font-size:20px;line-height:1.25;letter-spacing:.01em}
.retro-brand small{margin-top:3px;font-size:10px;font-weight:600;letter-spacing:.05em;color:#30343a}
.retro-nav{display:flex;align-items:center;gap:26px}
.retro-nav>a{position:relative;color:var(--r-ink);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.retro-nav>a:not(.retro-nav-cta)::after{content:"";position:absolute;left:0;right:0;bottom:-15px;height:2px;background:var(--r-red);transform:scaleX(0);transition:.2s}
.retro-nav>a:hover::after,.retro-nav>a.is-current::after{transform:scaleX(1)}
.retro-language{display:inline-flex;align-items:center;gap:5px;padding:4px;border:1px solid var(--r-line);border-radius:7px;box-shadow:0 2px 9px rgba(0,0,0,.05)}
.retro-language a{padding:7px 8px;border-radius:5px;color:var(--r-ink);font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.retro-language a.is-current{color:#fff;background:var(--r-red)}
.retro-language i{font-style:normal;color:#888}
.retro-nav a.retro-nav-cta{padding:13px 20px;border-radius:6px;color:#fff;background:var(--r-red);box-shadow:0 5px 14px rgba(207,16,29,.2)}
.retro-nav a.retro-nav-cta:hover{background:var(--r-red-dark)}
.retro-menu-button{display:none}
.retro-main{width:min(1180px,calc(100% - 48px));margin:0 auto}
.retro-hero{min-height:440px;display:grid;grid-template-columns:44% 56%;align-items:center;padding:36px 0 22px}
.retro-hero-copy{position:relative;z-index:3;padding:20px 0 26px 18px}
.retro-hero-copy h1{max-width:600px;margin:0;color:var(--r-ink);font-size:clamp(37px,4vw,55px);font-weight:850;line-height:1.35;letter-spacing:-.045em}
.retro-hero-copy h1 em{color:var(--r-red);font-style:normal}
.retro-home.is-english .retro-hero-copy h1{font-size:clamp(36px,3.65vw,51px);line-height:1.25;letter-spacing:-.035em}
.retro-hero-copy p{max-width:520px;margin:22px 0 0;color:#333941;font-size:15px;line-height:1.9;font-weight:500}
.retro-buttons{display:flex;gap:16px;margin-top:26px}
.retro-button{min-width:174px;min-height:50px;display:inline-flex;align-items:center;justify-content:center;padding:11px 23px;border:2px solid var(--r-red);border-radius:5px;color:var(--r-red);background:#fff;font-size:15px;font-weight:800;text-decoration:none;transition:.2s}
.retro-button.is-primary{color:#fff;background:var(--r-red);box-shadow:0 8px 18px rgba(207,16,29,.18)}
.retro-button:hover{color:#fff;background:var(--r-red-dark);border-color:var(--r-red-dark);transform:translateY(-2px)}
.retro-hero-media{position:relative;align-self:stretch;min-height:400px;margin-left:-28px}
.retro-hero-media>img{width:100%;height:100%;max-height:440px;display:block;object-fit:cover;object-position:center;border-radius:0 0 0 26px;mask-image:linear-gradient(90deg,transparent 0,#000 13%,#000 100%)}
.retro-float{position:absolute;z-index:2;display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #dadddf;border-radius:8px;background:rgba(255,255,255,.96);box-shadow:0 6px 18px rgba(25,30,35,.13);color:var(--r-ink)}
.retro-float svg{width:30px;height:30px;color:var(--r-red);flex:0 0 auto}
.retro-float span{display:flex;flex-direction:column;font-size:12px;line-height:1.3}
.retro-float b{font-size:12px}.retro-float small{font-size:10px}
.retro-float-ai{right:82px;top:12px}.retro-float-wp{right:34px;top:92px}.retro-float-yt{right:18px;top:172px}.retro-float-int{left:42px;top:145px;flex-direction:column;padding:9px 12px;font-size:10px}
.retro-float-int svg{width:25px;height:25px}.retro-float-int span{font-size:10px}
.retro-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 10px 17px}
.retro-quick-item{min-height:62px;display:flex;align-items:center;justify-content:center;gap:14px;padding:11px 15px;border:1px solid var(--r-line);border-radius:5px;background:#fff;box-shadow:var(--r-shadow);font-size:14px;font-weight:750}
.retro-quick-item svg{width:34px;height:34px;color:var(--r-red)}
.retro-section{padding:12px 10px}
.retro-section-title{position:relative;margin:0 0 22px;text-align:center;color:var(--r-ink);font-size:26px;font-weight:850;line-height:1.3;letter-spacing:.01em}
.retro-section-title::after{content:"";position:absolute;left:50%;bottom:-10px;width:30px;height:2px;background:var(--r-red);transform:translateX(-50%)}
.retro-reason-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.retro-reason-card{min-height:108px;display:flex;align-items:center;gap:15px;padding:17px;border:1px solid var(--r-line);border-radius:6px;background:#fff}
.retro-reason-card svg{width:48px;height:48px;flex:0 0 auto;color:var(--r-red)}
.retro-reason-card h3{margin:0 0 5px;font-size:16px}.retro-reason-card p{margin:0;color:#454b52;font-size:11px;line-height:1.65}
.retro-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.retro-service-card,.retro-work-card,.retro-profile{overflow:hidden;border:1px solid var(--r-line);border-radius:6px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.035)}
.retro-service-card>img{width:100%;height:132px;display:block;object-fit:cover}
.retro-card-body{padding:13px 15px 15px}.retro-card-body h3{margin:0 0 5px;font-size:18px;line-height:1.35}.retro-card-body p{min-height:40px;margin:0;color:#3f454c;font-size:12px;line-height:1.65}
.retro-card-body a{display:flex;justify-content:flex-end;gap:9px;margin-top:8px;color:var(--r-red);font-size:12px;font-weight:800;text-decoration:none}.retro-card-body a span{font-size:16px}
.retro-work-profile-row{display:grid;grid-template-columns:2fr 1fr;gap:20px;align-items:stretch}
.retro-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.retro-work-image{position:relative}.retro-work-image img{width:100%;height:125px;display:block;object-fit:cover}.retro-work-image>span{position:absolute;left:8px;top:8px;padding:5px 9px;border-radius:4px;color:#fff;background:var(--r-red);font-size:11px;font-weight:800}
.retro-work-card .retro-card-body h3{font-size:17px}.retro-work-card .retro-card-body p{min-height:42px}
.retro-profile{padding:0 18px 16px}.retro-profile .retro-section-title{margin-top:12px}
.retro-profile-body{display:flex;align-items:flex-start;gap:16px}.retro-profile-body>img{width:118px;height:118px;flex:0 0 auto;object-fit:cover;border-radius:50%;background:#f2f2f2}.retro-profile-body h3{margin:0 0 6px;font-size:15px}.retro-profile-body p{margin:0;font-size:11px;line-height:1.7;color:#333941}
.retro-tags{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.retro-tags span{padding:6px 7px;border:1px solid #f1a7ad;border-radius:4px;color:var(--r-red);font-size:10px;font-weight:750;text-align:center}
.retro-flow{padding-top:16px}.retro-flow-list{display:flex;align-items:center;gap:10px}.retro-flow-list article{min-width:0;flex:1;display:flex;align-items:center;gap:13px;padding:14px 18px;border:1px solid var(--r-line);border-radius:999px}.retro-flow-list svg{width:43px;height:43px;flex:0 0 auto;color:var(--r-ink);padding:8px;border:1px solid #cfd2d5;border-radius:50%}.retro-flow-list h3{margin:0 0 2px;font-size:15px}.retro-flow-list p{margin:0;color:#565c63;font-size:10px;line-height:1.4}.retro-flow-arrow{font-size:24px;color:#555}.retro-flow-note{margin:12px 0 0;text-align:center;font-size:13px;font-weight:650}
.retro-bottom-cta{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:28px;margin:13px 10px 20px;padding:20px 52px;border-radius:7px;color:#fff;background:linear-gradient(110deg,#b70714,var(--r-red));box-shadow:0 8px 24px rgba(190,5,18,.18)}
.retro-bottom-cta h2{margin:0 0 5px;font-size:22px}.retro-bottom-cta p{margin:0;font-size:13px}.retro-bottom-cta>a{min-width:320px;display:flex;align-items:center;justify-content:center;gap:30px;padding:17px 24px;border-radius:5px;color:var(--r-red);background:#fff;font-size:16px;font-weight:850;text-decoration:none}.retro-bottom-cta>a span{font-size:21px}
.retro-footer{min-height:105px;display:flex;align-items:flex-start;justify-content:space-between;gap:40px;padding:22px max(30px,calc((100% - 1120px)/2));border-top:1px solid var(--r-line);background:#fff}.retro-footer-brand{display:flex;flex-direction:column}.retro-footer-brand strong{font-size:19px}.retro-footer-brand small{font-size:10px}.retro-footer-brand p{margin:11px 0 0;color:#767a80;font-size:10px}.retro-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:26px;padding-top:7px}.retro-footer nav a{color:#34383d;font-size:11px;font-weight:700;text-decoration:none}

@media(max-width:1100px){.retro-header{padding-left:24px;padding-right:24px}.retro-nav{gap:15px}.retro-nav>a{font-size:12px}.retro-nav a.retro-nav-cta{padding:11px 13px}.retro-hero{grid-template-columns:48% 52%}.retro-hero-copy{padding-left:4px}.retro-hero-copy h1{font-size:41px}.retro-float-ai{right:34px}.retro-float-wp{right:16px}.retro-float-yt{right:8px}.retro-reason-card{padding:13px;gap:10px}.retro-reason-card svg{width:39px;height:39px}.retro-flow-list article{padding:12px}}
@media(max-width:900px){.retro-menu-button{display:flex;width:42px;height:42px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:5px;background:var(--r-red);color:#fff}.retro-menu-button span{width:21px;height:2px;background:#fff}.retro-menu-button b{font-size:7px;line-height:1}.retro-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 18px;background:#fff;border-bottom:1px solid var(--r-line);box-shadow:0 8px 18px rgba(0,0,0,.1)}.retro-nav.is-open{display:flex}.retro-nav>a,.retro-language{padding:12px;border-bottom:1px solid #eee}.retro-nav>a::after{display:none}.retro-language{justify-content:center;border:0;border-bottom:1px solid #eee;border-radius:0;box-shadow:none}.retro-nav a.retro-nav-cta{text-align:center}.retro-hero{grid-template-columns:1fr;padding-top:25px}.retro-hero-copy{padding:20px 18px 10px}.retro-hero-copy h1{max-width:680px}.retro-hero-media{min-height:360px;margin:8px 0 0}.retro-hero-media>img{height:360px;max-height:none;border-radius:18px;mask-image:none}.retro-quick{grid-template-columns:repeat(2,1fr);margin-top:12px}.retro-reason-grid,.retro-service-grid{grid-template-columns:repeat(2,1fr)}.retro-work-profile-row{grid-template-columns:1fr}.retro-profile-body>img{width:140px;height:140px}.retro-flow-list{display:grid;grid-template-columns:1fr 1fr}.retro-flow-arrow{display:none}.retro-bottom-cta{padding:24px 30px}.retro-bottom-cta>a{min-width:270px}}
@media(max-width:600px){.admin-bar .retro-header{top:46px}.retro-header{min-height:66px;padding:0 16px}.retro-brand strong{font-size:15px}.retro-brand small{font-size:8px}.retro-main{width:min(100% - 24px,1180px)}.retro-hero-copy{padding:22px 3px 8px}.retro-hero-copy h1{font-size:34px;line-height:1.42}.retro-home.is-english .retro-hero-copy h1{font-size:31px;line-height:1.25}.retro-hero-copy p{margin-top:17px;font-size:13px;line-height:1.8}.retro-buttons{gap:9px;margin-top:21px}.retro-button{min-width:0;flex:1;min-height:47px;padding:10px 8px;font-size:13px}.retro-home.is-english .retro-button{font-size:12px}.retro-hero-media{min-height:280px}.retro-hero-media>img{height:280px}.retro-float{padding:7px 9px}.retro-float svg{width:22px;height:22px}.retro-float b{font-size:9px}.retro-float small{font-size:8px}.retro-float-ai{right:10px;top:10px}.retro-float-wp{right:6px;top:70px}.retro-float-yt{right:8px;top:128px}.retro-float-int{left:10px;top:122px}.retro-quick{gap:8px;margin:8px 0 14px}.retro-quick-item{min-height:54px;gap:8px;padding:8px;font-size:11px}.retro-quick-item svg{width:27px;height:27px}.retro-section{padding:10px 0}.retro-section-title{font-size:22px;margin-bottom:20px}.retro-reason-grid,.retro-service-grid{grid-template-columns:1fr}.retro-reason-card{min-height:90px}.retro-service-card>img{height:170px}.retro-work-grid{grid-template-columns:1fr}.retro-work-image img{height:180px}.retro-profile{padding:0 14px 14px}.retro-profile-body{gap:12px}.retro-profile-body>img{width:100px;height:100px}.retro-profile-body p{font-size:10px}.retro-tags{grid-template-columns:repeat(2,1fr)}.retro-flow-list{grid-template-columns:1fr}.retro-flow-list article{border-radius:8px}.retro-bottom-cta{flex-direction:column;align-items:stretch;margin:12px 0 18px;padding:23px 20px;text-align:center}.retro-bottom-cta h2{font-size:19px}.retro-bottom-cta>a{min-width:0}.retro-footer{flex-direction:column;gap:15px;padding:22px 20px}.retro-footer nav{justify-content:flex-start;gap:15px}}
