/* Memely Brand Story Styles */

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


h1 {
  font-size: 2rem;
	margin-top: 0;line-height: 1.5;
	padding-bottom: 1rem;
	margin-bottom: 0.6rem;
	border-bottom: 0px solid var(--primary-color);	/*下線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1) !important;
  text-align: center;	/*テキストをセンタリング*/
}

.hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 182, 193, 0.15);
}

.logo {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #d4738f;
    margin-bottom: 20px;
}

.catchcopy {
    font-size: 1.8rem;
    color: #d4738f;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 0.95rem;
    color: #999;
    letter-spacing: 0.05em;
}

.section {
    background: white;
    padding: 30px 30px;
    margin-top: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.6rem;
    color: #d4738f;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid #d4738f;
    font-weight: 500;
}

.section p {
    margin-bottom: 20px;
    color: #333;
}

.highlight {
    background: linear-gradient(transparent 60%, #ffe4e1 60%);
    font-weight: 500;
    padding: 0 4px;
}

.name-origin {
    background: #fff5f7;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0px 10px 0px;
    border-left: 3px solid #d4738f;
}

.name-origin p {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
}

.promise-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.promise-item {
    background: #fff5f7;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 115, 143, 0.2);
}

.promise-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #d4738f;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

.promise-item h3 {
    font-size: 1.1rem;
    color: #d4738f;
    margin-bottom: 10px;
    font-weight: 500;
}

.promise-item p {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
}

.scene-box {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe4e1 100%);
    padding: 35px;
    border-radius: 15px;
    margin: 30px 0;
    font-style: italic;
}

.scene-box p {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.scene-box p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #d4738f;
}

.cta {
    text-align: center;
    background: #fdfaf5; /* 薄いベージュ */
    padding: 60px 20px;
    margin-top: 60px;
    border-radius: 10px;
    border: 1px solid #f0e6d6; /* 枠線を薄く引いて境界をはっきりさせる */
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.cta h3 {
    color: #333 !important; /* 強制的に濃い色を適用 */
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: "Yu Mincho", "YuMincho", serif;
}
.cta-button {
    display: inline-block;
    background: #333;
    color: #fff !important; /* ボタン内の文字だけは白 */
    padding: 15px 50px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.cta-button:hover {
    background: #c5a059; /* ホバー時はブランドカラーに */
    color: #fff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
    
    .hero {
        padding: 40px 20px;
        margin-bottom: 50px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .catchcopy {
        font-size: 1.4rem;
    }
    
    .section {
        padding: 20px 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .promise-box {
        grid-template-columns: 1fr;
    }
}
.maru img{
    border-radius: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
 
 
}

.section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0px auto;
}

/* トップページへ戻るリンク */
.back-to-top-link {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.back-to-top-link a {
    display: inline-block;
    color: #d4738f;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.back-to-top-link a:hover {
    background: #d4738f;
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(212, 115, 143, 0.3);
}

.left {
    text-align: left;
}