@charset "utf-8";

/*----------------------------------------
共通設定
----------------------------------------*/
* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    color: #006400;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロール防止 */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#container {
    max-width: 100%;
    width: 375px;
    margin: 0 auto;
    text-align: center;
}  

section,
footer {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 32px 16px;
}

/*----------------------------------------
セクションごと
----------------------------------------*/

.hero {
    width: 100%; 
    height: 667px; 
    background-image: url('images/mainvisual.webp');
    background-size: contain;       
    background-repeat: no-repeat;   
}

.hero-text {
    writing-mode: vertical-rl;/* 縦書きの方向を設定 */
    text-orientation: upright;/* 文字の向きを直立に設定 */
    letter-spacing: 0.1em;/* 文字の間隔を調整 */
    line-height: 1.5;/* 行の高さを調整 */  
    text-shadow: -2px -2px 4px #FFF, 2px 2px 4px #FFF;
    padding: 0 32px;
}

.chatchopy-first{
    color: #A52A2A;
    font-family: "Noto Serif JP";
    font-size: 3.2rem;
    font-weight: 700;
    line-height: normal;
}

.chatchopy-second {
    color: #A52A2A;
    font-family: "Noto Serif JP";
    font-size: 3.2rem;
    font-weight: 700;
    line-height: normal;
    margin-top: 150px;
}


/*----------------------------------------
セクションタイトル
----------------------------------------*/
.section-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px; /* 下線の下のスペース */
}

.section-title h2 {
    color: #A52A2A;
    font-family: "Noto Serif JP", serif;
    font-size: 2.4rem;
    font-weight: 700;
    text-decoration: underline;
    display: inline-block;
    vertical-align: middle;
}

.title-sab:nth-child(2) {
    padding-top: 16px;
}

/*----------------------------------------
キャンペーンカード
----------------------------------------*/
h3 {
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.campaign {
    background: url("./images/background.webp") no-repeat center / cover;
}

.campaign-second {
    background: none !important; 
}

.campaign-cards {
    display: grid;
    grid-template-columns: repeat(2, 167.5px);
    gap: 8px;
    justify-content: center;
    margin: 16px 0 32px;
}


.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 167.5px;
    height: 167.5px;
    border: 1px solid #006400;
    background-color: #fff;
    border-radius: 8px;
    box-sizing: border-box; /* 安定のため追加 */
}

.card svg {
    margin: 24px 0;
}

.card-text {
    font-size: 1.6rem;
    color: #006400;
    text-align: center;
    line-height: 1.6rem;
    padding: 0 12px;
}

.campaign-icon {
    display: flex;
    align-items: center;    /* 縦中央揃え */
    gap: 8px;
}
.campaign-cards .card:nth-child(3) .card-text {
    padding: 0 10px 0 8px; /* 左右だけ指定（必要なら上下も） */
    line-height: 1.6rem;
    text-align: center;
}
.campaign-cards .card:nth-child(4) .card-text {
    padding: 0 10px 0 10px; 
    line-height: 1.6rem;
    text-align: center;
}
.campaign-icon svg {
    width: 40px;
    height: 40px;
}

.campaign-cards .card:nth-child(4) svg {
    margin-top: 32px; 
}

/* ボタン */
.button-item{
    margin-top: 8px;
}

.button-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 343px;
    height: 48px;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 100, 0, 0.50) 0%, #006400 30%, #006400 70%, rgba(0, 100, 0, 0.50) 100%);
}

.button-text:nth-child(2) {
    margin-top: 8px;
}

.button-text svg {
    margin-left: 8px;
}

/* ここがすっごい！*/
.feature-item {
    width: 343px;
    height: 283px;
    margin-top: 32px;
    text-align: center;
}

.feature-item:nth-child(1) {
    margin-top: 0;
}

.feature-img{
    width: 100%;
    height: auto;
    border: 1px solid #006400;
    border-radius: 8px;
}

.feature-text{
    margin-top: 8px;
   
}


/* お客様の声 */
.voice {
    background-image: url("images/background.webp"); 
}

.review {
    display: flex; /* 文章はそのまま横並び */
    position: relative; /* absolute を基準にする */
    margin: 32px 0;
}

.review svg {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: block; /* ブロックにして下に改行 */
    margin-bottom: 8px;
}
.review-text {
    text-align: left;
    margin-left: 16px;
    position: relative; /* ::after の位置基準 */
    
}
.review-text::after { 
    content: ""; /* 必須：空の要素を作る */ 
    position: absolute; /* review-textの中で絶対配置 */ 
    left: -79px; 
    bottom: -16px; /* 下端に配置 */ 
    width: 343px; /* 横幅指定 */ 
    height: 1px; /* 線の太さ */ 
    background-color: #A52A2A; /* 線の色（ブラウン） */ }

/* 5番目の review の review-text の線だけ消す */
.review:nth-of-type(5) .review-text::after {
    display: none;
    margin: 0;
}

.review-icom {
    position: absolute;  /* 見た目調整のため絶対位置 */
    left: 0;             /* SVG の左端に合わせる */
    top: 70px;            /* SVG の下あたりに */
    display: inline-block; 
    white-space: nowrap;  /* 横文字のまま */
    margin: 0;
}

.review:nth-child(1) ,
.review:nth-child(5) {
    margin: 0;
}

/*メニュー紹介 */

.menu-list{
    background-image: url("images/background.webp");
    width: 100%;
    height: auto;
}

.menu-item{
    border: 1px solid #006400;
    background-color: #FFF;
    border-radius: 8px;
    margin-bottom: 16px;
}

.mark{
    display: flex;
    justify-content:space-between;
    padding: 8px;
}
.mark-list{
    display: flex;
    gap: 8px;
}

.menu-text{
    text-align: left;
    padding: 0 8px 8px 8px;
}
    

/*ご利用の流れ  */
.usage{
    background-color: #FFF;
}

.step-arrow {
    margin: 16px auto;
}

.step-fiow {
    margin-top: 16px;
}

.step {
  background-color: #FFF;          /* 白背景 */
  border: 1px solid #006400;       /* 緑の枠線 */
  border-radius: 8px; 
  display: flex;                   /* 中身を整列 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/*Q＆A */
.faq-question{
    margin: 16px 16px 0 16px;
}
.faq-answer{
   margin: 8px 16px 0 16px;
}

/* Q＆A 全体 */

.faq-question,
.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.question-title {
    margin-right: 8px;
    line-height: 1.5;
    text-align: left;   
}

.question-text {
    line-height: 1.5;
    text-align: left; 
}

/* Q 吹き出し　*/
.faq-question {
    position: relative;
    display: flex;
    width: 343px;
    max-width: 100%;
    margin: auto; /* 中央寄せ */
    padding: 8px 12px;
    border: 1px solid #006400;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    color: #006400;
}

.faq-question::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 0;
    border-style: solid;
    border-width: 4px 10px 4px 0;
    border-color: transparent #006400 transparent transparent;
    translate: -100% -50%;
    transform: skew(0, 10deg);
    transform-origin: right;
}

.faq-question::after {
    content: "";
    position: absolute;
    top: 40%;
    left: 0;
    border-style: solid;
    border-width: 2.9px 7.3px 2.9px 0;
    border-color: transparent #ffffff transparent transparent;
    translate: -100% -50%;
    transform: skew(0, 10deg);
    transform-origin: right;
}
/* A 吹き出し　*/
.faq-answer {
    position: relative;
    display: flex;
    width: 343px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #006400;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: #006400;
    margin-top: 8px;
}

.faq-answer::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    border-style: solid;
    border-width: 4px 0 4px 10px;
    border-color: transparent transparent transparent #006400;
    translate: 100% -50%;
    transform: skew(0, -4deg);
    transform-origin: left;
}

.faq-answer::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    border-style: solid;
    border-width: 2.9px 0 2.9px 7.3px;
    border-color: transparent transparent transparent #ffffff;
    translate: 100% -50%;
    transform: skew(0, -4deg);
    transform-origin: left;
}


.faq-item {
    margin-bottom: 16px;
}

.faq-item:nth-child(3) {
    margin-bottom: 0;
}

.footer {
  width: 100%;
  height: auto;
  background-image: url("images/mealkit.webp"); /* 置きたい背景画像 */
  background-size: cover;      /* 全体にフィット */
  background-repeat: no-repeat;
}

/* SNS */
.sns-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.sns-icon{
    width: 48px;
    height: 48px;
}
.copy{
    color: #FFF;
    margin-top: 16px;
}