@charset "UTF-8";
/*
Theme Name: mytheme
Author: MaLK Design
Description: 自作オリジナルテーマです。
Version: 1.0
*/

/* 変数 */
:root {
	--basecolor:#BBA8DD; /* 基本色 */
    --bgcolor: #F4EEF5; /*背景色*/
    --fontcolor: #333333;
}

/* フォント */
body {
	font-family: "Cormorant","Yu Gothic", serif;
}

p {
	font-size: 15px;
    color: var(--fontcolor);
}

p.highlight {
	font-size: 20px;
    color:var(--fontcolor);
    margin-top: 0;
}

p.highlight2 {
    font-size: 40px;
}

p.highlight3 {
    font-size: 28px;
    text-align: center;
}

h1 {
	font-size: 120px;
    color: var(--fontcolor);
}

h2 {
	font-size: 40px;
    font-weight: 400;
    color: var(--fontcolor);
}

h2.small {
    font-size: 28px;
    font-weight: 400;
    color: var(--fontcolor);
}

h3 {
	font-size: 28px;
    font-weight: 400;
    color: var(--fontcolor);
}

h1, h2, h3, h4 {
  margin: 0; /* デフォルトのマージンをリセット */
}

p {
    text-align: left;
}

body {
    margin: 0;
}

/*ヘッダー*/
header {
    position: fixed;
    height: 90px;
    width: 100%;
    z-index: 1000; /* 他の要素の上に表示 */
    background-color: var(--basecolor);
}

.headerlogo {
    height: 100%;
    max-width: 120px;
    height: auto;
    display: block;
}

.main-nav {
  display: block;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.main-nav ul{
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav a {
    color: var(--fontcolor);
    text-decoration: none;
    font-size: 28px;
}

.main-nav-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: 0.3s;
}

.main-nav-list :hover {
    transform: scale(1.1);
    font-weight: 600;
    color: var(--bgcolor);
}

.main-nav-list li a {
    text-decoration: none;
    color: var(--fontcolor);
    font-size: 28px;
}

.btn1 {
    max-width: 155px;
    height: 52px;
    line-height: 52px;         /* テキストを中央に */
    background-color: var(--bgcolor); /* 背景色 */
    color: var(--fontcolor); /* 文字色 */
    text-align: center; /* 文字のアライメント */
    text-decoration: none; /* 文字装飾 */
    font-size: 24px; /* フォントサイズ */
    font-family: "Cormorant", serif; /* フォント */
    cursor: pointer; /* カーソル */
    border: none; /* ボーダーなし */
    display: inline-block; /* ボタンの表示方法 */
    padding:7px;
    transition-duration: .4s;
}

.btn1:hover {
    transform: scale(1.1);
}

.wrapper {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3.5%;
    display: flex;
    align-items: center; /* 高さ方向中央揃え */
    justify-content: space-between; /* 要素間に均等なスペース */
    line-height: 90px;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロール防止 */
}

/*フロントページ カバー*/
.cover {
    height: 100vh;
    background-image: url("images/cover.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    display: flex;
}

.cover-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;       /* テキストを中央揃えにする */
    max-width: 90%;           /* レスポンシブでの左右余白確保 */
    margin: 0 auto;           /* 中央寄せ */
}

.subtitle1, .subtitle2 {
    color: white;
}

.cover-title {
    color: white;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}

/*フロントページ アバウト*/
.about {
    margin-top: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0 5%;
    margin-left: 7%;
    margin-right: 7%;
}

.containerA {
    display: inline-block;
    max-width: 400px;
    height: auto;
    background-color: var(--bgcolor);
    padding-top: 30px;
    padding-bottom: 124px;
    padding-left: 50px;
    padding-right: 50px;
    gap: 50px;
    position: relative; /* Bの絶対位置の基準になる */
    text-align: center;
}

.btn2 {
    width: 100%;
    max-width: 250px;
    height: 70px;
    position: absolute;
    left: 50%;
    top: 100%; /* Aの下辺に配置 */
    transform: translate(-50%, -50%); /* 横中央＆縦中心をAの底辺に合わせる */
    background-color: var(--basecolor); /* 背景色 */
    color: var(--fontcolor); /* 文字色 */
    text-align: center; /* 文字のアライメント */
    text-decoration: none; /* 文字装飾 */
    display: inline-block; /* ボタンの表示方法 */
    font-size: 28px; /* フォントサイズ */
    font-family: "Cormorant", serif; /* フォント */
    cursor: pointer; /* カーソル */
    border: none; /* ボーダーなし */
    align-items: center;
    line-height: 70px;
    transition: background-color 0.3s ease;
}

.btn2:hover {
    background-color: var(--bgcolor);
    border: 1px solid var(--basecolor);
}

.containerA,
.about-image {
  max-width: 45%;
  width: 100%;
}

.containerA h2 {
  margin-bottom: 30px; /* h2の下にスペースを追加 */
}

.containerA p {
  margin-top: 0; /* pの上に余白を付けたくない場合は0に */
}

/*フロントページ サービス*/
.services {
    margin-top: 200px;
    position: relative;
    height: 500px;
}

.services-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1280px;
    width: auto;
    height: 100%;
    overflow: hidden;
    opacity: 0.75;
} 

.img-wrapper {
    width: 100%;           /* 親は画面幅いっぱい */
    height: 500px;         /* 例：表示したい縦サイズ */
    overflow: hidden;      /* はみ出し部分を非表示にする */
    position: relative;
}

.containerS {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 画面中央にピタリ */
    background-color: rgba(244, 238, 245, 0.5);
    max-width: 100%;
    padding: 30px 50px;
    text-align: center;
}

.btn3 {
    width: 300px;
    height: 70px;
    background-color: var(--basecolor); /* 背景色 */
    color: var(--fontcolor); /* 文字色 */
    text-align: center; /* 文字のアライメント */
    text-decoration: none; /* 文字装飾 */
    display: inline-block; /* ボタンの表示方法 */
    font-size: 28px; /* フォントサイズ */
    font-family: "Cormorant", serif; /* フォント */
    cursor: pointer; /* カーソル */
    border: none; /* ボーダーなし */
    align-items: center;
    line-height: 70px;
    transition: background-color 0.3s ease;
}

.btn3:hover {
    background-color: var(--bgcolor);
    border: 1px solid var(--basecolor);
}

.containerS h2 {
  margin-bottom: 30px; /* h2の下にスペースを追加 */
}

.containerS p {
  margin-top: 0; /* pの上に余白を付けたくない場合は0に */
}

/*フロントページ 農家*/
.containerF {
    display: inline-block;
    max-width: 300px;
    height: auto;
    background-color: var(--bgcolor);
    padding-top: 30px;
    padding-bottom: 124px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
    position: relative; /* Bの絶対位置の基準になる */
}

.btn4 {
    width: 100%;
    max-width: 250px;
    height: 70px;
    position: absolute;
    left: 50%;
    top: 100%; /* Aの下辺に配置 */
    transform: translate(-50%, -50%); /* 横中央＆縦中心をAの底辺に合わせる */
    background-color: var(--basecolor); /* 背景色 */
    color: var(--fontcolor); /* 文字色 */
    text-align: center; /* 文字のアライメント */
    text-decoration: none; /* 文字装飾 */
    display: inline-block; /* ボタンの表示方法 */
    font-size: 28px; /* フォントサイズ */
    font-family: "Cormorant", serif; /* フォント */
    cursor: pointer; /* カーソル */
    border: none; /* ボーダーなし */
    align-items: center;
    line-height: 70px;
    transition: background-color 0.3s ease;
}

.btn4:hover {
    background-color: var(--bgcolor);
    border: 1px solid var(--basecolor);
}

.farmers {
    margin-top: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0 5%;
    margin-left: 10%;
    margin-right: 10%;
}

.containerF,
.farmers-image {
  max-width: 45%;
  width: 100%;
}

.containerF h2 {
  margin-bottom: 30px; /* h2の下にスペースを追加 */
}

.containerF p {
  margin-top: 0; /* pの上に余白を付けたくない場合は0に */
}

.colorboxB {
    flex: 1 1 300px; /* 柔軟に幅を取るように */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 280px;
    background-color: var(--bgcolor);
    padding-top: 55px;
    padding-bottom: 55px;
    margin-top: 200px;
    margin-bottom: 0;
}

.btn-shop, .btn-shop1, .btn6, .btn5 {
    width: 100%;
    max-width: 250px;
    height: 70px;
    background-color: var(--basecolor); /* 背景色 */
    color: var(--fontcolor); /* 文字色 */
    text-align: center; /* 文字のアライメント */
    text-decoration: none; /* 文字装飾 */
    display: inline-block; /* ボタンの表示方法 */
    font-size: 28px; /* フォントサイズ */
    font-family: "Cormorant", serif; /* フォント */
    cursor: pointer; /* カーソル */
    border: none; /* ボーダーなし */
    align-items: center;
    line-height: 70px;
    transition: background-color 0.3s ease;
}

.btn-shop:hover, .btn-shop1:hover, .btn6:hover, .btn5:hover {
    background-color: var(--bgcolor);
    border: 1px solid var(--basecolor);
}

/*アバウトのページ*/
.titlebox {
    position: relative;
    top: 235px;
    left: 80px;
}

.pagelogo {
    position: absolute;
    top: 87px;
    left: 74px;
    width:240px;
    height: auto;
}

.aboutP {
    position: relative;
    text-align: left;
    width: 100%;
    height: auto;
    max-width: 560px;
    flex: 1 1 300px; /* 柔軟に幅を取るように */
}

.about-image1 {
    width: 100%;
    height: auto;
    max-width: 530px;
    display: block;
    flex: 1 1 300px; /* テキストと同じくらい柔軟に */
}

.middle-band {
  width: 100%;
  height: 460px; 
  background-color: var(--bgcolor); 
}

.containerabout1 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 280px;
    margin-bottom: -20%;
    flex-wrap: wrap; /* 画面が狭くなったら縦並びに切り替え */
    padding: 0 5%; /* 画面端に余白を入れる */
}

.containerabout2 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-top: -20%;
    flex-wrap: wrap; /* 画面が狭くなったら縦並びに切り替え */
    padding: 0 5%; /* 画面端に余白を入れる */
}

.containerabout3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1280px;
    width: 100%;
    margin: 200px auto 290px;
    box-sizing: border-box;
    gap: 20px;
}

.colorboxA3 {
    display: inline-block;
    max-width: 460px;
    background-color: var(--bgcolor);
    padding: 50px 200px 60px;
    position: relative;
    text-align: left;
    margin-left: 0;
}

.aboutP2 {
    position: relative;
    text-align: left;
}

.about-image2 {
    width: 48%;
    max-width: 300px;
    height: auto;
}

.btn-shop1 {
    margin-top: 60px;
}

.containerimage {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/*サービス*/
.margintop {
    margin-top: 350px;
    text-align: center;
}

.colorboxS1 {
    display: inline-block;
    background-color: var(--bgcolor);
    padding-top: 40px;
    padding-right: 80px;
    padding-bottom: 110px;
    padding-left: 80px;
    margin: 0 10px;
}

.title {
    text-align: center;
    margin-bottom: 35px;
}

.imagebox {
    position: relative;
}

.plan-image {
    width: 100%;
    height: auto;
    max-width: 520px;
    display: block;
    margin: 0 auto;
}

.pbox {
    position: absolute;
    background-color: rgb(255 255 255/0.5);
    text-align: left;
    top: 10px;
    left: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 20px;
}

.list {
    background-color: white;
    max-width: 100%;
    padding-top: 28px;
    padding-bottom: 28px;
    padding-right: 10px;
    margin-top: 0;
    text-align: left;
}

.plan {
    display:flex;
    justify-content: center;
    gap:80px;
}

.pbox2 {
    max-width: 450px;
    display: inline-block;
    text-align: center;
    background-color: var(--bgcolor);
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 40px;
    padding-bottom: 45px;
}

.arrow {
    display: block;
    margin:80px auto;
    width: 50px;
    height: 40px;
}

.shop-image1 {
    width: 100%;
    height: auto;
    max-width: 340px;
    display: block;
}

.shop-image2 {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
}

.shopbox1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shopbox2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.shop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 10px 200px;
}

/*農家*/
.farmer-image {
    width: 70%;
    max-width:360px;
    height: auto;
}

.farmersp {
    max-width: 570px;
    text-align: left;
}

.farmer1, .farmer2, .farmer3 {
    display: flex;
    align-items: center;
    gap: 40px;
}

.containerfm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 200px;
    margin-bottom: 200px;
}

.list2 {
    text-align: left;
}

/*問い合わせ*/
.contact-content {
    margin-top: 350px;
    margin-bottom: 160px;
    text-align: center;
}

.contacth {
    margin-bottom: 0;
}

.contact-form-wrapper {
    display: flex;
    justify-content: center; /* 横方向中央 */
    width: 100%;
}

/* 全体のフォーム入力欄のスタイル */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    width: 100%;
    max-width: 700px;               
    padding: 10px;             /* 内側の余白 */
    font-size: 15px;           /* 文字サイズ */
    border: 1px solid var(--basecolor);    /* 枠線 */
    border-radius: 4px;        /* 角丸 */
    background-color: var(--bgcolor); /* 背景色 */
    margin-bottom: 20px;       /* 各フィールド間の余白 */
}

/* テキストエリアだけちょっと高く */
.custom-contact-form textarea {
    height: 150px;
    resize: vertical; /* リサイズ可能に */
}

/* 送信ボタンのカスタマイズ */
.custom-contact-form input[type="submit"] {
    background-color: var(--basecolor);
    color: var(--fontcolor);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: Cormorant;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-contact-form input[type="submit"]:hover {
    background-color: var(--bgcolor);
    border: 1px solid var(--basecolor);
}

/*フッター*/
.footer {
    height: 90px;
    width: 100%;
    background-color: var(--basecolor);
}

.footerh {
    padding-top: 30px;
    text-align: center;
}

.footera {
    text-decoration: none;
    transition: 0.3s;
}

.footera :hover {
    transform: scale(1.1);
    font-weight: 600;
    color: var(--bgcolor);
}

/* タブレット・スマホ用のスタイル */
@media screen and (min-width:768px) and (max-width:1080px) {
    .farmer1, .farmer2, .farmer3 {
        margin: 0 20px 90px;
    }

    .colorboxS1 {
        padding-right: 40px;
        padding-bottom: 80px;
        padding-left: 40px;
    }

    .plan-image {
    max-width: 720px;
}
}


@media screen and (max-width: 768px) {

    .containerabout1, .containerabout2, .containerabout3, .margintop, .colorboxS1, .shop, .farmer1, .farmer2, .farmer3, .contact-content {
        padding-left: 10px;
        padding-right: 10px;
    }

  /*ヘッダー*/
    .headerlogo {
        width: 100%;
        max-width: 100px;
        height: auto;
        display: block;
        order: 1;
        margin-top: 12px;
    }    

    .menu-toggle {
        display: block;
        order: 4;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 90px;
        right: 5%;
        width: 30%;
        background: var(--bgcolor);
        opacity: 0.8;
        padding-left: 5%;
        order: 3;
        z-index: 9999; 
    }

    .main-nav.active {
        display: block;
    }

    .main-nav-list {
        display: flex;
        flex-direction: column;
    }

    .main-nav-list li a {
        font-size: 28px;
    }

    .btn1 { 
        order: 2; 
        margin-top: 12px;
    }

  /*フロントページ*/
    p.highlight2 {
        font-size: 20px;
    }

    .cover-title {
        font-size: 60px;
    }

    .about {
        display: flex;
        flex-direction: column;
        margin-top: 80px;
        padding: 0 5%;
    }

    .containerA,
    .about-image {
        max-width: 90%;
    }

    .containerA, .containerF {
        margin-bottom: -50px;
    }

    .containerS {
        background-color: rgba(244, 238, 245, 0.5);
        padding: 30px 20px;
        text-align: center;   
    }

    .services-image {
        width: auto;
        height: 500px;
    }

    .services {
        margin-top: 75px;
    }

    .farmers {
        margin-top: 75px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .containerF,
    .farmers-image {
        max-width: 90%;
    }

    .colorboxB {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-top: 75px;
        margin-bottom: 0;
    }

  /*アバウトページ*/
    .titlebox {
        top: 100px;
        left: 15px;
    }

    .pagetitle {
        font-size: 60px;
    }

    .pagelogo {
        position: absolute;
        top: 50px;
        left: 45px;
        width:120px;
        height: auto;
    }

    .margintop {
        margin-top: 180px;
    }

    .containerabout1 {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 70px;
        margin-bottom: -180px;
    }

    .containerabout2 {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: -240px;
    }

    .colorboxA3 {
        padding: 30px 20px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .containerabout3 {
        padding: 0 10px; /* 全体にも安全マージン */
        margin: 75px 0;
    }    

  /*サービスページ*/
    .colorboxS1 {
        padding-right: 20px;
        padding-bottom: 60px;
        padding-left: 20px;
    }

    .plan {
        display:flex;
        flex-direction: column;
        gap:30px;
    }

    .pbox2 {
        max-width: 450px;
        display: inline-block;
        text-align: center;
        background-color: var(--bgcolor);
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .shopbox2 {
        gap: 10px;
        align-items: center;
    }

    .shopbox1 {
        gap: 10px;
        align-items: center;
    }

    .shop {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 100px;
    }


  /*農家ページ*/
    .farmer1, .farmer2, .farmer3 {
        display: flex;
        flex-direction:column;
        align-items: center;
        gap: 20px; 
    }

    .containerfm {
        gap: 90px;
        margin-bottom: 90px;
    }

    .farmer2 .farmersp {
        order: 2;
    }

    .farmer2 .farmer-image {
        order: 1;
    }

  /*問い合わせページ*/    
    .contact-content {
        margin-top: 170px;
        margin-bottom: 100px;
    }

    .custom-contact-form input[type="text"],
    .custom-contact-form input[type="email"],
    .custom-contact-form input[type="tel"],
    .custom-contact-form textarea {
        max-width: 300px;               
    }

}