@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}

/* --------------------------------------------------------
-----------------------------------------------------------
 COMMON
-----------------------------------------------------------
----------------------------------------------------------- */
@media not all and (max-width: 834px) {
  .pc-none {
    display: none !important;
  }
}

@media (max-width: 834px) {
  .sp-none {
    display: none !important;
  }
}

/* --------------------------------------------------------
-----------------------------------------------------------
 header
-----------------------------------------------------------
----------------------------------------------------------- */
@media not all and (max-width: 550px) {
  .site-header {
    /* margin-top: 60px; */
  }

  .site-header .header-inner {
    background-color: #03456d;
    color: #FFF;
    /* position: fixed; */
    /* top: 0; */
    /* z-index: 100; */
    /* width: 100%; */
    height: 60px;
    padding: 0 10px;
  }

  .site-header .header-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1256px;
    margin: 0 auto;
  }

  .site-header .header-left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
  }

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

  .site-header .header-logo img {
    vertical-align: top;
    width: 200px;
  }

  .site-header .header-copy {
    line-height: 1.45;
    font-size: 12px;
  }

  .site-header .header-nav a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    background: #FFF;
    color: #03456d;
    font-size: 16px;
    padding: 7px 15px;
    line-height: 1.3;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
  }

  .site-header .header-nav a:hover {
    opacity: 0.8;
  }
}

@media (max-width: 550px) {
  .site-header .header-inner {
    background-color: #03456d;
    color: #FFF;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 46px;
    padding: 0 10px;
  }

  .site-header .header-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }

  .site-header .header-logo a {
    display: block;
  }
  .site-header .header-logo img {
    display: block;
    width: 135px;
}
.site-header .header-nav a {
  display: block;
  text-decoration: none;
  font-weight: bold;
  background: #FFF;
  color: #03456d;
  font-size: 13px;
  padding: 5px 13px;
  line-height: 1.3;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
}
/* --------------------------------------------------------
-----------------------------------------------------------
 widget_categories
-----------------------------------------------------------
----------------------------------------------------------- */
.widget_categories {
  color: #005488;
  background: #FFF;
  border-radius: 6px;
  overflow: hidden;
}
.widget_categories .widget-title {
  background: #005488;
  color: #FFF;
  border: none;
  padding: 10px 10px 8px;
  margin: 0;
  line-height: 1.3;
}
.widget_categories ul li + li {
  border-top: 1px solid #ddd;
}
.widget_categories ul li a {
  position: relative;
  padding: 8px 10px 8px 25px;
  color: #666;
  letter-spacing: 0.05em;
  font-size: 16px;
  transition: opacity 0.2s;
}
.widget_categories ul li a:hover {
  opacity: 0.6;
}
.widget_categories ul li a::before {
  content: "";
  display: block;
  position: absolute;
  top: 17px;
  left: 14px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent #CCC;
}
/* --------------------------------------------------------
-----------------------------------------------------------
 front-top-page
-----------------------------------------------------------
----------------------------------------------------------- */
/*
-----------------------------------------------------------
 main-visual
----------------------------------------------------------- */
body.front-top-page .main-visual .main-visual-inner {
  position: relative;
}

@media not all and (max-width: 550px) {
  body.front-top-page .main-visual .main-visual-inner picture {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 32%;
  }

  body.front-top-page .main-visual .main-visual-inner img {
    position: absolute;
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  body.front-top-page .main-visual .main-visual-copy {
    position: absolute;
    font-feature-settings: "palt";
    font-weight: bold;
    color: #FFF;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.08em;
    left: 3.2vw;
    bottom: 1.6vw;
    font-size: 2.3vw;
  }
}

@media (min-width: 1256px) {
  body.front-top-page .main-visual .main-visual-copy {
    left: 40px;
    bottom: 20px;
    font-size: 30px;
  }
}

@media (max-width: 550px) {
  body.front-top-page .main-visual .main-visual-inner img {
    vertical-align: top;
  }

  body.front-top-page .main-visual .main-visual-copy {
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-feature-settings: "palt";
    font-weight: bold;
    color: #FFF;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.08em;
    font-size: 5.4vw;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}