@charset "utf-8";

:root{
    --btnColor: #5b5b5b;
}

::selection {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
}

body {
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
    -webkit-appearance: none;
}

/*header {
    transition-delay: 0.6s;
    animation-name: html;
    animation-duration: 1s;
}

main {
    position: fixed;
    transition-delay: 0.6s;
    animation-name: html;
    animation-duration: 1s;
}*/

.front {
    position: static;
}

input[type="checkbox"] {
    display: none;
}

.btn {
    background: #000000;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.btn img {
    transition: all 0.3s;
}

.btn svg {
    position: relative;
    top: 1px;
    right: 1px;
}

.btn--large {
    width: 60px;
    height: 60px;
}

.btn--menu:after {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    position: absolute;
    top: 29px;
    left: 18px;
    transition: transform 200ms;
}

.btn--menu:before {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    position: absolute;
    top: 29px;
    left: 18px;
    transition: transform 200ms;
}

.btn--menu:after {
    transform: translateY(-5px);
}

.btn--menu:before {
    transform: translateY(5px);
}

.btn--youtube {
    background-color: var(--btnColor);
}

.btnshare {
    background-color: var(--btnColor);
}

.btn--comment:not(img) {
    background-color: var(--btnColor);
    transition: 0.3s;
}

.actions-menu {
    position: absolute;
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 15px;
    position: fixed;
    z-index: 1000;
    cursor: pointer;
}

.actions-menu .btn {
    position: absolute;
    cursor: pointer;
    top: 8px;
    left: 8px;
    opacity: 0;
    transition: top 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        left 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 300ms;
}

.actions-menu .btn--menu {
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: 0;
}

.btn--menu,
#actionMenuButton:checked+.actions-menu>.btn {
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#actionMenuButton:checked+.actions-menu>.btn--menu:after {
    transform: rotate(85deg);
}

#actionMenuButton:checked+.actions-menu>.btn--menu:before {
    transform: translateY(0px);
}

#actionMenuButton:checked+.actions-menu>.btn--menu {
    transform: rotate(-45deg);
}

#actionMenuButton:checked+.actions-menu>.btn--youtube {
    top: -70px;
}

#actionMenuButton:checked+.actions-menu>.btnshare {
    top: -50px;
    left: -50px;
}

#actionMenuButton:checked+.actions-menu>.btn--comment {
    left: -70px;
}

.btn.btn--youtube img {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

#copyTarget {
    display: none;
}

#copyTarget:checked~.btnshare {
    display: none;
}

.btn--comment img {
    filter: invert(100%);
    display: block;
    margin: 0 auto;
    width: 25px;
    height: 25px;
    padding-right: 1px;
}

.btnshare {
    cursor: pointer;
}

/*@keyframes html {
  0%{
    opacity: 0;
  }

  100%{
    opacity: 1;
  }
}

.footer {
    transition-delay: 0.6s;
    animation-name: html;
    animation-duration: 1s;
}*/

.first-view {
    height: calc(103vh - 110px);
    background-image: url("https://ihurah.com/Image/tottori.jpg");
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.first-view-text {
    padding-bottom: 80px;
    padding-left: 350px;
    font-weight: bold;
    overflow: hidden;
}

.first-view-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    line-height: 72px;
    overflow: hidden;
}

.first-view-text p {
    font-size: 18px;
    margin-top: 20px;
    overflow: hidden;
}

.cont {
    display: flex;
    width: 1200px;
    height: auto;
    margin: 0 auto;
    margin-top: 30px;
}

.colum {
    width: 300px;
    flex-direction: column;
    margin-top: 60px;
}

.colum2 {
    width: 800px;
    height: auto;
    margin: 0 auto;
    background-color: #fff;
    margin-top: 60px;
    margin-right: 40px;
    margin-left: 30px;
    margin-bottom: 90px;
    padding-bottom: 20px;
}

.search-form {
    margin-top: 5px;
}

.search-form form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 2px solid #009c24;
    border-radius: 3px;
}

#search-input {
    width: 250px;
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

#search-input::placeholder {
    color: #777777;
}

#search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: none;
    background-color: #009c24;
    background-image: url("/Image/search-outline.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    border-radius: 0px;
    cursor: pointer;
    color: transparent;
    /* テキストを非表示 */
    text-indent: -9999px;
    /* さらにテキストを隠す */
}

/* 検索クエリがある場合、URLのクエリパラメータに基づいて.contのマージンを調整 */
/* 注: この方法はURLに?search=があるかどうかでのみ動作し、値が空の場合でも適用されます */
html:has(form[action*="?search="]) .cont,
html:has(#search-input:not([value=""])) .cont {
    margin-top: 0;
    padding-top: 90px;
}

#search-input:not(:placeholder-shown) ~ .first-view,
#search-input:focus:not(:placeholder-shown) ~ .first-view {
  display: none;
}

/* PHPで検索パラメータが存在する場合も.first-viewを非表示 */
.search-active .first-view {
  display: none;
}

.pro {
    margin-left: auto;
    width: 300px;
    margin-top: 40px;
}

.profile-card {
    position: relative;
    background: #fff;
    /*背景の色*/
    box-shadow: 0px 1px 3px rgba(0, 0, 0, .18);
}

.profile-card:before {
    width: 100%;
    height: 100px;
    content: "";
    background: #009c24;
    /*斜め背景の色*/
    position: absolute;
}

.profile-card__inner {
    position: relative;
}

.profile-thumb {
    overflow: hidden;
    width: 110px;
    height: 110px;
    border: #fff 3px solid;
    border-radius: 55px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
}

.profile-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.profile-thumb a {
    transition: all 0.2s;
}

.profile-thumb a:hover {
    opacity: 0.7;
    color: white;
}

.profile-content {
    padding: 15px;
}

.profile-content span {
    display: block;
}

.profile-name {
    margin-bottom: 3px;
    font-weight: bold;
    text-align: center;
}

.profile-job {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 10px;
    text-align: center;
}

.profile-intro {
    font-size: 12px;
    text-align: center;
}

.content {
    width: 800px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

#newarticle h2 {
    background: linear-gradient(transparent 60%, #ff9595 60%);
    width: 97px;
    margin: 0 auto;
    margin-top: 30px;
    text-align: center;
}

#osusumekiji h2 {
    background: linear-gradient(transparent 60%, #ff9595 60%);
    width: 144px;
    margin: 0 auto;
    margin-top: 30px;
    text-align: center;
}

#trip h2 {
    background: linear-gradient(transparent 60%, #ff9595 60%);
    width: 48px;
    margin: 0 auto;
    margin-top: 30px;
    text-align: center;
}

.context p {
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    cursor: pointer;
    display: inline-block;
    background-color: #e1e1e1;
    width: 300px;
    margin: 5px;
    transition: 0.4s;
}

.contents p.active {
    background-color: #009c24;
    color: #fff;
}

.context {
    width: 800px;
    height: auto;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.context p:hover {
    transform: scale(0.96);
    transition: 0.4s;
}

#search-word {
    text-align: center;
    padding: 20px;
    background-color: #e0dfdf;
    margin: 0px 10px;
}

.search-word-inner span {
    color: #828282;
}

.search-word-inner h1 {
    font-size: 25px;
    color: #535353;
    margin: 5px 0 0 0;
}

#newarticle {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-left: 5px;
    margin-right: 5px;
}

.r1 {
    margin-top: 30px;
    display: flex;
    border-radius: 4px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 0px 10px;

}

.post {
    width: 370px;
    height: 330px;
    text-align: center;
    background-color: #e4e4e4;
    margin-top: 30px;
    transition-duration: 0.4s;
    display: flex; 
    flex-direction: column; 
}

.post a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none; 
}

.post:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 3px rgba(0, 0, 0, 0.3);
    transition-duration: all 0.3s;
}

.post img {
    width: 100%; 
    height: auto;
    border-radius: 2px 2px 0px 0px;
}

.post p {
    width: 370px;
    font-size: 20px;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 25px;
    font-weight: normal;
    font-family: sans-serif;
    margin: 0;
}

.post-img-big {
    width: 370px;
    height: 370px;
    text-align: center;
    background-color: #e5e5e5;
    margin-top: 30px;
    transition-duration: 0.4s;
}

.post-img-big:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 3px rgba(0, 0, 0, 0.3);
    transition-duration: all 0.3s;
}

.post-img-big img {
    width: 370px;
    height: auto;
    border-radius: 2px 2px 0px 0px;
}

.post-img-big p {
    width: 370px;
    font-size: 20px;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 25px;
    font-weight: normal;
    font-family: sans-serif;
}

.post-date {
    margin-top: auto; 
    text-align: right;
    padding: 10px;
}

.post-date span {
    text-align: right;
}

.news-title {
    margin-bottom: 10px;
}

.cat {
    margin-top: 30px;
}

.cattitle {
    font-size: 25px;
}

.catlink {
    padding-top: 10px;
}

.cat li {
    padding-left: 10px;
    line-height: 50px;
    border-left: solid 5px #ff0000;
    /*左側の線*/
    list-style: none;
    margin-bottom: 15px;
    margin-top: 15px;
}

.cat a {
    display: block;
    transition-duration: 0.4s;
}

.cat a:hover {
    transform: translate(10px, 0px);
    transition-duration: 0.4s;
    color: #ff0000;
}


#osusumekiji {
    display: none;
}

#trip {
    display: none;
}

.conte.show {
    display: block !important;
}

.conte {
    display: none;
}

#osusumekiji.conte.show {
    display: block;
}

#trip.conte.show {
    display: block;
}

#out {
    background-color: #fff;
    box-shadow: none;
}

/*.loader {
    width: 100%;
    height: 100vh;
    background-color: white;
    text-align: center;
    position: fixed;
    display: grid;
    place-items: center;
    z-index: 200;
}*/

/*.loaded {
    opacity: 0;
    transition: all 0.8s;
    z-index: -1;
}*/

/*.loader img {
    width: 500px;
    max-width: 90%;
    margin: 0 auto;
    height: auto;
    z-index: 200;
}*/

.page-changes {
    margin-top: 50px;
}

.paging {
    display: flex;
    justify-content: center;
}

.paging li {
    margin: 0px 7px;
}

.paging li a {
    margin: 0px 7px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.paging li p {
    margin: 0px 7px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.paging li a:not(.now_page) {
    background-color: rgb(48, 48, 48);
    color: rgb(255, 255, 255);
    font-size: 17px;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.paging li a:not(.now_page):hover {
    transform: translateY(-4px);
    background-color: rgb(110, 110, 110);
    color: white;
}

.paging li a {
    margin: 0 auto;
}

.now_page {
    background-color: rgb(255, 94, 94);
    color: white;
    margin: 0px 5px;
    font-size: 18px;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


#contt {
    z-index: 0;
}

.webapp {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 50px;
}

.webapptitle {
    font-size: 25px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.webapplink a {
    display: block;
    text-align: center;
    text-decoration: none;
    margin: auto;
    padding: 1rem 4rem;
    border: 1px solid #000000;
    color: #000000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-width: 100%;
    margin-bottom: 60px;
}

.webapplink a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    transform: translateX(-100%);
    transition: all .4s;
    z-index: -1;
    max-width: 100%;
}

.webapplink a:hover::before {
    transform: translateX(0);
}

.webapplink a:hover {
    color: #fff;
}

.series-site {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 50px;
}

.series-site-title {
    font-size: 25px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.series-site-link li {
    margin: 20px 0px;
}

.series-site-link li a {
    display: block;
    text-align: center;
    text-decoration: none;
    margin: auto;
    padding: 1rem 4rem;
    border: 1px solid #000000;
    color: #000000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-width: 100%;
    margin-bottom: 30px;
}

.series-site-link li a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    transform: translateX(-100%);
    transition: all .4s;
    z-index: -1;
    max-width: 100%;
}

.series-site-link li a:hover {
    color: #fff;
}

.series-site-link li a:hover:before {
    transform: translateX(0);
}

.sns {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 50px;
}

.sns-title {
    font-size: 25px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.sns-link li {
    margin: 20px 0px;
}

.sns-link li a {
    display: block;
    text-align: center;
    text-decoration: none;
    margin: auto;
    padding: 1rem 4rem;
    border: 1px solid #000000;
    color: #000000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-width: 100%;
    margin-bottom: 30px;
}

.sns-link li a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    transform: translateX(-100%);
    transition: all .4s;
    z-index: -1;
    max-width: 100%;
}

.sns-link li a:hover {
    color: #fff;
}

.sns-link li a:hover:before {
    transform: translateX(0);
}

.iframe {
    margin: 0 auto;
    margin-top: 50px;
}

@media (max-width: 1250px) {
    .cont {
        width: 100%;
        justify-content: center;
    }

    .colum {
        width: auto;
    }

    .pro {
        margin-right: auto;
    }

    .colum2 {
        width: 600px;
        height: auto;
    }

    .content {
        width: 600px;
    }

    .context {
        width: 600px;
    }

    #newarticle {
        width: 100%;
    }

    .r1 {
        width: 100%;
        height: auto;
        padding-right: 10px;
        padding-left: 10px;
    }

    .post {
        width: 270px;
        height: 270px;
    }

    .post img {
        width: 100%;
        height: auto;
    }

    .post p {
        width: 100%;
        height: auto;
        font-size: 16px;
        margin-top: 5px;
    }

    .post-img-big {
        width: 270px;
        height: 290px;
    }

    .post-img-big img {
        width: 100%;
        height: auto;
    }

    .post-img-big p {
        width: 100%;
        height: auto;
        font-size: 18px;
        margin-top: 5px;
    }
}

@media (max-width: 993px) {
    .cont {
        flex-direction: column;
    }

    .colum2 {
        width: 100%;
        margin: 0 auto;
    }

    #newarticle {
        width: 100%;
        margin: 0 auto;
    }

    #newarticle h2 {
        margin-bottom: 50px;
    }

    #osusumekiji h2 {
        margin-bottom: 50px;
    }

    #trip h2 {
        margin-bottom: 50px;
    }

    .context {
        flex-direction: column;
        padding-right: 5px;
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .context p {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .active {
        margin-bottom: 20px;
    }

    .r1 {
        flex-direction: column;
        align-items: center;
    }

    .post {
        width: 500px;
        height: 380px;
        max-width: 95%;
    }

    .post-img-big {
        width: 500px;
        height: 430px;
        max-width: 95%;
    }

    .iframe {
        display: none;
    }

    #search-word{
        margin: 0 auto;
        max-width: 90.5%;
        width: 500px;
        padding: 20px 10px;
    }

    .search-form{
        width: 600px;
        margin: 0 auto;
    }

    .pro{
        width: 600px;
    }

    .cat {
        width: 600px;
        margin: 0 auto;
        margin-top: 50px;
    }

    .webapp {
        max-width: 600px;
    }

    .series-site {
        max-width: 600px;
    }

    .sns {
        max-width: 600px;
    }
}

@media (max-width: 807px) {
    .context {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .first-view {
        height: calc(100vh - 50px);
        background-image: url("https://ihurah.com/Image/tottori.jpg");
        align-items: flex-start;
    }

    .first-view-text {
        padding-top: 60px;
        padding-left: 20px;
        position: relative;
        top: 50px;
    }

    .first-view-text h1 {
        font-size: 34px;
        line-height: 48px;
    }

    .first-view-text p {
        font-size: 14px;
        margin-top: 15px;
    }

    .lead {
        padding-left: 20px;
        padding-right: 20px;
    }

    .lead p {
        text-align: left;
    }

    .link-button {
        position: relative;
        left: 30px;
    }

    .link-button2 {
        position: relative;
        right: 20px;
        top: 30px;
    }
}

@media (max-width: 660px) {
    .pro {
        width: 90%;
    }

    .search-form{
        width: 90%;
    }

    .cat {
        width: 90%;
    }

    .webapp {
        width: 90%;
    }

    .series-site {
        width: 90%;
    }

    .sns {
        width: 90%;
    }
}

@media (max-width: 535px) {
    .r1 {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .post {
        height: 320px;
    }

    .post p {
        font-size: 17px;
    }

    .post-img-big p {
        font-size: 17px;
    }

    .search-word-inner span{
        font-size: 14px;
    }

    .search-word-inner h1{
        font-size: 23px;
    }
}

@media (max-width: 350px) {
    .search-word-inner span{
        font-size: 12px;
    }

    .search-word-inner h1{
        font-size: 21px;
    }

    .paging li a:not(.now_page) {
        font-size: 15px;
        width: 47px;
        height: 47px;
    }

    .now_page {
        font-size: 15px;
        width: 47px;
        height: 47px;
    }
}

@media (max-width: 1037px) {
    .first-view p {
        color: #d1d1d1;
    }
}

@media (max-width: 768px) {
    .first-view p {
        color: #000;
    }
}