@charset "UTF-8";

@media(min-width:1000px) {
    body {
        min-width: 1000px;
    }

    .container {
        width: 100%;
    }

    /* PCcss */
body{
    min-width: 1000px;
    background-color: #F2EBDB;
    
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}


*{
    cursor: url(../img/cute.png),auto;
    margin: 0;
    padding: 0;
}



.container {
    width: 100%;
    margin: 0 auto;
}

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/

#splash {
    /*fixedで全面に固定*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background:#F2EBDB;
    text-align: center;
    color: #fff;
}

/* Loadingバー中央配置　*/
#splash_text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    width: 100%;
    transform: translate(-50%, -50%);
    color: #fff;
}

/*==================================================
じわっ 8-9 p340
===================================*/

.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger {
    opacity: 0;
}

a {
    color: #333;
}

a:hover {
    text-decoration: none;
}

.header {
    width: 100%;
    height: 121.4px;
    display: flex;
    align-items: center;
    text-align: center;
}

.main-title {
    /* width: 12.86%; */
    width: 20%;
}

.main-title img {
    width: 100%;
    object-fit: cover;
}

.nav1 {
    width: 42.47%;
    margin-left: 44.67%;
    font-size: 16px;
    font-weight: bold;
}

.nav1 ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.nav1 a {
    color: black;
    cursor: url(../img/click1.png), auto;
    display: block;
}

.nav1 a:hover {
    color: #8D1133;
    opacity: 0.8;
}

/* メインビジュアル
.mainvisual img {
    height: 350px;
    position: relative;
} */

/*==================================================
スライダーのためのcss // p268 6-1-3
===================================*/
#slider {
    width: 100%;
    height: 100vh;
    /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    position: relative;
}

.nav1 ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

h1 {
    font-size: 117px;
    position: absolute;
    top: 50%;  /* 追加 */
  left: 50%;  /* 追加 */
  transform: translate(-50%, -50%);  /* 追加
    /* left: 390px;
    top: 240px; */
    color: #8D1133;
    /* text-shadow: #4c5240 0px 3px 6px;
    text-shadow:  0px 10px 6px,0 0 #0000; */
    /* text-shadow: 5px 2px 10px rgba(141, 17, 51, 1), 5px 2px 10px rgba(60, 7, 22, 1); */
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4),
        0px 8px 13px rgba(0, 0, 0, 0.1),
        0px 18px 23px rgba(0, 0, 0, 0.1);
}

/*========= 流れるテキスト ===============*/
/* 8-2 p317 ピンク */

/*全共通*/

.slide-in {
    overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
    display: inline-block;

}

/*左右のアニメーション*/
.leftAnime {
    opacity: 0;
    /*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
    animation-name: slideTextX100;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
    from {
        transform: translateX(-100%);
        /*要素を左の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

.slideAnimeRightLeft {
    animation-name: slideTextX-100;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
    from {
        transform: translateX(100%);
        /*要素を右の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

main {
    width: 100%;
}

.content{
    margin: 4% 0;
}
.work{
    color: #707070;
    margin: 0 auto;
}


.work h2{
    font-size: 70px;
    margin: 3% 0;
    text-align: center;
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
    color: #8D1133;
    position: relative;
}

.work h2::before{
    content: "work";
    display: inline-block;
    font-family: "Sawarabi Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: #707070;
    transform: rotate(-13deg);
    letter-spacing: 5px;
    position: absolute;
    left: 630px;
    top: -22px;
    z-index: -1;
    white-space: nowrap;
    opacity: 0.6;
    font-size: 70px;
}

.work p{
    font-size: 55px;
    margin: 0;
    text-align: center;
}

.work-title{
    font-family: "Kaisei Decol", serif;
    font-size: 35px;
    color: #f4eaea;
    background-color: #a19d78;
    width: 300px;
    /* height: 688; */
    padding: 1% 0;
    border-radius: 50px;
    text-align: center;
    margin: 0 auto;
}


.banner{
    margin: 20px 0;
}

.banner ul{
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    text-align: center;
    padding: 3% 0;
}

.banner li{
    width: 54.3%;
    margin-left: 20px;
    
}

.banner img{
    border-radius: 0% 30% 0% 30%;
}

/* P274 6-1-6 　ここです。わからなくなったです。*/
/*==================================================
スライダーのためのcss
===================================*/
.slider2 {
    /*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 80%;
    margin: 0 auto;

}

.slider2 img {
    width: 100%;
    /*スライダー内の画像を横幅100%に*/
    height: auto;
    border-radius: 0% 30% 0% 30%;
    padding: 30px 0;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider2 .slick-slide {
    margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;
    /*矢印の色*/
    border-right: 2px solid #666;
    /*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align: center;
    margin: 20px 0 0 0;
} 

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 11px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
} 

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}
/* slider2 */

.slider2 p{
    text-align: center;
}



/* バナー */
.banner{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 20px;
}

.img-box{
    width: 25%;
    position: relative;
    display:inline-block;
}

.img-box img{
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 0% 30% 0% 30%;
    transition: transform 0.3s;
    opacity: 1;
}

.img-box img:hover{
    opacity: .5;
}

.img-text{
    position: absolute;
    top: 41%;
    left: 50%; 
    transform: translate(-50%, -50%);
    color: #fff;           /* 文字色 */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-size: 30px;
    padding: 10px 40px;
    opacity: 0;   
}

.img-text:hover{
    opacity: 1;
}

/* .banner img{
    width: 30%;
    cursor: pointer;
    border-left: 50%;
    transition: transform 0.3s;
} */

.banner img:hover{
    transform: scale(1.05);
}

/* 背景スクロール止め */
body.modal-open{
    overflow: hidden;
}

/* モーダル */
.modal{
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;

}

.modal img{
   max-width: 90%;                 /* 画面に収まるように調整 */
    max-height: 90%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    object-fit: contain;            /* 画像比率を維持して縮小 */
}

.closeBtn{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.show{
    display: flex;
}

        /* モーダルここから */
    /* === Modal(共通) ここから：@mediaの外に追記 === */
/* 



/* === Modal(共通) ここまで === */


/*  */

.banner {
    color: #707070;
    margin: 0 auto;
    padding: 66px 0;
}


.website h2 {
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    font-size: 35px;
    color: #f4eaea;
    background-color: #a19d78;
    width: 350px;
    /* height: 720; */
    padding: 1% 0;
    border-radius: 50px;
    text-align: center;
    margin: 0 auto;
}

.slider2 li{
    position: relative;
    list-style: none;
}

.slider2 .text{
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    color: #fff;           /* 文字色 */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-size: 30px;
    padding: 10px 40px;
    opacity: 0;            /* 最初は非表示 */
    transition: opacity 0.3s ease;
}

/* hoverしたときに表示 */
.slider2 li:hover .text {
    opacity: 1;
}


.slider2 img{
    opacity: 1;
    transition: .3s ease-in-out;
    
}

.slider2 img:hover{
    opacity: .5;
}


.btn_content {
    background-color: beige;
    width: 42%;
    padding: 130px;
    margin: 0 auto;
    text-align: center;
}

.btntransform {
    /*丸の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    padding: 0 0 0 15px;
    line-height: 50px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    outline: none;
    z-index: 2;
}

/* 丸が動く */
.btntransform::before {
    content: '';
    /*絶対配置で丸の位置を決める*/
    position: absolute;
    left: 0;
    z-index: 0;
    opacity: .8;
    /*丸の形状*/
    width: 50px;
    height: 50px;
    background: #D2B498;
    border-color: #707070;
    border-radius: 25px;
    /*アニメーションの指定*/
    transition: .3s ease-out;
}

/*hoverした際の形状*/
.btntransform:hover::before {
    width: 212px;
}

/* 矢印の形状 */
.btntransform::after {
    position: absolute;
    content: '';
    top: 1.3em;
    right: -15px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
}

.contct-text {
    letter-spacing: 5px;
}

.btn {
    background-color: bisque;
    border-radius: 144px;
    width: 250px;
    padding: 30px 126;
    margin: 0 auto;
}

.footer {
    width: 100%;
    height: 76px;
    margin-top: 30px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 15px; */
    background-color: #F2EBDB;
    opacity: .8;
    border-radius: 50px 50px 50px 50px;
}

.nav-title {
    /* width: 12.86%; */
    width: 20%;
}

.nav-title img {
    width: 100%;
    align-items: flex-end;

}

.nav2 {
    width: 55%;
    margin-left: 30%;
}

.nav2 a {
    cursor: url(../img/cute.png), auto;
}

.nav2 a:active {
    cursor: url(../img/cute.png), auto;
}

.nav2 ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav2 li {
    margin-left: 100px;
}

.nav2 li a {
    color: black;
    display: block;
}

.nav2 li a:hover {
    color: #8D1133;
    opacity: 0.8;
    cursor: url(../img/click1.png), auto;
}

.nav2 li a:active {
    cursor: url(../img/click1.png), auto;
}

/*========= ページトップのためのCSS ===============*/
/* 8-1-8 リンクボタンをクリックしたら形状が変化 */
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(150px);
    }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
    display: block;
    width: 100px;
    height: 100px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    /*背景画像の指定*/
    background: url("../img/hibiscus1.png") no-repeat center;
    background-size: contain;
}

#page-top.floatAnime a {
    width: 100px;
    height: 130px;
    /*背景画像の指定*/
    background: url("../img/hibiscus2.png") no-repeat center;
    background-size: contain;
    /*アニメーションの指定*/
    animation: floatAnime 2s linear infinite;
    opacity: 0;
}

@keyframes floatAnime {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    25% {
        transform: translateX(-6px);
        opacity: 1;
    }

    50% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(6px);
        opacity: 1;
    }
}

/*Page Topと書かれたテキストの位置*/
#page-top span {
    position: absolute;
    bottom: -5px;
    right: 20px;
    color: #333;
    font-weight: bold;
    font-size: 15px;
}
}
/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
    body {
        min-width: 600px;
        max-width: 999px;
        background-color: #F2EBDB;
    }

    .container {
        width: 100%;
    }

    
/*  */


img {
    width: 100%;
}

a {
    text-decoration: none;
}


*{
    cursor: url(../img/cute.png),auto;
    margin: 0;
    padding: 0;
}



.container {
    width: 100%;
    margin: 0 auto;
}

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/

#splash {
    /*fixedで全面に固定*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background:#F2EBDB;
    text-align: center;
    color: #fff;
}

/* Loadingバー中央配置　*/
#splash_text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    width: 100%;
    transform: translate(-50%, -50%);
    color: #fff;
}

/*==================================================
じわっ 8-9 p340
===================================*/

.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger {
    opacity: 0;
}

a {
    color: #333;
}

a:hover {
    text-decoration: none;
}

.header {
    width: 100%;
    height: 121.4px;
    display: flex;
    align-items: center;
    text-align: center;
}

.main-title {
    /* width: 12.86%; */
    width: 20%;
}

.main-title img {
    width: 100%;
    object-fit: cover;
}

.nav1 {
    width: 42.47%;
    margin-left: 44.67%;
    font-size: 16px;
    font-weight: bold;
}

.nav1 ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.nav1 a {
    color: black;
    cursor: url(../img/click1.png), auto;
    display: block;
}

.nav1 a:hover {
    color: #8D1133;
    opacity: 0.8;
}

/* メインビジュアル
.mainvisual img {
    height: 350px;
    position: relative;
} */

/*==================================================
スライダーのためのcss // p268 6-1-3
===================================*/
#slider {
    width: 100%;
    height: 100vh;
    /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    position: relative;
}

.nav1 ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

h1 {
    font-size: 86px;
    position: absolute;
    top: 50%;  /* 追加 */
  left: 50%;  /* 追加 */
  transform: translate(-50%, -50%);  /* 追加
    /* left: 390px;
    top: 240px; */
    color: #8D1133;
    /* text-shadow: #4c5240 0px 3px 6px;
    text-shadow:  0px 10px 6px,0 0 #0000; */
    /* text-shadow: 5px 2px 10px rgba(141, 17, 51, 1), 5px 2px 10px rgba(60, 7, 22, 1); */
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4),
        0px 8px 13px rgba(0, 0, 0, 0.1),
        0px 18px 23px rgba(0, 0, 0, 0.1);
}

/*========= 流れるテキスト ===============*/
/* 8-2 p317 ピンク */

/*全共通*/

.slide-in {
    overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
    display: inline-block;

}

/*左右のアニメーション*/
.leftAnime {
    opacity: 0;
    /*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
    animation-name: slideTextX100;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
    from {
        transform: translateX(-100%);
        /*要素を左の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

.slideAnimeRightLeft {
    animation-name: slideTextX-100;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
    from {
        transform: translateX(100%);
        /*要素を右の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

main {
    width: 100%;
}

.content{
    margin: 4% 0;
}
.work{
    color: #707070;
    margin: 0 auto;
}


.work h2{
    font-size: 70px;
    margin: 6% 0;
    text-align: center;
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
    color: #8D1133;
    position: relative;
}

.work h2::before{
    content: "work";
    display: inline-block;
    font-family: "Sawarabi Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: #707070;
    transform: rotate(-13deg);
    letter-spacing: 5px;
    position: absolute;
    left: 256px;
    top: -11px;
    z-index: -1;
    white-space: nowrap;
    opacity: 0.6;
    font-size: 56px;
}

.work p{
    font-size: 55px;
    margin: 0;
    text-align: center;
}

.work-title{
    font-family: "Kaisei Decol", serif;
    font-size: 35px;
    color: #f4eaea;
    background-color: #a19d78;
    width: 300px;
    /* height: 688; */
    padding: 1% 0;
    border-radius: 50px;
    text-align: center;
    margin: 0 auto;
}


.banner{
    margin: 20px 0;
}

.banner ul{
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    text-align: center;
    padding: 3% 0;
}

.banner li{
    width: 54.3%;
    margin-left: 20px;
    
}

.banner img{
    border-radius: 0% 30% 0% 30%;
}

/* P274 6-1-6 　ここです。わからなくなったです。*/
/*==================================================
スライダーのためのcss
===================================*/
.slider2 {
    /*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 80%;
    margin: 0 auto;

}

.slider2 img {
    width: 100%;
    /*スライダー内の画像を横幅100%に*/
    height: auto;
    border-radius: 0% 30% 0% 30%;
    padding: 30px 0;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider2 .slick-slide {
    margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;
    /*矢印の色*/
    border-right: 2px solid #666;
    /*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align: center;
    margin: 20px 0 0 0;
} 

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 11px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
} 

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}
/* slider2 */

.slider2 p{
    text-align: center;
}



/* バナー */
.banner{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 20px;
}

.img-box{
    width: 25%;
    position: relative;
    display:inline-block;
}

.img-box img{
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 0% 30% 0% 30%;
    transition: transform 0.3s;
    opacity: 1;
}

.img-box img:hover{
    opacity: .5;
}

.img-text{
    position: absolute;
    top: 51%;
    left: 48%; 
    transform: translate(-50%, -50%);
    color: #fff;           /* 文字色 */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-size: 30px;
    padding: 10px 40px;
    opacity: 0; 
}

.img-text:hover{
    opacity: 1;
}

/* .banner img{
    width: 30%;
    cursor: pointer;
    border-left: 50%;
    transition: transform 0.3s;
} */

.banner img:hover{
    transform: scale(1.05);
}

/* 背景スクロール止め */
body.modal-open{
    overflow: hidden;
}

/* モーダル */
.modal{
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;

}

.modal img{
    max-width: 63%;                 /* 画面に収まるように調整 */
    max-height: 63%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    object-fit: contain;            /* 画像比率を維持して縮小 */
}

.closeBtn{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.show{
    display: flex;
}

        /* モーダルここから */
    /* === Modal(共通) ここから：@mediaの外に追記 === */
/* 



/* === Modal(共通) ここまで === */


/*  */

.banner {
    color: #707070;
    margin: 0 auto;
    padding: 66px 0;
}


.website h2 {
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    font-size: 35px;
    color: #f4eaea;
    background-color: #a19d78;
    width: 350px;
    /* height: 720; */
    padding: 1% 0;
    border-radius: 50px;
    text-align: center;
    margin: 0 auto;
}

.slider2 li{
    position: relative;
    list-style: none;
}

.slider2 .text{
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    color: #fff;           /* 文字色 */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-size: 30px;
    padding: 10px 40px;
    opacity: 0;            /* 最初は非表示 */
    transition: opacity 0.3s ease;
}

/* hoverしたときに表示 */
.slider2 li:hover .text {
    opacity: 1;
}


.slider2 img{
    opacity: 1;
    transition: .3s ease-in-out;
    
}

.slider2 img:hover{
    opacity: .5;
}


.btn_content {
    background-color: beige;
    width: 42%;
    padding: 130px;
    margin: 0 auto;
    text-align: center;
}

.btntransform {
    /*丸の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    padding: 0 0 0 15px;
    line-height: 50px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    outline: none;
    z-index: 2;
}

/* 丸が動く */
.btntransform::before {
    content: '';
    /*絶対配置で丸の位置を決める*/
    position: absolute;
    left: 0;
    z-index: 0;
    opacity: .8;
    /*丸の形状*/
    width: 50px;
    height: 50px;
    background: #D2B498;
    border-color: #707070;
    border-radius: 25px;
    /*アニメーションの指定*/
    transition: .3s ease-out;
}

/*hoverした際の形状*/
.btntransform:hover::before {
    width: 212px;
}

/* 矢印の形状 */
.btntransform::after {
    position: absolute;
    content: '';
    top: 1.3em;
    right: -15px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
}

.contct-text {
    letter-spacing: 5px;
}

.btn {
    background-color: bisque;
    border-radius: 144px;
    width: 250px;
    padding: 30px 126;
    margin: 0 auto;
}

.footer {
    width: 100%;
    height: 76px;
    margin-top: 30px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 15px; */
    background-color: #F2EBDB;
    opacity: .8;
    border-radius: 50px 50px 50px 50px;
}

.nav-title {
    /* width: 12.86%; */
    width: 20%;
}

.nav-title img {
    width: 100%;
    align-items: flex-end;

}

.nav2 {
    width: 55%;
    margin-left: 30%;
}

.nav2 a {
    cursor: url(../img/cute.png), auto;
}

.nav2 a:active {
    cursor: url(../img/cute.png), auto;
}

.nav2 ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav2 li {
    margin-left: 100px;
}

.nav2 li a {
    color: black;
    display: block;
}

.nav2 li a:hover {
    color: #8D1133;
    opacity: 0.8;
    cursor: url(../img/click1.png), auto;
}

.nav2 li a:active {
    cursor: url(../img/click1.png), auto;
}

/*========= ページトップのためのCSS ===============*/
/* 8-1-8 リンクボタンをクリックしたら形状が変化 */
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(150px);
    }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
    display: block;
    width: 100px;
    height: 100px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    /*背景画像の指定*/
    background: url("../img/hibiscus1.png") no-repeat center;
    background-size: contain;
}

#page-top.floatAnime a {
    width: 100px;
    height: 130px;
    /*背景画像の指定*/
    background: url("../img/hibiscus2.png") no-repeat center;
    background-size: contain;
    /*アニメーションの指定*/
    animation: floatAnime 2s linear infinite;
    opacity: 0;
}

@keyframes floatAnime {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    25% {
        transform: translateX(-6px);
        opacity: 1;
    }

    50% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(6px);
        opacity: 1;
    }
}

/*Page Topと書かれたテキストの位置*/
#page-top span {
    position: absolute;
    bottom: -5px;
    right: 20px;
    color: #333;
    font-weight: bold;
    font-size: 15px;
}
}

/*SPサイズレスポンシブ*/
@media(max-width:599px) {
    body {
        max-width: 599px;
    }

    .container {
        width: 100%;
    }

    /* タブレットcss */

body{
    max-width: 599px;
    background-color: #F2EBDB;
    
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}


*{
    cursor: url(../img/cute.png),auto;
    margin: 0;
    padding: 0;
}



.container {
    width: 100%;
    margin: 0 auto;
}

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/

#splash {
    /*fixedで全面に固定*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background:#F2EBDB;
    text-align: center;
    color: #fff;
}

/* Loadingバー中央配置　*/
#splash_text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    width: 100%;
    transform: translate(-50%, -50%);
    color: #fff;
}

/*==================================================
じわっ 8-9 p340
===================================*/

.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger {
    opacity: 0;
}

a {
    color: #333;
}

a:hover {
    text-decoration: none;
}

.header {
    width: 100%;
    height: 121.4px;
    display: flex;
    align-items: center;
    text-align: center;
}

.main-title {
    /* width: 12.86%; */
    width: 20%;
}

.main-title img {
    width: 100%;
    object-fit: cover;
}

.nav1 {
    width: 42.47%;
    margin-left: 44.67%;
    font-size: 16px;
    font-weight: bold;
}

.nav1 ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.nav1 a {
    color: black;
    cursor: url(../img/click1.png), auto;
    display: block;
}

.nav1 a:hover {
    color: #8D1133;
    opacity: 0.8;
}

/* メインビジュアル
.mainvisual img {
    height: 350px;
    position: relative;
} */

/*==================================================
スライダーのためのcss // p268 6-1-3
===================================*/
#slider {
    width: 100%;
    height: 100vh;
    /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    position: relative;
}

.nav1 ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

h1 {
    font-size: 117px;
    position: absolute;
    top: 50%;  /* 追加 */
  left: 50%;  /* 追加 */
  transform: translate(-50%, -50%);  /* 追加
    /* left: 390px;
    top: 240px; */
    color: #8D1133;
    /* text-shadow: #4c5240 0px 3px 6px;
    text-shadow:  0px 10px 6px,0 0 #0000; */
    /* text-shadow: 5px 2px 10px rgba(141, 17, 51, 1), 5px 2px 10px rgba(60, 7, 22, 1); */
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4),
        0px 8px 13px rgba(0, 0, 0, 0.1),
        0px 18px 23px rgba(0, 0, 0, 0.1);
}

/*========= 流れるテキスト ===============*/
/* 8-2 p317 ピンク */

/*全共通*/

.slide-in {
    overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
    display: inline-block;

}

/*左右のアニメーション*/
.leftAnime {
    opacity: 0;
    /*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
    animation-name: slideTextX100;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
    from {
        transform: translateX(-100%);
        /*要素を左の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

.slideAnimeRightLeft {
    animation-name: slideTextX-100;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
    from {
        transform: translateX(100%);
        /*要素を右の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

main {
    width: 100%;
}

.content{
    margin: 4% 0;
}
.work{
    color: #707070;
    margin: 0 auto;
}


.work h2{
    font-size: 70px;
    margin: 3% 0;
    text-align: center;
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
    color: #8D1133;
    position: relative;
}

.work h2::before{
    content: "work";
    display: inline-block;
    font-family: "Sawarabi Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: #707070;
    transform: rotate(-13deg);
    letter-spacing: 5px;
    position: absolute;
    left: 630px;
    top: -22px;
    z-index: -1;
    white-space: nowrap;
    opacity: 0.6;
    font-size: 70px;
}

.work p{
    font-size: 55px;
    margin: 0;
    text-align: center;
}

.work-title{
    font-family: "Kaisei Decol", serif;
    font-size: 35px;
    color: #f4eaea;
    background-color: #a19d78;
    width: 300px;
    /* height: 688; */
    padding: 1% 0;
    border-radius: 50px;
    text-align: center;
    margin: 0 auto;
}


.banner{
    margin: 20px 0;
}

.banner ul{
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    text-align: center;
    padding: 3% 0;
}

.banner li{
    width: 54.3%;
    margin-left: 20px;
    
}

.banner img{
    border-radius: 0% 30% 0% 30%;
}

/* P274 6-1-6 　ここです。わからなくなったです。*/
/*==================================================
スライダーのためのcss
===================================*/
.slider2 {
    /*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 80%;
    margin: 0 auto;

}

.slider2 img {
    width: 100%;
    /*スライダー内の画像を横幅100%に*/
    height: auto;
    border-radius: 0% 30% 0% 30%;
    padding: 30px 0;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider2 .slick-slide {
    margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;
    /*矢印の色*/
    border-right: 2px solid #666;
    /*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align: center;
    margin: 20px 0 0 0;
} 

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 11px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
} 

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}
/* slider2 */

.slider2 p{
    text-align: center;
}



/* バナー */
.banner{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 20px;
}

.img-box{
    width: 25%;
    position: relative;
    display:inline-block;
}

.img-box img{
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 0% 30% 0% 30%;
    transition: transform 0.3s;
    opacity: 1;
}

.img-box img:hover{
    opacity: .5;
}

.img-text{
    position: absolute;
    top: 41%;
    left: 50%; 
    transform: translate(-50%, -50%);
    color: #fff;           /* 文字色 */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-size: 30px;
    padding: 10px 40px;
    opacity: 0;   
}

.img-text:hover{
    opacity: 1;
}

/* .banner img{
    width: 30%;
    cursor: pointer;
    border-left: 50%;
    transition: transform 0.3s;
} */

.banner img:hover{
    transform: scale(1.05);
}

/* 背景スクロール止め */
body.modal-open{
    overflow: hidden;
}

/* モーダル */
.modal{
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;

}

.modal img{
   max-width: 90%;                 /* 画面に収まるように調整 */
    max-height: 90%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    object-fit: contain;            /* 画像比率を維持して縮小 */
}

.closeBtn{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.show{
    display: flex;
}

        /* モーダルここから */
    /* === Modal(共通) ここから：@mediaの外に追記 === */
/* 



/* === Modal(共通) ここまで === */


/*  */

.banner {
    color: #707070;
    margin: 0 auto;
    padding: 66px 0;
}


.website h2 {
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    font-size: 35px;
    color: #f4eaea;
    background-color: #a19d78;
    width: 350px;
    /* height: 720; */
    padding: 1% 0;
    border-radius: 50px;
    text-align: center;
    margin: 0 auto;
}

.slider2 li{
    position: relative;
    list-style: none;
}

.slider2 .text{
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    color: #fff;           /* 文字色 */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-size: 30px;
    padding: 10px 40px;
    opacity: 0;            /* 最初は非表示 */
    transition: opacity 0.3s ease;
}

/* hoverしたときに表示 */
.slider2 li:hover .text {
    opacity: 1;
}


.slider2 img{
    opacity: 1;
    transition: .3s ease-in-out;
    
}

.slider2 img:hover{
    opacity: .5;
}


.btn_content {
    background-color: beige;
    width: 42%;
    padding: 130px;
    margin: 0 auto;
    text-align: center;
}

.btntransform {
    /*丸の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    padding: 0 0 0 15px;
    line-height: 50px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    outline: none;
    z-index: 2;
}

/* 丸が動く */
.btntransform::before {
    content: '';
    /*絶対配置で丸の位置を決める*/
    position: absolute;
    left: 0;
    z-index: 0;
    opacity: .8;
    /*丸の形状*/
    width: 50px;
    height: 50px;
    background: #D2B498;
    border-color: #707070;
    border-radius: 25px;
    /*アニメーションの指定*/
    transition: .3s ease-out;
}

/*hoverした際の形状*/
.btntransform:hover::before {
    width: 212px;
}

/* 矢印の形状 */
.btntransform::after {
    position: absolute;
    content: '';
    top: 1.3em;
    right: -15px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
}

.contct-text {
    letter-spacing: 5px;
}

.btn {
    background-color: bisque;
    border-radius: 144px;
    width: 250px;
    padding: 30px 126;
    margin: 0 auto;
}

.footer {
    width: 100%;
    height: 76px;
    margin-top: 30px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 15px; */
    background-color: #F2EBDB;
    opacity: .8;
    border-radius: 50px 50px 50px 50px;
}

.nav-title {
    /* width: 12.86%; */
    width: 20%;
}

.nav-title img {
    width: 100%;
    align-items: flex-end;

}

.nav2 {
    width: 55%;
    margin-left: 30%;
}

.nav2 a {
    cursor: url(../img/cute.png), auto;
}

.nav2 a:active {
    cursor: url(../img/cute.png), auto;
}

.nav2 ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav2 li {
    margin-left: 100px;
}

.nav2 li a {
    color: black;
    display: block;
}

.nav2 li a:hover {
    color: #8D1133;
    opacity: 0.8;
    cursor: url(../img/click1.png), auto;
}

.nav2 li a:active {
    cursor: url(../img/click1.png), auto;
}

/*========= ページトップのためのCSS ===============*/
/* 8-1-8 リンクボタンをクリックしたら形状が変化 */
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(150px);
    }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
    display: block;
    width: 100px;
    height: 100px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    /*背景画像の指定*/
    background: url("../img/hibiscus1.png") no-repeat center;
    background-size: contain;
}

#page-top.floatAnime a {
    width: 100px;
    height: 130px;
    /*背景画像の指定*/
    background: url("../img/hibiscus2.png") no-repeat center;
    background-size: contain;
    /*アニメーションの指定*/
    animation: floatAnime 2s linear infinite;
    opacity: 0;
}

@keyframes floatAnime {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    25% {
        transform: translateX(-6px);
        opacity: 1;
    }

    50% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(6px);
        opacity: 1;
    }
}

/*Page Topと書かれたテキストの位置*/
#page-top span {
    position: absolute;
    bottom: -5px;
    right: 20px;
    color: #333;
    font-weight: bold;
    font-size: 15px;
}
}