@charset "utf-8";

/* 
  Portfolio CSS
============================== */

/* 全体共通設定 ==================== */

:root {
  --color-white: #f9f9f9;
  --color-black: #333;
  --color-darkGray: #666;
  --color-lightgray: #aaa;
}

html {
  font-size: 16px;
  line-height: 1.8;
  font-family: 'Fraunces';
  background-color: var(--color-white);
  color: var(--color-black);
  scroll-behavior: smooth;
}

/* レスポンシブイメージ */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* aタグのアニメーション時間 */
a {
  transition: 0.6s;
}

/* 見出しの共通設定 */
h1,
h2,
h3 {
  color: #587C99;
  font-weight: bold;
  text-align: center;
}

/* 見出しの個別設定 */
h1 {
  font-size: 40px;
}

h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
}

/* ==================== 全体共通設定 */



/* 各セクションの設定 ==================== */

/* Header ######################################## */

header {
  background-color:#6689A3;
  color: #333333;
  text-align: center;
}

header .eyeCatch {
  background-image: url(../images/sora.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 50px 20px;
}

header .eyeCatch img{
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}


/* ######################################## Header */


/* Navigation ######################################## */

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 30px;
}

nav ul li a {
  display: block;
  color: var(--color-white);
  font-size: 30px;
  font-weight: bold;
  padding: 30px 20px;
}

nav ul li a:hover {
  color: var(--color-darkGray);
}

/* ######################################## Navigation */



/* Main ######################################## */

/* Main 共通設定 ==================== */
main p {
  margin-bottom: 16px;
}

main>section {
  padding: 60px 20px;
  scroll-margin-top: 40px;
}

/* 奇数番目 Section */
main>section:nth-child(odd) {
  background-color:#E2E5E7;
}

/* 偶数番目 Section */
main>section:nth-child(even) {
  background-color:#C2D6D8 ;
}

main section .innerWrap {
  max-width: 1000px;
  margin: 0 auto;
}

/* 白枠 */
.frame {
  background-color:#E8BFCB;
  box-shadow: 0 0 8px rgb(0 0 0 / 0.2);
  padding: 24px;
  border-radius: 30px;
}


/* カラム（列）設定 */
.column {
  display: grid;
  gap: 40px;
}

/* 2カラム */
.col2 {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

/* 3カラム */
.col3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 4カラム */
.col4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* 5カラム */
.col5 {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* Main Works ==================== */
/* 詳細リンク ++++++++++ */
.detailLink {
  text-align: right;
  margin-bottom: 0;
}

.detailLink a {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 4px;
  background-color: var(--color-darkGray);
  color: var(--color-white);
  font-weight: bold;
}

.detailLink a:hover {
  padding: 4px 20px;
}


.frame img{
  width: 100%;
  height: 250px;
  object-fit: contain;

}

.frame img.apple-logo{
  width: 50%;
  height: 250px;
  display: block;
  margin: auto;
  object-fit: contain;
}

/* Main Skill ==================== */
/* Rating ++++++++++ */
#skill .rating {
  border: 2px solid var(--color-black);
  border-radius: 30px;
   overflow: hidden; 
}

#skill .rating span {
  display: inline-block;
  background-color: var(--color-lightgray);
  text-align: center;
  padding: 1px;
  border-radius: 30px 0 0 30px;

}

.rating-10{
  width:15%;
}


.rating-20 {
  width: 20%;
}

.rating-40 {
  width: 40%;
}

.rating-50 {
  width: 50%;
}


.rating-60 {
  width: 60%;
}

.rating-80 {
  width: 80%;
}

#skill .rating {
  margin-top: 20px;
}

/* Main Contact ========== */
#contact form {
  max-width: 400px;
  margin: 0 auto;
}

#contact p {
  text-align: center;
}

#contact form dl {
  margin-bottom: 24px;
}

dt{
  color: #8B4A35;
}

#contact form input,
#contact form textarea {
  background-color: var(--color-white);
  border: 2px solid var(--color-white);
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  resize: none;
}

/* 送信ボタン */
#contact form .submit {
  text-align: center;
}

#contact form .submit input {
  text-align: center;
  background-color: #777777;
  color: var(--color-white);
  width: 200px;
  transition: 0.6s;
}

#contact form .submit input:hover {
  border-radius: 40px;
  width: 300px;
}

/* ######################################## Main */



/* PageTop ######################################## */
#pageTop a {
  display: block;
  text-align: center;
  padding: 10px 0;
  background-color: var(--color-darkGray);
  color: var(--color-white);
}

#pageTop a:hover {
  background-color: var(--color-white);
  color: var(--color-darkGray);
}

/* ######################################## PageTop */



/* Footer ######################################## */

footer {
  background-color: #6689A3;
  color: var(--color-white);
  text-align: center;
  padding: 30px 0;
}

/* ######################################## Footer */