/*
Theme Name: fulorida
Theme URL: 
Description: 自作テーマ。将来的には有料化？
Version: 1.0
Author: opel
Author URI:
*/

/* リセットcss */
@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: none;
font-style: normal;
text-align: left;
zoom: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
table {
border-collapse: collapse;
font-family: inherit;
}
h1,h2,h3,h4,h5 {
font-size: 100%;
font-weight: normal;
line-height: 1;
}
input,textarea,select {
font-family: inherit;
font-size: 16px;
}
input[type="button"],input[type="text"],input[type="submit"] {
-webkit-appearance: none;
border-radius: 0;
}
textarea {
resize: none;
-webkit-appearance: none;
border-radius: 0;
}
th,td {
border-collapse: collapse;
}
table th,table td {
white-space: nowrap;
}
ul,ol {
list-style-type: none;
}
img {
vertical-align: text-bottom;
vertical-align: -webkit-baseline-middle;
max-width: 100%;
height: auto;
width /***/:auto;
}

/* body */
.eye-catch {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

/* h1だけリセット解除 */
h1 {
  font-size: 2em;
  font-weight: bold;
  margin: 0.67em 0;
}


.logo-catch-img {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  width: 50%;
  filter: invert(99%) brightness(97%) contrast(98%) grayscale(3%)
  }

.eye-catch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(170%);
  transition: transform .6s ease;

  }

.eye-catch-img:hover {
  transform: scale(1.1);
}

/* 検索窓 */
#form{
 position: relative;
}

#s-box{
  height: 35px;
  padding: 0 10px;
  position: absolute;
  left: 0;
  top: 0;
  border-radius:2px;
  border:solid 3px #eaeaea;
  outline: 0;
}

#s-btn-area{
  height: 50px;
  position: absolute;
  left:250px;
  top: 0;
  background:none;
  color:#666;
  border:none;
  font-size:20px;
  outline: 0;
}

#s-btn{
  background-color: black;
  width: 50px;
  height: 30px;
  position: relative;
  right: 20px;
  bottom: 5px;
  border-radius: 3px;
  font-size: 16px;
  color: #fff;
  line-height: 31px;
  margin: 0 5px;
  text-align: center;
}

/* ヘッダー */
header.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 77px;
    z-index: 2;
}

@keyframes flow-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.header-inner {
    height: 77px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: rgba(255,255,255,.7);
}

.header-menu ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 30px;
}

.header-menu ul li {
    margin-right: 25px;
}

.header-menu ul li:last-child {
    margin-right: 0;
}

.header-menu ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.header-menu ul li a::after {
    content: "";
    display: block;
    width: 0%;
    height: 1px;
    background-color: #B993D6;
}

.header-menu ul li a:hover::after {
    width: 100%;
    transition: all .4s;
}

.header-search {
    position: relative;
    margin-left: auto;
    margin-right: 300px;
    display: flex;
    align-items: center;
    top: -20px;
}

/* humburger */
.humburger {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 999;
}
.humburger span {
    position: absolute;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: #333333;
}
.humburger span:nth-child(1) {
    top: 10px;
    transform: translateX(-50%);
}

.humburger span:nth-child(2){
    top:50%;
    transform: translate(-50%,-50%);
}
.humburger span:nth-child(3) {
    bottom: 10px;
    transform: translateX(-50%);
}
.humburger.active span:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(315deg);
    transition: .3s ease-out;
}

.humburger.active span:nth-child(2){
    display: none;
}
.humburger.active span:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-315deg);
    transition: .3s ease-out;
}
/* sp-menu */
.sp-header-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 100%;
    display: inline-block;
    width: 100%;
    z-index: 99;
}
.sp-header-menu ul {
    list-style: none;
    margin: 0;
    margin-top: 100px;
    padding: 0;
    text-align: center;
    background-color: rgba(140, 217, 255, 0.9);
}
.sp-header-menu ul li {
    padding: 20px;
    border-bottom: 1px solid #c7c7c7;
}
.sp-header-menu ul li:first-child {
    margin-top: 0;
    border-top: 1px solid #FFFFFF;
}
.sp-header-menu ul li a {
    text-decoration: none;
    color: #FFFFFF;
}
.sp-header-menu.show {
    left: 0;
    transition: .4s ease-out;
}

.header-search {
    margin-left: auto;
}

.header-search form {
    display: flex;
    align-items: center;
}

.header-search input[type="search"] {
    padding: 5px 10px;
    font-size: 14px;
}

.header-search input[type="submit"] {
    padding: 5px 10px;
    font-size: 14px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.page-top img {
    cursor: pointer;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 5px;
    transition: all 0.3s;
}

.page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
.page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 9999;
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/
.page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
.page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 0;
	transform: translateY(100px);
  }
}

/* main */
main {
    position: relative;
    background: #fff;
    z-index: 0;
    padding: 2em;
}

.main-blog-list h3,  .error404 h2, .post-title {
    padding: 7px 10px;
    background-color: rgba(140, 217, 255, 0.9);
    border-radius: 10px;
    margin-bottom: 5px;
}

.blog_list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog_item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog_date {
    color: #555;
    min-width: 100px;
    padding: 0 0 0 10px;
}

.blog_title a {
    text-decoration: none;
    width: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 記事全体の余白 */
.single-post .container {
    padding: 2rem 1rem;
}

.single-post .post-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding: 7px;
}

.single-post .post-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    float: right;

}

.single-post .post-content {
    line-height: 1.8;
    font-size: 1rem;
    color: #222;
    clear: both;
}

.single-post .post-content p {
    margin-bottom: 1.5em;
}

.single-post .post-content br {
    display: block;
    margin-bottom: 1em;
    content: "";
}

.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: bold;
}

.single-post .post-content ul,
.single-post .post-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

/* テーブルの見た目調整 */
.single-post .post-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2em;
    font-size: 0.95rem;
}

.single-post .post-content th,
.single-post .post-content td {
    border: 1px solid #333;
    padding: 0.5em;
    text-align: left;
}

/* 画像の調整 */
.single-post .post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
}

/* コードブロック全体 */
.single-post .post-content pre {
    background-color: #f4f4f4;
    padding: 1em;
    overflow-x: auto;
    margin-bottom: 1.5em;
    border-radius: 4px;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

.single-post .post-content code {
    background-color: #f0f0f0;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.95em;
}

.single-post .post-content pre code {
    background-color: transparent;
    padding: 0;
}

/* footer */
.site-footer {
    height: 150px;
    padding: 2em 150px;
    border: 1px solid #666;
    background-color: white;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: rgba(255,255,255,.7);
}

.footer-logo img {
    width: 70px;
    height: 70px;
}

.footer-menu ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.copy-write {
    margin-top: 10px;
}

/* 404Error */
.error404 {
    padding: 2em;
    margin: 77px 0 0 0;
}

.error-content {
    border: 3px solid  rgba(140, 217, 255, 0.9);
    border-radius: 20px;
    margin-top: 5px;
    padding: 5px;
}


@media screen and (max-width:1030px){
    .header-menu ul {
        margin-left: 20px;
    }

    .header-menu ul li {
        margin-right: 10px;
    }

    .header-menu ul li a {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .sp-header-menu {
        display: block;
    }
    .humburger {
        display: block;
    }
    .sp-header-menu ul {
        margin-top: 100px;
    }
    .sp-header-menu ul li:last-child {
        height: 43px;
    }
    .header-menu, .header-search {
        display: none;
    }
    .logo-catch-img {
        top: 35%;
        width: 75%;
        filter: none;
    }
    .site-footer {
        padding: 2em;
    }
}
@media screen and (max-width:520px) {
    .sp-header-menu ul {
        margin-top: 77px;
    }
}