/* ============================================
   Awashima Coffee - Custom CSS
   Navy (#1a3a52) & Gold (#d4af37) テーマ
   ============================================ */

/* ========== IMPORTS & RESETS ========== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap");

* {
  box-sizing: border-box;
}

:before, :after {
  box-sizing: inherit;
}

html {
  -webkit-font-smoothing: antialiased;
  -webkit-print-color-adjust: exact;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', YuGothic, 'Yu Gothic', osaka, meiryo, sans-serif;
  word-break: break-all;
  color: #1a3a52;
  background: #fff;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-size: 100%;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  text-decoration: underline;
  color: #d4af37;
}

button {
  padding: 0;
  border: 0;
  font-size: 100%;
  background-color: transparent;
  cursor: pointer;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

/* ========== CONTAINER ========== */
.container {
  margin: 0 auto;
  padding: 0 20px;
}

@media screen and (min-width: 768px) {
  .container {
    max-width: 1480px;
  }
}

/* ========== HEADER ========== */
.header {
  position: relative;
  z-index: 10;
  background-color: #fff;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1);
  transition: position 0.5s;
}

.header-inner {
  display: flex;
  align-items: center;
  height: inherit;
}

.header-logo a {
  display: inline-block;
}

.header-logo a img {
  width: 230px;
  max-width: none;
}

/* ========== MAIN CONTENT ========== */
.main {
  overflow: hidden;
  width: 100%;
}

/* ========== HERO SECTION ========== */
.hero-img {
  position: relative;
  background: url(/html/user_data/assets/img/hero_img.jpg) center center / cover no-repeat;
  background-color: #f5f5f5;
}

.hero-img__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  height: auto;
}

@media only screen and (min-width: 1400px) {
  .hero-img {
    height: calc(100vh - 240px);
    min-height: 600px;
  }
}

@media only screen and (max-width: 1399px) {
  .hero-img {
    height: calc(100vh - 82px);
    min-height: 300px;
  }
}

/* ========== INFO SECTION ========== */
.info {
  position: relative;
  margin-top: -60px;
}

.info-wrap {
  position: relative;
  background-color: #fff;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
}

.info-headline {
  font-weight: 400;
  color: #1a3a52;
}

.info-list {
  position: relative;
}

.info-list__item {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s linear;
}

.info-list__item.current {
  opacity: 1;
}

.info-list__item a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  white-space: nowrap;
}

.info-list__item a.ticker {
  animation: linear infinite info_ticker;
}

.info-nav {
  position: absolute;
  display: flex;
  justify-content: space-between;
}

.info-nav button {
  position: relative;
  overflow: hidden;
  display: block;
  background-color: transparent;
}

.info-nav button:before {
  display: block;
  border-top: 1px solid #1a3a52;
  border-right: 1px solid #1a3a52;
  content: '';
  top: 50%;
  left: 50%;
}

@keyframes info_ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media screen and (min-width: 768px) {
  .info {
    margin-top: -60px;
  }

  .info .container {
    max-width: calc(100% - 120px);
  }

  .info-wrap {
    display: flex;
    padding: 40px 140px 40px 45px;
    height: 120px;
    align-items: center;
  }

  .info-headline {
    display: flex;
    margin-right: 30px;
    padding-right: 20px;
    width: 100px;
    height: 100%;
    border-right: 1px solid #d0cecc;
    justify-content: center;
    align-items: center;
  }

  .info-list {
    width: calc(100% - 160px);
    height: 1.33333em;
  }

  .info-list__item {
    line-height: 1.33333;
  }

  .info-nav {
    top: calc(50% - 16px);
    right: 40px;
    width: 100px;
    height: 32px;
  }

  .info-nav button {
    width: 32px;
    height: 32px;
  }

  .info-nav button:before {
    width: 22px;
    height: 22px;
  }

  .info-nav__prev:before {
    transform: translateX(50%) rotate(225deg);
  }

  .info-nav__next:before {
    transform: rotate(45deg);
  }
}

@media only screen and (max-width: 767px) {
  .info {
    margin-top: -51px;
  }

  .info-wrap {
    padding: 15px 25px 25px;
  }

  .info-headline {
    margin-bottom: 12px;
    padding: 8px 0 7px;
    text-align: center;
    border-bottom: 1px solid #d0cecc;
  }

  .info-list {
    width: 100%;
    height: 1.66667em;
  }

  .info-list__item {
    line-height: 1.66667;
  }

  .info-nav {
    top: 19px;
    right: 15px;
    width: 54px;
    height: 27px;
  }

  .info-nav button {
    width: 27px;
    height: 27px;
  }

  .info-nav button:before {
    width: 10px;
    height: 10px;
  }

  .info-nav__prev:before {
    transform: translateX(100%) rotate(225deg);
  }

  .info-nav__next:before {
    transform: translateX(50%) rotate(45deg);
  }
}

/* ========== INTRO SECTION ========== */
.intro {
  position: relative;
  padding-top: 0;
}

.intro-wrap {
  position: relative;
}

.intro-img {
  position: absolute;
  top: 0;
  width: 100%;
  height: auto;
}

.intro-text {
  position: relative;
  display: flex;
  background-color: #fff;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
  flex-direction: column;
  justify-content: center;
}

.intro-text__heading {
  font-weight: 500;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.65;
  color: #1a3a52;
}

.intro-text__heading ~ p {
  margin-top: 20px;
  color: #1a3a52;
}

@media screen and (min-width: 768px) {
  .intro {
    margin-top: -60px;
    padding-top: 180px;
    background: url(/html/user_data/assets/img/bg_content_01.jpg) left top no-repeat;
  }

  .intro-wrap {
    padding-top: 60px;
  }

  .intro-img {
    left: 0;
    width: calc(50% + 24px);
  }

  .intro-text {
    margin-left: auto;
    padding: 60px 6.94444%;
    width: calc(50% + 24px);
    min-width: 572px;
  }

  .intro-text__heading {
    font-size: 2.375em;
    letter-spacing: 0.087em;
  }
}

@media only screen and (max-width: 767px) {
  .intro {
    margin-top: 30px;
  }

  .intro-wrap {
    padding-top: 65.73333%;
  }

  .intro-img {
    left: -20px;
    width: calc(100% + 20px);
  }

  .intro-text {
    margin-right: -20px;
    padding: 35px 20px 30px 40px;
    width: calc(100% + 20px);
  }

  .intro-text__heading {
    font-size: 1.438em;
    letter-spacing: 0.125em;
  }
}

/* ========== PRODUCT SECTION ========== */
.product {
  text-align: center;
}

.product-heading {
  font-weight: 500;
  font-family: 'Noto Serif JP', serif;
  color: #1a3a52;
}

.product-wrap {
  margin: 0 auto;
}

.product-item {
  text-align: center;
}

.product-item a {
  display: block;
}

.product-item a:hover {
  text-decoration: none;
}

.product-item__heading {
  font-weight: 500;
  font-family: 'Noto Serif JP', serif;
  color: #1a3a52;
}

.product-item__link a {
  margin-left: 25px;
  color: #d4af37;
}

.product-item__link a:hover {
  color: #1a3a52;
}

@media screen and (min-width: 768px) {
  .product {
    margin-top: 110px;
    padding-bottom: 150px;
    background: url(/html/user_data/assets/img/bg_content_02.jpg) right top no-repeat;
  }

  .product-heading {
    margin-bottom: 45px;
    font-size: 2.14em;
    letter-spacing: 0.3125em;
  }

  .product-wrap {
    display: flex;
    max-width: 1190px;
    justify-content: space-between;
  }

  .product-item {
    width: 30.58824%;
  }

  .product-item__heading {
    margin-top: 35px;
    font-size: 1.34em;
    letter-spacing: 0.25em;
  }

  .product-item__link {
    margin-top: 10px;
  }

  .product-item__link a {
    font-size: 0.8em;
  }
}

@media only screen and (max-width: 767px) {
  .product {
    margin-top: 40px;
  }

  .product-heading {
    margin-bottom: 20px;
    font-size: 1.6em;
    letter-spacing: 0.375em;
  }

  .product-wrap {
    width: 74.62687%;
    max-width: 500px;
  }

  .product-item:not(:last-child) {
    margin-bottom: 35px;
  }

  .product-item__heading {
    margin-top: 15px;
    font-size: 1.28em;
    letter-spacing: 0.15625em;
  }
}

/* ========== MAP SECTION ========== */
.map {
  background-color: #1a3a52;
}

#map-canvas {
  opacity: 0.95;
  position: relative;
}

#map-canvas iframe {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.infobox {
  text-align: center;
}

.infobox dt {
  font-weight: 700;
  margin-bottom: 10px;
  color: #d4af37;
}

.gm-style .gm-style-iw-t:after {
  display: none !important;
}

.map-area {
  text-align: center;
}

.map-area .link-btn {
  display: inline-block;
  border: 1px solid #ddd;
  color: #d4af37;
  transition: all 0.3s;
}

.map-area .link-btn:hover {
  background-color: #d4af37;
  color: #1a3a52;
}

@media screen and (min-width: 768px) {
  #map-canvas {
    height: 450px;
    margin-top: 0;
  }

  .infobox {
    font-size: 15px;
  }

  .gm-style .gm-style-iw-c {
    border-radius: 6px;
    box-shadow: none;
    transform: translate(50px, -50%);
    padding: 40px !important;
  }

  .map-area {
    padding-bottom: 160px;
  }

  .map-area .link-btn {
    margin-top: 50px;
    padding: 20px 0;
    width: 420px;
  }

  .map-area .link-btn .arr {
    margin-left: 25px;
  }
}

@media only screen and (max-width: 767px) {
  #map-canvas {
    height: 230px;
    margin-top: 60px;
  }

  .infobox {
    font-size: 12.5px;
  }

  .gm-style .gm-style-iw-c {
    display: none !important;
  }

  .map-area {
    padding-bottom: 45px;
  }

  .map-area .link-btn {
    margin-top: 35px;
    padding: 13px 0;
    width: 225px;
  }

  .map-area .link-btn .arr {
    padding-right: 35px;
  }

  .map-area .link-btn .arr:before {
    transform: scale(0.75);
    transform-origin: right center;
  }
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  text-align: center;
  background-color: #1a3a52;
  color: #fff;
  padding: 40px 0;
}

.footer a {
  color: #d4af37;
}

.footer a:hover {
  color: #fff;
}

/* ========== UTILITY CLASSES ========== */
.arr {
  position: relative;
  display: inline-block;
  padding-right: 50px;
}

.arr:before {
  position: absolute;
  top: calc(50% - 7px);
  right: 0;
  display: block;
  width: 35px;
  height: 11px;
  background: url(/html/user_data/assets/img/arrow_blk.svg) center center no-repeat;
  content: '';
  transition: right 0.3s linear;
}

.arr:hover:before, a:hover .arr:before {
  right: -10px;
}

.arr.wht {
  color: #fff;
}

.arr.wht:before {
  background-image: url(/html/user_data/assets/img/arrow_wht.svg);
}

/* ========== RESPONSIVE UTILITIES ========== */

@media screen and (min-width:768px){

  body{
    font-size:0.9375em;
    line-height:2;
  }

  .sp,
  .br-sp{
    display:none !important;
  }

  .pc,
  .br-pc{
    display:inline !important;
  }

}

@media screen and (max-width:767px){

  body{
    font-size:0.78125em;
    line-height:1.68;
  }

  .pc,
  .br-pc{
    display:none !important;
  }

  .sp,
  .br-sp{
    display:inline !important;
  }

}

/* =========================================================
   Page-specific rules moved out of customize.css
   - contact: awashima_contact.css
   - forgot/reset: awashima_forgot.css
   - shopping/login/progress/multiple: awashima_shopping_extra.css
   - entry confirm: awashima_entry_confirm.css or keep in customize末尾 temporarily
   - cart header patch: awashima_cart.css
========================================================= */
