:root {
    --main-color: #FAF2E6;
    --accent-color: #A62C2C;
    --accent-sub-color: #BF4146;
    --one-color: #b1ffa5;
    --dark-color: #80A1C2;
    --dark-deep-color: #6683A9;
    --icon-color: #fff;
    --icon-bk-color: #ddd;
    --large-width: 1000px;
    --gray-color: #ddd;
    --middle-width: 800px;
}
body {
    background-color: var(--main-color);
    font-size: 16px;
    margin: 0;
    font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
}
/* ナビゲーションバー */
.headA {
    display: inline-block;
    line-height: 70px;
    padding: 0 20px;
    background-color: var(--accent-color);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    text-decoration: none;
}
.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.headB a {
    display: block;
    padding: 15px;
    color: var(--main-color);
    font-size: 16px;
    text-decoration: none;
}
.headB a:hover {
    
}
ul.topnav {
	list-style: none;
	padding: 0 20px;	
	margin: 0;
	font-size: 1.2em;
}
ul.topnav li {
	float: left;
	margin: 0;	
	padding: 0 15px 0 0;
	position: relative; /*--Declare X and Y axis base for sub navigation--*/
}
ul.topnav li a{
	padding: 10px 10px;
	color: #fff;
	display: block;
	text-decoration: none;
	float: left;
}
ul.topnav li a:hover{
	color: var(--accent-color);
}
ul.topnav li span { /*--Drop down trigger styles--*/
	color: #fff;
    padding-top: 15px;
    font-size: 16px;
    display: inline-block;
}
ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
ul.topnav li ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 35px;
	background: #333;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
    z-index: 10;
	border: 1px solid #111;
}
ul.topnav li ul.subnav li{
	margin: 0; padding: 0;
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
	width: 170px;
}
html ul.topnav li ul.subnav li a {
	float: left;
	width: 145px;
	padding-left: 20px;
}
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
    background-color: var(--accent-color);
    color: #fff;
}
/* ナビゲーションバー */
.site-back {
    position: fixed;
    width: 20%;
    bottom: 5%;
    right: 0;
    z-index: 100;
}
.site-back a {
    border-radius: 12px;
    border: 2px solid #fff;
    display: inline-block;
    text-align: center;
    padding: 24px;
    background-color: orange;
    color: #fff;
    box-shadow: 3px 3px 3px black;
}
.image-midasi {
    padding-left: 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #fff;
    font-size: 3.2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    font-style: italic;
    color: #fff;
    letter-spacing: 3px; 
    margin: 0;
    width: 95%;
    text-shadow: 0 0 10px var(--accent-color);
    text-shadow:
            3px 3px 3px var(--accent-color), -3px -3px 3px var(--accent-color),
           -3px 3px 3px var(--accent-color),  3px -3px 3px var(--accent-color),
            3px 0px 3px var(--accent-color), -3px -0px 3px var(--accent-color),
            0px 3px 3px var(--accent-color),  0px -3px 3px var(--accent-color);
}
/* Profile見出し */
.profile {
    position: relative;
    color: var(--accent-color);
    font-size: 1.5rem;
    padding: 10px 0;
    text-align: center;
    margin: 1.5em 0;
  }
  .profile:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 150px;
    height: 58px;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    border-left-color: transparent;
    border-right-color: transparent;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
/* Profile見出し */
.gradation05 {
    /* background: linear-gradient(90deg, var(--accent-color),  #fff); */
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    transform: rotate(-12deg);
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4.8rem;
    font-weight: 900;
    margin-bottom: 0;
    padding-left: 24px;
    color: white;
    text-shadow:
    3px 3px 3px var(--accent-color), -3px -3px 3px var(--accent-color),
   -3px 3px 3px var(--accent-color),  3px -3px 3px var(--accent-color),
    3px 0px 3px var(--accent-color), -3px -0px 3px var(--accent-color),
    0px 3px 3px var(--accent-color),  0px -3px 3px var(--accent-color);
  }
  /* リンクボタン */
  .link-btn {
    text-decoration: none;
    color: #fff;
  }
  /* リンクボタン */
  
  .h1-index {
    /* background: linear-gradient(90deg, var(--accent-color),  #fff); */
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4.8rem;
    font-weight: 900;
    margin-bottom: 0;
    margin-top: 72px;
    padding-left: 24px;
    color: white;
    text-shadow:
    3px 3px 3px var(--accent-color), -3px -3px 3px var(--accent-color),
   -3px 3px 3px var(--accent-color),  3px -3px 3px var(--accent-color),
    3px 0px 3px var(--accent-color), -3px -0px 3px var(--accent-color),
    0px 3px 3px var(--accent-color),  0px -3px 3px var(--accent-color);
  }
  .midasi-h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1em;
  }
  .midasi-h2:before {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: var(--accent-color);
    border-radius: 2px;
  }
  /* ウォーカーリンク */
  .worker-link {
    width: 70%;
    margin: 1.2rem auto;
  }
  .link { 
    text-align: center;
  }
  /* 手紙風スタイル */
.letter-box {
    text-align: center;
    padding: 1em 1.5em;
    margin: 2em auto;
    background-color:#f4f9ff;/*背景色*/
    border:1px solid var(--dark-color);/*枠線*/
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);/*影*/
    color:#000000;/*文字色*/
    width: 50%;

}
.letter-box p {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
}
/* 手紙風スタイル */
  /* index-image */
  .index-section {
    margin-top: 70px;
    position: relative;
}
.index-section h1 {
    position: absolute;
    z-index: 20;
    width: 100%;
    margin: 0;
    font-size: 3.6rem;
    font-weight: bold;
    padding: 12px 0 4px 12px;
    color: #fff;
    text-shadow: 0 0 10px var(--accent-color);
    text-shadow:
            3px 3px 3px var(--accent-color), -3px -3px 3px var(--accent-color),
           -3px 3px 3px var(--accent-color),  3px -3px 3px var(--accent-color),
            3px 0px 3px var(--accent-color), -3px -0px 3px var(--accent-color),
            0px 3px 3px var(--accent-color),  0px -3px 3px var(--accent-color);
}
.index-text {
    position: absolute;
    width: 100%;
    top: 70%;
    padding: 0;
    color: #fff;
    text-align: center;
}
.index-text p {
    width: 80%;
    margin: 0 auto;
    line-height: 2.4rem;
    font-size: 1.4rem;
    padding-top: 2.0rem;
    font-weight: bold;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
}
/* index-image */
p {
    line-height: 1.8;
    font-family: 'Times New Roman', Times, serif;
}
ul li {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.description-index {
    margin-top: 0;
    margin-bottom: 1.2rem;;
     font-weight: bold;
      font-size: 1.8rem;
       font-style: italic;
       color: #fff;
       text-shadow:
            3px 3px 3px #000, -3px -3px 3px #000,
           -3px 3px 3px #000,  3px -3px 3px #000,
            3px 0px 3px #000, -3px -0px 3px #000,
            0px 3px 3px #000,  0px -3px 3px #000;
}
.first-description-index {
    color: #fff;
    margin: 0;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.8;
    padding: 0;
    text-shadow: 0 0 10px var(--accent-color);
    text-shadow:
            3px 3px 3px var(--accent-color), -3px -3px 3px var(--accent-color),
           -3px 3px 3px var(--accent-color),  3px -3px 3px var(--accent-color),
            3px 0px 3px var(--accent-color), -3px -0px 3px var(--accent-color),
            0px 3px 3px var(--accent-color),  0px -3px 3px var(--accent-color);
}
.underline02 {
    background: linear-gradient(transparent 40%, #f5ff00 60%);
}
   
.back-black {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px;
    z-index: 10;
}
/* 見出し画像テキスト */
.image-and-text {
    position: relative;
    z-index: 0;
}
.image-and-text .container {
    margin: 5vw auto 5vw; 
    width: 80%;
}
.image-and-text-box {
    padding: 0vw;
}
.image-and-text .text-box {
    padding: 24px;
    display: inline-block;
    width: 50%;
    z-index: 10;
}
.image-and-text .image-box {
    position: absolute;
    /* background-color: var(--dark-color); */
    top: 0;
    right: 0;
    width: 60%;
    z-index: -2;
    
}
.image-and-text .image-box img {
    box-shadow: 0 0 12px gray;
}
.hover-image:hover {
    opacity: 0.8;
    cursor: pointer;
}
/* .back-color-black {
    position: absolute;
    width: 100%;
    top: 00;
    bottom: 0;
    z-index: -1;
    background: -moz-linear-gradient(left, black, transparent);
  background: -webkit-linear-gradient(left, black, transparent);
  background: linear-gradient(to right, black, transparent);
  opacity: 0.6;
} */
/* 見出し画像テキスト */
/* サイド見出し */

/* サイド見出し */
.side-midasi {
    position: relative;
    display: inline-block;
    padding: 0 55px;
    color: #fff;
  }
  
  .side-midasi:before, .side-midasi:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 1px;
    background-color: #fff;
  }
  
  .side-midasi:before {
    left:0;
  }
  .side-midasi:after {
    right: 0;
  }
/* サイドメニュー */
.side-container {
    max-width: 600px;
    padding: 12px;
    margin: 0 auto;
    text-align: center;
    position: sticky;
    top: 0;
}
.sns-box {
    display: flex;
}
.sns-box .facebook-icon {
    flex: 1;
    background-color: rgba(66, 103, 178);
}
.sns-box .x-icon {
    flex: 1;
    background-color: black;
}
.side-container .contact {
    margin-top: 2.0rem;
}
.contact-box {
    
}
/* サイドメニュー */
.description-text {
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}
.main-and-side .side {
    background-color: var(--accent-color);
}
.main .section-container {
    max-width: var(--large-width);
    margin: 0 auto;
}
.side-profile-box {
    text-align: center;
}
.side-profile-box p {
    color: #fff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.side-profile-box .work-text-box {
    padding: 24px;
    /* background-color: var(--dark-deep-color); */
}
.side-profile-box .image-box {
    position: relative;
    width: 50%;
    margin: 0 auto;
    background-color: var(--dark-color);
}
.side-profile-box .image-box p {
    color: var(--accent-sub-color);
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    font-size: 3.2rem;
    font-weight: bold;
    font-style: italic;
    margin: 0;
    text-shadow:
            3px 3px 3px #fff, -3px -3px 3px #fff,
           -3px 3px 3px #fff,  3px -3px 3px #fff,
            3px 0px 3px #fff, -3px -0px 3px #fff,
            0px 3px 3px #fff,  0px -3px 3px #fff;
}
.side-profile-box img {
    width: 100%;
    display: block;
}
.side-profile-box .text-box p {
    border: 1px solid #fff;
    padding: 16px 32px;
    display: inline-block;
    margin: 16px auto;
    border-radius: 6px;
}
.side-sns {
    display: flex;
}
.side-sns .x {
    flex: 1;
    background-color: black;
}
.side-sns .x  {
    font-size: 1.4rem;
}
.side-sns .facebook {
    flex: 1;
    background-color: rgba(66, 103, 178);

}
.side-sns .facebook {
    font-size: 1.4rem;
}

.post .container {
    max-width: 1000px;
    max-width: var(--large-width);
    margin: 0 auto;
    padding: 30px 10px;
}
.bread {
    margin-top: 3.6rem;
    padding-left: 12px;
}
.bread ol {
    display: flex;
    margin-top: 0;
    padding: 0;
    list-style: none;
}
.bread a {
    display: block;
    padding: 5px;
    color: inherit;
    font-size: 0.875rem;;
    text-decoration: none;
}
.bread a::after {
    margin-left: 10px;
    content: '\f054';
    font-family: 'FontAwesome';
    opacity: 0.3;
}
.bread a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: var(--dark-color);
    opacity: 0.9;
}

.loader-bg {
    align-items: center;
    background-color: var(--accent-color);
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 9999;
  }
  
  .loader img {
    height: auto;
    width: 200px;
  }
  .load-text {
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
  }
  footer {
    color: #fff;
    background-color: var(--dark-color);
}
footer .container {
    padding: 40px 20px;
}
.footA h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    letter-spacing: 0.2em;
}
.footA p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}
.footA a {
    color: inherit;
    text-decoration: none;
}
.footA {
    margin-bottom: 30px;
}
.footB div {
    margin-bottom: 20px;
}
.footB h3 {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: solid 1px currentColor;
    font-size: 14px;
}
.footB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footB ul li {
    margin-bottom: 12px;;
}
.footB a {
    display: block;
    padding: 5px;
    color: inherit;
    font-size: 12px;
    text-decoration: none;
}

.footB a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
.footC {
    font-size: 12px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}
.footD {
    margin-top: 20px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #FAF2E6;
}
.footD ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footD a {
    display: block;
    margin-right: 8px;
    padding: 0;
    color: inherit;
    font-size: 16px;
    text-decoration: none;
    border: slid 1px currentColor;
    width: 2em;
    line-height: 2em;
    border-radius: 50%;
    text-align: center;
}
.footD a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
.slide-items {
    width: 100%;
    height: 100%;
  }
  
  .slide-items img {
    width: 100%;
    object-fit: cover;
  }
  .slick-prev:before,
  .slick-next:before {
    line-height: 0;
    font-size: 1.6rem;
    color: var(--accent-color);
  }
  .slick-prev {
    left: -10%;
  }
  /* footer-icon */
  .footer-facebook {
    background-color: rgba(66, 103, 178);
  }
  .footer-x {
    background-color: black;
  }
  /* footer-icon */

/* SNSアイコン */
.sns-icon {
    display: inline-block;
}
/* SNSアイコン */
/* 下からフェードイン */
.fadein {
    opacity : 0;
    transform : translate(0, 100px);
    transition : all 1s;
  }
   
  .fadein.active{
    opacity : 1;
    transform : translate(0, 0);
  }
  /* 下からフェードイン */
/* 右からフェードイン */
.fadeIn_right .image-box {
    overflow: hidden;
}
.fadeIn_right .image-box img{
    opacity: 0;
    transform: translate(20%, 0);
    transition: 2s;
  }
  .fadeIn_right .image-box img.is-show {
    transform: translate(0, 0);
    opacity: 1;
  }
/* 右からフェードイン */  
/* 左からフェードイン */
.fadeIn_left .image-box-right {
    opacity: 0;
    transform: translate(-20%, 0);
    transition: 2s;
}
.fadeIn_left .image-box-right.is-show {
    transform: translate(0, 0);
    opacity: 1;
}
/* 左からフェードイン */
@media (max-width: 599px) {
    :root {
        font-size: 14px;
    }
    p {
        font-size: 14px;
    }
     .index-text {
        top: 40%;
    }
    .index-section h1 {
        font-size: 2.2rem;
    }
    .letter-box {
        width: 80%;
    }
    .image-midasi {
        font-size: 1.8rem;
    }
    .first-description-index {
        font-size: 1.2rem;
        font-weight: bold;
        line-height: 1.3;
    }
    .description-index {
        font-size: 1.0rem;
    }
    .gradation05 {
        font-size: 3.6rem;
    }
    .h1-index {
        font-size: 3.6rem;;
    }
    .image-and-text .image-box {
        width: 80vw;
    }
    .site-back {
        width: 100%;
        bottom: 0;
    }
    .site-back a {
        display: block;
        text-align: center;
        padding: 12px;
    }

}
@media (min-width: 600px) and (max-width: 799px) {
    :root {
        font-size: 16px;
    }
}
@media (min-width: 800px) {
    :root {
        font-size: 18px;
    }
}
@media (min-width: 1200px) {
    .site-back {
        right: 14%;
    }
    header {
        width: 75%;
    }
    .main-and-side {
        display: flex;
    }
    .main-and-side .main {
        flex: 3;
    }
    .main-and-side .side {
        flex: 1;
    }

    .side-profile-box {
        display: block;
    }
    .letter-box {
        width: 30%;
    }

}
  @media (max-width: 767px) {
    header .container-small {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .headC {
        margin-right: 10px;
        padding: 0;
        border: none;
        outline: none;
        background: none;
        font-size: 28px;
        opacity: 0.5;
        cursor: pointer;
    }
    .headC:hover {
        opacity: 0.3;
    }
    .headB {
        display: none;
    }
}
@media (min-width: 768px) {
    
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    .headB ul {
        display: flex;
    }
    .headC {
        display: none;
    }
    .headB {
        display: block !important;
    }
    .footB div {
        flex: 1;
    }
    .footB div:not(:first-child) {
        margin-left: 40px;
    }
    footer .container {
        display: flex;
        flex-wrap: wrap;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    .footA {
        flex: 0 0 40%;
    }
    .footB {
        display: flex;
        flex: 0 0 60%;
    }
    .footC {
        flex: 0 0 100%;
    }   
}