/**
* Template Name: Laura - v4.9.0
* Template URL: https://bootstrapmade.com/laura-free-creative-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@import 'variables.css';

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-primary);
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-yellow);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "游ゴシック", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: var(--color-white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--color-accent-yellow-light);
  color: var(--color-white);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  z-index: 997;
  transition: all 0.5s;
  height: 80px;
  background: var(--color-header);
}

#header.header-transparent {
  background: transparent;
}

#header.header-scrolled {
  height: 60px;
  background: var(--color-header);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  color: var(--color-white);
  white-space: nowrap;
  transition: 0.3s;
  font-size: 12px;
  font-family: "游ゴシック", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--color-primary-alt);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--color-white);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 400;
  color: var(--color-text-dark);
  letter-spacing: 1px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: var(--color-primary);
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation
*
* モバイルのメニューは assets/css/nav-overlay.css に移した。本体サイトと
* デザインを揃えるため、フルスクリーン・オーバーレイの1実装を共用している。
* 旧実装(.mobile-nav-toggle のアイコンボタンと、画面を暗くして内側に白い角丸
* パネルを出す .navbar-mobile)はマークアップごと廃止した。
*/

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  /* height ではなく min-height。短いビューポート(横向きスマホ等)で内容が
     固定高さから溢れ、h1 が固定ヘッダーに隠れるのを防ぐ。 */
  min-height: 100vh;
  background: url("../img/snapshot/heading-practice-2-trim-art.jpg") top right;
  background-size: cover;
  position: relative;
  /* #hero 自身を flex コンテナにして .hero-container に高さを配る。
     子に min-height を持たせると padding と二重に効いて 100vh を超えてしまう。 */
  display: flex;
  flex-direction: column;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.65);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .hero-container {
  /* 通常フローに戻す。absolute のままだと #hero の高さに寄与しないため
     min-height:100vh が伸びず、内容が溢れて h1 がヘッダーに潜る。 */
  position: relative;
  /* 親の高さを埋める。内容がそれより高ければ、親ごと伸びる。 */
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* 上は固定ヘッダー(80px)分の逃げ */
  padding: 80px 15px 20px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-family: "游ゴシック", sans-serif;
  color: var(--color-white);
}

#hero h2 {
  color: var(--color-gray-light);
  margin-bottom: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#hero .btn-scroll {
  transition: 0.4s;
  color: rgba(255, 255, 255, 0.6);
  animation: up-down 1s ease-in-out infinite alternate-reverse both;
}

#hero .btn-scroll i {
  font-size: 48px;
}

#hero .btn-scroll:hover {
  color: var(--color-primary);
}

@media (max-width: 575px) {
  #hero {
    background: url("../img/snapshot/heading-practice-2-student-art.jpg") top right;
    min-height: 660px;
  }
  #hero h1 {
    font-size: 38px;
  }

  #hero h2 {
    text-align: center;
    margin-bottom: 30px;
  }
}

@-webkit-keyframes up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: white;
}

.section-title {
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--color-text-dark);
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 30px;
  color: var(--color-primary-light);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 0;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: var(--color-background-light);
  min-height: 40px;
  margin-top: 78px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 60px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--color-text-light);
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# About Me
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--color-text-dark);
  text-transform: uppercase;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--color-primary);
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .count-box {
  width: 100%;
}

.about .content .count-box i {
  display: block;
  font-size: 36px;
  color: var(--color-primary);
  float: left;
  line-height: 0;
}

.about .content .count-box span {
  font-size: 36px;
  line-height: 30px;
  display: block;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-left: 50px;
}

.about .content .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 50px;
  font-family: "游ゴシック", sans-serif;
  font-size: 14px;
  color: var(--color-text-medium);
}

.about .content .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: var(--color-text-medium);
  font-size: 15px;
  font-family: "游ゴシック", sans-serif;
  transition: ease-in-out 0.3s;
}

.about .content .count-box a:hover {
  color: var(--color-text-lighter);
}

.about .image {
  /* background: url("../img/snapshot/general-coach-half.png") center center no-repeat; */
  background-size: cover;
  min-height: 500px;
}


/*--------------------------------------------------------------
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: url("../img/snapshot/handshake-footer-art.jpg") top center no-repeat;
  background-size: cover;
  color: var(--color-white);
  font-size: 14px;
  text-align: center;
  padding: 80px 0;
  position: relative;
}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  /* 背景が写真のため、明るい部分ではクレジットリンクが 3.50:1 まで落ちる。
     0.6 -> 0.7 にすると最悪ケースでも 5.23:1 を確保できる。 */
  background: rgba(0, 0, 0, 0.7);
}

#footer .container {
  position: relative;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  position: relative;
  font-family: "游ゴシック", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}

#footer .credits a {
  color: var(--color-primary-alt);
  text-decoration: underline;
  /* WCAG 2.5.8: タップ領域を 24px 以上にする */
  display: inline-block;
  padding: 6px 4px;
}


/*--------------------------------------------------------------
# Accessibility / layout fixes
--------------------------------------------------------------*/

/* 図キャプション: Bootstrap 既定の #6c757d は背景 #f6f6e8 に対し 4.30:1 で
   WCAG 1.4.3 AA (4.5:1) を満たさない。 */
.figure-caption,
#contact .contactLead {
  color: #646d74;
}

/* 575px 以下で .container の左右パディングが 0 になり、本文が画面端に密着する。
   フィギュアの左端が 0 / 12 / 17px とばらつく原因でもある。 */
@media (max-width: 575px) {

  #main .container,
  #footer .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* アルバムの画像は width 属性で 355.9px に固定されていたため、
   列(最大440px)より狭いまま左寄せになり、カード幅もキャプション長でばらついていた。 */
/* 以前は width 属性で 355.9px に固定されていたため、列(最大440px)より狭いまま
   左寄せになり、カード幅もキャプションの長さでばらついていた。列幅に追随させる。

   キャプションの上端は行内で最大 21px ずれるが、これは写真の縦横比が
   0.75〜1.67 とばらばらなことによる。揃える方法は2つとも採らない:
   - 下端揃え(margin-top:auto) -> 写真とキャプションが最大140px離れて見栄えが悪化
   - aspect-ratio + object-fit:cover -> 「（左）」「（中）」など写真内の位置を指す
     キャプションがあるため、切り抜きで被写体が欠ける */
.portfolio-item .figure {
  display: block;
  width: 100%;
}

.portfolio-item .figure-img {
  width: 100%;
  height: auto;
}

/* アルバム末尾から CTA までの空白が 166px あり、間延びしていた。 */
#contact {
  padding-top: 10px;
}

#contact .section-title {
  padding-top: 10px;
}

/* 戻るボタンが本文の行末に重なる。ホバー/フォーカス時のみ不透明にして影響を減らす。 */
.back-to-top {
  opacity: 0;
}

.back-to-top.active {
  opacity: 0.75;
}

.back-to-top.active:hover,
.back-to-top.active:focus-visible {
  opacity: 1;
}
