@charset "UTF-8";

/*================================================
GENERAL STYLING
================================================ */
:root {
    --v-space: clamp(90px, 9vw, 120px);
    --main-color: #faf7a1;
    --sub-color: #f4e188;
    --back-color: #fff;
    --btn-color: #a17555;
    --hover-color:#ef9504;
}

body {
    margin: 0;
    background-color: #eeeeee;
    color: #7f1b00;
    /* color: #454545; */
    font-family: "Noto Sans JP", serifsans-serif;

}

/*================================================
  共通部分
================================================ */
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h2 {
    font-family: 'M PLUS Rounded 1c', "Noto Sans JP", serifsans-serif;
}

p {
    line-height: 1.8;
    font-family: "Noto Sans JP",sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    font-family: "Noto Sans JP",sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
.fas {
    font-style: normal;
}

/* link:hover */
.link:hover {
    color: var(--hover-color);
}

/* 写真を拡大 */
@media (min-width: 768px) {
    .grid-item:hover {
        transform: scale(1.1);
    }
}


/* 横幅と左右の余白 */
.w-container {
    width: min(92%, 1166px);
    margin: auto;
    position: relative;
}


/*=======================================
  共通部分 shaking-animation
=========================================*/

.shaking-animation img {
    animation-name: swing;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-delay: 0.1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
  
  .shaking-animation img:hover {
    animation-name: swing-hover;
    animation-duration: 0.05s;
  }
  
  /* アニメーション */
  @keyframes swing {
    0% {
      transform: translate(0, 0) rotate(5deg);
    }
    50% {
      transform: translate(0, 10px) rotate(0deg);
    }
    100% {
      transform: translate(0, 0) rotate(-5deg);
    }
  }
  
  @keyframes swing-hover {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(10px, 5px);
    }
  }


/*================================================
HEADER
================================================ */

.header {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--main-color);
}

.header.fixed {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
}

header div.logo {
    width: 200px;
}

header div.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

header div.logo:hover {
    filter: brightness(90%) contrast(120%);
}

header nav.nav {
    margin: 0 auto;
}

header nav.nav ul.item {
    display: flex;
    align-items: center;
}

header nav.nav ul.item li.list {
    padding-left: 2rem;
}

header nav.nav ul.item li.list a {
    font-weight: bold;
}

header .list-btn a {
    display: inline-block;
    background: #3656a7;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
}
    header .list-btn :hover {
        background: #fff;
        color: #3656a7;
        outline: 2px solid #3656a7;
    }
    header .list-btn i:hover {
        outline: 0px solid #3656a7;
    }



header #menu-btn, .nav-hidden {
    display: none;
}

@media (max-width: 768px) {
    header #menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 3;
    }

    header #menu-btn span,
    header #menu-btn span::before,
    header #menu-btn span::after {
        content: "";
        height: 2px;
        width: 100%;
        border-radius: 3px;
        background: #3656a7;
        position: absolute;
        transition: 0.2s;
    }

    header #menu-btn span {
        top: 0;
    }

    header #menu-btn span::before {
        top: 8px;
    }

    header #menu-btn span::after {
        top: 16px;
    }

    header #nav-input:checked ~ #menu-btn span {
        top: 8px;
        transform: rotate(45deg);
    }

    header #nav-input:checked ~ #menu-btn span::before {
        opacity: 0;
    }

    header #nav-input:checked ~ #menu-btn span::after {
        top: 0;
        transform: rotate(-90deg);
    }

    header div.logo {
        width: 160px;
        margin: 0;
    }
  header .nav .nav-hidden {
    display: block;
  }
    header nav.nav {
        width: 60%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -60%; /* 初期状態で画面外に配置 */
        z-index: 2;
        opacity: 0;
        background: #fff;
        transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out; /* スライドイン効果を追加 */
    }

    header #nav-input:checked ~ nav.nav {
        right: 0; /* チェックされたときに画面内に移動 */
        opacity: 1;
    }

    header nav.nav ul.item {
        display: block;
        padding: 4rem 2rem;
    }

    header nav.nav ul.item li.list {
        padding-left: 0;
        padding-bottom: 1.5rem;
    }


    header div.list-btn a {
        position: absolute;
        top: 0.6rem;
        right: 3.4rem;
    }

    header .nav-hidden .list-btn :hover {
    background: #fff;
    color: #3656a7;
    border:3px solid #3656a7;
    }


    header #nav-input:checked~nav.nav {
    opacity: 1;
  }


}


/*============================
 LANGUAGE SWITCHER STYLES
============================*/

.lang-switcher {
    margin: 20px;
  }
  
  /* .lang-switcher a {
    text-decoration: none;
    font-weight: bold;
  } */
  
  .lang-switcher a.active {
    text-decoration: underline;
  }



/*================================================
HERO-A,-B,-C スライドレールは、
　style-hero-slide.css　で修飾している
================================================ */



/*================================================
HERO
================================================ */
.hero {
    background-color: var(--main-color);
}




.hero-container {
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;
}

/* indexキービジュアル */
.big-top { 
    background-blend-mode: soft-light;
    background-color: rgba(255, 255, 255, 0.2);
    /* background-image: url(../img/bg-top.webp); */
        background-image: url(../img/keyvisual.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}


/* キービジュアル */
.fv-container { 
    background-blend-mode: soft-light;
    background-color: rgba(255, 255, 255, 0.2);
    /* background-image: url(../img/keyvisual.webp); */
        background-image: url(../img/bg-top.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 30vh;
    display: flex;
    align-items: center;
}
.hero h1 {
    margin-bottom: 42px;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP",sans-serif;
    font-size: clamp(30px, 8vw, 65px);
    min-height: 0vw;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;

    text-shadow: 3px 0 30px #ef9504, 0 3px 30px #ef9504, -3px 0 30px #ef9504, 0 -3px 30px #ef9504;


}

.hero p {
    margin-bottom: 72px;
}

/* ボタン */
.btn {
    display: block;
    width: 260px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: var(--btn-color);
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 6px #00000052;
}

.btn:hover {
    filter: brightness(90%) contrast(120%);
}
.btn-accent {
    background-color: #b72661;
}



/*================================================
BANNER
================================================ */
/* バナー */
.banners {
    padding: var(--v-space) 0;
    background-color: var(--main-color);
}

.banners-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 25px;
}

.banner img {
    border-radius: 10px;
}
@media (min-width: 768px) {
    .banners-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.banner a {
    display: block;
}

.banner h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(14px, 2vw, 20px);
    min-height: 0vw;
}

.banner p {
    max-width: 20em;
    font-size: clamp(12px, 1.6vw, 16px);
    min-height: 0vw;
}

.banner img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}


/*================================================
本文
================================================ */

/* 画像とテキスト */
.imgtext {
    padding: var(--v-space) 0;
    background-color: var(--main-color);
}

.imgtext + .imgtext {
    padding-top: 0;
}

.imgtext-container {
    display: flex;
    flex-direction: column;
    gap: clamp(45px, 6vw, 80px);
}

.imgtext img {
    border-radius: 20px;
}

.text-item {
    margin-bottom: 1.5rem;
}
.text-item-last {
    text-align: end;
}
.text-item-last p {
    font-size: 0.9rem;
    margin-right: 2rem;
}
.fa-angle-right {
    margin-left: 0.3rem;
}
@media (min-width: 768px) {
    .imgtext-container {
        flex-direction: row;
        align-items: center;
    }

    .imgtext-container.reverse {
        flex-direction: row-reverse;
    }

    .imgtext-container > .text {
        flex: 1;
        min-width: 17em;
    }

    .imgtext-container > .img {
        flex: 2;
    }
}
#info .link {
    margin-bottom: 1rem;
}
#info .text-item p {
margin-top: 1.1rem;;
}
/* 営業時間　time-table */
.time-table {
    width: 90%;
    /* margin-top: 15px;
    margin-left: 10px; */
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.time-table th,
.time-table td {
    border: 1px #000 solid;
    text-align: center;
    vertical-align:middle;
    padding: 5px 4px;
}
.time-table {
    border: 1px #000 solid;
    text-align: center;
    vertical-align:middle;
    border-collapse: collapse;
}

/* タイトルとサブタイトル（赤色の短い線で装飾） */
.heading-decoration {
    font-size: clamp(30px, 3vw, 40px);
    min-height: 0vw;
    font-weight: 700;
}

.heading-decoration::after {
    display: block;
    content: "";
    width: 160px;
    height: 0px;
    border-top: solid 1px #b72661;
    margin-top: 0.6em;
}

.heading-decoration + p {
    margin-top: 1em;
    margin-bottom: 2em;
    color: #63625d;
    font-family: 'M PLUS Rounded 1c', "Noto Sans JP",sans-serif;
    font-size: 18px;
}
.text a {
    margin-top: 1em;
    margin-bottom: 2em;
    /* color: #63625d; */
    font-family: 'M PLUS Rounded 1c', "Noto Sans JP",sans-serif;
    font-size: 1.2rem;
}

/* ギャラリー */
.gallerys {
    padding: var(--v-space) 0;
    background-color: var(--main-color);
}

.gallerys-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 25px;
}

.gallery img {
    border-radius: 10px;
}
@media (min-width: 768px) {
    .gallerys-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery a {
    display: block;
}

.gallery h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(12px, 2vw, 20px);
    min-height: 0vw;
}

.gallery p {
    max-width: 20em;
    font-size: clamp(12px, 1.6vw, 16px);
    min-height: 0vw;
}

.gallery img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

/* 記事一覧 */
.posts {
    padding: var(--v-space) 0;
    background-color: var(--sub-color);
}

.posts-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px 25px;
}

.post img {
    border-radius: 50px;
}
@media (min-width: 768px) {
    .posts-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 記事一覧の記事 */
.post a {
    display: block;
}

.post h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(12px, 2vw, 20px);
    min-height: 0vw;
}

.post-p {
    margin-bottom: 0.5rem;
}
.post p {
    max-width: 100%;
    font-size: clamp(12px, 1.6vw, 16px);
    min-height: 0vw;
}
.post-p-l1 p {
    text-align: start;
}
.post-p-l2 p {
    margin-left: 1rem;
}
.post-p-right a {
    font-size: 0.8rem;
    margin-right: 20%;
    text-align: end;
}
.post img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

@supports not (aspect-ratio: 3 / 2) {
    .post img {
        height: 180px;
    }
}

/* パーツの見出し */
.heading {
    position: absolute;
    top: calc((var(--v-space) + 0.1em) * -1);
    font-family: "M PLUS Rounded 1c", "Noto Sans JP",sans-serif;
    font-size: clamp(40px, 5.2vw, 60px);
    min-height: 0vw;
    font-weight: 700;
}

.heading span {
    display: block;
    color: #666666;
    font-size: 18px;
}

/*================================================
本文 お知らせ　news　PCとスマホで表示を替える
================================================ */
.pc-hidden {
    display: none;
}

@media (max-width: 768px) {
    .smh-hidden {
        display: none;
    }
    .pc-hidden {
        display: initial;
    }
    #news .gallerys {
        padding: 0;
    }

}

/* #info 自作地図を自作地図を拡大表示させる */

.map-modal-description {
    margin-top: 2rem;
}


/* map-modal.js モーダルスタイル */
.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .map-modal-content {
    display: block;
    margin: auto;
    width: 80%;
    max-width: 800px;
  }
  
  .map-modal-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }

/* ボタン装飾 */
  .map-modal-open-button {
    background-color: #f3c623;      /* 黄みのあるアクセントカラー */
    color: #333;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
  }
  
  .map-modal-open-button:hover {
    background-color: #e0b800;
    transform: scale(1.03);
  }
  


/*================================================
media.html
================================================ */
#media h2 {
    margin: 2rem;
}
ul.item-wrapper {
  width: 70%;
  display: flex;
  align-items: center;
  margin-left: 10%; 
  padding: 0.5rem;
  border-bottom: 1px solid #000;
}
.item-link :hover{
    color: var(--hover-color);
}


.item-pic {
  width: 300px;
}
.item-date {
    width: 18%;
    padding-left: 1rem;
    text-align: left;
}
.item-container {
    padding: 3rem;
}
.item-p-l1 p {
    font-weight: bold;
}
.item-p-l2 {
    padding: 0.2rem;
}
.item-p-l3 {
    padding: 0.3rem;
    margin-left: auto;
}
.item-date-p {
    margin-top: auto;
    margin-left: auto;
}

/* media.index SP */
@media (max-width: 1024px) {
    ul.item-wrapper {
        /* display: initial; */
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    .item-date {
        width: 100%;
        text-align: left;
    }
}



/*================================================
info.html
================================================ */
.img {
    height: 10%;
}

.info img {
    height: 60vh;
    width: auto;
    object-fit: contain;
}
.info .gallery img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.info .text a {
    font-weight: 900;
}
.info .time-table {
    margin-top: 1rem;
}


/*================================================
FOOTER
================================================ */
/* フッター */
.footer {
    padding: 70px 0;
    background-color: var(--back-color);
    color: #63625d;
    font-size: 13px;
}

.footer-container {
    display: grid;
    gap: 50px;
    justify-items: center;
}

.footer-container img:hover {
    filter: brightness(80%) contrast(120%);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }

    .footer-container > .footer-site {
        margin-bottom: 20px;
    }

    .footer-container > *:not(.footer-sns) {
        justify-self: start;
    }

    .footer-container > .footer-sns {
        grid-column: 2;
        grid-row: 1 / 4;
        justify-self: end;
        align-self: center;
    }
}

/* フッター：ロゴ */
.footer-site {
    display: flex;
    gap: 20px;
}
.footer-site img:hover {
    filter: brightness(90%) contrast(120%);
}

/* フッター：SNSメニュー */
.footer-sns {
    display: flex;
    gap: 20px;
}
.footer-sns a {
    display: grid;
    place-items: center;
    width: 36px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    color: #ffffff;
}
@supports not (aspect-ratio: 1 / 1) {
    .footer-sns a {
        height: 36px;
    }
}
/* フッター：SNSメニュー 工事中【class未実装】*/
.footer-sns-none {
    filter: brightness(40%) ;
}



/*SNSアイコンのレイアウト*/
ul.footer-sns {
	width: 70%;
	margin: auto;
	display: flex;
    justify-content: center;
	flex-wrap: wrap;
}
ul.footer-sns li {
	position: relative;
	width: calc(100% / 6);
}
ul.footer-sns li img {
	width: 100%;
}
ul.footer-sns li img.test01 {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 2;
	transition: all ease-out .3s;
}
ul.footer-sns li img.test02 {
	position: relative;
	z-index: 1;
}
ul.footer-sns li:hover img.test01 {
	opacity: 1;
	transform: scale(1.1);
}
ul.footer-sns li a {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	/* background: #CCC; */
	z-index: 5
}


/* sns-overlay */
.sns-overlay {
    position: relative;
}
.sns-overlay a {
    position: absolute;
    /* color: #000; */
    top: 50%;
    left: 25%;
    transform: translate(-60%,-50%);
    margin: 0;
    padding: 0;
}

/* ツールチップ：マウスホバーで文字表示(FOOTER) */
.footer-sns .box {
    position: relative;
    display: block;
}
.footer-sns  .box p {
    display: none;
    position: absolute;
    padding: 5px;
    font-size: 14px;
    /* line-height: 1.6em; */
    text-align: center;
    color: #fff;
    border-radius: 5px;
    background: #000;
    width: 170%;
    z-index: 9999;
}
.footer-sns .box p:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 10px solid transparent;
    border-top: 10px solid #000;
    margin-left: -10px;
}
.footer-sns .box:hover p {
    display: inline-block;
    top: -70%;
    left: 50%;
    transform: translateX(-50%);
}

/* フッター：テキストメニュー */
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-info {
    background-color: #deddda;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.8;
    max-width: 600px;
    color: #444;
}

.footer-info strong {
    color: #333;
    font-weight: bold;
}




/* PCレイアウト時のフッター整列調整 */
@media (min-width: 768px) {
    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-sns {
        order: 1;
        margin-bottom: 15px;
    }

    .footer-menu {
        order: 2;
        margin-bottom: 15px;
    }

    .footer .footer-copy {
        order: 3;
        text-align: center;
        margin-top: auto;
        font-size: 13px;
        color: #999;
    }
}







/*========= pagetop動作のためのCSS ===============*/
/*リンクを右下に固定*/
#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: 90px;
	height: 80px;
	color: #333;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
    /*背景画像の指定*/
	background: url("../img/pagetop_1.png") no-repeat center;
	background-size: contain;
}

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

@keyframes floatAnime {
  0% { transform: translateX(0); opacity: 0; }
  10% { transform: translateX(5px); opacity: 1; }
  25% { transform: translateY(-50px);opacity: 1; }
  50% { transform: translateX(5px) translateY(-75px); opacity: 1; }
  100% { transform: translateY(-600px);opacity: 1; }
}

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








/*================================================
content.html
================================================ */

/* 記事 */
.entry {
    padding-bottom: var(--v-space);
    background-color: #ffffff;
}

.entry-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: calc(var(--v-space) * 2 / 3);
}

.entry .w-container {
    max-width: 720px;
}

.entry .heading-decoration {
    font-size: clamp(30px, 6.25vw, 48px);
}

.entry-container {
    font-size: clamp(16px, 2.4vw, 18px);
}

.entry-container :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
    margin-top: revert;
    margin-bottom: revert;
    padding: revert;
    list-style: revert;
}

.entry-container p {
    margin: 1.8em 0;
}

.entry-container > :first-child {
    margin-top: 0;
}

.entry-container > :last-child {
    margin-bottom: 0;
}

/* プラン */
.plans {
    padding: var(--v-space) 0;
    background-color: #e9e5e9;
}

.plans-container {
    display: grid;
    gap: 27px;
}

@media (min-width: 768px) {
    .plans-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* プラン：カード */
.plan {
    display: flex;
    flex-direction: column;
    padding: 60px 27px;
    border-radius: 20px;
    background-color: #ffffff;
}

.plan h3 {
    margin-bottom: 38px;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP",sans-serif;
    font-size: 38px;
    font-weight: 400;
}

.plan .desc {
    margin-bottom: 38px;
}

.plan .price {
    margin-top: auto;
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: bold;
}

.plan .btn {
    width: auto;
}
