@charset "UTF-8";
/* CSS Document */
body{
	
font-family:'M PLUS Rounded 1c',sans-serif;

    margin:0;
}

.hero{
    height:100vh;
    background-image:url("../images/hero.png");
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;
}
h1{
    font-size:60px;
    margin-bottom:20px;
}

p{
    font-size:24px;
}

nav a{
    font-weight:700;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;

    display:flex;
    align-items:center;
    justify-content:flex-start;
gap:200px;

    padding:0 40px;
    box-sizing:border-box;

    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(10px);

    z-index:100;
}

.header-logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.p-logo{
    height:55px;
}


.name-logo{
    height:45px;
}

nav{
    display:flex;
    gap:40px;
}
.menu-button{
  display:none;
}

nav a{
    text-decoration:none;
    color:#002060;
    font-weight:bold;
    font-size:18px;
}

.members{
    padding:100px 20px 20px;
    text-align:center;
    background:linear-gradient(
        to bottom,
        #eaf4fb 0%,
        #eaf4fb 80%,
        #ffffff 100%
    );
}

.members h2{
    font-size:48px;
    color:#002060;
    margin-bottom:20px;
}

.members p{
    font-size:22px;
    color:#333333;
}


.member-card img{
    width:250px;
    height:auto;
}

.members-title{
    width:900px;
    max-width:90%;
    margin-bottom:10px;
}

.member-card{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;

    width:90%;
    max-width:1200px;
    margin:0 auto;

    padding:60px;
    border-radius:30px;
    background:#fffdfd;
	box-shadow:0 8px 22px rgba(0, 50, 100, 0.10);
}

.member-image img{
    width:350px;
}

.member-text{
    text-align:left;
}

.member-text h3{
    font-size:48px;
    color:#e86aa0;
}

.member-text .role{
    font-size:28px;
    font-weight:bold;
    color:#002060;
}

.member-text .catch{
    font-size:20px;
}

.member-card.reverse{
    flex-direction:row-reverse;
}

.member-card{
    margin-bottom:80px;
    background:#fff0f7;
}

.roller-card{
    background:#ffeaf5;
}

.rasta-card{
    background:#dceef9;
}

.hakemi-card{
    background:#edf7e7;
}

.masking-card{
    background:#fff4c9;
}

.roller-card .member-text h3{
    color:#ec7db5;
}
.roller-card .catch{
    background:#ffd7e8;
    color:#ff6fb5;
}

.rasta-card .member-text h3{
    color:#3d8ee8;
}
.rasta-card .catch{
    background:#dce8ff;
    color:#4f84ff;
}

.hakemi-card .member-text h3{
    color:#4ca15a;
}
.hakemi-card .catch{
    background:#dff5df;
    color:#58b96b;
}

.masking-card .member-text h3{
    color:#d1a300;
}
.masking-card .catch{
    background:#ffe680;
    color:#cc9900;
}

.name-ribbon{
    width: 700px !important;
    display: block;
    margin-bottom: 20px;
}

.profile{
    font-size:18px;
    line-height:1.8;
    color:#444;
    margin-top:20px;
}

.role{
    font-size:50px !important;
    font-weight:bold !important;
    color:#002060 !important;
    letter-spacing:2px;
    margin-top:20px;
    margin-bottom:25px;
}

.catch{
    font-size:38px;
    font-weight:bold;

    margin-top:15px;
    margin-bottom:40px;

    display:inline-block;
    padding:12px 24px;
    border-radius:999px;

    
}

.profile{
    line-height:1.8;
}


.favorites p{
    font-size:22px;
    margin:10px 0;
    font-weight:bold;
}

.favorites{
    margin-top:25px;
    padding:20px 25px;
    border-radius:20px;
    border:2px solid rgba(0,0,0,0.08);
    width:65%;
    box-sizing:border-box;
}
.roller-card .favorites{
    background:#ffe3f0;
    border-color:#ffb6d8;
}

.rasta-card .favorites{
    background:#d9eeff;
    border-color:#8cc8f5;
}

.hakemi-card .favorites{
    background:#d6efd6;
    border-color:#8fc78f;
}

.masking-card .favorites{
    background:#fff0a8;
    border-color:#e8c85d;
}
.president-photo{
    width:500px;
    max-width:90%;
    border-radius:20px;
}

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

  header{
    position:relative;
  background:#fff;
  backdrop-filter:none;
  padding:10px 15px;
  margin-bottom:20px;
  flex-direction:row;
  align-items:center;
  height:auto;
  gap:0;
  }

  .header-logo{
    flex:none;
  }

  .p-logo{
    height:45px;
  }

  .name-logo{
    height:38px;
  }

  nav{
    display:none;
  }
	nav.active{
    display:flex;
}

  .menu-button{
    display:block !important;

    width:55px;
    height:55px;

    font-size:28px;

    background:#ffe3f0;
    border:2px solid #ffb6d8;
    border-radius:15px;

    color:#002060;

    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);

    box-shadow:0 3px 10px rgba(0,0,0,0.1);

    z-index:9999;
}

  .hero{
    height:220px;
    background-size:100% auto;
    background-position:center top;
    background-repeat:no-repeat;
    background-color:#dff6ff;
    margin-top:20px;
  }
	.members{
    padding:35px 20px 70px;
}

  .member-card,
  .member-card.reverse{
    flex-direction:column;
    width:92%;
    padding:40px 20px;
    gap:25px;
  }

  .member-image img{
    width:220px;
    max-width:80%;
  }

  .member-text{
    text-align:center;
  }

  .name-ribbon{
    width:280px !important;
    max-width:100%;
    margin:0 auto 20px;
  }

  .role{
    font-size:32px !important;
    letter-spacing:1px;
  }

  .catch{
    font-size:22px;
    margin-bottom:25px;
	  display:inline-block;
    padding:12px 24px;
    border-radius:999px;
	
  }

  .profile{
    font-size:16px;
    line-height:1.8;
  }

  .favorites{
    width:100%;
    padding:18px;
    margin-top:25px;
  }

  .favorites p{
    font-size:16px;
  }
	nav.active{
    display:flex;
    flex-direction:column;
    gap:15px;

    position:absolute;
    top:70px;
    right:15px;

    background:#ffffff;
    padding:20px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,0.15);
}
	nav.active a{
    padding:10px 15px;
    border-bottom:1px solid #e5e5e5;
}

nav.active a:last-child{
    border-bottom:none;
}
	.voice h2{
    font-size:36px;
}

.voice-card{
    padding:25px;
	position:relative;
	background:#eaf5ff;
    border-radius:25px;
}
	.voice-card::after{
    content:"";

    position:absolute;

    left:50%;
    bottom:-15px;

    transform:translateX(-50%);

    width:0;
    height:0;

    border-left:15px solid transparent;
    border-right:15px solid transparent;
    border-top:15px solid #f4f9ff;
}
.stars{
    color:#f5b301;
    font-size:26px;
    margin-bottom:15px;
}
.voice-text{
    font-size:16px;
}

.voice-name{
    font-size:16px;
    font-weight:bold;
    color:#002060;
}
}

.greeting{
    padding:20px 20px 100px;
    text-align:center;
    background:#ffffff;
}
.greeting h2{
    text-align:center;
}
.greeting-text{
    text-align:left;
}

.greeting h2{
    font-size:48px;
    color:#002060;
    margin-bottom:50px;
}

.greeting-content{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

.president-photo{
    width:700px;
    max-width:90%;
    border-radius:20px;
	box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.president-wrap{
    position:relative;
    width:700px;
    max-width:90%;
    margin:0 auto;
}

.president-photo{
    width:100%;
    display:block;
    border-radius:20px;
}

.hakemi-greeting{
    width:220px;
    position:absolute;
    right:-45px;
    bottom:-10px;
}

.greeting-text{
    max-width:700px;
    margin:30px auto 0;
    line-height:2;
    font-size:20px;
}

.works{
    padding:100px 20px 60px;
    text-align:center;
    background:linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 45%,
		#eaf7ff 85%,
        #eaf7ff 100%
    );
}
.works .masking-title{
    width:190px;
}
.section-title{
    position:relative;
    text-align:center;
    margin-bottom:40px;
}
.voice .section-title h2{
    font-size:50px;
}
.section-title h2{
    margin:0;
}

.title-character{
    position:absolute;
    width:180px;
    height:auto;

    left:calc(50% + 100px);
    top:50%;
    transform:translateY(-50%);
}

.hakemi-title{
    width:180px;
    left:calc(50% - 330px);
}

.hakemaru-title{
    width:90px;
    left:calc(50% - 220px);
    top:72%;
}
.works h2{
    font-size:48px;
    color:#002060;
    margin-bottom:50px;
}

.works-gallery{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.works-gallery img{
    width:350px;
    max-width:100%;
    border-radius:20px;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.voice{
    padding:100px 20px;
    background:#eaf7ff;
    text-align:center;
}

.voice h2{
    font-size:60px;
    color:#002060;
    margin-bottom:50px;
}

.voice-card{
    max-width:800px;
    margin:0 auto 30px;

    background:#ffffff;
    border-radius:25px;

    padding:35px;

    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}
.review-badge{
    width:90px;
}

.quote-icon{
    width:34px;
    opacity:0.5;
}

.voice-text{
    font-size:20px;
    line-height:1.8;
}

.voice-name{
    margin-top:20px;
    font-weight:bold;
    color:#002060;
}
.rola-title{
    width:195px;
    left:calc(50% + 170px);
    top:50%;
}
.rasta-title{
    width:160px;
    left:calc(50% - 430px);
    top:50%;
}
.sns{
    padding:60px 20px 100px;
    text-align:center;
    background:linear-gradient(
        to bottom,
        #f5f9fc 0%,
        #f5f9fc 65%,
        #ffffff 100%
    );
}

.sns h2{
    font-size:48px;
    color:#002060;
    margin-bottom:25px;
}

.sns-text{
    font-size:18px;
    margin-bottom:40px;
}

.sns-icons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;

    width:fit-content;
    margin:40px auto 0;
    padding:25px 35px;

    background:rgba(255,255,255,0.78);
    border-radius:25px;
    box-shadow:0 8px 25px rgba(30,70,110,0.08);
}
.sns-icons a{
    text-decoration:none;
    border:none;
}
.sns-icons img{
    width:80px;
    transition:0.3s;
}

.sns-icons img:hover{
    transform:translateY(-5px);
}

.contact{
    padding:100px 20px;
    text-align:center;
    background:#ffffff;
}

.contact h2{
    font-size:48px;
    color:#002060;
    margin-bottom:25px;
}

.contact-text{
    font-size:20px;
    line-height:1.8;
    margin-bottom:50px;
}

.contact-buttons{
    display:flex;
    flex-direction:column;
    gap:20px;

    max-width:460px;
    margin:0 auto;
    padding:30px;

    background:#eef7fc;
    border-radius:28px;
    box-shadow:0 10px 30px rgba(30,70,110,0.12);
}
.contact-btn{
    display:block;
    padding:20px;

    text-decoration:none;
    color:#ffffff;

    font-size:22px;
    font-weight:bold;

    border-radius:20px;

    transition:0.3s;
}

.contact-btn:hover{
    transform:translateY(-3px);
}

.line-btn{
    background:#06c755;
}

.phone-btn{
    background:#002060;
}

.form-btn{
    background:#ec7db5;
}

.footer{
    background:#cdd8f0;
    color:#002060;
    text-align:center;
    padding:50px 20px;
}

.footer h3{
    font-size:28px;
    margin-bottom:20px;
}

.footer p{
    font-size:18px;
    line-height:1.9;
    margin:10px 0;
}

/* ==========================
   キャラクター詳細ページ
========================== */

.character-page{
    max-width:1000px;
    margin:auto;
    padding:40px 20px;
}

.character-hero{
    text-align:center;
}

.character-hero img{
    width:250px;
}
.character-hero h1{
    font-size:4rem;
    margin:20px 0;
}

.character-catch{
    font-size:1.4rem;
    
    font-weight:800;

    display:inline-block;
    color:#ff4ea3;
background:#ffe3f1;
    padding:10px 22px;
    border-radius:999px;
}

.profile{
    margin:30px auto 0;
    max-width:800px;
    line-height:2;

    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);

}
.profile h2{
    
	color:#333;
    margin-bottom:30px;
}

.info-grid{
    display:grid;
	grid-template-columns: repeat(2, 1fr);
    gap:20px;
    margin-top:40px;
	max-width:900px;
margin:40px auto;
}

.info-card{
    background:#fff;
    border-radius:20px;
    padding:20px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}
.info-card h3{
    color:#333;
}
.back-btn{
    display:inline-block;
    margin-top:40px;
    padding:12px 24px;
    background:#ff6fb5;
    color:#fff;
    text-decoration:none;
    border-radius:999px;
    font-weight:bold;
}

.back-btn:hover{
    opacity:0.8;
}

/* ローラ */

.rola-page .catch,
.rola-page .profile h2,
.rola-page .info-card h3{
    color:#ff6fb5;
}

.rola-page .back-btn{
    background:#ff6fb5;
}

/* ラスタ */

.rasta-page .character-catch,
.rasta-page .profile h2,
.rasta-page .info-card h3{
    color:#4f84ff;
}

.rasta-page .back-btn{
    background:#4f84ff;
}
.rasta-page .character-catch{
    color:#4f84ff;
    background:#dce8ff;
}

/* ハケ美 */

.hakemi-page .character-catch,
.hakemi-page .profile h2,
.hakemi-page .info-card h3{
    color:#58b96b;
}

.hakemi-page .back-btn{
    background:#58b96b;
}

.hakemi-page .character-catch{
    background:#dff5df;
}

/* マスキング */

.masking-page .character-catch,
.masking-page .profile h2,
.masking-page .info-card h3{
    color:#e0b100;
}

.masking-page .back-btn{
    background:#e0b100;
}

.masking-page .character-catch{
    background:#fff4b8;
}

.detail-btn{
    display:inline-block;
    margin-top:25px;
    padding:12px 24px;

    background:#fff;
    color:#333;

    border:2px solid #ddd;
    border-radius:999px;

    text-decoration:none;
    font-weight:bold;

    transition:0.3s;
}

.detail-btn:hover{
    background:#f7f7f7;
}

.voice{
    background:#eef8ff;
    padding:80px 20px;
}

.voice h2{
    text-align:center;
    font-size:2rem;
    margin-bottom:15px;
}

.voice-lead{
    text-align:center;
    color:#666;
    margin-bottom:50px;
	font-size:20px;
    line-height:1.8;
}

.voice-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    max-width:none;
    margin:0 auto 30px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
	position:relative;
}

.stars{
    color:#FFC93C;
    font-size:22px;
    margin-bottom:15px;
}

.voice-text{
    line-height:1.8;
    margin-bottom:20px;
}

.voice-name{
	 margin-top:30px;
    font-weight:bold;
    color:#4aa9e9;
}

.review-badge{
    width:110px;
    height:auto;

    position:absolute;
    top:20px;
    right:20px;
}
.voice-text{
    text-align:left;
}
.quote-icon{
    position:absolute;
    top:22px;
    left:25px;

    width:65px;
    height:auto;

    opacity:0.75;
}
.voice-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    max-width:1200px;
    margin:0 auto;
}
@media (max-width:768px){

    .voice-grid{
   
		grid-template-columns:repeat(1,1fr);
    }
	.president-wrap{
    width:100%;
    max-width:350px;
}

.hakemi-greeting{
    width:120px;
    right:-10px;
    bottom:-5px;
}
	.greeting-text{
    font-size:16px;
    line-height:2;
		 padding:0 12px;
		 text-align:left;
}
	

}
.footer-sns{
    display:flex;
    justify-content:center;
    gap:20px;
    margin:40px 0;
}

.footer-sns img{
    width:64px;
    height:64px;
    transition:0.3s;
}

.footer-sns img:hover{
    transform:translateY(-5px);
	box-shadow:0 5px 15px rgba(0,0,0,.2);
border-radius:50%;
}
.footer p:last-child{
    margin-top:30px;
    opacity:0.7;
}
.footer-logo{
    width:430px;
    height:auto;
    margin-bottom:10px;
}
.footer-catch{
    font-size:24px;
    line-height:1.8;
    margin:25px 0 35px;
    font-weight:600;
}
.footer{
    position:relative;
    overflow:hidden;
}
.footer-rola{
    position:absolute;

    left:20px;
    bottom:190px;

    width:360px;
}
.footer-rasta{
    position:absolute;

    left:100px;
    bottom:15px;

    width:500px;
}

.footer-kamesan{
    position:absolute;

    right:330px;
    bottom:200px;

    width:190px;
}

.footer-hakemaru{
    position:absolute;

    right:300px;
    bottom:5px;

    width:130px;
}
.footer-hakemi{
    position:absolute;

    right:330px;
    bottom:-40px;

    width:370px;

    z-index:2;
}
.footer-masking{
    position:absolute;

    right:20px;
    bottom:180px;

    width:380px;

    z-index:1;
}
.footer-icon{
    width:22px;
    height:22px;
    display:inline-block;
    vertical-align:middle;
    margin-right:8px;
}
.footer-service{
    margin:12px 0;
    font-weight:600;
}
@media (max-width:768px){

    .footer-logo{
        width:320px;
        height:auto;
    }
.footer-characters{
    margin-top:40px;
}

.footer-character-pair{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:12px;
    margin-bottom:5px;
}
	.footer-rola{
    position:static;
    width:140px;
		 margin-right:-20px;
}

.footer-rasta{
    position:static;
    width:170px;
}

.footer-hakemi{
    position:static;
    width:150px;
}

.footer-hakemaru{
    position:static;
    width:70px;
	margin-left:-35px;
}

.footer-kamesan{
    position:static;
    width:90px;
	 margin-right:-20px;
}

.footer-masking{
    position:static;
    width:170px;
}
    
    
}
@media (max-width:768px){


.before-after-preview img {
  height: auto;
}

.work-item {
  width: 94%;
}

.work-caption {
  padding: 18px 18px 25px;
}

    .section-title{
    margin-bottom:30px;
}

.title-character{
    width:105px;
    left:calc(50% + 70px);
}
	.works .title-character{
    width:105px;
    left:calc(50% + 80px);
}
	.voice .section-title{
    position:relative;
    min-height:130px;
}

.voice .section-title h2{
    font-size:42px;
}

.voice .hakemi-title{
    width:115px;
    left:6px;
    top:25%;
}

.voice .hakemaru-title{
    width:48px;
    left:78px;
    top:56%;
}
	.sns .section-title h2{
    font-size:36px;
}

.sns .rola-title{
    width:95px;
    left:calc(50% + 110px);
    top:40%;
}
	.contact .section-title{
    position:relative;
    min-height:130px;
}

.contact .section-title h2{
    font-size:34px;
    line-height:1.35;
    max-width:270px;
    margin:0 auto;
}

.contact .rasta-title{
    width:105px;
    left:-10px;
    top:30%;
}
	.sns-icons{
    width:auto;
    max-width:100%;
    padding:20px 15px;
    gap:18px;
    box-sizing:border-box;
}

.sns-icons img{
    width:48px;
    height:auto;
}
	.members{
    padding:35px 20px 35px;
}

.greeting{
    padding:30px 20px 60px;
}

.works{
    padding:60px 20px;
}
}

/* パートナーメンバーの区切り */
.partner-divider {
  position: relative;
  max-width: 900px;
  margin: 65px auto 45px;
  padding: 0 150px;
  text-align: center;
  box-sizing: border-box;
}

.partner-divider::before,
.partner-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 2px;
  background-color: #76bce8;
}

.partner-divider::before {
  left: 0;
}

.partner-divider::after {
  right: 0;
}

.partner-divider span {
  display: block;
  color: #32b76c;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.18em;
}

.partner-divider p {
  margin: 6px 0 0;
  color: #082b66;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.5;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
  .partner-divider {
    margin: 65px auto 35px;
    padding: 0 45px;
  }

  .partner-divider::before,
  .partner-divider::after {
    width: 32px;
  }

  .partner-divider span {
    font-size: 11px;
  }

  .partner-divider p {
    font-size: 18px;
  }
}

/* ローラ詳細ページ「できること」見出し */
.rola-page .services-title {
  margin: 70px auto 40px;
  text-align: center;
  color: #ff5ca8;
  font-size: 32px;
  font-weight: bold;
}
/* ローラ詳細ページ 制作実績 */
.rola-page .works-showcase {
  max-width: 1180px;
  margin: 100px auto 80px;
  padding: 60px 40px;
  background: #fff5fa;
  border-radius: 32px;
  box-sizing: border-box;
}

.rola-page .works-showcase > h2 {
  margin: 0 0 12px;
  text-align: center;
  color: #ff5ca8;
  font-size: 32px;
}

.rola-page .works-lead {
  margin: 0 0 40px;
  text-align: center;
  color: #555;
  font-size: 16px;
}

.rola-page .works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.rola-page .work-card {
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(80, 60, 70, 0.1);
}

.rola-page .work-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  background: linear-gradient(135deg, #ffe0ef, #f4e9ff);
  color: #d94f91;
  font-weight: bold;
}

.rola-page .work-text {
  padding: 26px 28px 30px;
}

.rola-page .work-text h3 {
  margin: 0 0 12px;
  color: #ff5ca8;
  font-size: 21px;
}

.rola-page .work-text p {
  margin: 0 0 18px;
  color: #444;
  line-height: 1.8;
}

.rola-page .work-text span {
  display: inline-block;
  padding: 6px 12px;
  background: #ffe5f1;
  border-radius: 999px;
  color: #d94f91;
  font-size: 13px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .rola-page .works-showcase {
    margin: 70px 18px 55px;
    padding: 42px 18px;
  }

  .rola-page .works-showcase > h2 {
    font-size: 26px;
  }

  .rola-page .works-grid {
    grid-template-columns: 1fr;
  }

  .rola-page .work-placeholder {
    height: 210px;
  }
}

.rola-page .work-image {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center top;
}
/* 制作実績：縦長画像を枠内に収める */
.rola-page .work-image-contain {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
  background-color: #fdebf5;
  padding: 15px;
  box-sizing: border-box;
}
/* ローラ詳細ページ・スマホ表示 */
@media screen and (max-width: 768px) {

  /* できることを1列にする */
  .rola-page .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rola-page .info-card {
    padding: 24px 20px;
  }

  /* 制作実績も1列にする */
  .rola-page .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 画像全体を切らずに表示 */
  .rola-page .work-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* カード内の文字をスマホ向けに調整 */
  .rola-page .work-text {
    padding: 24px 20px;
  }

  .rola-page .work-text h3 {
    font-size: 22px;
  }

  .rola-page .work-text p {
    font-size: 18px;
    line-height: 1.8;
  }
}
/* ラスタ詳細ページ・スマホ表示 */
@media screen and (max-width: 768px) {

  .rasta-page .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rasta-page .info-card {
    padding: 24px 20px;
  }

  .rasta-page .info-card h3 {
    font-size: 22px;
  }

  .rasta-page .info-card li {
    font-size: 16px;
    line-height: 1.8;
  }
}
/* 中の人紹介 */
.inside-profile {
	  width: 100%;
  box-sizing: border-box;
  grid-column: 1 / -1;
  max-width: 1100px;
  margin: 70px auto;
  padding: 50px;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.inside-profile h2 {
  margin: 0 0 35px;
  text-align: center;
}

.inside-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.inside-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.inside-message {
  margin-top: 32px;
  padding: 28px 32px;
  background: #f7f7f7;
  border-radius: 20px;
}

.inside-message h3 {
  margin: 0 0 14px;
}

.inside-message p {
  margin: 0;
  line-height: 1.9;
}
@media screen and (max-width: 768px) {

  .inside-profile {
	  
    margin: 40px 16px;
    padding: 30px 20px;
  }

  .inside-photos {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .inside-message {
    padding: 24px 20px;
  }
}
.hakemi-page .inside-profile h2 {
  color: #58b96b;
}.hakemi-page .inside-message h3 {
  color: #58b96b;
}
@media screen and (max-width: 768px) {

  .hakemi-page .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hakemi-page .info-card {
    width: 100%;
    box-sizing: border-box;
  }

}
.masking-page .inside-profile h2,
.masking-page .inside-message h3 {
  color: #e8b900;
}
@media screen and (max-width: 768px) {

  .masking-page .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .masking-page .info-card {
    width: 100%;
    box-sizing: border-box;
  }

}
/* 施工事例カード */
.works-gallery {
  display: block;
}

.work-item {
  display: block;
  width: min(1000px, 90%);
  margin: 0 auto;
  color: #333;
  text-decoration: none;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 45, 100, 0.12);
}

.before-after-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
}

.ba-photo {
  position: relative;
}

.before-after-preview img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
}

.ba-label {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 1;
  padding: 7px 16px;
  color: #fff;
  font-weight: bold;
  background: #163c75;
  border-radius: 30px;
}

.ba-label.after {
  background: #ff5aa5;
}

.work-caption {
  padding: 22px 30px 30px;
  text-align: center;
}

.work-caption > span {
  display: inline-block;
  padding: 6px 18px;
  color: #163c75;
  font-weight: bold;
  background: #e9f4ff;
  border-radius: 30px;
}

.work-caption h3 {
  margin: 15px 0 8px;
  color: #082d69;
}

.work-caption p {
  margin: 0;
  color: #555;
}
@media screen and (max-width: 600px) {

 .before-after-preview {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 10px;
}

.before-after-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

  .ba-label {
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .work-item {
    width: 94%;
  }

  .work-caption {
    padding: 16px 15px 22px;
  }
}
/* ==============================
   施工事例・詳細ページ
============================== */

.work-detail-page {
  padding: 100px 20px 120px;
  color: #333;
  background: linear-gradient(#ffffff, #eef8ff);
}

.work-detail-heading {
  max-width: 1100px;
  margin: 0 auto 55px;
  text-align: center;
}

.works-back-link {
  display: block;
  width: fit-content;
  margin-bottom: 35px;
  color: #163c75;
  font-weight: bold;
  text-decoration: none;
}

.works-back-link:hover {
  opacity: 0.7;
}

.work-detail-category {
  display: inline-block;
  padding: 7px 20px;
  color: #163c75;
  font-weight: bold;
  background: #e7f3ff;
  border-radius: 30px;
}

.work-detail-heading h1 {
  margin: 20px 0 12px;
  color: #082d69;
  font-size: clamp(30px, 4vw, 52px);
}

.work-detail-lead {
  margin: 0;
  color: #555;
  font-size: clamp(17px, 2vw, 24px);
}

.work-detail-gallery {
  max-width: 1100px;
  margin: 0 auto;
}

.work-detail-gallery h2 {
  margin: 0 0 35px;
  color: #082d69;
  font-size: 34px;
  text-align: center;
}

.detail-ba-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 40px;
  padding: 14px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 12px 30px rgba(0, 45, 100, 0.12);
}

.detail-ba-photo {
  position: relative;
}

.detail-ba-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.detail-ba-label {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 1;
  padding: 7px 16px;
  color: #fff;
  font-weight: bold;
  background: #163c75;
  border-radius: 30px;
}

.detail-ba-label.after {
  background: #ff5aa5;
}

.works-back-button {
  display: block;
  width: fit-content;
  margin: 60px auto 0;
  padding: 13px 28px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background: #163c75;
  border-radius: 30px;
}


/* 施工事例詳細・スマホ表示 */

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

  .work-detail-page {
    padding: 60px 12px 80px;
  }

  .work-detail-heading {
    margin-bottom: 40px;
  }

  .works-back-link {
    margin-bottom: 25px;
    font-size: 14px;
  }

  .work-detail-heading h1 {
    margin-top: 16px;
    font-size: 28px;
  }

  .work-detail-lead {
    font-size: 16px;
    line-height: 1.8;
  }

  .work-detail-gallery h2 {
    margin-bottom: 25px;
    font-size: 25px;
  }

  .detail-ba-pair {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 28px;
    padding: 9px;
    border-radius: 20px;
  }

  .detail-ba-photo img {
    border-radius: 14px;
  }

  .detail-ba-label {
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .works-back-button {
    margin-top: 40px;
  }
}
/* 施工事例・工事概要 */

.work-detail-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: -10px auto 65px;
}

.work-summary-item {
  padding: 28px 25px;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 45, 100, 0.1);
}

.work-summary-item:nth-child(1) {
  border-top: 5px solid #63b7ff;
}

.work-summary-item:nth-child(2) {
  border-top: 5px solid #b58b72; /* モカブラウン */
}

.work-summary-item:nth-child(3) {
  border-top: 5px solid #657c4c; /* モスグリーン */
}

.work-summary-item h2 {
  margin: 0 0 12px;
  color: #082d69;
  font-size: 21px;
}

.work-summary-item p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

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

  .work-detail-summary {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 auto 45px;
  }

  .work-summary-item {
    padding: 22px 18px;
  }

  .work-summary-item h2 {
    font-size: 19px;
  }

  .work-summary-item p {
    font-size: 15px;
  }
}
.mobile-br {
  display: none;
}

@media screen and (max-width: 600px) {
  .mobile-br {
    display: block;
  }
}
.partner-type {
  display: inline-block;
  padding: 6px 16px;
  color: #082d69;
  font-weight: bold;
  background: #ffffff;
  border: 2px solid #ff8bc8;
  border-radius: 30px;
}

.partner-role {
  color: #082d69;
}
h1.partner-role {
  color: #082d69 !important;
}
.rasta-partner-type {
  border-color: #38aef3;
}
.rola-direct-contact {
  margin-top: 35px;
  padding: 25px;
  text-align: center;
  background: #fff0f7;
  border-radius: 18px;
}

.rola-direct-contact p {
  margin: 0 0 18px;
  color: #555;
  font-size: 16px;
}

.rola-contact-btn {
  display: inline-block;
  padding: 13px 28px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background: #ff5aa5;
  border-radius: 30px;
  box-shadow: 0 6px 16px rgba(255, 90, 165, 0.25);
}

.rola-contact-btn:hover {
  opacity: 0.8;
	transform: translateY(-2px);}
.simulation-note {
  margin: 35px 50px 35px;
  padding: 12px 16px;
  width: auto !important;
  box-sizing: border-box;
  color: #777;
  background: #fff8fb;
  border-left: 3px solid #ff8bc8;
  font-size: 12px !important;
  line-height: 1.7 !important;
  text-align: left;
  font-weight: normal;
}

.simulation-note span {
  display: block;
  font-size: inherit !important;
  line-height: inherit !important;
}

.simulation-note span + span {
  margin-top: 5px;
}

@media screen and (max-width: 600px) {
  .simulation-note {
    margin: 25px 22px 25px;
    padding: 10px 12px;
    font-size: 10px !important;
    line-height: 1.65 !important;
  }
}
.works-privacy-note {
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 10px 16px;
  color: #667080;
  background: #f4f9fd;
  border-left: 3px solid #58b8f5;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
}
@media screen and (max-width: 600px) {
  .works-privacy-note {
    margin: 0 20px 22px;
    padding: 9px 12px;
    font-size: 11px;
  }
}
/* 施工事例カード同士の間隔 */
.works-gallery .work-item + .work-item {
  margin-top: 55px;
}

@media screen and (max-width: 600px) {
  .works-gallery .work-item + .work-item {
    margin-top: 35px;
  }
}
/* シャッター施工事例：説明文とカードの間隔 */
.shutter-summary {
  margin-top: 50px;
}

@media screen and (max-width: 600px) {
  .shutter-summary {
    margin-top: 35px;
  }
}