@charset "UTF-8";

/*変数*/
:root {
    --primary:#8c2e40 ;
    --second:#F2B705; 
    --midgray:#261A17;
    --gray:#fffcf2;
    --white:#fff;
}

/* サイズの基準 */
:root {
    font-size: 100px;
}

/* -----------------------------------
  全体構造
----------------------------------- */
html {
    margin: 0;
    padding: 0;
}

/* テキストの基本設定 */
body {
    color: var(--primary);
    font-size: 0.16rem;
    font-family: 'M PLUS Rounded 1c',sans-serif;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    font-weight: bold;
}

p, a {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.line {
    background-color:var(--primary);
    width: 80px;
    height: 1px;
    margin: 10px auto 10px;
}

.wrapper {
    max-width: 980px;
    padding: 0 4%;
    margin: 0 auto;
}

h1 {
    font-size:0.32rem; ;
}

h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

a[href^="tel:"] {
    pointer-events: none; 
}

p {
    margin-top: 10px;
}

.bold {
    font-weight: bold;
    color: var(--primary);
}

/* -----------------------------------
  header
----------------------------------- */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    
    background-color: var(--primary);
    color:var(--white);
}

#header .inner {
    display: flex;
    align-items: center;
}

#header .inner ul {
    display: flex;
    align-items: center;
}

#header .inner li{
    margin-right: 30px;
}

#header .inner li:last-child {
    margin-right: 0;
}

#header .contact {
    width: 340px;
    height: 100px;
    line-height: 100px;
    background-color: var(--second);
    color: var(--midgray);
    font-size: 0.32rem;
    font-weight: bold;
    display: inline-block;
    text-align: center;
  }
  
.site-title {
    width: 280px;
    line-height: 1px;
    padding: 10px 0;
    margin: 0 60px;
}

.site-title a {
    display: block;
}

/* mainvisual */
.main {   
    margin: 0 auto;
    max-width: 980px;
}

/* -----------------------------------
  about
----------------------------------- */
.about {
    margin-top: 48px;
}

.flex {
    display: flex;
}

.flex .image {
    width: 50%;
}

.flex .text {
    width: 50%;
    padding-top: 20px;
}

.flex .text p {
    text-align: left;
    padding: 0px 15px ;
    margin: 0px 0 20px 0;
}

/* -----------------------------------
 カルーセル(スライドショー設定)
----------------------------------- */
/* 全体設定 */
.css-carousel-slider4 {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.css-carousel-slider4 img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

/* スライド設定 */
.css-carousel-slider4 .slide-wrap {
    width: 400%;
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    z-index: 0;
    animation: css-carousel-slider4 20s infinite;
    animation-delay: 2s;
}
.css-carousel-slider4 .slide-wrap-main {
    width: 100%;
    z-index: 1;
    animation: css-carousel-slider-main4 20s infinite;
    animation-delay: 2s;
}
.css-carousel-slider4 .slide {
    width: 100%;
}

/* スライダーアニメーションの設定 */
@keyframes css-carousel-slider4 {
    0% { transform: translateX(0); }

    20% { transform: translateX(calc(1 / 4 * -100%)); }
    25% { transform: translateX(calc(1 / 4 * -100%)); }

    45% { transform: translateX(calc(2 / 4 * -100%)); }
    50% { transform: translateX(calc(2 / 4 * -100%)); }

    70% { transform: translateX(calc(3 / 4 * -100%)); }
    75% { transform: translateX(calc(3 / 4 * -100%)); }

    95% { transform: translateX(calc(4 / 4 * -100%)); }
    100% { transform: translateX(calc(4 / 4 * -100%)); }
}

@keyframes css-carousel-slider-main4 {
    0% { transform: translateX(100%); }
    75% { transform: translateX(100%); }
    95% { transform: translateX(0%);}
}

/* -----------------------------------
 topics
----------------------------------- */
#topic li:first-child{
    border-top: 1px dotted var(--midgray);
}

#topic li {
    border-bottom: 1px dotted var(--midgray);
}

/* -----------------------------------
  news
----------------------------------- */
.news-container {
    background-color: var(--gray);
    margin: 15px auto 45px auto;
    padding: 0;
}

.insta_list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.insta_list li{
    position: relative;
    width: calc((100% - 20px)/3);
}

.insta_list li::before{
	content: "";
	display: block;
	padding-top: 100%;
}

.insta_list a{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.insta_list img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7%;
}

.insta_btn{
    background-color: var(--primary);
    border: 5px solid var(--second);
    border-radius:5%;
    padding: .5em 1em;
    width: fit-content;
    margin: 10px auto;
    cursor: pointer;
    transition: .3s
}

.insta_btn a{
    color:var(--white);
    text-decoration: none;
}

.insta_post {
    margin:0 auto;
	max-width: 500px;
}

/* follow me */
.btn-social-long-insta {
    /*ボタンの下地*/
    color: #FFF;/*文字・アイコン色*/
    border-radius: 7px;/*角丸に*/
    position: relative;
    display: inline-block;
    height: 50px;/*高さ*/
    width: 190px;/*幅*/
    text-align: center;/*中身を中央寄せ*/
    font-size: 25px;/*文字のサイズ*/
    line-height: 50px;/*高さと合わせる*/
    background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;/*グラデーション①*/
    overflow: hidden;/*はみ出た部分を隠す*/
    text-decoration:none;/*下線は消す*/
  }
  
  .btn-social-long-insta:before {
    /*グラデーション②*/
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;/*全体を覆う*/
    height: 100%;/*全体を覆う*/
    background: linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
  }
  
  .btn-social-long-insta .fa-instagram {
    /*アイコン*/
    font-size: 35px;/*アイコンサイズ*/
    position: relative;
    top: 4px;/*アイコン位置の微調整*/
    margin-right: 4px;
  }
  
  .btn-social-long-insta span {
    /*テキスト*/
    display:inline-block;
    position: relative;
    transition: .5s
}
  
  .btn-social-long-insta:hover span {
    /*ホバーで一周回転*/
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
  }

/* -----------------------------------
  information
----------------------------------- */
.tel_btn {
    display: inline-block;
    color: #fff;
    background-color: var(--primary);
    padding: 20px 100px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.32rem;
    position: relative;
    margin-bottom: 20px;
  }
  
  .phone {
    position: absolute;
    top: calc(50% - .5em);
    left: 0.2rem;
  }

/* -----------------------------------
  footer
----------------------------------- */
#footer {
    background-color: var(--primary);
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

#footer .flex-item {
    display: flex;
    justify-content: space-between;
}

#footer .item {
    width: 50% /*calc((100% - 4%)/3)*/;
    /*line-height: 2*/;
}

footer p {
    color: var(--white);
    padding: 10px 0;

}

/* セクション区切り*/
#divider {
    position: relative;
    height: 80px;
    margin:0 auto;
    padding: 0;
}

.custom-shape-divider-bottom-1693138024 {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1693138024 svg {
    position: relative;
    display: block;
    width: calc(256% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1693138024 .shape-fill {
    fill: #8C2E40;
}

/* menu */
#menu ul{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

#menu li {
    width: 31%;;
}

#menu li img {
    height: 240px;
    object-fit:cover;
}

/* ACCESS */
.access {
    margin-top: 48px;
}

.address {
    font-size: 0.26rem;
    margin-bottom: 20px;
}

#map img{
    border-radius: 6%;
    border:2px solid var(--primary);
}

/* -----------------------------------
  responsive
----------------------------------- */
@media screen and (max-width:767px) {
    a[href^="tel:"]{
        pointer-events: cursor;
    }

    /* header */
    #header {
        max-width: 100%;
        height: auto;
        flex-direction: column;
    }
    
    #header .inner {
        flex-direction: column;
        align-items: center;
    }

    #header .contact {
        display: none;
    }
    
    .open-img img{
        object-fit: cover;
    }

    /* news */
    .insta_list{
        gap: 5px;
        margin: 10px 0;
    }

    .insta_list li{
        width: calc((100% - 5px)/2);
    }

    /* about */
    .flex {
        flex-direction: column;
    }

    .flex .image {
        width:100% ;
        margin-bottom: 10px;
    }

    .flex .text {
        width: 100%;
    }

    .flex .text p {
        padding: 0;
    }
    
    /* menu */
    .menu-main img,
    .main img{
        height: 280px;
        object-fit: cover;
    }

    #menu ul {
        flex-direction: column;
    }

    #menu li {
        width: 100%;
        margin-bottom: 10px;
    }

    .menu {
        margin-top: 30px;
    }

    #menu li img {
        width: 100%;
        height: auto;
        object-fit: fill;
    }

    #info {
        flex-direction: column;
    }
    
    /* footer */
    #footer .flex-item {
        flex-direction: column;
    }

    #footer .item {
        width: 100%;
        margin-bottom: 30px;
    }

    .logo-img img {
        width:75%;
    }

    /* infomation */
    .tel_btn {       
        padding: 10px 28px;
        font-size: 0.28rem;
    }

    .phone {
        display: none;
    }

    .address {
        font-size: 0.21rem;
    }
}