@charset "UTF-8";
/*
Theme Name: mytheme
Author: MaLK Design
Description: 自作オリジナルテーマです。
Version: 1.0
*/

/* 変数 */
:root {
	--basecolor:#E6C5C4; /* 基本色 */
    --bgcolor: #F4F0EC; /*背景色*/
    --fontcolor: #343434;
}

/* フォント */
body {
	font-family: 'Sacramento', 'Zen Kaku Gothic New', sans-serif;
}

h1 {
	font-size: 150px;
    color: white;
    font-weight: 400;
}

h2 {
	font-size: 80px;
    color: var(--fontcolor);
    font-weight: 400
}

h3 {
	font-size: 32px;
    color: var(--fontcolor);
    font-weight: 400
}

h4 {
	font-size: 20px;
    color: var(--fontcolor);
}

h1, h2, h3, h4 {
  margin: 0; /* デフォルトのマージンをリセット */
  padding: 0;
}

p {
	font-size: 15px;
    font-family: Zen Kaku Gothic New;
    color: var(--fontcolor);
    margin: 0;
    padding: 0;
}

p.highlight {
	font-size: 18px;
    color:var(--fontcolor);
}

p.highlight2 {
    font-size: 32px;
    color:white;
}


p {
    text-align: left;
}

body {
    margin: 0;
}

/*ヘッダー*/
header {
    height: 70px;
    width: 100%;
    z-index: 1000; /* 他の要素の上に表示 */
    background-color: var(--basecolor);
}

.headerlogo {
    height: 100%;
    max-width: 50px;
    height: auto;
    display: block;
    transition: 0.3s;
}

.headerlogo:hover {
    opacity: 0.7;
}

.main-nav {
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    z-index: 2;
}

.main-nav ul{
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: 0.3s;
}

.main-nav-list li a:hover {
    color: white;
}

.main-nav-list li a {
    text-decoration: none;
    color: var(--fontcolor);
    font-size: 18px;
}

.wrapper {
    max-width: 1280px;
    width: 100%;
    padding: 0  3.5%;
    margin: 0 auto;
    display: flex;
    align-items: center; /* 高さ方向中央揃え */
    justify-content: space-between; /* 要素間に均等なスペース */
    line-height: 70px;
    box-sizing: border-box;
}

/*フッター*/
footer {
    height: 580px;
    width: 100%;
    z-index: 1000; /* 他の要素の上に表示 */
    background-color: var(--bgcolor);
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footerlogo {
    height: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin-top: 80px;
}

.footermama {
    margin-top: 40px;
    margin-bottom: 20px;
}

.address {
    text-align: center;
    margin-bottom: 80px;
}

.footermenu {
    display: flex;
    gap: 15px;
    padding-left: 0;
}

.list {
    color: var(--fontcolor);
    font-family: Zen Kaku Gothic New;
    font-size: 24px;
    line-height: 24px;
}

.list-logo {
    list-style: none;
    line-height: 24px;
}

.list-bt {
    display: flex;
    gap: 5px;
    text-decoration: none;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロール防止 */
}

/*フロントページ*/
.cover-top, .cover-about, .cover-service, .cover-design {
    height: 100vh;
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    overflow: hidden;
    color: white;
}

.cover-top::before, .cover-about::before, .cover-service::before, .cover-design::before {
    position: absolute;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    inset: 0;
    animation: fadeInBg 1.5s ease forwards;
    content: "";
    opacity: 0;
    z-index: 0;  /* 背景をテキストより下に */
}

.cover-top::before {
    background-image: url("images/cover-top.jpg");
}

.mama {
    line-height: 114px;
    opacity: 0; /* 初期は非表示 */
    animation: fadeInText 1s ease forwards;
    animation-delay: 1.6s; /* 背景フェードイン後に少し遅れて表示 */
}

.title-ani {
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-delay: 2.1s; /* タイトルの後に表示 */
}

.cover-title {
    position: relative; /* z-indexを効かせるため */
    z-index: 1;         /* 背景より前面に表示 */
    opacity: 0; /* アニメーション用に初期値を0に */
    animation: fadeInText 1s ease forwards;
    animation-delay: 0.8s; /* 背景の後に表示 */
}

.cover-inner {
    position: relative; /* z-indexを効かせるため */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;       /* テキストを中央揃えにする */
    max-width: 90%;           /* レスポンシブでの左右余白確保 */
    margin: 0 auto;           /* 中央寄せ */
}

.bg-text {
    background-color: rgba(230,197,196,0.4); /* グレーの背景 */
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    opacity: 0;                  /* 初期は非表示 */
    animation: fadeInText 1s ease forwards;
}

.bg-text {
    animation-delay: 1.6s; 
}

.bg-text {
    animation-delay: 2.1s; 
}

.about,
.services,
.service {
    margin-top: 150px;
}

.gallery {
    margin-top: 50px;
}

.title { 
    text-align: center;
    margin-bottom: 70px;
}


.about-image {
    border-radius: 20px;
    max-width: 35%;
    height: auto;
    object-fit: cover;   /* 切り抜きたい場合 */
    flex-shrink: 0;      /* 縮ませない */
}

.background1 {
    display: inline-block;
    height: auto;
    background-color: var(--basecolor);
    padding: 75px 65px;
    border-radius: 20px;
}

.container-about1 {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* ← stretchではなくtop基準で揃える */
    gap: 60px;
}

.container-about2 {
    display: flex;
    flex-direction: column;
    max-width: 35%;
}

.btn1, .btn2, .btn3 {
    width: 100%;
    max-width: 250px;
    height: 80px;
    color: var(--fontcolor); /* 文字色 */
    text-align: center; /* 文字のアライメント */
    text-decoration: none; /* 文字装飾 */
    display: inline-block; /* ボタンの表示方法 */
    font-size: 40px; /* フォントサイズ */
    font-family: "sacramento", serif; /* フォント */
    cursor: pointer; /* カーソル */
    border: none; /* ボーダーなし */
    border-radius: 20px;
    line-height: 80px;
}

.btn1, .btn3 {
    background-color: var(--bgcolor); 
    margin-top: 20px;
}

.btn2 {
    background-color: var(--bgcolor);
    margin-bottom: 150px;
}

.btn1, .btn2, .btn3, .btn-con {
    transition: 0.3s;
}

.btn1:hover, .btn2:hover, .btn3:hover, .btn-con:hover {
    opacity: 0.7;
}

.services {
    background-image: url("images/bg-top.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.title1 { 
    text-align: center;
    padding-top: 80px;
}

.container-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 90px;
}

.background2 {
    display: inline-block;
    max-width:75%;
    height: auto;
    background-color: var(--bgcolor);
    padding: 75px 65px;
    border-radius: 20px;
    margin: 70px auto 0;
}

.background2 p,
.background1 p {
    margin-bottom: 10px;
}

.services-image {
    max-width: 92%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.container-design1 {
    max-width: 90%;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0 auto 90px auto;
}

.container-design2 {
    display: flex;
    flex-direction: column;
}

.design-image1, .design-image2 {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.btn3 {
    display:block;
    width:250px;
    margin:0 auto;
}

.spacer {
    height: 100vh; /* スクロールの余白 */
}

/* about us */
.cover-about::before {
    background-image: url("images/cover-about.jpg");
}

.about1 {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 60px; 
    margin-top: 150px;
}

.about-image1 {
    border-radius: 20px;
    flex: 0 0 30%;
    width: 30%;
    max-width: 600px;    
}

.about-inner {
    flex: 0 0 30%;
    text-align: right;
    width: 30%;
    max-width: 600px;
}

.about-inner1 {
    flex: 0 0 30%;
    text-align: left;
    width: 30%;
    max-width: 600px;
}

.about-inner p {
    text-align: right;
    margin-bottom: 15px;
}

.about-inner1 p {
    margin-bottom: 15px;
}

.about-inner h2,
.about-inner1 h2 {
   font-size: 50px;
   line-height: 50px;
   
}

.span1 {
    display: block;
    font-size: 32px;
    margin-bottom: 30px;
    border-top: solid #343434 1px;
}

.btn-con {
    width: 100%;
    max-width: 250px;
    height: 80px;
    background-color: var(--basecolor);
    color: var(--fontcolor); /* 文字色 */
    text-align: center; /* 文字のアライメント */
    text-decoration: none; /* 文字装飾 */
    display: inline-block; /* ボタンの表示方法 */
    font-size: 18px; /* フォントサイズ */
    font-family: "Zen Kaku Gothic New"; /* フォント */
    cursor: pointer; /* カーソル */
    border: none; /* ボーダーなし */
    border-radius: 20px;
    line-height: 80px;
    margin: 0 auto;
    margin-top: 150px;
    display:block;
    width:250px;
}

/* servicese & plan */
.cover-service::before {
    background-image: url("images/cover-services.jpg");
}

.service {
    background-image: url("images/bg-services.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.title2 { 
    text-align: center;
    margin-bottom: 0px;
    line-height: 80px;
}

.sub-title { 
    text-align: center;
    margin-bottom: 120px;
}

.service1 {
    display: flex;
    justify-content: center; 
    margin-bottom: 150px;
}

.service-inner {
    flex: 0 0 25%;
    max-width: 280px;
    text-align: left;
    background-color: var(--bgcolor);
    padding: 110px 50px 50px 50px;
    border-radius: 0 20px 20px 0
}

.service-inner h4 {
    font-weight: 400;
    margin-bottom: 15px;
}

.service-image {
    border-radius: 20px 0 0 20px;
    flex: 0 0 25%;
    max-width: 390px;
}

.titlemini {
    text-align: center;
    line-height: 30px;
    margin-bottom: -90px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10000;
    background-color: rgba(255,255,255,0.5);
    border-radius: 10px;
    width: fit-content; 
    padding: 20px 20px 10px 20px;
}

.service-bottom {
    margin-bottom: 150px;
}

.title3 { 
    text-align: center;
    margin-bottom: 0px;
}

.band {
  width: 100%;
  height: 100px; 
}

.plan1 {
    display: flex;
    justify-content: center;
    box-sizing:border-box;
    gap: 2%;
    width:80%;
    margin: 0 auto;
    height:auto;
}

.plan2 {
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width:25%;
    height:auto;
    border: var(--basecolor) solid 1px;
    border-radius: 20px;
}

.top, .bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top {
    padding: 50px 30px 30px 30px;
    max-width: 100%;
}

.top p {
    margin-bottom: 30px;
    line-height: 50px;
    border-bottom: solid var(--basecolor) 1px;
}

.plan-image {
    max-width: 170px;
    display:block;
}

.bottom {
    background-color: var(--basecolor);
    border-radius: 0 0 20px 20px;
    padding: 30px 50px;
    max-width: 100%;
    height: 400px;
}

.plan-text {
    color: white;
    font-weight: 500;
    margin-bottom: 30px;
}

.price {
    color: white;
    font-size: 40px;
    font-weight: 400;
    line-height: 60px;
    border-top: solid white 1px;
    margin-top: 40px;
}

.tax {
    color: white;
    font-size: 18px;
    line-height: 25px;
    vertical-align: middle;
}

/* our design */
.cover-design::before {
    background-image: url("images/cover-design.jpg");
}

.slider {
    margin-top: 150px;
}

.design-title {
    text-align: center;
    margin-top: 45px;
    line-height: 32px;
}

.design-text {
    text-align: center;
    margin-top: 25px;
    line-height: 15px;
}

/* contact */
.pagetitle {
    color: var(--fontcolor);
    font-size: 96px;
    text-align: center;
    margin-top: 110px;
}

.small {
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.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;       /* 各フィールド間の余白 */
    line-height: 15px;
}

/* テキストエリアだけちょっと高く */
.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: Zen Kaku Gothic New;
    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);
}

/*アニメーション*/
@keyframes fadeInBg {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px); /* 下からふわっと */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll {
  opacity: 0;                 /* 初期は非表示 */
  transform: translateY(20px); /* 下から少し上にスライド */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll.show {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻す */
}


@media screen and (min-width:768px) and (max-width:1080px) {
    .main-nav ul{
        gap: 28px;
    }

    .main-nav-list {
        gap: 28px;
    }

    .list {
        font-size: 18px;
        line-height: 18px;
    }

    .minilogom {
        width: 18px;
        height: auto;
        line-height: 18px;
    }

    .minilogo {
        width: 18px;
        height: 18px;
        line-height: 18px;
    }

    .mama {
        font-size: 100px;
        line-height: 100px;
    }

    .cover-title {
        font-size: 100px;
        line-height: 100px;
    }

    
    .about-image, .container-about2  {
        max-width: 45%;
    }

    .container-about1 {
        gap: 30px;
    }

    .about-inner, .about-inner1, .about-image1 {  
        width: 45%;
    }

    .plan1 {
        width:90%;
    }

    .top {
        padding: 50px 30px 30px 30px;
    }

    .top h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .top p {
        margin-bottom: 30px;
        line-height: 25px;
        text-align: center;
    }

    .bottom {
        padding: 20px 30px;
    }
}

@media screen and (max-width: 767px) {
    .container-about1, .container-services, .container-design1, .plan, .gall, .contact-content, .about0 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .service1, .plan {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cover-title {
        font-size: 70px;
        line-height: 70px;
    }

    .pagetitle {
        font-size: 70px;
        line-height: 70px;
    }

    /*ヘッダー*/
    header {
        height: 50px;
    }

    .headerlogo {
        width: 100%;
        max-width: 40px;
        height: auto;
        display: block;
        order: 1;
        margin-top: 5px;
    }

    .menu-toggle {
        display: block;
        color: white;
        margin-top: 5px;
    }

    .main-nav {
        display: none;
        position: absolute;
        z-index: 10;
        top: 50px;
        right: 12%;
        width: 30%;
        background: #fff;
        opacity: 0.8;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav ul{
        gap: 20px;
    }
    
    .main-nav.active {
        display: block;
    }

    .main-nav-list {
        display: flex;
        flex-direction: column;
    }

    .wrapper {
        line-height: 50px;
    }

    /*フッター*/
    footer {
        height: 550px;
        margin-top: 100px;
    }

    .footerlogo {
        max-width: 150px;
        margin-top: 50px;
    }
    
    .footermama {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .address {
        margin-bottom: 50px;
    }
    
    .footermenu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
    }

    .list {
        font-size: 15px;
        line-height: 15px;
        margin-right: 10px;
    }

    .minilogom {
        width: 15px;
        height: 13px;
    }

    .minilogo {
        width: 13px;
        height: 13px;
        line-height: 13px;
    }


  /*フロントページ*/
    .mama {
        font-size: 50px;
        line-height: 50px;
    }

    .bg-text {
        padding: 15px 20px;
    }

    p.highlight2 {
        font-size: 18px;
    }

    p.cover-inner {
        padding: 10px;
    }

    p.highlight {
	    font-size: 15px;
    }

    h2 {
	    font-size: 60px;
    }

    .about,
    .services,
    .service {
        margin-top: 100px;
    }

    .title { 
        margin-bottom: 50px;
        line-height: 50px;
    }

    .title1 {
        margin-bottom: 80px;
        padding-top: 0;
        line-height: 50px;
    }

    .container-about1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .container-services,
    .container-about2,
    .about-image,
    .design-image {
        max-width: 100%;
    }

    .background1, .background2 {
        padding: 50px 45px;
    }

    .background2 {
        margin-top: 0;
    }

    .container-about2 {
        align-items: center;
    }

    .services {
        background-image: url("images/bg-topm.png");
    }

    .btn1, .btn2, .btn3 {
        max-width: 200px;
        height: 60px;
        line-height: 60px;
    }
 
    .container-design1 {
        display: flex;
        flex-direction: column;
        gap: 45px;
        margin-bottom: 100px;
    }

    .design-image {
        margin-bottom: 5px;
    }

/*アバウト*/
    .about1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 100px;
    }

    .about-inner, .about-inner1, .about-image1 {
        width: 100%;
    }

    .about-inner {
        text-align: left;
    }

    .about-inner h3, .about-inner1 h3 {
        font-size: 24px;
    }

    .about-inner p {
        text-align: left;
    }

    .about1 .about-imagem {
        order: 2;
    }

    .about1 .about-inner1 {
        order: 1;
    }

    .btn-con {
        max-width: 200px;
        height: 60px;
        font-size: 15px;
        line-height: 60px;
        margin-top: 100px;
    }

/*サービス＆プラン*/
    .service {
        background-image: url("images/bg-servicesm.png");
    }

    .service1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 100px;
    }

    .service-inner {
        max-width: 100%;
        padding: 50px;
        border-radius: 0 0 20px 20px;
    }

    .service-image {
        border-radius: 20px 20px 0 0;
        max-width: 100%;
    }

    .titlemini {
        font-family: Zen Kaku Gothic New;
        font-size: 24px;
        line-height: 24px;
        margin-bottom: -90px;
        max-width: 280px; 
        padding: 15px 10px 15px 10px;
    }

    .sub-title { 
        margin: 0 auto 100px auto;
        text-align: center;
        max-width: 80%;
    }

    .plan1 {
        display: flex;
        flex-direction: column;
        gap: 60px;
        width:100%;
        margin-top: 100px;
    }

    .plan2 {
        flex:1;
        display: flex;
        flex-direction: column;
        width:100%;
    }

/*ギャラリー*/
    .slider {
        margin-top: 100px;
    }

    .design-title {
        font-size: 23px;
        margin-top: 20px;
        line-height: 24px;
    }

    .design-text {
        text-align: center;
        margin-top: 10px;
        line-height: 20px;
        padding: 0 50px;
    }
/*コンタクト*/
    .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;               
    } 

    .small {
        font-size: 18px;
        line-height: 18px;
        margin-top: 30px;
        margin-bottom: 50px;
}
}