/*
Theme Name: trickster
*/

/*全体の設定
---------------------------------------------------------------------------*/
html,
body {
  width: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif, "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans";
  font-weight: 500;
  font-style: normal;
  background: #fff;
  color: #1c1716;
  line-height: 1.8em;
  font-size: 16px;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #1c1716;
}

a:hover {
  color: #e00000;
  transition: 0.3s;
}

header,
nav,
article,
aside,
section,
footer {
  display: block;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}
.smp1024px {
  display: none;
}
.smp500px {
  display: none;
}

.smp600px {
  display: none;
}
@media screen and (max-width: 1024px) {
  .smp1024px {
    display: block;
  }
  .pc1024px {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .pc600px {
    display: none;
  }

  .smp600px {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .smp500px {
    display: block;
  }
}

/*header
---------------------------------------------------------------------------*/

header {
  width: 100%;
  height: 90px;
  margin: 0;
  padding: 0;
  z-index: 990;
  transition: 5s;
  background: #e00000;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.site-header {
  padding: 0;
  position: fixed;
  top: 0;
  transition: 0.5s;
  width: 100%;
  z-index: 999;
}
.site-header.hide {
  transform: translateY(-200%);
}
#header-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 1em;
  position: relative;
  z-index: 999;
}
#header-logo img {
  height: 40px;
}
img.logo-smp,
img.logo-smpmenu {
  display: none;
}

@media screen and (max-width: 1024px) {
  #top header {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0);
  }
  #top header.wh {
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
  }
  .site-header {
  }
  .site-header.hide {
    transform: none;
  }

  #top .logo .logo-pc {
    display: none;
  }

  #top img.logo-smp {
    display: block;
  }
  .open img.logo-pc {
    display: none;
  }
  #top header.wh .logo-pc {
    display: block;
  }
  #top header.wh img.logo-smp {
    display: none;
  }
  #top.open img.logo-smp {
    display: none;
  }
  #top.open header.wh img.logo-pc {
    display: none;
  }
  .open .logo {
    display: block;
  }
  .open img.logo-smpmenu {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  #header-logo img {
    width: 120px;
  }
}

/*メインメニュー
---------------------------------------------------------------------------*/
header .wrap.flex {
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  justify-content: space-between;
}
#menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: calc(100%-180px);
}
#menubar ul {
  padding: 0;
  margin: 0;
  line-height: 0.5em;
  margin-bottom: 3px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 20px;
  font-weight: 700;
}

#menubar ul li {
  display: inline-block;
  position: relative;
  margin: 0 0 0 15px;
  padding: 0;
}

#menubar ul li a {
  text-decoration: none;
  padding: 0;
  margin: 0;
  color: #fff;
}

#menubar ul li a:hover {
  opacity: 0.8;
}
#menubar .sns li {
  margin: 0 4px;
  width: 40px;
}

/*スマホ用メニューを表示させない*/
#menubar-s {
  display: none;
}

/*３本バーアイコンを表示させない*/
#menubar_hdr {
  display: none;
}

@media screen and (max-width: 1024px) {
  #menubar-s {
    display: block;
  }

  #menu {
    display: none;
  }

  #nav_toggle {
    position: absolute;
    top: 30px;
    right: 25px;
    height: 32px;
    cursor: pointer;
  }

  #nav_toggle div {
    position: relative;
    width: 36px;
  }

  #nav_toggle span {
    width: 100%;
    height: 7px;
    left: 0;
    display: block;
    border-radius: 3px;
    position: absolute;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
  }
  #nav_toggle span {
    background: #000;
  }
  .open #nav_toggle span {
    background: #fff;
  }
  #top #nav_toggle span {
    background: #fff;
  }
  #top header.wh #nav_toggle span {
    background: #000;
  }
  #top.open header.wh #nav_toggle span {
    background: #fff;
  }
  #nav_toggle span:nth-child(1) {
    top: 0;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
  }

  #nav_toggle span:nth-child(2) {
    top: 12px;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
  }

  #nav_toggle span:nth-child(3) {
    top: 24px;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
  }

  #nav_toggle span:hover span:nth-child(1) {
    top: 4px;
  }

  #nav_toggle span:hover span:nth-child(3) {
    top: 23px;
  }

  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
  }

  .open #nav_toggle span:nth-child(2) {
    top: 12px;
    width: 0;
    left: 50%;
  }

  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
  }

  /* z-index */
  #nav_toggle {
    z-index: 1000;
  }

  .smenu-logo {
    text-align: center;
    padding: 10px;
  }

  .smenu-logo img {
    height: 150px;
  }

  #gloval-nav {
    color: #fff;
    background: #e00000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    text-align: center;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }
  #gloval-nav #header-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    padding-left: 0;
  }
  #gloval-nav #header-logo img {
    height: 55px;
  }

  #gloval-nav:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: cover;
    height: 100vh;
  }
  #gloval-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.6s ease;
  }

  #gloval-nav a:hover {
    opacity: 0.8;
  }
  #gloval-nav nav {
    display: block;
    width: 600px;
    padding: 0 2em;
  }

  /* open */
  .open {
    overflow: hidden;
  }

  .open #gloval-nav {
    visibility: visible;
    opacity: 1;
  }

  #gloval-nav ul#navigation li {
    padding: 15px;
    border-top: 1px solid #fff;
  }
  #gloval-nav nav ul#navigation li:last-child {
    border-bottom: 1px solid #fff;
  }

  #gloval-nav ul.sns.flex {
    width: 100%;
    justify-content: center;
  }
  #gloval-nav ul.sns.flex li {
    margin: 0 10px;
  }
  #gloval-nav ul.sns.flex li img {
    max-width: 45px;
    height: 35px;
  }

  header#h-top {
    background-color: none;
  }

  #logo {
    position: relative;
    z-index: 40;
    left: 0;
    top: 0;
  }
}

@media screen and (max-width: 600px) {
  header {
    height: 60px;
  }

  header#h-top {
    background: none;
  }

  #nav_toggle {
    position: absolute;
    top: 15px;
    right: 10px;
    height: 32px;
    cursor: pointer;
  }
  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
  }

  .open #nav_toggle span:nth-child(2) {
    top: 12px;
    width: 0;
    left: 50%;
  }

  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
  }
  #gloval-nav nav {
    width: 100%;
  }

  #gloval-nav #header-logo img {
    height: 40px;
    width: auto;
  }
  #gloval-nav ul.sns.flex li {
    margin: 0 5px;
  }
  #gloval-nav ul.sns.flex li img {
    max-width: 45px;
    height: 20px;
  }
}

@media screen and (max-width: 480px) {
  #gloval-nav li {
    padding: 10px 0;
    font-size: 14px;
  }

  #gloval-nav a {
    padding: 0;
  }
}

/*main
---------------------------------------------------------------------------*/
main {
  margin-top: 90px;
}
.contents {
  width: 1024px;
  margin: 0 auto;
  padding: 4em 0;
}

.contents.max {
  width: 100%;
  margin: 0;
  padding: 0;
}

.contents.width1024px {
  max-width: 1024px;
  margin: 0 auto;
}

.contents.width800px {
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  #top main {
    margin-top: 0;
  }
  .contents {
    width: 100%;
  }

  .contents.width1024px {
    padding: 4em 1em;
  }
}

@media screen and (max-width: 800px) {
  .contents.width800px {
    padding: 4em 1em;
  }
}

@media screen and (max-width: 600px) {
  main {
    margin-top: 60px;
  }
}

h1,
h2 {
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-size: 2.5em;
  font-weight: 800;
}

h1 {
  color: #fff;
}

h3 {
  font-size: 2em;
  line-height: 2em;
  font-weight: 800;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.arrow:before {
  content: url(images/arrow-green.svg);
  vertical-align: middle;
  display: inline-block;
  width: 50px;
  margin-right: 0.5em;
  margin-top: 6px;
}

/*フェードイン*/
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

/*スライドイン*/
.slidein {
  opacity: 0;
  transform: translate(-10%, 0);
  transition: 1.5s;
}

/*スライドイン*/
.slidein-right {
  opacity: 0;
  transform: translate(10%, 0);
  transition: 1.5s;
  overflow: hidden;
}

/*順番に表示*/
.element {
  opacity: 0;
}

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

/*TOP-メインビュー
---------------------------------------------------------------------------*/

#mainview .contents {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 90px);
  z-index: 0;
  top: 0;
  width: auto;
  text-align: center;
  padding: 0;
}

#mainview .contents div.main-img1,
#mainview .contents div.main-img2,
#mainview .contents div.main-img3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #eee;
}

#mainview .contents img {
  z-index: 15;
}

#mainview .contents .mainview-logo-pc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  animation: mainlogo 3s;
  animation-delay: 0.5s;
  opacity: 0;
  animation-fill-mode: forwards;
  z-index: 100;
  color: #fff;
}
@keyframes mainlogo {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.main-img1,
.main-img2,
.main-img3 {
  animation: anime 21s infinite;
  animation-delay: 0.5s;
  animation-fill-mode: none;
  animation-direction: normal;
}

.main-img1 {
  opacity: 0;
  z-index: 10;
}
.main-img2 {
  opacity: 0;
  animation-delay: 7s;
  z-index: 11;
}
.main-img3 {
  opacity: 0;
  animation-delay: 14s;
  z-index: 12;
}

@keyframes anime {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    z-index: 0;
  }
}

@media screen and (max-width: 1024px) {
  #mainview .contents {
    height: 100vh;
  }
}

@media screen and (max-width: 600px) {
#mainview .contents .mainview-logo-pc {
  width: 80%;
}
}

/*GREETING
---------------------------------------------------------------------------*/
#greeting .contents {
  padding: 3em 6em;
}
#greeting .left {
  width: 45%;
}
#greeting .left img {
  width: 100%;
}
#greeting .right {
  width: 55%;
  padding: 2em 0 2em 2em;
}

@media screen and (max-width: 1100px) {
  #greeting .contents {
    padding: 3em 6em;
  }
  #greeting .left {
    width: 100%;
  }
  #greeting .left img {
    width: 100%;
  }
  #greeting .right {
    width: 100%;
    padding: 2em 2em;
  }
}

@media screen and (max-width: 800px) {
  #greeting .contents {
    padding: 3em 2em;
  }
}

@media screen and (max-width: 450px) {
  #greeting .contents {
    padding: 3em 0;
  }
}

/*TOP-釣行プラン
---------------------------------------------------------------------------*/
#plan {
  background-color: #eee;
}

#plan h2 {
}

table {
  margin: 2em 0;
  width: 100%;
  font-size: 1.3em;
}
caption {
  font-weight: 600;
  margin: 1em 0;
  padding: 0.5em;
  background-color: #1a1a1a;
  color: #fff;
}
th {
  background-color: #1a1a1a;
  padding: 1em;
  border-bottom: 2px dashed #eee;
  color: #fff;
  width: 50%;
}
th span {
  display: block;
  font-size: 0.7em;
  line-height: 1.5em;
  color: #f2df70;
}
td {
  background-color: #fff;
  padding: 1em;
  border-bottom: 2px dashed #eee;
}
tr:last-child td,
tr:last-child th {
  border-bottom: none;
}
td.caution {
  background-color: #f2df70;
  font-size: 0.8em;
}
@media screen and (max-width: 600px) {
  table {
    font-size: 1em;
  }
  td.caution {
    font-size: 1em;
  }
  th {
    width: 60%;
  }
}

/*Ship
---------------------------------------------------------------------------*/
#ship {
}
.ship {
}
.shipimg {
  position: relative;
  width: 100%;
  background: #ccc;
  border: 1px solid #aaa;
  overflow: hidden;
}
.shipimg::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}
.shipimg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map iframe {
    width: 100%;
    height: 500px;
    border: none;
}

#captain {
  background-color: #e00000;
}
#captain h2 {
  color: #fff;
}
.captain {
  border-radius: 20px;
  border: 15px solid #fff;
  background-color: #fff;
  overflow: hidden;
  margin: 2em 0;
}
.captain .profimg {
  width: 50%;
}
.captain .profimg::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: red;
  background-image: url("https://trickster-fishing.com/wp-content/themes/trickster/images/prof-img.jpg");
  background-position: center top;
  background-size: cover;
}

.prof {
  width: 50%;
  padding: 0.5em 0 0.5em 1.5em;
}
.prof .name {
  font-size: 2em;
  background-color: #e00000;
  padding: 0.5em;
  color: #fff;
  margin: 0;
  line-height: 1.1em;
}

.prof span:first-child {
  display: block;
  color: #e00000;
}
.prof span:last-child {
  display: block;
  font-size: 0.7em;
  color: #e00000;
}
.currentstaff {
  display: block;
  color: #e00000;
  border-bottom: 2px dashed #e00000;
  font-size: 1.2em;
  padding: 0.3em;
  text-align: right;
}

.prof .name span {
  display: inline-block;
  color: #fff;
}

@media screen and (max-width: 700px) {
  .captain .profimg {
    width: 100%;
    height: 400px;
    padding: 0.5em;
  }
  .prof {
    width: 100%;
    padding: 1em 0.5em;
  }
}

/*Current
---------------------------------------------------------------------------*/
#current img {
  width: 100%;
}

/*footer
---------------------------------------------------------------------------*/

footer {
  background: #0e3f8c;
  padding-top: 3em;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}
footer .contact {
  max-width: 600px;
  margin: 0 auto;
  align-items: center;
    padding: 1em 2em;
}

footer .contact p{
	text-align:left;
  font-size: 0.9em;
}
footer .contact-address {
  padding-right: 2em;
}
footer img {
  max-width: 500px;
}

footer .address {
  margin: 1em 0 2em;

  font-size: 1em;
  line-height: 1.2em;
}
footer h3 {
  font-size: 1.3em;
  width: 100%;
  margin: 0 auto;
  padding: 0.3em 2em;
  border-top: 2px dashed #fff;
  border-bottom: 2px dashed #fff;
}
.tel {
  font-size: 2.5em;
  font-weight: 700;
}
footer .tel {
	color:#fff;
}
.tel span {
  font-size: 0.7em;
  margin-right: 5px;
}
.tel span.time{
	font-size:0.5em;
}
footer .tel span.time {
  display: block;
  font-size: 0.4em;
  background-color: #fff;
  color: #0e3f8c;
  width: max-content;
  padding: 0em 1em;
  margin: 1.5em auto 0;
}
footer .tel a{
	color:#fff;}
footer .copyright {
  background: #e00000;
  color: #fff;
  width: 100%;
  padding: 0.5em;
  margin: 3em auto 0;
}

footer .copyright p {
  max-width: 1024px;
  text-align: center;
  padding: 0 10px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  footer {
    padding-top: 3em;
    width: 100%;
    margin: 0 auto;
  }
  footer .contact-address {
    margin-bottom: 0.5em;
  }
}


@media screen and (max-width: 400px) {
	footer .tel {
  font-size: 2em;
}
}