/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */


/** =============== 全体設定 =================== **/

/* フォント設定 */
a, span, p, h1, h2, h3, h4, h5, h6 {font-family:Noto Serif TC; font-weight:400}
header#site-header nav ul span {font-family:Noto Serif TC !important; font-weight:400}
header#site-header nav ul a {font-family:Noto Serif TC !important; font-weight:400}

/* Font size setting */

h1 {font-size: 28px !important;}
h2 {font-size: 24px !important;}
h3 {font-size: 20px !important;}
h4 {font-size: 18px !important;}
h5 {font-size: 16px !important;}
h6 {font-size: 12px !important;}

@media only screen and (min-width:768px) {
    h1 {font-size: 32px !important;}
    h2 {font-size: 24px !important;}
    h3 {font-size: 20px !important;}
    h4 {font-size: 18px !important;}
    h5 {font-size: 16px !important;}
    h6 {font-size: 12px !important;}
}

@media only screen and (min-width:992px) {
    h1 {font-size: 40px !important;}
    h2 {font-size: 32px !important;}
    h3 {font-size: 26px !important;}
    h4 {font-size: 24px !important;}
    h5 {font-size: 20px !important;}
    h6 {font-size: 16px !important;}
}

/* h tag decoration 斜め表示 */

div.diadeco h1, 
div.diadeco h2, 
div.diadeco h3,
div.diadeco h4
{
  transform: skew(-20deg);
  background: #FFF;
  color: red;
  border: solid;
  border-color: #F00;
  border-width: 0px 22px 3px 0px;
}


/* section decoration 斜め表示 */

section.decodeco
{
  transform: skew(0deg, -5deg);
  position: absolute;
  width: 100%;
  top: 15%;
  left: 0;
  z-index: -9999;
}


section.businessblock div
{
  position: relative;
}



/* =============== ヘッダー設定 =================== */

/* ヘッダー固定 */
#site-header {
    position: sticky!important;
	position: -webkit-sticky;
    top: 0;
}

/* position: sticky; 効かせる */
.boxed-layout #wrap {
    overflow: visible!important;
}




