@charset "utf-8";
/* レイアウトのためのCSS */

body{
    background:#fffff9;/* ミルキーホワイト */
    font-family: '游明朝体', '游明朝','Times New Roman';
	color: #24140e;
	font-size:1.1rem;
	line-height:1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #6b3f31;
	text-decoration: none;
    outline: none;
}

img{
    max-width: 100%;
    height: auto;
}

/* loading ※https://projects.lukehaas.me/css-loaders/参照*/

.loader,
.loader:before,
.loader:after {
  background: #ffffff;
  animation: load1 1s infinite ease-in-out;
  width: 0.5em;
  height: 1em;
}
.loader {
  color: #ffffff;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  transform: translateZ(0);
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}

@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 1em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 2em;
  }
}


/* area */

#container{
    overflow-x: hidden;
    /*以下、IE11用*/
    z-index: 1;
    position: relative;
}

/* font-family */

h1,
h2,
#service .service-area section h3,
#g-nav,
#footer-link,
.scrolldown1 span,
#vidual-area dt{
    font-family: 'Times New Roman', sans-serif;
    letter-spacing: 0.2em;
}

.footer-logo{
    font-family: 'Times New Roman', sans-serif;
    font-size:2em;
}

/* heading */

h2{
    font-size: 2rem;
    margin: 0 0 50px 0;
    text-transform: uppercase;
}

/* header */

#header {
  position: fixed; /* fixedを設定して固定 */
  height: 70px; /* 高さ指定 */
  width: 100%; /* 横幅指定 */
  z-index: 999; /* 最前面へ */
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px 100px 20px 0;
  background: #d9c5ba; /* 半透明の白背景を追加  #d9c5ba に変更*/
  backdrop-filter: blur(10px); /* 背景をぼかす効果を追加 */
}

#header h1 {
  text-transform: uppercase;
  font-size: 1.5rem;
  padding: 0 0 0 2%; 
  line-height: 1;
  white-space: nowrap;
}

#header h1 a {
  color: #ddd;
  display: block;
  width: 200px; /* PCでのロゴ画像の幅 */
  height: 70px; /* PCでのロゴ画像の高さ */
  background: url('../img/logo.png') no-repeat center center; /* ロゴ画像のパスを指定 */
  background-size: contain; /* 画像を要素のサイズに収める */
  text-indent: -9999px; /* テキストを非表示 */
}

@media screen and (max-width: 960px) {
  #header {
    background: #d9c5ba; /* スマホ表示時に背景を透明にする  #d9c5ba*/
    backdrop-filter: none; /* スマホ表示時に背景ぼかしを無効にする */
  }
  
  #header h1 {
    position: absolute;
    top: 2px; /* 上の余白を小さくする */
    left: 20px;
    margin-bottom: 30px; /* 下に余白を作る */
  }

  #header h1 a {
    width: 150px; /* モバイル時のロゴ画像の幅 */
    height: 50px; /* モバイル時のロゴ画像の高さ */
    display: block; /* a要素をブロックレベルにすることでmarginが効くようにする */
    margin-top: 10px; /* 上の余白 */
    margin-bottom: 40px; /* 下の余白 */
  }
}

.scrolldown1 span {
    transform: rotate(-90deg);
    text-transform: uppercase;
    left: -23px;
    top: -31px;
}


/* vidualarea */
#vidual-area{
    position: relative;
    height: 100vh;
}

body.appear #vidual-area::after{
    content:'';
    background:#d9c5ba;
    width:0;
    height: 12%;
    position: absolute;
    bottom:0;
    right:0;
    z-index: -1;
	animation-name:vidualbgRLextendAnime;
    animation-duration:.2s;
	animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}

@keyframes vidualbgRLextendAnime{
	0% {
		width:0;
	}
	100% {
		width:40%;
	}
}


#vidual-area #slider-area{
    position: absolute;
    top:0;
    right: 0;
    width:85%;
    z-index: -1;/*最背面へ*/
}

#vidual-area h2 {
    line-height: 1.5;
    text-transform: uppercase;
    font-size: 3vw;
    position: absolute;
    top: 36%;
    left: 5%;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.9); /* ぼんやりとした白い影を濃くする */
}


#vidual-area dl{
    position: absolute;
    left:2%;
    bottom:2%;
}

#vidual-area dl{
    color:#c9a793;
}

#vidual-area dt,
#vidual-area dd,
#vidual-area ul,
#vidual-area ul li{
    display: inline-block;
}

#vidual-area dt{
    text-transform: uppercase;
}

#vidual-area ul li{
    margin:0 10px;
}

#vidual-area ul img{
    width:20px;
}

@media screen and (max-width:960px) {
#vidual-area{
    height: 90vh;
}
#vidual-area #slider-area{
    width:100%;
    height: 90vh;
}
#vidual-area h2{
    font-size:2.1rem;
}
#vidual-area dl{
    left:20px;
    bottom:16px;
}
#vidual-area ul li{
    margin:0 2px;
}
    
}

@media screen and (max-width:450px) {
#vidual-area h2{
    font-size:7vw;
    top: inherit;
    bottom: 13%;
}

}

/* service */

#service {
    padding: 10% 0 10% 15%;
}

@media screen and (max-width:768px) {
    #service {
        padding: 30% 0 10% 30px;
    }
}

@media screen and (max-width:500px) {
    #service .service-lead {
        padding: 0 10% 0 0;
    }
    #service .service-lead br {
        display: none;
    }
}

#service .service-area {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10% 0 0 10%;
    position: relative;
}

#service .service-area::after {
    opacity: 0;
}

#service .service-area.startwd::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 80%;
    height: 60vh;
    background: #e7e2e0;
    z-index: -1;
    animation-name: sevicebgRLextendAnime;
    animation-duration: .9s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

@keyframes sevicebgRLextendAnime {
    0% {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 80%;
    }
}

#service .service-area section {
    width: 30%;
}

@media screen and (max-width:570px) {
    #service .service-area section {
        width: 100%;
        margin: 0 0 100px 0;
        padding: 0 10% 0 0;
    }
}

#service .service-area section h3 {
    font-size: 1.5rem;
    margin: 0 0 30px 0;
}

#service .service-area section p {
    margin: 0 0 30px 0;
}

#service .service-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 30%;
    height: 60vh;
}

#service .service-img {
    height: 60vh;
    background: url("../img/01.jpg") no-repeat center;
    background-size: cover;
}

@media screen and (max-width:570px) {
    #service .service-img-wrapper,
    #service .service-img {
        width: 100%;
        height: 40vh;
        background-position: right;
    }
    #service .service-img-wrapper {
        margin: 0 0 50px 0;
    }
}

/* PC向けのスタイル */
.text-mobile {
    display: none;
}

/* スマホ向けのスタイル */
@media only screen and (max-width: 767px) {
    .text-pc {
        display: none;
    }
    .text-mobile {
        display: block;
    }
}




/* access */

#access {
    padding: 10% 0 10% 0;
}

@media screen and (max-width: 768px) {
    #access {
        padding: 30% 0 10% 0;
    }
}

#access h2 {
    text-align: center;
    color: #333631;
    margin: 0 0 100px 0;
}

@media screen and (max-width: 550px) {
    #access h2 {
        margin: 0 0 50px 0;
    }
}

#access .access-list {
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
}

#access .access-list li {
    border-bottom: 1px solid #ccc;
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
}

#access .access-list dl {
    display: flex;
    justify-content: space-between;
}

#access .access-list dt {
    width: 30%;
    padding: 0 0 0 40px;
}

@media screen and (max-width: 590px) {
    #access .access-list dt {
        padding: 0 0 0 10px;
    }
}

#access .access-list dd {
    width: 65%;
}

/* スマホ用のスタイル */
@media screen and (max-width: 590px) {
    #access .access-list dl {
        display: block;
    }

    #access .access-list dt,
    #access .access-list dd {
        display: block;
        width: auto;
    }

    #access .access-list dd {
        margin-left: 10px; /* <dd> に少し余白を追加 */
    }

    #access .access-list dt::after {
        content: '';
        display: block;
        height: 1px;
        background: #ccc;
        margin: 10px 0;
    }

    /* スマホ用の li ボーダー非表示 */
    #access .access-list li {
        border-bottom: none;
    }
}



/* news */

.news-img-wrapper{
    position:relative;
    z-index: 1;
    overflow: hidden;
    width:90%;
    height: 60vh;
}

.news-img{
    height: 60vh;
    background:url("../img/02.jpg") no-repeat center;
    background-size: cover;
}

.news-img::after{
     content:'';
    position: absolute;
    bottom:0;
    left:0;
    width:70%;
    height: 10vh;
    background:#c9a793;
    z-index:2;
}

#news{
    padding: 0 0 5% 15%;
}

#news .area li{
    padding: 20px 0;
}

#news .area time{
    display: block;
    color: #6b3f31;
}

#news .tab{
    position: relative;
    top:1px;
}

#news .tab-choice-area{
    border-top:1px solid #c9a793;
    border-left:1px solid #c9a793;
}

@media only screen and (max-width: 1110px) {
    .tab-area{
        width:100%;
    }
    
}

@media only screen and (max-width: 768px) {
#news {
    padding: 0 0 5% 30px;
}
}

/* gallery */

#gallery{
    margin: 0 0 5% 0;
}

#gallery li{
    overflow: hidden;
}

.gallery img{
    opacity: 0.5;
}

.gallery img:hover{
    opacity: 1;
}

/* contact */

#contact{
    border-top: 1px solid #c9a793;
    border-bottom: 1px solid #c9a793;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	margin: 5% 0 5% 0;
}

#contact .contact-detail{
    width:65%;
    border-right: 1px solid #c9a793;
    text-align: center;
    padding: 20px;
}

#contact .contact-detail h2{
     margin:0 0 5px 0;   
    font-size: 2rem;
}

#contact .contact-tel{
     width:35%;
}

#contact .contact-tel p{
    text-align: center;
}

#contact .contact-tel p a{
     display: block;  
    padding: 20px;
    transition: all .3s;
}

#contact .contact-tel p a:hover{
     background:rgba(255,255,255,0.2);   
}

#contact .contact-tel p:last-child{
    border-top:1px solid #c9a793;
}

#contact .contact-tel br{
    display: none;
}

@media screen and (max-width:690px) {
#contact .contact-detail,
#contact .contact-tel{
    width:50%;
}
    
#contact .contact-tel br{
    display: block;
}
#contact .contact-detail h2{
    font-size: 1.2rem;
}
#contact .contact-detail p{
    text-align: left;
}
}

@media screen and (max-width:400px) {
    #contact{
        font-size: 0.8rem;
    }
}

.contact-form iframe {
            width: 100%;
            height: 1200px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }


/* footer-info */
#footer .footer-info {
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
}

#footer .footer-info ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

#footer .footer-info ul li {
    border-bottom: 1px solid #ccc;
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
}

#footer .footer-item {
    display: flex;
    justify-content: space-between;
}

#footer .footer-label {
    width: 30%;
    padding-right: 20px; /* スペースを調整 */
}

#footer .footer-content {
    width: 65%;
    border-bottom: none; /* スマホ表示時にラインを削除 */
}

@media screen and (max-width: 590px) {
    #footer .footer-item {
        display: block;
    }

    #footer .footer-label,
    #footer .footer-content {
        display: block;
        width: auto;
        margin: 0; /* マージンのリセット */
        padding: 0; /* パディングのリセット */
    }

    #footer .footer-label {
        border-bottom: none; /* スマホでは下のラインを削除 */
        margin-bottom: 10px; /* 下にマージンを追加 */
    }

    #footer .footer-content {
        border-bottom: none; /* スマホでラインが表示されないように */
        margin-left: 0; /* 左マージンのリセット */
    }

    /* スマホ用の li ボーダー表示 */
    #footer .footer-info ul li {
        border-bottom: 1px solid #ccc;
    }
}

/* 既存の footer スタイル */
#footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.8;
    padding: 5%;
    box-sizing: border-box;
}

#footer .footer-info,
#footer .footer-qr-codes,
#footer .footer-link {
    flex: 1;
    margin: 0 10px;
}

#footer .footer-info {
    max-width: 450px;
}

#footer .footer-qr-codes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#footer .footer-qr-codes img {
    width: 150px;
    height: auto;
}

#footer .footer-link {
    max-width: 500px;
}

#footer .footer-link ul {
    display: flex;
    flex-wrap: wrap;
    line-height: 2.5;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .footer-link ul li {
    margin: 0 15px;
}

#footer small {
    display: block;
    text-align: center;
    color: #aaa;
    margin-top: 20px;
}

@media screen and (max-width: 830px) {
    #footer {
        flex-direction: column;
        padding: 5% 0;
    }
    #footer .footer-info,
    #footer .footer-qr-codes,
    #footer .footer-link {
        width: 100%;
        text-align: center;
    }
    #footer .footer-info ul li {
        text-align: left;
    }
    #footer .footer-info {
        padding: 0 0 5% 0;
        margin: 0 0 5% 0;
        border-bottom: 1px solid #aaa;
    }
    #footer .footer-link ul {
        justify-content: center;
    }
    #footer small {
        padding: 10% 0;
        text-align: center;
    }
}

@media screen and (max-width: 400px) {
    #footer .footer-link ul li {
        margin: 0 10px;
    }
}

/*!
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 */

/* # =================================================================
   # Global selectors
   # ================================================================= */

html {
  box-sizing: border-box;
  overflow-y: scroll; /* All browsers without overlaying scrollbars */
  -webkit-text-size-adjust: 100%; /* iOS 8+ */
}

*,
::before,
::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/* # =================================================================
   # General elements
   # ================================================================= */

/* Add the correct display in iOS 4-7.*/
audio:not([controls]) {
  display: none;
  height: 0;
}

hr {
  overflow: visible; /* Show the overflow in Edge and IE */
}

/*
* Correct `block` display not defined for any HTML5 element in IE 8/9
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox
* Correct `block` display not defined for `main` in IE 11
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

summary {
  display: list-item; /* Add the correct display in all browsers */
}

small {
  font-size: 80%; /* Set font-size to 80% in `small` elements */
}

[hidden],
template {
  display: none; /* Add the correct display in IE */
}

abbr[title] {
  border-bottom: 1px dotted; /* Add a bordered underline effect in all browsers */
  text-decoration: none; /* Remove text decoration in Firefox 40+ */
}

a {
  background-color: transparent; /* Remove the gray background on active links in IE 10 */
  -webkit-text-decoration-skip: objects; /* Remove gaps in links underline in iOS 8+ and Safari 8+ */
}

a:active,
a:hover {
  outline-width: 0; /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: 'Times New Roman'; /* Specify the font family of code elements */
}

b,
strong {
  font-weight: bolder; /* Correct style set to `bold` in Edge 12+, Safari 6.2+, and Chrome 18+ */
}

dfn {
  font-style: italic; /* Address styling not present in Safari and Chrome */
}

/* Address styling not present in IE 8/9 */
mark {
  background-color: #ff0;
  color: #000;
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* # =================================================================
   # Forms
   # ================================================================= */

input {
  border-radius: 0;
}

/* Apply cursor pointer to button elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

[type="number"] {
  width: auto; /* Firefox 36+ */
}

[type="search"] {
  -webkit-appearance: textfield; /* Safari 8+ */
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Safari 8 */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule. */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}

/* Style select like a standard input */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge and IE */
  white-space: normal; /* Correct the text wrapping in Edge and IE */
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari */
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}

[type="search"] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px; /* Correct the outline style in Safari */
}

/* # =================================================================
   # Specify media element style
   # ================================================================= */

img {
  border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

svg:not(:root) {
  overflow: hidden; /* Internet Explorer 11- */
}

audio,
canvas,
progress,
video {
  display: inline-block; /* Internet Explorer 11+, Windows Phone 8.1+ */
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* Hide content from screens but not screenreaders */
@media screen {
  [hidden~="screen"] {
    display: inherit;
  }
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}

/* Specify the progress cursor of updating elements */
[aria-busy="true"] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled] {
  cursor: default;
}

/* # =================================================================
   # Selection
   # ================================================================= */

/* Specify text selection background color and omit drop shadow */

::-moz-selection {
  background-color: #b3d4fc; /* Required when declaring ::selection */
  color: #e7e2e0;
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc; /* Required when declaring ::selection */
  color: #e7e2e0;
  text-shadow: none;
}



/*===========================================================*/
/*機能編 4-2-4　背景色が伸びる（左から右）　 */
/*===========================================================*/

/*========= ローディング画面のためのCSS ===============*/
/* スプラッシュ画面全体のスタイル */
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #e7e2e0;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; /* PC用にロゴの幅を調整 */
  height: 282px; /* 高さを自動に設定して縦横比を保つ */
  background: url('../img/logo_s2.png') no-repeat center center; /* ロゴ画像のパスを指定 */
  background-size: contain; /* 画像を要素のサイズに収める */
  opacity: 0; /* 初期状態で透明 */
  animation: fadeDownAnime 0.9s ease-in-out forwards; /* アニメーションの設定 */
}

@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translate(-50%, -100px); /* 初期位置を画面の上部に設定 */
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%); /* 中央位置に戻る */
  }
}

@media screen and (max-width: 768px) {
  #splash-logo {
    width: 300px; /* スマホ用にロゴの幅を調整 */
  }
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

.splashbg {
  display: none;
}

body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-color: #c9a793; /* 伸びる背景色の設定 */
  animation-name: PageAnime;
  animation-duration: 0.8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container {
  opacity: 0; /* 初期状態で透明 */
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/*===========================================================*/
/*機能編  5-1-1 ドロップダウンメニュー（上） */
/*===========================================================*/

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #eee;
	padding:20px 35px;
	transition:all .3s;
}

nav ul li li a{
	padding:10px 35px;
}


@media screen and (max-width:1200px) {
nav ul li a{
	padding:20px;
}
nav ul li li a{
	padding:10px 20px;
}
}

nav ul li a:hover{
	color:#6b3f31 ;	
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:30px;
	width:6px;
	height:6px;
	border-top: 2px solid #eee;
    border-right:2px solid #eee;
    transform: rotate(135deg);
}

@media screen and (max-width:1200px) {
nav ul li.has-child::before{
    left:0;
}
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:rgba(255,255,255,0.2);
	width:180px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.4);
}

nav li.has-child ul li:last-child a{
	border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:rgba(255,255,255,0.2);
}

/*==960px以下の形状*/

@media screen and (max-width:960px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
nav ul li a{
	border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

}

/*===========================================================*/
/*機能編  5-1-6 スクロール途中から上部固定 */
/*===========================================================*/

/* ふわっと出現させるためのCSS */

/* 上に上がる動き */

#header.UpMove {
  position: fixed;
  width: 100%;
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/* 下に下がる動き */

#header.DownMove {
  position: fixed;
  width: 100%;
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* header-contact */
.header-contact-desktop {
  margin-left: auto; /* 自動的に右端に配置 */
  padding-right: 20px; /* 右端に少し余白を追加 */
}

.header-contact-desktop a {
  color: #6b3f31; /* テキストの色を設定 */
  font-size: 1rem; /* フォントサイズを設定 */
  text-decoration: none; /* テキスト装飾を削除 */
}

.header-contact-mobile {
  display: none; /* PCでは非表示 */
}

.header-contact-mobile a {
  color: #6b3f31; /* テキストの色を設定 */
  font-size: 1.2rem; /* フォントサイズを設定 */
  text-decoration: none; /* テキスト装飾を削除 */
  display: block;
  margin-top: 20px;
  text-align: center; /* 中央揃え */
}

@media screen and (max-width: 960px) {
  #header,
  #header.UpMove,
  #header.DownMove {
    animation: none;
    height: 10vh;
    padding: 0;
    display: block;
  }

  .header-contact-desktop {
    display: none; /* スマホでは非表示 */
  }

  .header-contact-mobile {
    display: block; /* スマホでは表示 */
  }
}

/* g-navi text color */
#header #g-nav #g-navi a {
  color: #6b3f31; /* 文字色を設定 */
}

/*==================================================
機能編 　5-1-11 クリックしたらナビが上から下に出現
===================================*/

@media screen and (max-width:960px) {
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(217,197,186,0.8);
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    width: 90%;
    margin:100px auto 0 auto;
}
    
#g-nav ul ul{
    width: 100%;
    margin: 0;
}
 
/*プルダウンナビのCSS*/
#g-nav ul li.has-child ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
    transform: none;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #6b3f31;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
}

/*==================================================
　機能編 5-2-7 3本線が奥行きを持って回転して×に
===================================*/

.g-nav-openbtn{
    display: none;
}
 
@media screen and (max-width:960px) {
.g-nav-openbtn{
    display: block;
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 70px;
	cursor: pointer;
    width: 50px;
    height:50px;
}

/*ボタン内側*/

.g-nav-openbtn .openbtn-area{
    transition: all .4s;
}

.g-nav-openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #c9a793;
  	width: 45%;
  }


.g-nav-openbtn span:nth-of-type(1) {
	top:15px;	
}

.g-nav-openbtn span:nth-of-type(2) {
	top:23px;
}

.g-nav-openbtn span:nth-of-type(3) {
	top:31px;
}

/*activeクラスが付与されると
線と周りのエリアが回転して×になる*/

.g-nav-openbtn.active .openbtn-area{
	transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}
}

/*==================================================
　機能編 5-3-3 左から右に線が伸びる（下部）
===================================*/
.nav01c li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.nav01c li.current a,
.nav01c li a:hover{
	color:#6b3f31;
}

.nav01c li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 16px;
    left: 25%;
    /*線の形状*/
    width: 50%;
    height: 1px;
    background:#6b3f31;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

.nav01c li li a::after {
    display: none;
}

/*現在地とhoverの設定*/
.nav01c li.current a::after,
.nav01c li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
@media screen and (max-width:960px) {
.nav01c li a::after {
    display: none;
}  
}

/*==================================================
　機能編 9-1-1	縦線が動いてスクロールを促す
===================================*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	right:40px;
	bottom:3%;
    /*全体の高さ*/
	height:50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	top: -15px;
    /*テキストの形状*/
	color: #6b3f31;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 1px;
	height: 30px;
	background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

/*==================================================
　機能編 7-1-34	少し出ていた線が伸びる
===================================*/


.btnlinestretches2{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*ボタンの形状*/  
	color:#6b3f31;
    padding:5px 40px;
	display:inline-block;
    text-decoration: none;
    outline: none;
}

/*線の設定*/
.btnlinestretches2::before,
.btnlinestretches2::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
    /*事前に出現させる線の形状*/
	border:solid #eee;
	width:10px;
	height:10px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

.btnlinestretches2::before{
    /*事前に出現させる線の位置*/
	top:0;
	left:0;
    /*事前に出現させる線の形状*/
	border-width:1px 0 0 1px;
}

.btnlinestretches2::after{
    /*事前に出現させる線の位置*/
	bottom:0;
	right:0;
    /*事前に出現させる線の形状*/
	border-width:0 1px 1px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches2:hover::before,
.btnlinestretches2:hover::after{
    width:calc(100% - 2px);
	height:calc(100% - 2px);
	border-color:#eee;
}

/*==================================================
機能編 8-1-4 ページの指定の範囲内で出現（下から上)
===================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	width: 50px;
	height: 50px;
    border:1px solid #adadad;
	color: #6b3f31;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

#page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top:1px solid #c9a793;
  border-left: 1px solid #c9a793;
  transform: rotate(45deg);
    margin: 8px 0 0 0;
}



/*　左の動き　*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}


/*==================================================
/*機能編 5-4-1タブメニュー*/
/*===================================*/

/*tabの形状*/
.tab-area{
    width: 70%;
}

.tab{
	display: flex;
	flex-wrap: wrap;
}

.tab li{
    text-align: center;
    white-space: nowrap;
}

.tab li a{
	display: block;
    border-top:transparent 1px solid;
    border-right:#000 1px solid;
    border-left:transparent 1px solid;
	padding:8px 30px;
    background:#333;
}

@media screen and (max-width:400px) {
.tab li a {
	padding:8px 20px;
}
   
}

/*liにactiveクラスがついた時の形状*/
.tab li.active a{
    background: #000;
    border-top:#aaa 1px solid;
	border-color:#aaa;
}

/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
    padding: 20px 40px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/*===========================================================*/
/*機能編  6-1-4 動きを組み合わせて全画面で見せる */
/*===========================================================*/
#slider {
    width: 100%;
    height: 91vh;/*スライダー全体の縦幅を91vhにする*/
}

/*==================================================
機能編 6-2-1 複数の画像を一覧で見せる
===================================*/
.gallery{
columns: 4;/*段組みの数*/
padding:0 15px;/*ギャラリー左右に余白をつける*/
}

.gallery li {
    margin-bottom: 20px;/*各画像下に余白をつける*/
}

/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/}

@media only screen and (max-width: 600px) {
	.gallery{
	columns: 2;
	}	
}

/*===========================================================*/
/* 機能編 7-2-2 虫眼鏡マークをクリックすると全画面表示で検索窓が出現 */
/*===========================================================*/

/*========= 検索窓を開くための虫眼鏡ボタン設定 ===========*/

.open-btn{
	position: absolute;
	top:10px;
	right:10px;
	background:url("../img/icon_search.svg") no-repeat 15px center;/*虫眼鏡アイコンを背景に表示*/
	background-size: 20px 20px;
	width:50px;
	height:50px;
	cursor: pointer;
    z-index: 999;
}

/*========= 検索窓の設定 ===============*/

/*==検索窓背景のエリア*/

#search-wrap{
    position:fixed;/*固定配置にして*/
	top: 0;
    left: 0;
	z-index: -1;/*最背面に設定*/
	opacity: 0;/*透過を0に*/
	transition: all 0.4s;/*transitionを使ってスムースに現れる*/
	width:100%;
	height: 100vh;
}

/*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後の見た目*/
#search-wrap.panelactive{
	opacity: 1;/*不透明に変更*/
	 z-index: 9999;/*全面に出現*/
	 background:#222;
    /*中の要素を天地中央揃えにする設定*/
	 display: flex;
	 justify-content: center;
	 align-items: center;
}

/*==検索窓のエリア*/

#search-wrap .search-area{
	display: none;/*検索窓のエリアは、はじめ非表示*/
}

/*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後*/
#search-wrap.panelactive .search-area{
	display: block;/*検索窓エリアを表示*/
	width:80%;
	position: relative;
}

/*==検索フォームの設定*/

#search-wrap form{
	position: relative;
	height: 66px;
}

/*==テキスト入力とボタンinput共通設定*/
#search-wrap input{
	-webkit-appearance:none;/*SafariやChromeのデフォルトの設定を無効*/
	outline: none;
	cursor: pointer;/*カーソルを指マークに*/
	color: #fff;
}

/*テキスト入力input設定*/
 #search-wrap input[type="text"] {
	width: 100%;
	padding: 20px;
	border: none;
	border-bottom:2px solid #666;
	transition: all 0.5s;
	letter-spacing: 0.05em;
}

 #search-wrap input[type="text"]:focus {
	background:#444;
}

/*ボタンinput設定*/
 #search-wrap input[type="submit"] {
	position: absolute;
	 top:0;
	right:10px;
	background:url("../img/icon_search.svg") no-repeat 15px center;/*虫眼鏡アイコンを背景に表示*/
	background-size: 25px 25px;
	width:60px;
	height: 60px;
}

/*=======　閉じるための×ボタン　========*/
.close-btn{
	position: absolute;
	top:10px;
	right:10px;
	z-index: 2;
	cursor: pointer;
    width: 60px;
    height:60px;
}
	
.close-btn span{
    display: inline-block;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
 }

/*×マーク*/
.close-btn span:nth-of-type(1) {
    top: 21px;
    left: 16px;
    transform: translateY(6px) rotate(-135deg);
    width: 50%;
}

.close-btn span:nth-of-type(2){
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(135deg);
    width: 50%;
}

/*==================================================
印象編 4 最低限おぼえておきたい動き
===================================*/

/*印象編　4-9、4-10　背景色が伸びて出現（左から・右から）　*/
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1.2s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;/*　はみ出た色要素を隠す　*/
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1.2s;
	animation-delay: 1.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

/*印象編　4-9 背景色が伸びて出現（左から）*/
.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1.0s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e7e2e0;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*印象編　4-9 背景色が伸びて出現（右から）*/
.bgRLextend::before{
	animation-name:bgRLextendAnime;
	animation-duration:1.5s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e7e2e0;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
	0% {
		transform-origin:right;
		transform:scaleX(0);
	}
	50% {
		transform-origin:right;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:left;
	}
	100% {
		transform-origin:left;
		transform:scaleX(0);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}


/*==================================================
 7 画像リンクの動き
===================================*/

/*　印象編　7-3 画像が拡大＋回転　*/

.zoomInRotate{
/*opacityとtransformがかけあわさると生じる表示バグの回避*/
    backface-visibility: hidden;
}
.zoomInRotate img{
	transform: scale(1);
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.zoomInRotate a:hover img{/*hoverした時の変化*/
	transform:rotate(5deg) scale(1.2);/*拡大、回転の値を変更したい場合はこの数値を変更*/
}

/*　contact-form　*/

#contact-form {
    padding: 10% 0;
    background-color: #f9f9f9;
}

#contact-form .contact-form-detail {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact-form h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
}

#contact-form p {
    margin-bottom: 2rem;
    text-align: center;
}

#contact-form form div {
    margin-bottom: 1rem;
}

#contact-form label {
    display: block;
    margin-bottom: .5rem;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: .5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#contact-form button {
    display: block;
    width: 100%;
    padding: .75rem;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color .3s;
}

#contact-form button:hover {
    background-color: #555;
}
