/*
Theme Name: akatsuki
Template:   twentyseventeen
*/

/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/

html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}


:root{
  --dark-primary-color: #c9171e;/*背景色＿赤*/
  --default-primary-color: #ff0000;/*背景色＿オレンジ*/
  --light-primary-color: #fef4f4;/*背景色＿サーモンピンク*/
  --accent-color: #f3f3f2;/*背景色＿グレー*/

  --text-primary-color: #FFFFFF;/*もじ＿白*/
  --primary-text-color: #212121;/*もじ＿黒*/
  --secondary-text-color: #757575;/*もじ＿ダークグレー*/
  --divider-color: #BDBDBD;/*線＿グレー*/
}




/*--------------------------------------------------------------
5.0 Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
  color: var(--primary-text-color);
  font-family: Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #292e2f;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.66;
}



h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  padding-top: 0;
}

h1 {
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: 300;
}

h2,
.home.blog .entry-title {
  color: var(--primary-text-color);
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: 300;
}

h3 {
  color: var(--default-primary-color);
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 300;
}

h4 {
  color: var(--default-primary-color);
  font-size: 16px;
  font-size: 1rem;
  font-weight: 800;
}

h5 {
  color: var(--accent-color);
  font-size: 13px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h6 {
  color: var(--default-primary-color);
  font-size: 15px;
  font-size: 0.9375rem;
  font-weight: 800;
}

p {
  margin: 0 0 1.5em;
  padding: 0;
}

.entry-content a,
.entry-summary a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
  -webkit-box-shadow: inset 0 0px 0 rgba(15, 15, 15, 1);/*下線の太さと色*/
  box-shadow: inset 0 0px 0 rgba(15, 15, 15, 1);/*下線の太さと色*/
}


/* Typography for Japanese Font */

html[lang="ja"] body,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] select,
html[lang="ja"] textarea {
  font-family: Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/*　トップ画像サイズの最適化　*/

@media screen and (min-width: 30em) {
  .page-one-column .panel-content .wrap {
    max-width: 965px;
  }
}

.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
height: 10vh; /* 75vh */
}
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
position: absolute; /* fixed */
}

@media screen and (min-width: 48em) {
  .has-header-image.twentyseventeen-front-page .custom-header,
  .has-header-video.twentyseventeen-front-page .custom-header,
  .has-header-image.home.blog .custom-header,
  .has-header-video.home.blog .custom-header {
    height: 315px;
  }
  .twentyseventeen-front-page.has-header-image .custom-header-media,
  .twentyseventeen-front-page.has-header-video .custom-header-media,
  .home.blog.has-header-image .custom-header-media,
  .home.blog.has-header-video .custom-header-media {
  height: 315px; /* 100vh */
  }
}

/*サイトタイトル*/
@media screen and (min-width: 30em) {
  .site-branding {
    padding: 0;
  }
}

.site-branding {
  padding: 0;
  background-color: var(--text-primary-color);
}
.phone-number{
  float: left;
  display: inline-block;
  vertical-align: middle;
}

p.phone-number{
  font-size: 180%;
  letter-spacing: 0.1em;
  line-height: 100%;
  margin-right: 15px;
}


/*サイトタイトルイメージ（ロゴ）*/
.custom-logo-link img {
    display: inline-block;
    max-height: 120px;
    width: auto;
}

/*サイトタイトルの文字*/
.site-title {
  font-size: 12px;/*大きさ*/
  font-size: 0.75rem;/*大きさ*/
  font-weight: 800;/*太さ*/
  line-height: 2.25;/*行高*/
  color: var(--primary-text-color);
}

@media screen and (min-width: 48em) {
  .site-title {
  font-size: 12px;/*大きさ*/
  font-size: 0.75rem;/*大きさ*/
  color: var(--primary-text-color);
  }
}
/*サイトタイトル下のキャッチフレーズ文字*/
.site-description {
  font-size: 12px;/*大きさ*/
  font-size: 0.75rem;/*大きさ*/
  font-weight: 800;/*太さ*/
  line-height: 1.25;/*行高*/
  color: var(--primary-text-color);
}
@media screen and (min-width: 48em) {
  .site-description {
  font-size: 12px;/*大きさ*/
  font-size: 0.75rem;/*大きさ*/
  color: var(--primary-text-color);
  }
}

/*グーグルマップ*/

.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/*背景色変更*/
div#content.site-content{
  background-color: var(--light-primary-color);
}
.site-content-contain{
  background-color: var(--text-primary-color);
}
/* 記事の背景色と枠線 */
.post {
  border: 1px solid var(--dark-primary-color);/*記事の枠線の太さと色①*/
  background-color: var(--text-primary-color);/*記事の背景色①*/
  padding: 2% 4%;/*記事の余白*/
}

/* 固定ページ */
h3.nagare{
  color: var(--primary-text-color);
}
h4.nagare{
  counter-increment: h4-counter;
  margin-top: 5em;
  position: relative;
  z-index: 1;
  bottom: 0.8em;
  color: var(--primary-text-color);
  border-bottom: 3px solid var(--light-primary-color);
}
h4.nagare_2{
  counter-increment: h4-counter;
  margin-top: 5em;
  position: relative;
  z-index: 1;
  bottom: 0.8em;
  color: var(--primary-text-color);
  border-bottom: 3px solid var(--light-primary-color);
}
h4.nagare_3{
  counter-increment: h4-counter;
  margin-top: 5em;
  position: relative;
  z-index: 1;
  bottom: 0.8em;
  color: var(--primary-text-color);
  border-bottom: 3px solid var(--light-primary-color);
}

h4.nagare::before{
  content: counter(h4-counter,decimal-leading-zero);
  display: block;
  position: absolute;
  bottom: 25px;
  left: 0;
  line-height: 1;
  color: var(--primary-text-color);
  font-size: 4rem;
  z-index: -1;
}
h4.nagare::after{
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 40%;
  height: 4px;
  background-color: var(--dark-primary-color);
}

h4.nagare_2::before{
  content: counter(h4-counter,decimal-leading-zero);
  display: block;
  position: absolute;
  bottom: 25px;
  left: 0;
  line-height: 1;
  color: var(--primary-text-color);
  font-size: 4rem;
  z-index: -1;
}
h4.nagare_2::after{
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 40%;
  height: 4px;
  background-color: var(--dark-primary-color);
}

h4.nagare_3::before{
  content: counter(h4-counter,decimal-leading-zero);
  display: block;
  position: absolute;
  bottom: 25px;
  left: 0;
  line-height: 1;
  color: var(--primary-text-color);
  font-size: 4rem;
  z-index: -1;
}
h4.nagare_3::after{
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 40%;
  height: 4px;
  background-color: var(--dark-primary-color);
}

@media screen and (max-width: 759px) {
  h4.nagare_3::before{
    bottom: 48px;
  }
}
@media screen and (max-width: 678px) {
  h4.nagare_2::before{
    bottom: 40px;
  }
}
@media screen and (max-width: 423px) {

  h4.nagare_2::before{
    bottom: 44px;
  }
  h4.nagare_3::before{
    bottom: 70px;
  }
}

dt.gaiyo{
  border-bottom: 3px solid var(--light-primary-color);
  position: relative;
  bottom: 0.5em;
}
dt.gaiyo::after{
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: var(--dark-primary-color);
}


div.entry-content{
  padding: 5px;
  background: var(--text-primary-color);
}

@media screen and (max-width: 423px) {
  .elementor-testimonial-wrapper .elementor-testimonial-meta .elementor-testimonial-details, .elementor-testimonial-wrapper .elementor-testimonial-meta .elementor-testimonial-image {
    display: inline;
    vertical-align: middle;
  }
  .elementor-351 .elementor-element.elementor-element-ab7c1c4 > .elementor-widget-container {
   padding: 10px; 
  }
  .elementor-351 .elementor-element.elementor-element-ab7c1c4 .elementor-testimonial-wrapper .elementor-testimonial-image img {
    width: 71px;
    height: 40px;
  }
  .elementor-351 .elementor-element.elementor-element-9b1b99c .elementor-testimonial-wrapper .elementor-testimonial-image img {
    width: 71px;
    height: 40px;
  }
  .elementor-351 .elementor-element.elementor-element-0b2bdab .elementor-testimonial-wrapper .elementor-testimonial-image img {
    width: 71px;
    height: 40px;
  }
}

@media screen and (min-width: 48em) {
  div.entry-content{
  padding: 50px;
  background: var(--text-primary-color);
  }
}

/* ボタン */

button,
input[type="button"],
input[type="submit"] {
  background-color: var(--dark-primary-color);
  border: 0;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  padding: 1em 2em;
  text-shadow: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: var(--default-primary-color);
}

/* タイトルなどの変更 */

.top_waku{
  background-color: var(--light-primary-color);
  padding: 5px 15px;
  margin: 0 0 24px 0;
  border: 1px solid var(--dark-primary-color);
}
.top_waku dt{
  font-style: none;
  font-size: 14px;
  padding: 5px;
}
.middle_waku{
  border: 1px solid var(--light-primary-color);
  padding: 30px 0;
  margin: 20px 0;
}

/* フロントページ：home */

.front-waku{
  margin: 0;
  padding: 1em;
  border: 1px solid var(--accent-color);
}

h1.front{
  position: relative;
  padding: 0.5em;
  background: var(--light-primary-color);
  color: white;
}

h1.front::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}


.front_link a{
  text-align: right;
  font-size: 12px;
  color: var(--dark-primary-color);
  text-decoration: underline;
}


/* 選ばれる理由：reasons */
body{counter-reset:h2-counter;}
h2.riyu{
  border-bottom: 3px solid var(--light-primary-color);
  font-size: 20px;
  font-size: 1.25rem;
  counter-increment: h2-counter;
  margin: 90px 20px 10px 20px;
  position: relative;
  z-index: 1;
  bottom: 0.8em;
  color: var(--primary-text-color);
}

h2.riyu::before{
  content: counter(h2-counter,decimal-leading-zero);
  display: block;
  position: absolute;
  bottom: 38px;
  left: 0;
  line-height: 1;
  color: var(--primary-text-color);
  font-size: 5rem;
  z-index: -1;
}
h2.riyu::after{
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 40%;
  height: 4px;
  background-color: var(--dark-primary-color);
}
@media screen and (max-width: 640px) {
  h2.riyu::before{
    bottom: 90px;
  }
}

p.riyu{
  font-size: 13px; 
  font-family: Meiryo, メイリオ, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  margin: 5px;
  padding: 5px 20px;
}

/* Q&A：Q&A */
#qa_waku{
  margin: 0 0 30px 0;
  padding: 30px 40px;
  border: 1px solid var(--accent-color);
  background-color: var(--light-primary-color);
}
#qa_waku li{
  padding: 0 0 5px 10px;
}
#qa_waku a{
  font-size: 0.9rem;
  color: var(--dark-primary-color);
  text-decoration: underline;
}

#qa_waku a:hover{
  text-decoration: none;
  padding-bottom: 1px;
}
.button-waku button{
  margin: auto;
  font-size: 1.2rem;
  border-style: none;
  padding: 15px 20px;
  background-color: var(--dark-primary-color);
  color: var(--text-primary-color);
}
.button_waku{
  text-align:center;
}
.button-waku button:hover{
  background-color: var(--default-primary-color);
  color: var(--text-primary-color);
}
/* 費用：price */
#hiyo_waku{
  margin: 0 0 30px 0;
  padding: 30px 40px;
  border: 1px solid var(--accent-color);
  background-color: var(--light-primary-color);
}
#hiyo_waku h2{
  border-bottom: 3px solid var(--dark-primary-color);
}
#hiyo_waku ol.hiyo{
  padding: 10px 20px;
  margin: 0;
}

div.box{
  background-color: var(--light-primary-color);
  overflow:hidden;
}
div.hiyo_left{
  float: left;
  width: 50%;
  padding: 20px;
  background-color: var(--light-primary-color);
}
div.hiyo_right{
  padding: 20px;
  background-color: var(--light-primary-color);
}

div.hiyo-wrap{
  margin: 10px 10px 10px 20px;
  border: 1px solid var(--light-primary-color);
  overflow: hidden;
}

div.hiyo2_left{
  float: left;
  margin: 10px 10px 10px 20px;
}
div.hiyo2_right{
  margin: 15px 20px 10px 10px;
  overflow: auto;
}
h3.hiyo {
  background-color: var(--light-primary-color);
  font-size: 1rem;
  margin: 0 0 10px 0;
  padding: 15px 0 15px 20px;
}
p.hiyo{
  font-size:12px; 
  font-family: Meiryo, メイリオ, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  margin: 5px;
  border-bottom: 1px solid var(--accent-color);
  padding: 3px;
}
@media screen and (max-width: 767px) {
  div.hiyo-wrap{
   margin: 0;
  }
  div.hiyo_left{
    float: none;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  div.hiyo_right{
    width: 100%;
    padding: 0;
    text-align: center;
  }
  div.hiyo2_left{
    float: none;
  }
  p.hiyo{
    font-size: 15px;
    padding: 5px;
  }
}
/* お客様の声：voice */
#voice_waku{
  margin: 0 0 30px 0;
  padding: 30px;
  border: 1px solid var(--accent-color);
}
#voice_waku h2{
  border-bottom: 3px solid var(--dark-primary-color);
  position: relative;
  bottom: 0.5em;
  padding: 8px;
  font-size: 1.2rem;
}
.voice_left{
  float: left;
  margin: 5px 20px 20px 5px;
}
.voice_right{
  margin: 30px 0;
}

@media screen and (max-width: 767px) {
  #voice_waku{
    margin: 0;
    padding: 10px;
  }
  .voice_left{
    float: none;
    width: 100%;
    padding: 0;
  }
  .voice_right{
    width: 100%;
    padding: 0;
  }
  p.voice{
    padding: 0 10px;
  }
  p.voice_m{
    font-size: 1em;
  }
}
p.voice{
  padding: 0;
  font-size: 0.8em;
  margin: 0 0 7px;
  overflow: auto;
  border-bottom: 1px solid var(--accent-color);
}
p.voice_m{
  padding: 0;
  font-size: 0.8em;
  margin: 0 0 7px;
  color: var(--dark-primary-color);
}
p.voice_m1{
  padding: 10px;
  font-size: 0.8em;
  margin: 0 0 7px;
  background-color: var(--light-primary-color);
  font-family: Meiryo, メイリオ, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}
.message{
  clear: both;
  margin: 10px;
}

/*--------------------------------------------------------------
12.0 Navigation
--------------------------------------------------------------*/

.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
    color: var(--text-primary-color);
}
.navigation-top .current-menu-item > a:hover, .navigation-top .current_page_item > a:hover {
    color: var(--text-primary-color);
}
.navigation-top .current-menu-item > a:active, .navigation-top .current_page_item > a:active {
    color: var(--primary-text-color);
}
@media screen and (min-width: 48em){
  .main-navigation a {
    padding: 0.5em 1.2em;
  }
}

.main-navigation ul {
  background-color: var(--default-primary-color);
}
.main-navigation ul a{
  text-align:center;
}
.main-navigation ul a:hover{
  background-color: var(--dark-primary-color);
  text-align:center;
}

.main-navigation li{
    border-right: 1px solid var(--dark-primary-color);
}
.navigation-top {
  background: var(--default-primary-color);
}

.main-navigation a{
  color: var(--text-primary-color);
  font-size: 13px;
  font-size: 0.8125rem;
}
.main-navigation a:hover{
  color: var(--primary-text-color);
}
/* ホーム：home */
#menu-item-268 > a:after {
    content: 'home';
    display: block;
    text-align: center;
    font-size: 10px;
}
/* アカツキについて：about */
#menu-item-274 > a:after {
    content: 'about us';
    display: block;
    text-align: center;
    font-size: 10px;
}
/* 選ばれる理由：reasons */
#menu-item-269 > a:after {
    content: 'reasons';
    display: block;
    text-align: center;
    font-size: 10px;
}
/* お客様の声：voice */
#menu-item-270 > a:after {
    content: 'voice';
    display: block;
    text-align: center;
    font-size: 10px;
}
/* Q＆A：Q&A */
#menu-item-271 > a:after {
    content: 'Q&A';
    display: block;
    text-align: center;
    font-size: 10px;
}
/* 流れ：flow */
#menu-item-272 > a:after {
    content: 'flow';
    display: block;
    text-align: center;
    font-size: 10px;
}
/* 費用：price */
#menu-item-273 > a:after {
    content: 'price';
    display: block;
    text-align: center;
    font-size: 10px;
}
/* お問い合わせ：contact */
#menu-item-275 > a {
  color: var(--primary-text-color);
  background-color: var(--text-primary-color);
}
#menu-item-275 > a:hover {
  color: var(--default-primary-color);
}
/* お問い合わせ：contact */
#menu-item-275 > a:after {
    content: 'contact';
    display: block;
    text-align: center;
    font-size: 10px;
}

.menu-toggle{
  color: var(--text-primary-color);
}
/*--------------------------------------------------------------
footer
--------------------------------------------------------------*/

/*コピーライト*/
.site-footer .wrap {
  background-color: var(--accent-color);
  color: var(--secondary-text-color);
  position: relative;
  margin: 0 auto;
  padding: 20px 0 0 0;
  text-align: center;
}
.site-footer .wrap a{
  text-decoration: none;
  font-size: 12px;
  font-size: 0.75rem;
}
h2.widget-title{
  font-size: 14px;
  font-size: 0.875rem;
}

@media screen and (min-width: 48em){
  .widget{
  padding-right: 50px;
  padding-left: 50px;
  }
}

@media screen and (min-width: 48em){
  .site-footer .widget-column.footer-widget-1 {
    float: left;
    width: 65%;
  padding: 0 0 0 400px;
  }
}
@media screen and (min-width: 48em){
  .site-footer .widget-column.footer-widget-2 {
    float: left;
    width: 35%;
  padding: 0 76px 0 0;
  }
}


@media screen and (min-width: 48em){
  .site-info {
    width: 100%;
  }
}

.site-info{
  font-size: 10px;
  font-size: 0.625rem;
  background-color: var(--primary-text-color);
  padding: 30px;
}

/*ボタンの領域*/
#re-top {
  position:fixed; /*画面に固定*/
  bottom:10%; /*画面下へ*/
  right:5%; /*画面右へ*/
  z-index:10; /*レイヤー順序を上に*/
  background-color:transparent; /*領域の背景色（透明）*/
}
/*丸ボタン*/
.re-topB {
  position:relative;
  display:block; 
  background-color:rgba(0,0,0,0.7); /*丸ボタンの色*/
  color:rgb(255,255,255); /*三角と文字色*/
  text-decoration:none;
  font-weight:bold;
  font-size:12px;
  width:60px;
  height:60px;
  text-align:center;
  line-height:24px;
  border-radius:30px;
  padding-top:30px;
  box-sizing:border-box;
}
/*三角部分*/
.re-topB:before {
  content:'\25B2';
  position:absolute;
  top:10px;
  left:0;
  width:100%;
  text-align:center;
  font-size:20px;
}

/* Layout */

.wrap {
  max-width: 100%;
  padding-left: 3em;
  padding-right: 3em;
}
@media screen and (max-width: 640px) {
  .wrap {
    max-width: 100%;
    padding-left: 2em;
    padding-right: 2em;
  }
}

@media screen and (max-width: 483px){
  .elementor-element elementor-element-6b134fef elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section{
    padding: 20px 0 20px 0px;
  }
}
