/*
Theme Name: PhotoWork
Version: 1.0
*/

/* ============================
   Reset（軽量版）
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


img {
  width: 100%;
  height: auto;
  display: block;
  margin:0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html, body {
  overflow-x: hidden;
}
/* ============================
   760px 固定幅レイアウト
============================ */

@media (min-width: 768px) {
  section {
    max-width: 760px;
    width:98%;
    margin: 0 auto;
    padding: 0 20px;
  }

}
@media (max-width: 769px) {
  section {
    padding-left: 0;
    padding-right: 0;
  }
}
html, body {
  overflow-x: hidden;
}
/* ============================
   Header
============================ */
.lp-header {
  width: 100%;
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.lp-header__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.lp-header__logo img {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .lp-header {
    width:100%;
    
  }
  .lp-header img{
    width:180px !important;
  }

}

/* ============================
   セクション共通
============================ */
section {
  margin: 0 auto 40px;
  text-align:center;
}


.interview p{
  margin-top:40px;
}
.interview p img{
    width:600px;
}





/* ============================
   LINE ボタン
============================ */
.line_btn {
  text-align: center;
  color:#16415A;
  margin:40px auto;
}
.line_btn span{
  border-bottom: #16415A solid 1px;
}

.line_btn p span {
  font-size: 40px;
  display: inline-block;
  margin-bottom: 12px;
}

.line_btn p span span{
  font-size: 35px;
  border-bottom:none;
}

.line_btn a img {
  width: 100%;
  margin:32px auto 40px;
  max-width: 680px;
}

.line_btn a:hover{
    opacity:0.8;
}


@media (max-width: 768px) {
.line_btn p span span{
  font-size: 5vw;
}
.line_btn p span {
   font-size: 8vw;
   margin-bottom:0;
}
.line_btn a img,
.interview p img{
  width: 94%;
}
}

/* ============================
  viemo
============================ */
.interview .text_img img{
  max-width:540px;
}

.voice-wrap{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px;
    margin-top:40px;
}

/* 1件目を大きく表示 */
.voice-main{
    grid-column:1 / -1;
}

/* 動画 */
.voice-video{
    width:100%;
}

.voice-video iframe{
    width:100%;
    aspect-ratio:16 / 9;
    height:auto;
    border:none;
    display:block;
}


.voice-video-wrap{
    position:relative;
}

.voice-link{
    position:absolute;
    inset:0;
    z-index:10;
    display:block;
    border:1px solid #eee;
    border-radius: 5px;
}

/* カード */
.voice-card{
    width:100%;
}

/* 6件目以降を非表示 */
.voice-card.is-hidden{
    display:none !important;
}

/* Read More */
button{
  background-color:none;
  border:none;
}
.readmore-wrap{
    text-align:center;
    margin-top:40px;
}
#readmore-btn{
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

#readmore-btn img{
    max-width:400px;

}

#readmore-btn:hover{
    opacity:0.8;
}


/* 再生用 */

.voice-thumbnail{
    position:relative;
    display:block;
    overflow:hidden;
}

.voice-thumbnail img{
    width:100%;
    height:auto;
    display:block;
    border:1px solid #eee;
}

.play-icon{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:40px;
    height:40px;
    border-radius:50%;
    background:rgba(0,0,0,.6);
    color:#fff;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-left:2px;
    pointer-events:none;
}
/* ============================
   インタビュー詳細ページの整形
============================ */
.interview-content{
  line-height: 2;
}
.interview-video{
    width:100%;
    margin-bottom:30px;
}
.interview-single__inner{
  margin-top:40px;
}
.interview-single__inner .interview-video iframe{
  border:1px solid #eee;
  border-radius: 5px;
}

.interview-video iframe{
    width:100%;
    aspect-ratio:16 / 9;
    height:auto;
    display:block;
}

.interview-profile{
    display:flex;
    flex-wrap:wrap;
    margin:40px 0;
    border-top:1px solid #DEEDF3;
    border-left:1px solid #DEEDF3;
}
.interview-profile a{
    color:#16415A;
    font-weight: bold;
}

.profile-item{
    flex:1;
    min-width:180px;
    border-right:1px solid #DEEDF3;
    border-bottom:1px solid #DEEDF3;
    box-sizing:border-box;
}

.profile-title{
    display:block;
    background:#DEEDF3;
    padding:12px;
    text-align:center;
    font-weight:500;
    border-bottom:2px solid #FFF;
}

.profile-value{
    display:block;
    padding:15px 10px;
    text-align:center;
    word-break:break-word;
}
.interview-profile .profile-item:nth-child(3n) .profile-title {
    border-right: none;
}


@media (max-width: 768px) {
  .wp-block-paragraph{
    font-size:4.2vw;
  }
}




/* ============================
   interviewページ関連動画整形
============================ */
.yarpp{
  margin:80px auto;
}
.yarpp h3{
  color:#16415A;
}

.yarpp-swiper{
    position:relative;
    padding:0 50px;
    margin-top:30px;
}

.yarpp-card{
    display:block;
    text-decoration:none;
    color:#333;
}

.yarpp-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;

}

.yarpp-card-title{
    display:none;
    margin-top:10px;
    font-size:14px;
    line-height:1.6;
}

.yarpp-swiper .swiper-button-prev,
.yarpp-swiper .swiper-button-next{
    color:#DDECF3;
}

.swiper-button-prev,
.swiper-button-next{
    width:24px;
    height:24px;
}

.swiper-button-prev::after,
.swiper-button-next::after{
    font-size:16px;
}
/* ============================
   FAQ
============================ */
.faq{
  background-color: #EAF7FC;
  width:100%;
  padding:40px 0;
  text-align:center;
}
.faq h3{
  color:#16415A;
  font-weight: 600;
  font-size:44px;
}
.faq h3 span{
  border-bottom: #16415A solid 1px;
}
.faq__inner{
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.qa-contents {
    max-width: 100%;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
    margin-top: 24px;
    text-align: left;
}

.qa-contents summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-contents summary::before,
.qa-contents p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-contents summary::before {
    color: #1E88D6;
    content: "Q";
}

.qa-contents summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-contents[open] summary::after {
    transform: rotate(225deg);
}

.qa-contents p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-contents[open] p {
    transform: none;
    opacity: 1;
}

.qa-contents p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}

@media (max-width: 768px) {

.faq h3{
  font-weight: 600;
  font-size:8vw;
}

  .faq .qa-contents{
    margin-left:2%;
    margin-right:2%;
  }
  .qa-contents summary {
    padding: 1em 1.2em 1em 2em;
    font-size:5vw;
  }

.qa-contents summary::before,
.qa-contents p::before {
    position: absolute;
    left: 2%;
    font-weight: 600;
    font-size: 1.3em;
}


.qa-contents[open] p {
    transform: none;
    opacity: 1;
    font-size: 1.3em;
}
.qa-contents p::before {
  padding-left:1%;
}
}
/* ============================
   COPY
============================ */
.lp-footer{
  width:100%;
  text-align: center;
  margin-bottom:160px;
}

@media (max-width: 767px) {
  .lp-footer{
    margin-bottom:96px;
  }
}


/* ============================
   横スクロール完全禁止（PC/SP）
============================ */

html, body {
  overflow-x: hidden;
}

/* ============================
  全幅レイアウト
============================ */


/* 全画像のはみ出し防止 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* スマホ時は画像を100%表示 */
@media (max-width: 767px) {

  .interview .text_img img,
  .line_btn a img,
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 横スクロールの原因になりやすい余白を除去 */
  section,
  .lp-header__inner,
  .faq__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* 2カラム→1カラム */
  .voice-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-item {
    min-width: 100%;
  }
}



/* ============================
   CTA
============================ */
button{
    background-color:#FFF;
    width:100%;
    max-width:768px;
}
.cta_btn { 
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 40px;
  text-align: center;
  margin: 0;
  z-index:20;
}
.cta_btn img{
    width:100%;
    max-width:768px;
}



@media (max-width: 767px) {
.cta_btn { 
  padding: 6px 2%;
}

.single_line_btn{
  margin:40px auto;
}

}