/*
Theme Name: shipinc
Author: Eng in shipinc
Description: original theme in Wordpress
version: 1.0.0
*/
@charset "utf-8";

/*cssのリセット*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    background: transparent;
}

ins {
    text-decoration: none;
    color: #000;
    background-color: #ff9;
}

mark {
    font-weight: bold;
    font-style: italic;
    color: #000;
    background-color: #ff9;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    cursor: help;
    border-bottom: 1px dotted;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

hr {
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ccc;
}

/*サイト全体の基準となるCSSを記述*/
html {
    font-size: 16px;
}

body {
    /*フォントの指定*/
    font-family: 'Zen Maru Gothic', 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    /*行間の指定*/
    line-height: 1.4;
    margin: 0;
    padding: 0;
    /*サイトのデフォルトとなる文字の色を指定*/
    color: #5c3d1b;
}

/*見出しを全て太字で表示 + 文字色を黒に*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
    -webkit-backface-visibility: hidden;
}

/*表示非表示*/
.d-1024 {
    display: block;
}

.d-768 {
    display: block;
}

.d-640 {
    display: block;
}

.d-480 {
    display: block;
}

.d-360 {
    display: block;
}

.d1024-768 {
    display: none;
}

.d1024-640 {
    display: none;
}

.d1024-480 {
    display: none;
}

.d1024-360 {
    display: none;
}

.d1024-320 {
    display: none;
}

.d768-480 {
    display: none;
}

.d640-480 {
    display: none;
}

.d768-360 {
    display: none;
}

.d640-360 {
    display: none;
}

.d768-320 {
    display: none;
}

.d640-320 {
    display: none;
}

.d480-320 {
    display: none;
}

.d360-320 {
    display: none;
}

@media screen and (max-width: 1024px) {
    .d-1024 {
        display: none;
    }

    .d1024-768 {
        display: block;
    }

    .d1024-640 {
        display: block;
    }

    .d1024-480 {
        display: block;
    }

    .d1024-360 {
        display: block;
    }

    .d1024-320 {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .d-768 {
        display: none;
    }

    .d1024-768 {
        display: none;
    }

    .d768-480 {
        display: block;
    }

    .d768-360 {
        display: block;
    }

    .d768-320 {
        display: block;
    }
}

@media screen and (max-width: 640px) {
    .d-640 {
        display: none;
    }

    .d1024-640 {
        display: none;
    }

    .d640-480 {
        display: block;
    }

    .d640-360 {
        display: block;
    }

    .d640-320 {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .d-480 {
        display: none;
    }

    .d1024-480 {
        display: none;
    }

    .d768-480 {
        display: none;
    }

    .d640-480 {
        display: none;
    }

    .d480-320 {
        display: block;
    }
}

@media only screen and (max-width: 360px) {
    .d-360 {
        display: none;
    }

    .d1024-360 {
        display: none;
    }

    .d768-360 {
        display: none;
    }

    .d640-360 {
        display: none;
    }

    .d360-320 {
        display: block;
    }
}


/*fix 20220410 */
a.date-year {
    pointer-events: none;
}

/********************************************
// Classic Editor用 CSS 20230330 sato start
********************************************/
.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.alignright {
    float: right;
    margin-bottom: 20px;
    margin-left: 20px;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.wp-caption,
[class*='wp-image'] {
    display: block;
    max-width: 100% !important;
    margin-top: 1.5em;
    text-align: center;
}

.wp-caption-text {
    margin-top: 0;
}

.single .sub-page strong {
    font-weight: 800;
}