/* CSS Reset - 実際に使用される要素のみ */
html, body, div, span,
h1, h2, h3, p, a, img,
header, footer, section, article, main, ul, li, ol {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset */
article, footer, header, main, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

/* ローカルフォントの定義 */
/* bevan-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Bevan';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/bevan-v25-latin-italic.woff2') format('woff2');
}

/* m-plus-1p-500 - japanese_latin */
@font-face {
  font-display: swap;
  font-family: 'M PLUS 1p';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/m-plus-1p-v31-japanese_latin-500.woff2') format('woff2');
}

/* mochiy-pop-p-one-regular - japanese_latin */
@font-face {
  font-display: swap;
  font-family: 'Mochiy Pop P One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/mochiy-pop-p-one-v11-japanese_latin-regular.woff2') format('woff2');
}

/* zen-kaku-gothic-new-500 - japanese_latin */
@font-face {
  font-display: swap;
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/zen-kaku-gothic-new-v17-japanese_latin-500.woff2') format('woff2');
}

/* zen-kaku-gothic-new-900 - japanese_latin */
@font-face {
  font-display: swap;
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/zen-kaku-gothic-new-v17-japanese_latin-900.woff2') format('woff2');
}

/* ===== ベーススタイル（デスクトップ） ===== */
html {
    box-sizing: border-box;
    font-family: 'M PLUS 1p', sans-serif;
    margin: 0 auto;
    overflow-x: hidden;
}

body {
    background-color: #f2fff1;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== ヘッダー ===== */
header {
    text-align: center;
    padding: 40px 0 0 0;
}

header h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
}

/* ===== ロゴボックス ===== */
.logo-box {
    width: 500px;
    background-color: #fff;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 110px;
    padding: 50px 0;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 30px 0 rgba(0, 206, 154, 0.2);
}

.h1-image {
    width: 200px;
    height: 45.3px;
    margin: 0 auto 0px;
}

.subtitle-image {
    width: 330px;
    height: 20.2px;
    margin: 0 auto 25px;
}

/* ===== グラデーション背景 ===== */
.logo-gradient-bg {
    width: 100%;
    background: linear-gradient(135deg, rgba(180, 255, 205, 0.2), rgba(87, 231, 247, 0.2));
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom-right-radius: 2100px 700px;
    border-bottom-left-radius: 2100px 700px;
}

/* ===== イントロセクション ===== */
.intro {
    text-align: center;
    padding: 0px 50px 50px 50px;
    max-width: 700px;
    margin: 0 auto;
}

.intro h2 {
    font-family: 'Mochiy Pop P One', sans-serif;
    font-weight: 400;
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 25px;
    color: #242424;
    line-height: 170%;
}

.intro p {
    font-weight: 500;
    font-size: 16px;
    color: #404040;
    line-height: 200%;
    text-align: left;
    margin-bottom: 50px;
}

/* ===== はじめるボタン ===== */
.start-button {
    width: 320px;
    min-width: 320px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #35E4A1 0%, #08DBF3 100%);
    color: white;
    padding: 12px 30px 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    margin: 0 auto;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.start-button .arrow {
    width: 40px;
    height: 15px;
    background-color: white;
    clip-path: polygon(0 40%, 50% 40%, 50% 15%, 100% 50%, 50% 85%, 50% 60%, 0 60%);
    margin-left: auto;
}

.start-button:hover {
    opacity: 0.9;
    color: white;
    text-decoration: none;
}

/* ===== 絵文字バー ===== */
.emoji-bar {
    text-align: center;
    font-size: 40px;
    margin: 50px 0;
    padding: 0 20px;
}

.emoji-bar span {
    margin: 0 8px;
}

/* ===== モチヨルの特徴セクション ===== */
.features {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.features h2.section-title {
    font-family: "Mochiy Pop P One", sans-serif;
    font-weight: 400;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #404040;
    padding-bottom: 50px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
    padding: 30px;
    display: flex;
    justify-content: center;
}

.feature-content {
    flex: 1;
    text-align: center;
}

.feature-image {
    margin: 0 0 20px 0;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.feature-content h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 15px 0;
    color: #242424;
    line-height: 1.4;
}

.feature-content p {
    font-size: 15px;
    color: #404040;
    text-align: left;
    line-height: 1.8;
    margin: 0;
}

/* ===== 使い方セクション ===== */
.how-to-use {
    max-width: 800px;  /* 1000px → 800px に変更 */
    margin: 0 auto;
    padding: 0 40px;
}

.how-to-use h2.section-title {
    font-family: "Mochiy Pop P One", sans-serif;
    font-weight: 400;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #404040;
    padding-bottom: 50px;
}

.section-title::before,
.section-title::after {
    content: "";
    width: 50px;
    height: 2px;
    background: #404040;
    margin: 0 20px;
}

.steps {
    /* max-width: 500px; */ /* 削除 - 親の幅に従う */
    margin: 0 auto;
    padding: 0 0 60px 0;  /* 左右のpaddingを削除 */
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.step {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
    padding: 40px 30px 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 25px 0;
    color: #242424;
}

.step-badge {    
    font-family: "Bevan", sans-serif;
    font-style: italic;
    background: #00E1A9;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 47px;
    text-align: center;
    margin: 0 0 15px 0;
}

.step p {
    font-size: 15px;
    color: #404040;
    text-align: left;
    line-height: 1.7;
    margin: 25px 0 0 0;
}

.step-content img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.step-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 24px solid #00E1A9;
    margin: 0 auto;
}

/* ===== フッター ===== */
footer {
    background-color: #404040;
    color: #fff;
    padding: 50px 40px 25px 40px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
}

footer hr {
    border: none;
    border-top: 1px solid #888;
    margin: 18px 0 10px 0;
    width: 100%;
    max-width: 600px;
    opacity: 0.4;
}

footer p {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 12px;
    margin: 0;
    text-align: left;
    width: 100%;
    max-width: 600px;
}

.footer-lists {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
    margin-bottom: 12px;
    gap: 16px;
}

.footer-lists ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.footer-lists li {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.footer-lists a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-lists a:hover {
    color: #00E1A9;
}

/* ===== タブレット対応（768px以下） ===== */
@media (max-width: 768px) {
    header {
        padding: 30px 0 0 0;
    }
    
    .logo-box {
        width: 400px;
        padding: 40px 0;
        margin: 30px auto 0;
    }
    
    .h1-image {
        width: 170px;
        height: 38.4px;
    }
    
    .subtitle-image {
        width: 280px;
        height: 17.1px;
        margin: 0 auto 20px;
    }
    
    .logo-gradient-bg {
        padding-bottom: 40px;
    }
    
    .intro {
        padding: 0px 40px 40px 40px;
        max-width: 600px;
    }
    
    .intro h2 {
        font-size: 28px;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .intro p {
        font-size: 15px;
        margin-bottom: 40px;
    }
    
    .start-button {
        width: 280px;
        min-width: 280px;
        height: 56px;
        font-size: 18px;
        padding: 10px 25px 10px 30px;
    }
    
    .start-button .arrow {
        width: 36px;
        height: 13px;
    }
    
    .emoji-bar {
        font-size: 32px;
        margin: 40px 0;
    }
    
    .emoji-bar span {
        margin: 0 6px;
    }

    .features {
        padding: 0 30px;
        margin: 0 auto 60px;
    }
    
    .features h2.section-title {
        font-size: 24px;
        padding-bottom: 40px;
    }
    
    .feature-list {
        gap: 25px;
    }
    
    .feature-item {
        padding: 25px;
    }
    
    .feature-image {
        margin: 0 0 15px 0;
    }
    
    .feature-image img {
        max-height: 250px;
    }
    
    .feature-content h3 {
        font-size: 18px;
        margin: 0 0 12px 0;
    }
    
    .feature-content p {
        font-size: 14px;
    }
    
    .how-to-use {
        padding: 0 30px;
    }
    
    .how-to-use h2.section-title {
        font-size: 24px;
        padding-bottom: 40px;
    }
    
    .section-title::before,
    .section-title::after {
        width: 38px;
        margin: 0 15px;
    }
    
    .steps {
        /* max-width: 400px; */ /* 削除 */
        padding: 0 0 50px 0;  /* 左右のpaddingを削除 */
        gap: 30px;
    }
    
    .step {
        padding: 32px 24px 28px 24px;
    }
    
    .step h3 {
        font-size: 21px;
        margin: 0 0 20px 0;
    }
    
    .step-badge {
        width: 42px;
        height: 42px;
        font-size: 17px;
        line-height: 44px;
        margin: 0 0 12px 0;
    }
    
    .step p {
        font-size: 14px;
        margin: 20px 0 0 0;
    }
    
    .step-arrow {
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-top: 21px solid #00E1A9;
    }
    
    footer {
        padding: 36px 24px 18px 24px;
        margin-top: 50px;
    }
    
    .footer-lists li {
        font-size: 14px;
        margin-bottom: 30px;
    }
}

/* ===== スマートフォン対応（480px以下） ===== */
@media (max-width: 480px) {
    .logo-box {
        width: 320px;
        max-width: 90%;
        padding: 30px 0;
    }
    
    .h1-image {
        width: 135px;
        height: 30.72px;
    }
    
    .subtitle-image {
        width: 220px;
        height: 13.7px;
        margin: 0 auto 15px;
    }
    
    .logo-gradient-bg {
        padding-bottom: 30px;
    }
    
    .intro {
        padding: 0px 30px 30px 30px;
        max-width: 500px;
    }
    
    .intro h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .intro p {
        font-size: 13px;
        margin-bottom: 30px;
    }
    
    .start-button {
        width: 240px;
        min-width: 240px;
        height: 49px;
        font-size: 16px;
    }
    
    .emoji-bar {
        font-size: 22px;
        margin: 30px 0;
    }
    
    .emoji-bar span {
        margin: 0 5px;
    }

    .features {
        padding: 0 20px;
        margin: 0 auto 40px;
    }
    
    .features h2.section-title {
        font-size: 20px;
        padding-bottom: 30px;
    }
    
    .feature-list {
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-image {
        margin: 0 0 12px 0;
    }
    
    .feature-image img {
        max-height: 200px;
    }
    
    .feature-content h3 {
        font-size: 17px;
        margin: 0 0 10px 0;
    }
    
    .feature-content p {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .how-to-use {
        padding: 0 20px;
    }
    
    .how-to-use h2.section-title {
        font-size: 20px;
        padding-bottom: 30px;
    }
    
    .section-title::before,
    .section-title::after {
        width: 38px;
        margin: 0 12px;
    }
    
    .steps {
        /* max-width: 325px; */ /* 削除 */
        padding: 0 0 40px 0;  /* 左右のpaddingを削除 */
        gap: 24px;
    }
    
    .step {
        padding: 28px 18px 24px 18px;
    }
    
    .step h3 {
        font-size: 19px;
        margin: 0 0 18px 0;
    }
    
    .step-badge {
        width: 38px;
        height: 38px;
        font-size: 16px;
        line-height: 40px;
        margin: 0 0 12px 0;
    }
    
    .step p {
        font-size: 12px;
        margin: 18px 0 0 0;
    }
    
    .step-arrow {
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
        border-top: 19px solid #00E1A9;
    }
    
    footer {
        padding: 36px 24px 18px 24px;
    }
    
    footer p {
        font-size: 11px;
    }
    
    .footer-lists {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .footer-lists li {
        font-size: 14px;
        margin-bottom: 30px;
    }
}
