/*

【CSS記述ルール】

① font-sizeはpxで指定してください
　（rem、%等の指定はしないようお願いいたします）

② work はディレクトリ名に変更してください

③ 必ずディレクトリ名が付いたidセレクタを先頭に記述した後に、要素を記述してください
　（例：#oneday .inner、#oneday .page-title 等）

④ CSS内の画像指定パスは、CSSファイルから見た相対パスで指定してください
　（例：../images/ディレクトリ名/画像名.拡張子）

*/

/*------------------------------------------------------------
common
------------------------------------------------------------*/
.work {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

#work * {
  box-sizing: border-box;
}

#work a {
  transition: opacity .3s;
}

#work a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#work a:hover {
  text-decoration: none;
}

#work a:focus-visible {
  outline: none;
}

#work img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#work .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#work .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#work .text {
  margin-bottom: 2em;
}

#work .text:last-of-type {
  margin-bottom: 0;
}

#work .pc-br {
  display: none;
}

#work .notes {
  display: inline-block;
  position: relative;
  margin-left: 1em;
}

#work .notes::before {
  content: '\0203B';
  display: block;
  position: absolute;
  top: 0;
  left: -1em;
}

#work .inner {
  width: calc(100% - 24px);
  max-width: 1300px;
  margin: 0 auto;
}

#work .font-marumin{
font-family: kinuta-maruminfuji-stdn, serif;
font-weight: 400;
font-style: normal;
}

#work .font-tbud{
font-family: tbudmincho-std, sans-serif;
font-weight: 500;
font-style: normal;
}

#work .font-tzimmes{
font-family: tzimmes, serif;
font-weight: 300;
font-style: normal;
}

#work .font-metaserif{
font-family: ff-meta-serif-web-pro, serif;
font-weight: 500;
font-style: normal;
letter-spacing: .03em;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  .work {
    font-size: 16px;
  }
  
  #work a[href^="tel:"] {
    color: inherit;
    pointer-events: none;
  }
  
  #work a:not([href^="tel:"]):hover {
    opacity: .5;
  }
  
  #work .sp-br {
    display: none;
  }
  
  #work .pc-br {
    display: inline;
  }
}

/*------------------------------------------------------------
content top
------------------------------------------------------------*/
#work .content-top{
position: relative;
}

#work .content-mv{
width: calc(100% - 75px);
transform: translateX(75px);
margin: 10px 0;
}

#work .content-ttl{
display: flex;
flex-wrap: wrap;
flex-direction: column;
position: absolute;
top: 52%;
margin-left: 10px;
}

#work .content-ttl-eng{
font-size: 35px;
line-height: 1.4;
}

#work .content-ttl-jpn{
line-height: 2.0;
letter-spacing: .05em;
}

#work .message{
text-align: center;
padding: 38px 0 58px;
}

#work .message-ttl{
font-size: 16px;
line-height: 1.4;
position: relative;
}

#work .message-ttl .strong{
font-size: 21px;
}

#work .message-text{
font-size: 15px;
line-height: 2;
margin-top: 60px;
background-image: url("../images/work/work_bg01_sp@2x.png");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}

#work .message-ttl::after{
content: "";
display: inline-block;
width: 50px;
height: 2px;
background-color: #EF5100;
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #work .content-mv{
    width: 81.25%;
    margin: 38px 0 62px auto;
    transform: none;
  }

  #work .content-ttl-eng{
    font-size: min(66px,calc(3.375rem + ((1vw - 7.68px) * 1.0417)));
  }

  #work .content-ttl-jpn{
    padding-left: 6px;
    font-size: min(26px,calc(1.25rem + ((1vw - 12px) * 0.8333)));
  }

  #work .content-ttl{
    width: 78.125%;
    min-width: 1000px;
    margin: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-10%);
  }

  #work .message-ttl{
    font-size: 30px;
    letter-spacing: 0.1em;
    line-height: 2;
  }

  #work .message-ttl .strong{
    font-size: 40px;
  }

  #work .message-ttl::after{
    width: 100px;
    bottom: -30px;
  }

  #work .message-text{
    font-size: 18px;
    line-height: 2.7;
    margin: 0;
    padding: 110px 0 65px;
    background-image: url("../images/work/work_bg01@2x.png");
    background-size: 50%;
  }
  
  #work .message-ttl::after{
content: "";
display: inline-block;
width: 50px;
height: 2px;
background-color: #EF5100;
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
}
  
}

/*------------------------------------------------------------
link_arrow
------------------------------------------------------------*/
.buttonStyle01 {
  display: inline-block;
  position: relative;
  padding: 0 38px 0 0;
  z-index: 0;
  left: 50%;
  transform: translateX(-50%)!important;
}

.buttonStyle01::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  right: 10px;
  z-index: 1;
}

.buttonStyle01::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #EF5100;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 0;
}

.buttonStyle01 .letter {
  display: inline-block;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #EF5100;
  color: #EF5100;
  font-weight: 500;
  font-style: normal;
  transition: all 0.3s;
}

@media screen and (min-width: 768px) {
  .buttonStyle01 {
    padding-right: 84px;
    transform: none!important;
  }
  
  .buttonStyle01::before {
    right: 12px;
  }
  
  .buttonStyle01::after {
    width: 30px;
    height: 30px;
    transition: all 0.3s;
  }
  
  .buttonStyle01:hover::after {
    width: 60px;
    height: 60px;
    right: -15px;
  }
  
  .buttonStyle01:hover .letter {
    opacity: 0.6;
  }
  
  .buttonStyle01:hover .letter::before {
    animation: btnAction 0.5s normal forwards;
  }
  
   .buttonStyle01 .letter {
    border-bottom-width: 2px;
    letter-spacing: 0.02em;
  }
  .buttonStyle01 .letter::before {
    position: absolute;
    content: "";
    width: 80%;
    height: 100%;
    background-color: rgba(247, 248, 252, 0.6);
    top: 0;
    left: -80%;
  }
  
  .button-arrow{
  opacity: 1 !important;
  }
}
@keyframes btnAction {
  100% {
    left: 125%;
    opacity: 0;
  }
}


/*------------------------------------------------------------
content style
------------------------------------------------------------*/
#work .category-wrap{
margin-bottom: 60px;
}

#work .category-inner{
margin-bottom: 32px;
}

#work .category-img{
margin-bottom: 23px;
}

#work .category-ttl-main{
display: flex;
flex-wrap: wrap;
margin-bottom: 30px;
}

#work .category-ttl{
display: flex;
flex-direction: column;
margin-bottom: 30px;
}

#work .category-number{
color: #EF5100;
font-size: 18px;
position: relative;
line-height: 1.3;
}

#work .category-number::after{
content: "";
display: inline-block;
width: 30px;
height: 1px;
background-color: #EF5100;
position: absolute;
left: 0;
bottom: 0;
transform: translateY(10px);
}

#work .category-name{
font-size: 16px;
font-weight: bold;
margin-left: 24px;
line-height: 1.5;
transform: translateY(10px);
letter-spacing: .03em;
}

#work .category-ttl-sub{
font-size: 20px;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.03em;
}

#work .category-info{
font-size: 15px;
letter-spacing: 0.02em;
}

#work .category-story{
background: #F7F8FC;
transform: translate(3px, 3px);
margin-top: 50px;
}

#work .sotry-bg{
transform: translate(-3px, -3px);
border: solid 1px #000000;
}
#work .story-inner{
padding-top: 59px;
padding: 59px 0 43px;
}

#work .story-info-ttl::before{
content: "";
display: inline-block;
background-image: url("../images/work/story_why_sp.png");
background-size: cover;
background-repeat: no-repeat;
width: 63px;
height: 39px;
position: absolute;
top: -39px;
left: 0;

}

#work .story-info-ttl{
font-size: 14px;
margin-bottom: 20px;
font-weight: bold;
position: relative;
padding-left: 22px;
margin-left: -22px;
}

#work .story-info-ttl .strong{
font-size: 18px;
background: linear-gradient(transparent 70%, #FCE496 70%);
}

#work .story-info{
max-width: 290px;
margin: 0 auto;
}

#work .story-info-text{
font-size: 15px;
margin-bottom: 15px;
}

#work .story-point-wrap{
margin-top: 29px;
}

#work .story-point{
max-width: 253px;
margin: 0 auto;
margin-bottom: 28px;
}

#work .story-point-ttl{
position: relative;
}

#work .story-point-ttl::before{
content: "";
display: inline-block;
width: 20px;
height: 20px;
background-color: #F1CACD;
border-radius: 50%;
margin-right: -15px;
}

#work .story-point-ttl::after{
content: "";
display: inline-block;
width: 60px;
height: 1px;
background-color: #000000;
position: absolute;
top: 9px;
left: 15px;
}

#work .story-point-sub{
font-size: 17px;
font-weight: bold;
padding-left: 15px;
line-height: 1.35;
margin: 7px 0 10px;
}

#work .story-point-text{
font-size: 15px;
word-break: break-all;
padding-left: 15px;
font-weight: 400;
}

#work .story-point-ttl .strong{
position: absolute;
top: -50%;
left: 2.5%;
}

#work .link-btn{
color: #EF5100;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
}

#work .link-btn-text{
border-bottom: solid 1px;
margin-right: 20px;
font-weight: 500;
}

#work .arrow{
width: 15px;
height: 15px;
background-color: #EF5100;
border-radius: 50%;
}

#work .arrow .strong{
display: block;
width: 6px;
height: 6px;
border-right: solid 1px #FFFFFF;
border-bottom: solid 1px #FFFFFF;
transform: rotate(-45deg) translate(-60%, 40%);
margin: 0 auto;
}

#work .sp-hide{
display: none;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
#work .category-inner{
display: flex;
flex-direction: row-reverse;
max-width: 1230px;
position: relative;
margin-left: 50px;
}

#work .category-wrap{
margin-bottom: 160px;
}

#work .category-img{
margin-bottom: 0;
max-width: 800px;
}

#work .category-text{
background-color: rgba(255, 255, 255, .8);
position: absolute;
width: 100%;
max-width: 61%;
left: 0;
bottom: -60px;
padding: 30px 40px 0 30px;
min-height: 420px;
}

#work .category-number{
font-size: 20px;
}

#work .category-name{
font-size: 26px;
}

#work .category-ttl-main{
margin-bottom: 40px;
}

#work .category-ttl-sub{
font-size: 30px;
line-height: 1.6;
}

#work .category-info{
font-size: 16px;
line-height: 1.8;
}

#work .category-story{
margin:80px 50px 0;
}

#work .story-info{
max-width: unset;
display: flex;
padding: 0 40px 0 80px;
}

#work .story-info-ttl{
font-size: 22px;
padding-left: 54px;
margin-left: -54px;
}

#work .story-info-ttl .strong{
font-size: 30px;
}

#work .story-info-ttl::before{
background-image: url("../images/work/story_why_pc@2x.png");
width: 110px;
height: 70px;
top: -70px;
}

#work .story-inner{
padding-top: 140px;
padding-bottom: 80px;
}

#work .story-info-text{
font-size: 16px;
margin-bottom: 47px;
}

#work .story-info-text-wrap{
max-width: 600px;
margin-right: 44px;
min-width: 500px;
}

#work .story-info-img{
transform: translateY(-70px);
}

#work .story-point-wrap{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin-top: 38px;
}

#work .story-point{
margin: 0;
max-width: 295px;
}

#work .story-point-ttl::before{
width: 40px;
height: 40px;
}

#work .story-point-ttl::after{
width: 260px;
top: 20px;
left: 32px;
}

#work .story-point-ttl .strong{
top: -13px;
left: 10px;
}

#work .point-number{
font-size: 20px;
}

#work .story-point-sub{
font-size: 18px;
padding-left: 30px;
margin: 0;
transform: translateY(-13px);
height: 52px;
}

#work .story-point-text{
padding-left: 30px;
font-size: 16px;
}

#work .story-point-text .strong{
display: inline-block;
}

#work .pc-hide{
display: none;
}

#work .sp-hide{
display: inline-block;
left: 0;
transform: none;
}
  }