@charset "utf-8";

/******************************/
/************************ mb **/
/******************************/
@media (max-width:600px){
  

  /* -----ファーストビュー----- */
  #fv {
    position: relative;
    height: 90vh;
    background-image: url("../img/fv.jpg");
    background-size: cover;
    background-position: center;
  }

#fv::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.35);
  }
  
  .fv-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
  }

  .fv-title{
    font-size: 4rem;
    padding-bottom: 1rem;
  }

  .fv-sub{
    font-size: 1.5rem;
  }
  

    /* -----strengths わたしの強み----- */
  #strengths{
    background-color: var(--basePink02);
    padding-top: 4rem;
  }

  .strengths-title{
    color: var(--mainColor02);
    text-align: center;
  }

  .strengths-box{
    padding-bottom: 3rem;
  }

  .strengths-card{
    background-color: var(--mainColor01);
    border: 2px solid var(--mainColor02);
    color: var(--mainColor02);
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 2rem;
  }

  .strengths-text{
    line-height: 1.5;
    margin-bottom: 3rem;
  }
  .strengths-text-en{
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .strengths-text-en,
  .strengths-text-ja {
    font-weight: bold;
  }


  /* -----skill スキル・ツール----- */
  .skill{
  height: 140vh;
  background-image: url(../img/tool.jpg);
  background-size: cover;
  background-position: center;
  padding-top: 7rem;
}
.skill-title{
  text-align: center;
}
.skill-list{

  align-items: center;
  text-align: center;
}
.tool-icon img{
  padding-bottom: 2rem;
  padding-top: 2rem;
}
.tool-icon01,.tool-icon03{
  width: 200px;
}
.tool-icon02{
  width: 150px;
}
.skill-item-text{
  line-height: 1.5;
}
.skill-item p{
  font-weight: bold;
}
.skill-item-text span{
  font-weight: normal;
}


/* -----works 制作物----- */
#works {
  background-color: var(--basePink);
  padding-top: 3rem;
  padding-bottom: 5rem;
  color: #333;
}
.works-title {
  color: var(--mainColor02);
}


.works-card {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto 2rem; 
}

/* 画像を枠にフィット */
.works-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* overlay */
.works-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  z-index: 1;
}

/* ラベル */
.works-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
  background-color: rgba(var(--mainColor02-rgb), 0.8);
  border-radius: 8px;
  padding: .5rem;
}
.works-label h3{
  font-size: 1.5rem;
}


/* -----ABOUT----- */
#about{
  background-color: var(--mainColor02);
  padding-top: 3.5rem;
}
.about-img{
  height: 300px;
  width: 400px;
  margin: 0 auto;
  padding-bottom: 3rem;
  overflow: hidden;
}
.about-img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-text p{
  line-height: 1;
  font-size: 1.25rem;
  padding-bottom: 1rem;
}
.about-logo img{
  width: 50px;
  display: block;
  margin-left: auto;
  padding: 0 2rem 1.5rem 0;
}


/* -----contact お問い合わせ----- */

#contact{
  background-color: var(--mainColor01);
  padding-top: 3.5rem;
  color: var(--mainColor02);
  font-family: var(--fontsJa);
}
.contact-title{
  color: var(--mainColor02);
  font-family: var(--fontsEn);
}
.contact-inner{
  padding-bottom: 2rem;
}
/* 左側 */
.contact-info p{
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 1rem;
}
.contact-info p span{
  font-weight: bold;
}
.contact-info p a:hover{
  background: var(--basePink02)
}
.contact-info{
  text-align: center;
  padding-bottom: 2rem;
}

/* 右側 */
.contact-form{
  color: #fff;
}
.form-item{
    display: flex;
    padding-bottom: 2rem;
}
label{
    display: block;
    width: 300px;      /* mbは調整 */
    background: var(--mainColor02);
    border-radius: 8px 0 0 8px;
    padding: 1rem .5rem;
}
input[type="text"],
input[type="email"],
textarea{
    width: calc(100% - 120px);
    background: var(--basePink02);
    border-radius: 0 8px 8px 0;
    border: none;
    color: #333;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus{
    outline: 2px solid #f00;
    color: #f00;
}
textarea{
    height: 100px;
    resize: none;
}
input[type="submit"]{
    display: block;
    width: 100%;
    background:var(--mainColor02);
    border: none;
    padding: .5rem 0;
    border-radius: 8px;
    transition: .5s;
}
input[type="submit"]:hover{
    background: var(--basePink02);
}
}


/******************************/
/************************ pc **/
/******************************/
@media (min-width:600px){


  /* -----ファーストビュー----- */
#fv {
    height: 100vh;
    background-image: url("../img/fv.png");
    background-size: cover;
    background-position: center;
  }

#fv::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
  }
  
  .fv-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
  }

  .fv-title{
    font-size: 5rem;
    padding: 8rem 0 3rem;
  }

  .fv-sub{
    font-size: 1.5rem;
  }
  

    /* -----strengths わたしの強み----- */
  #strengths{
    background-color: var(--basePink02);
    padding-top: 8rem;
  }

  .strengths-title{
    color: var(--mainColor02);
    text-align: center;
  }

  .strengths-box{
    display: flex;
    justify-content: space-between;
    padding-bottom: 5rem;
  }

  .strengths-card{
    background-color: var(--mainColor01);
    border: 2px solid var(--mainColor02);
    color: var(--mainColor02);
    text-align: center;
    padding: 60px 30px;
  }

  .strengths-text{
    line-height: 2;
    margin-bottom: 5.5rem;
  }
  .strengths-text-en{
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .strengths-text-en,
  .strengths-text-ja {
    font-weight: bold;
  }


  /* -----skill スキル・ツール----- */
  .skill{
  height: 100vh;
  background-image: url(../img/tool.jpg);
  background-size: cover;
  background-position: center;
  padding-top: 15rem;
}
.skill-title{
  text-align: center;
}
.skill-list{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8rem;
  text-align: center;
}
.tool-icon img{
  padding-bottom: 2rem;
}
.tool-icon01{
  width: 300px;
}
.tool-icon02{
  width: 200px;
}
.skill-item-text{
  line-height: 1.5;
}
.skill-item p{
  font-weight: bold;
}
.skill-item-text span{
  font-weight: normal;
}


/* -----works 制作物----- */
#works {
  background-color: var(--basePink);
  padding-top: 3rem;
  padding-bottom: 5rem;
  color: #333;
}

.works-title {
  color: var(--mainColor02);
}

/* 上3枚 */
.works-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 下2枚 */
.works-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* 共通カード（overlayの土台） */
.works-card {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 上段だけ高さ */
.works-grid-top .works-card {
  height: 450px;
}

/* 下段だけ高さ */
.works-grid-bottom .works-card {
  height: 350px;
}

/* 画像 */
.works-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: top;
}

/* overlay（薄暗くする） */
/* ---------------------- */

.works-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  transition: 0.3s;
}

/* hoverでoverlay薄く */
.works-card:hover::after {
  background: rgba(0, 0, 0, 0.20);
}

/* ---------------------- */
/* label（左下に表示） */
/* ---------------------- */

.works-label {
  position: absolute;
  bottom: 20px;
  left: 20px;

  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.45);

  color: #fff;
  text-align: left;

  z-index: 3;

  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
}

/* hoverでラベル表示 */
.works-card:hover .works-label {
  opacity: 1;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.6);
}

/* ラベル文字調整 */
.works-label p {
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
}

.works-label h3 {
  font-size: 22px;
  margin: 5px 0 0;
}


/* -----ABOUT----- */
#about{
  background-color: var(--mainColor02);
  padding-top: 3.5rem;
}

.about-img{
  height: 400px;
  width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
  overflow: hidden;
}
.about-img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-text p{
  line-height: 1.5;
  font-size: 1.5rem;
  padding-bottom: 2rem;
}
.about-logo img{
  width: 100px;
  display: block;
  margin-left: auto;
  padding: 0 4.5rem 3rem 0;
}


/* -----contact お問い合わせ----- */

#contact{
  background-color: var(--mainColor01);
  padding-top: 3.5rem;
  color: var(--mainColor02);
  font-family: var(--fontsJa);
}
.contact-title{
  color: var(--mainColor02);
  font-family: var(--fontsEn);
}
.contact-inner{
  display: flex;
  justify-content: center;
  gap: 15rem;
}

/* 左側 */
.contact-info p{
  font-size: 1.25rem;
  line-height: 2;
  padding-bottom: 2.5rem;
}
.contact-info p span{
  font-weight: bold;
}
.contact-info p a:hover{
  background: var(--basePink02)
}
.contact-info{
  padding-bottom: 2rem;
}

/* 右側 */
.contact-form{
  color: #fff;
}
.form-item{
    display: flex;
    padding-bottom: 2rem;
}
label{
    display: block;
    width: 300px;      /* mbは調整 */
    background: var(--mainColor02);
    border-radius: 8px 0 0 8px;
    padding: 1rem .5rem;
}
input[type="text"],
input[type="email"],
textarea{
    width: calc(100% - 120px);
    background: var(--basePink02);
    border-radius: 0 8px 8px 0;
    border: none;
    color: #333;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus{
    outline: 2px solid #f00;
    color: #f00;
}
textarea{
    height: 100px;
    resize: none;
}
input[type="submit"]{
    display: block;
    width: 100%;
    background:var(--mainColor02);
    border: none;
    padding: .5rem 0;
    border-radius: 8px;
    transition: .5s;
}
input[type="submit"]:hover{
    background: var(--basePink02);
}




}

