@charset "utf-8";
#content {
	padding:0;
}

.home #main {
    width: 100%;
}

.section-title:before {
	font-weight:normal;
	font-family:serif;
}

.justify-center {
	justify-content:center;
}

/* ========================================
   Hero - Mobile
======================================== */

.front-hero {
    width: 100%;
    min-height: calc(100vh - 100px);
    padding-left:25px;
    overflow: hidden;
}

.front-hero > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
}

.wp-block-columns.front-hero__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    height: calc(100vh - 100px);
    margin: 0;
}

/* テキスト */
.wp-block-columns.front-hero__inner > .wp-block-column.front-hero__content {
    flex: 0 0 20%;
    position: relative;
    z-index: 2;
    align-self: center;
    overflow: visible;
}

/* 写真 */
.wp-block-columns.front-hero__inner > .wp-block-column.front-hero__visual {
    flex: 0 0 80%;
    height: 100%;
}

.front-hero__visual figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.front-hero__visual img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    border-radius: 40px 0 0 40px;
}

/* テキストを写真側へはみ出させる */
.front-hero__content h1,
.front-hero__content p {
    position: relative;
    z-index: 2;
    width: max-content;
    max-width: none;
    line-height: 1.4;
}


/* --- げん米ぱんについて --- */

.about-item {
	padding:0 10%;
}

.about-item .section-title:before {
	content:"about";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

.about-item img {
	border-radius:20px;
}

/* --- げん米ぱんができるまで --- */

.item-story {
	padding:5% 10%;
}

.item-story .section-title:before {
	content:"story";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

.item-story img {
	border-radius:20px;
}

/* --- どうやって作っているの --- */
.about-making {
	padding:5% 10%;
}

.about-making .section-title:before {
	content:"process";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

.about-making figure {
	margin-bottom:1em;
}

/* -- げん米ぱんの素材について -- */
.about-sozai {
	padding:5% 10%;
}

.about-sozai .section-title:before {
	content:"ingredients";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

.about-sozai h4{
	background-color:transparent;
}

.about-sozai .about-flour {
	border-radius:10px;
	padding:3%;
}

.about-flour h3 {
    position: relative;
    padding: 25px 0;
}

.about-flour h3::before,
.about-flour h3::after {
    content: "";
    position: absolute;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #b9a38c;
}

.about-flour h3::before {
    top: 0;
}

.about-flour h3::after {
    bottom: 0;
}


/* -- 作りてからのお願い -- */
.message {
	padding:5% 10%;
}

.message .section-title:before {
	content:"message";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

.message .message-text {
	align-self:end;
}

/* -- おいしい食べ方 -- */
.how-to-eat {
	padding:5% 10%;
}

.how-to-eat .section-title:before {
	content:"how to eat";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

.how-to-eat figure {
	margin-bottom:1em;
}

.how-to-eat img {
	border-radius:10px;
}

.how-to-eat .wp-block-columns{
	gap:8%;
}

.how-to-item {
    position: relative;
}

.how-to-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 45%;
    right: -15%;

    width: 18px;
    height: 18px;

    border-top: 2px solid #9b7048;
    border-right: 2px solid #9b7048;

    transform: translateY(-50%) rotate(45deg);
}


.how-to-eat {
    position: relative;
    background-color: #fff0c9;
    margin-top: 60px;
    padding-top: 80px;
}

/* 波 */
.how-to-eat {
    -webkit-mask-image:
        url("../images/wave-mask.svg"),
        linear-gradient(#fff 0 0),
        url("../images/wave-mask-bottom.svg");

    mask-image:
        url("../images/wave-mask.svg"),
        linear-gradient(#fff 0 0),
        url("../images/wave-mask-bottom.svg");

    -webkit-mask-size:
        100% 70px,
        100% calc(100% - 140px),
        100% 70px;

    mask-size:
        100% 70px,
        100% calc(100% - 140px),
        100% 70px;

    -webkit-mask-position:
        top left,
        left 70px,
        bottom left;

    mask-position:
        top left,
        left 70px,
        bottom left;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
/* --　アレンジ方法 -- */
.arrangement {
	border-radius:20px;
}

.arrangement .wp-block-columns{
	gap:20px;
}

.arrangement h4 {
	background-color:transparent;
}

/* -----　こんな声をいただきました ----- */
.voice {
	padding:5% 10%;
}

.voice .section-title:before {
	content:"voice";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}


.voice-list {
    margin: 60px auto 0;
}

/* 各エピソード */
.voice-item {
    width: 100%;
}

.voice-item + .voice-item {
    margin-top: 80px;
}

/* エピソード冒頭のライン */
.voice-item::before {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    margin-bottom: 25px;
    background-color: #b7a16a;
}

/* お客様の言葉 */
.voice-item h3 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .04em;
}

/* 説明文 */
.voice-item h3 + p {
    margin-top: 30px;
}

.voice-item p {
    font-size: 15px;
    line-height: 2;
}

.voice-closing {
    margin: 100px auto 0;
    text-align: center;
    font-size: 16px;
    line-height: 2;
    letter-spacing: .05em;
}


/* ----- 買う・食べる ----- */
.buy {
	padding:5% 10%;
}

.buy .section-title:before {
	content:"buy";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

.buy img {
	margin-bottom:1em;
}


/* ----- Itadaki会社情報 ----- */
.about-itadaki {
	padding:5% 10%;
}

/* ----- 画像区切り ----- */
.section-visual {
    width: 100%;
    margin: 0;
}

.section-visual img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ----- お知らせ ----- */
.top-news {
	padding:5% 10%;
}

.top-news__inner {
	border:1px solid #e5c38c;
	border-radius:20px;
	padding:20px;
}

.top-news ul li {
	list-style:none;
	border-bottom:1px solid #f3ebde;
}

.top-news .section-title-column {
	align-self:center;
}

.top-news .section-title:before {
	content:"information";
	font-size:0.7em;
	display:block;
	color:#c1a867;
}

@media screen and (min-width: 960px) {

    .front-hero {
        width: 100%;
        padding-left: 80px;
    }

    .front-hero > .wp-block-group__inner-container {
        max-width: none;
        width: 100%;
    }

    .front-hero__inner {
        gap: 0;
        margin: 0;
    }

    .wp-block-columns.front-hero__inner > .wp-block-column.front-hero__content {
        flex-grow: 0;
        flex: 0 0 25%;
        padding-right: 60px;
        position: relative;
        z-index: 2;
	    overflow: visible;
		align-self:center;
    }

	.front-hero__content h1 {
		margin-bottom:1em;
	}

    .wp-block-columns.front-hero__inner > .wp-block-column.front-hero__visual {
        flex: 0 0 75%;
        flex-grow: 0;

    }

    .front-hero__visual .metaslider {
        width: 100% !important;
    }


	/* -- こんな声をいただきました -- */
	/* 各エピソードを配置するエリア */
	.voice-list {
	    max-width: 1200px;
	    margin: 100px auto 0;
	}

	/* 各エピソード */
	.voice-item {
	    /* width: 45%; */
	}

	/* 1つ目 */
	.voice-item:nth-child(1) {
	    margin-left: 5%;
	}

	/* 2つ目：右側へ */
	.voice-item:nth-child(2) {
	    margin-top: 120px;
	    margin-left: auto;
	}

	/* 3つ目：1つ目より少し内側へ */
	.voice-item:nth-child(3) {
	    margin-top: 140px;
	    margin-left: 15%;
	}

	/* エピソード冒頭の細いライン */
	.voice-item::before {
	    content: "";
	    display: block;
	    width: 50px;
	    height: 1px;
	    margin-bottom: 25px;
	    background-color: #b7a16a;
	}

	/* お客様の言葉 */
	.voice-item h3 {
	    margin: 0;
	    padding: 0;
	    border: 0;
	    font-size: clamp(26px, 2.2vw, 36px);
	    font-weight: 600;
	    line-height: 1.6;
	    letter-spacing: .04em;
	}

	/* 説明文 */
	.voice-item h3 + p {
	    margin-top: 30px;
	}

	.voice-item p {
	    font-size: 15px;
	    line-height: 2;
	}




}