芝麻web文件管理V1.00
编辑当前文件:/home/r5772835/public_html/anjii.ycreate.jp/sass/style.css
@charset "UTF-8"; html { font-size: 16px; } body { font-family: "Noto Sans JP", sans-serif; } a[href^="tel:"] { pointer-events: none; } @media screen and (max-width: 768px) { a[href^="tel:"] { pointer-events: auto; } } a { transition: opacity 0.3s; } a:hover { opacity: 0.7; } *, *::before, *::after { box-sizing: border-box; } /* Remove default padding */ ul, ol { padding: 0; } /* Remove default margin */ body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; } /* Set core root defaults */ html { scroll-behavior: smooth; } /* Set core body defaults */ body { min-height: 100vh; text-rendering: optimizeSpeed; line-height: 1.5; } /* Remove list styles on ul, ol elements with a class attribute */ ul, ol { list-style: none; } /* A elements that don't have a class get default styles */ a:not([class]) { -webkit-text-decoration-skip: ink; text-decoration-skip-ink: auto; } a { text-decoration: none; } /* Make images easier to work with */ img { max-width: 100%; display: block; width: 100%; } /* Natural flow and rhythm in articles by default */ article > * + * { margin-top: 1em; } /* Inherit fonts for inputs and buttons */ input, button, textarea, select { font: inherit; } /* Blur images when they have no alt attribute */ img:not([alt]) { filter: blur(10px); } /* フォームリセット */ input, button, select, textarea { -webkit-appearance: none; -moz-appearance: none; appearance: none; background: transparent; border: none; border-radius: 0; font: inherit; outline: none; } textarea { resize: vertical; } input[type=checkbox], input[type=radio] { display: none; } input[type=submit], input[type=button], label, button, select { cursor: pointer; } select::-ms-expand { display: none; } @media screen and (max-width: 768px) { .u-md-none { display: none; } } .u-md-show { display: none; } @media screen and (max-width: 768px) { .u-md-show { display: block; } } .inner { width: 100%; max-width: 1080px; padding-left: 60px; padding-right: 60px; margin-right: auto; margin-left: auto; } @media screen and (max-width: 1200px) { .inner { padding-right: 15px; padding-left: 15px; } } .title { font-family: "Josefin Sans", sans-serif; margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; font-style: 34px; text-align: center; } .heading { position: relative; font-size: 36px; font-family: "Josefin Sans", sans-serif; padding-bottom: 16px; letter-spacing: 0.05em; font-weight: 200; justify-content: center; } .heading.heading--center { font-size: 24px; text-align: center; } .heading.heading--center::after { left: 50%; transform: translateX(-50%); } .diagonal-line { position: absolute; content: ""; background-color: #000000; transform: rotate(-30deg); } .text { font-size: 14px; font-weight: 200; line-height: 1.785; font-family: "Noto Sans JP", sans-serif; } .text.text--large { font-size: 24px; line-height: 2; } @media screen and (max-width: 768px) { .text.text--large { font-size: 20px; } } .text.text--reverse { color: #000000; } .header { position: fixed; top: 0; left: 0; width: 100%; height: 80; background-color: #fff; z-index: 1000; } .header__inner { display: flex; justify-content: space-between; align-items: center; height: inherit; padding: 0 60px; } .header__logo { font-size: 40px; color: #000000; font-family: "Josefin Sans", sans-serif; font-weight: 500; height: inherit; } .header__nav { height: inherit; } .header__items { display: flex; height: inherit; align-items: center; } .header__item { margin-left: 40px; } .header__link { height: inherit; display: flex; align-items: center; font-family: "Josefin Sans", sans-serif; color: #000000; font-weight: 400; font-size: 16px; } .hamburger { position: fixed; top: 27px; right: 15px; width: 25px; height: 16px; z-index: 9999; cursor: pointer; } .hamburger span { display: inline-block; position: absolute; left: 0; width: 100%; height: 2px; background-color: #000000; transition: 0.3s all; } .hamburger span:nth-child(1) { top: 0; } .hamburger span:nth-child(2) { top: 8px; } .hamburger span:nth-child(3) { top: 16px; } .hamburger span.is-active:nth-child(1) { top: 15px; transform: rotate(-45deg); } .hamburger span.is-active:nth-child(2) { opacity: 0; } .hamburger span.is-active:nth-child(3) { top: 15px; transform: rotate(45deg); } .drawer-menu { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100vh; background-color: #fff; z-index: 5000; } .drawer-menu__inner { display: flex; justify-content: center; align-items: center; width: 375px; height: 664px; margin: 0 auto; } .drawer-menu__items { display: flex; flex-direction: column; } .drawer-menu__item { display: inline-block; } .drawer-menu__item:not(* first-child) { margin-top: 50px; } .drawer-menu__link { color: #000000; font-size: 16px; line-height: 1.875; font-family: "Josefin Sans", sans-serif; font-weight: 500; letter-spacing: 0.05em; } #g-nav { /*position:fixed;にし、z-indexの数値を大きくして前面へ*/ position: fixed; z-index: 999; /*ナビのスタート位置と形状*/ top: 0; right: -120%; width: 100%; height: 100vh; /*ナビの高さ*/ background: #999; /*動き*/ transition: all 0.6s; } /*アクティブクラスがついたら位置を0に*/ #g-nav.panelactive { right: 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 { /*ナビゲーション天地中央揃え*/ position: absolute; z-index: 999; top: 50%; left: 50%; transform: translate(-50%, -50%); } /*リストのレイアウト設定*/ #g-nav li { list-style: none; text-align: center; } #g-nav li a { color: #333; text-decoration: none; padding: 10px; display: block; text-transform: uppercase; letter-spacing: 0.1em; font-weight: bold; } /*========= ボタンのためのCSS ===============*/ .openbtn { position: fixed; z-index: 9999; /*ボタンを最前面に*/ top: 10px; right: 10px; cursor: pointer; width: 50px; height: 50px; } /*×に変化*/ .openbtn span { display: inline-block; transition: all 0.4s; position: absolute; left: 14px; height: 3px; border-radius: 2px; background-color: #666; width: 45%; } .openbtn span:nth-of-type(1) { top: 15px; } .openbtn span:nth-of-type(2) { top: 23px; } .openbtn span:nth-of-type(3) { top: 31px; } .openbtn.active span:nth-of-type(1) { top: 18px; left: 18px; transform: translateY(6px) rotate(-45deg); width: 30%; } .openbtn.active span:nth-of-type(2) { opacity: 0; } .openbtn.active span:nth-of-type(3) { top: 30px; left: 18px; transform: translateY(-6px) rotate(45deg); width: 30%; } .concept { margin-top: 50px; justify-content: center; } .concept__inner { width: 474px; height: 240px; max-width: 650px; padding-left: 25px; padding-right: 25px; margin-right: auto; margin-left: auto; } h2.concept__heading { text-align: center; } h2.menu__heading { text-align: center; } .menu__inner { margin: 50px 60px 0; background-color: #F7F7F7; } .menu__cards { display: flex; } .menu__card { display: flex; flex-direction: column; } .card { margin: 20px; padding: 50px; } .item3 { margin-top: 80px; } .menu__name { display: flex; align-items: center; justify-content: center; width: 160px; height: 64px; background-color: #fff; position: relative; top: -32px; left: 160px; font-family: "Josefin Sans", sans-serif; font-size: 20px; } .menu2__inner img { position: relative; margin: 60 0px; width: 100%; } .menu2__body { width: 100%; } .menu2__name { width: 100%; position: relative; top: -200px; left: 300px; font-family: "Noto Sans JP", sans-serif; font-size: 14px; color: #fff; } h2.gallery__heading { text-align: center; } .gallery__inner { margin: 50px 60px 0; } .gallery__heading { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; font-family: "Josefin Sans", sans-serif; background-color: #F7F7F7; } .gallery__container { width: 100%; } .gallery__cards { margin-top: 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); row-gap: 40px; margin-left: 60px; } .gallery__cards:last-child { margin-right: 60px; } .gallery__name { display: flex; } .location { margin-top: 50px; padding-left: 60px; padding-right: 60px; background-color: #F7F7F7; } .location__heading { margin-top: 50px; width: 100%; height: 100%; display: flex; } .location__cards { margin-top: 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); row-gap: 40px; margin-left: 60px; } .location__card { background: #000000; color: #fff; } #reserve { margin-top: 50px; background-image: url(../images/reserve.jpg); height: 300px; } .reserve { background-size: cover; background-position: center; } .reserve-container { text-align: center; margin-top: 10%; } .reserve__text { color: #fff; font-family: "Noto Sans JP", sans-serif; font-size: 14px; padding-top: 107px; } footer { background-color: #000000; padding: 27px 0; text-align: center; } @media screen and (max-width: 768px) { footer { padding: 17.5px 0; } } .footer__copyright { font-family: "Roboto", sans-serif; font-size: 14px; letter-spacing: 0.05em; color: #fff; }/*# sourceMappingURL=style.css.map */