/* ===========================
   common.css - ポレポレ 共通スタイル
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ===== CSS Variables ===== */
:root {
  --sky: #a8d8ea;
  --sky-light: #d6eef8;
  --sky-pale: #eef7fc;
  --green: #b5d99c;
  --green-light: #d4edbb;
  --pink: #f9c6c9;
  --pink-light: #fde8ea;
  --yellow: #fde88a;
  --text: #555;
  --text-dark: #444;
  --white: #fff;
  --radius: 20px;
}

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

body {
  font-family: "Zen Maru Gothic", sans-serif;
  color:#333;
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-weight: 600;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

h2{
  color: #59c2e0;
}


h3, h4{
  color: #555;
}

p{
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0;
}

ul{
  list-style: none;
}

img{
  width:100%;
}


/* ===== SECTION COMMON ===== */
section { 
  padding: 60px 0; 
}

.section-inner { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 30px;
}

.section-title {
  position: relative;
  padding-left: 50px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  background: url("../img/logo-girl.png") no-repeat center;
  background-size: cover;
  width: 40px;
  aspect-ratio:88/120;
  display: block;
  transform: translateY(-50%);
}


.section-title .en {
  font-family: 'M PLUS Rounded 1c', cursive;
  font-size: 0.95rem;
  color: var(--sky);
  display: block;
  margin-bottom: 4px;
}

.section-title h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 600;
}

.section-title-box{
  margin-bottom: 20px;
}

.section-title.center { 
  text-align: center; 
}

.section-title.center .en { 
  text-align: center; 
}

.section-inner-ps p{
  font-size: 0.9rem;
  margin-top: 10px;
}


/* ===== BUTTONS ===== */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  color: #fff;
  padding: 10px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transition: opacity 0.2s;
}

.btn-more:hover { 
  opacity: 0.85; 
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid #7cc6ee;
  color: #7cc6ee;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  width: 160px;
  transition: 0.2s ease-in;
  background: #fff;
  position: relative;
  height: 42px;
  justify-content: center;
}

.btn-detail::after{
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 0;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: url("../img/traingle.png") no-repeat center;
  background-size: cover;
  transition: 0.2s ease-in;
}

.btn-detail:hover { 
  background: #7cc6ee; 
  color: #fff;     
  width: 180px;
  justify-content: flex-start;
}

.btn-detail:hover::after{
  width: 20px;
}

.btn-box{
  display: flex;
  justify-content: end;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
/*  background: linear-gradient(135deg, #f0f6f9 0%, #f7fdff 100%);*/
  background: url("../img/subpage/sub-top-bk.png") repeat;
  background-size: contain;
}

.page-hero-dec {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  aspect-ratio:1660/100;
}


.page-hero::before {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(168,216,234,0.2);
  animation: floating 3s ease-in-out infinite;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(168, 216, 234, 0.2);
  animation: floating 3s ease-in-out infinite;
}

.page-hero-text{
  z-index: 1;
  position: relative;
}

.page-hero h2 { 
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #59c2e0;
  position: relative;
  width: fit-content;
  margin: auto;
}


.page-hero h2::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -60px;
  width: 60px;
  aspect-ratio: 20/12;
  border-radius: 50%;
  background:url("../img/subpage/top-bird.png") no-repeat center;
  background-size: cover;
	transform-origin: center center;
  z-index: -1;
  animation: birdFloat 5s ease-in-out infinite alternate;
}



.page-hero p {
  font-size: 1rem;
  color: #333;
  margin: 0 auto;
  position: relative;
  width: fit-content;
}


.page-hero p::after {
  position: absolute;
  content: '';
  display: block;
  background: #888;
  width: 10px;
  height: 2px;
  border-radius: 5px;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
}

.page-hero p::before {
  position: absolute;
  content: '';
  display: block;
  background: #888;
   width: 10px;
  height: 2px;
  border-radius: 5px;
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
}


.breadcrumb {
  font-size: 0.8rem;
  color: #333;
  font-weight: 500;
  margin-top: 5px;
}

.breadcrumb a { 
  color: var(--sky); 
  text-decoration: none; 
}

.breadcrumb a:hover {
  text-decoration: underline;
} 


.breadcrumb .inner {
  max-width: 1200px;
  padding: 5px 30px;
  width: 100%;
  margin: auto;
}

/* ===== INFO BOX ===== */
.info-box {
  background: #fff;
  border-left: 4px solid var(--sky);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 0.85rem;
  line-height: 1.8;
}



/* <sub> ABOUT GRID */

.about-grid { 
  display: grid; 
  grid-template-columns: 1fr 2fr; 
  gap: 40px; 
  align-items: center; 
}

.about-img {
  padding: 0;
} 
.about-img img { 
  width: 100%; 
}

.about-img img:hover {
    animation: jump 0.5s ease-in;
}

.about-text p { 
  margin-bottom: 16px; 
}

/* ===== ABOUT GRID ///===== */


/* ===== item-card ===== */

.item-card{
  position: relative;
  overflow: hidden;
  box-shadow: 3px 3px 10px #cce3eb;
}

.item-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 200, 155, 0.1);
}

/* ===== item-card ===== */


/* ===== TAG ===== */
.tag-list { 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; 
  margin-bottom: 20px; 
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
/*  background: #eef7fc;*/
  background: #fff;
  color:#59c2e0;
  border: 1.5px solid #7cc6ee;
}

.tag.green {
/*  background: var(--green-light);*/
  background: #fff;
  color: #5a9a50;
  border-color: var(--green);
}


/* ===== decoration ===== */

.grass-mushroom span{
  display: block;
  background: url("../img/grass-mushroom.png") center no-repeat;
  background-size: cover;
  aspect-ratio: 185/100;
  width: 100px;
}

.logo-line span{
  opacity: 0.5;
  display: block;
  width: 100%;
  background: url(../img/logo-line.png) center no-repeat;
  background-size: contain;
  aspect-ratio: 1300 / 25;
}


/* ===== decoration =====////// */


@media(max-width: 1460px){
  
  p {
    font-size: 0.95rem;
  }
  
  .page-hero p {
    font-size: 0.95rem;
  }
  
  .page-hero p::after {
    width: 6px;
    right: -10px;
  }
  
  .page-hero p::before {
    width: 6px;
    left: -10px;
  }

}
  

@media(max-width: 1200px){
  
  .breadcrumb .inner {
    padding: 5px 20px;
  }
  
  section {
    padding: 50px 20px;
  }
  
  .section-inner{
    padding-left: 0;
    padding-right: 0;
  }
  
  .about-grid {
    gap: 20px;
  }
  
  .about-img {
    padding: 0;
  }
}


@media(max-width: 768px){
  
    a[href*="tel:"] {
        pointer-events: initial;
    }
  
  .section-title::after {
    width: 35px;
  }
  
  .section-title {
    padding-left: 45px;
  }
  
  .page-hero::after {
    width: 100px;
    height: 100px;
  }
  
  .page-hero::before {
    width: 120px;
    height: 120px;
  }
  
  
  
  .section-title h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  }
  
  p {
    font-size: 0.9rem;
  }
  
  .section-inner {
    padding: 0;
  }
  
  .about-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .about-grid {
    gap: 0;
    grid-template-columns: 1fr;
  }
  
  .about-img {
    padding: 0;
    max-width: 500px;
    margin: auto;
  }
  
  .shinryo-card {
    padding: 20px;
    gap: 10px;
  }
  
  .shinryo-card img {
    width: 80px;
  }
  
  .btn-detail {
    gap: 5px;
    border: 2px solid #7cc6ee;
    color: #7cc6ee;
    padding: 5px 15px;
    font-size: 0.9rem;
    width: 150px;
    height: 38px;
  }
  
  .shinryo-card-text h3 ,
  .who-card h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }
  
}
